🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
2 messages
2 total messages Started by K. Bruner Fri, 29 Mar 1996 00:00
One more slrn request
#20244
Author: K. Bruner
Date: Fri, 29 Mar 1996 00:00
12 lines
970 bytes
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 Official Great Goddess To Whom You Do Beg of Dogbert's New Ruling Class
--
Karen ``Heather gave me a cat once'' Bruner


Re: One more slrn request
#20270
Author: 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


Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads