🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #20270

Re: One more slrn request

#20270
From: John E. Davis
Date: Sat, 30 Mar 1996 00:00
23 lines
1438 bytes
On 29 Mar 1996 18:50:27 GMT, K. Bruner <napalm@ugcs.caltech.edu>
wrote:
 : In most applications I know of, ^U is kill-line.  When I post in slrn (v
 : 0.8.4) and it's asking me what newsgroup and it's assuming I want the
 : newsgroup currently selected but I don't, I'd like ^U to clear the line
 : so I can just type in my choice.  Please.

The current version of slrn does not permit user-defined keybindings of its
read-line interface--- a future version will.  For now, you can do two things:

   1.  Use ^K
   2.  modify slang/src/slrline.c:  Change the line (#685):
   
   SLang_define_key1 ("^K", (VOID_STAR) rl_deleol, SLKEY_F_INTRINSIC, RL_Keymap);
to:   
   SLang_define_key1 ("^U", (VOID_STAR) rl_deleol, SLKEY_F_INTRINSIC, RL_Keymap);
   
or simply add a line another line like the last one.   

--John


Technical Details
Message-ID: <slrn4lpkkg.leo.davis@aluche.mit.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
References: <slrn4loc8u.lek.napalm@wrath.ugcs.caltech.edu>

Show Full Headers
Complete Article Headers
Message-ID: <slrn4lpkkg.leo.davis@aluche.mit.edu>
Subject: Re: One more slrn request
Date: Sat, 30 Mar 1996 00:00:00 +0000
From: davis@space.mit.edu (John E. Davis)
References: <slrn4loc8u.lek.napalm@wrath.ugcs.caltech.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
X-Deja-AN: 144964723
Organization: Center for Space Research
Reply-to: davis@space.mit.edu
Newsgroups: news.software.readers