🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #163714

Re: [slrn] Key bindings for set readline bol/eol (was: searching, keys, viewing read articles)

#163714
From: DC
Date: Thu, 10 Mar 2005 23:07
70 lines
3825 bytes
Blinky the Shark wrote:
> DC wrote:
>> Jason Dunsmore wrote:
>>> Someone wrote:
>>>> Jason Dunsmore wrote:

>> [...]

>>>> > 2) when searching, several keys don't work.  eg. Home, End,
>>>> >    Delete.. just show a tilde when pressed.

>>>>  You control key bindings, what do you want the to do when you are 
>>>>  searching?

>>> i found someone else with the same problem:
>>> http://groups-beta.google.com/group/news.software.readers/browse_threa
>>> +d/thread/f98bbe141d3682ad/a6d864bed3b03b7e?q=slrn+%22delete+key%22#a6
>>> +d864bed3b03b7e

>>> when i added the following to .slrnrc, the keys work:

>>> 	setkey readline del        "^[[3~"       % DEL
>>> 	setkey readline bol        "^[[1~"       % HOME
>>> 	setkey readline eol        "^[[4~"       % END

>> I have pretty much the same problem.  My DEL key works, but the other
>> two (HOME,END) behave as you describe.

>> I got all excited when you posted a fix -- however, it doesn't work
>> here.  I still get the tilde.  }:O(

> I get the tilde with all three - Del, Home, End - outta the box.  The
> above gave me a Del that works, but the other two are still tildes.
> Like you, rxvt.


Weird.  FTR, here are the relevant entries in my .slrnrc:

<snippet>

%
%% Command prompt key bindings
%

setkey readline bol		 "^A"		% Beginning of line
setkey readline eol		 "^E"		% End of line
setkey readline right		 "\e[C"		% Move right
setkey readline left		 "\e[D"		% Move left
setkey readline bdel		 "^H"		% Delete backward
setkey readline bdel		 "^?"		% Delete Backward
setkey readline del		 "^D"		% Delete Foreword
setkey readline delbol		 "^U"		% Delete to Beginning of line
setkey readline delbow		 "^W"		% Delete to Beginning of word
setkey readline deleol		 "^K"		% Delete to End of line
setkey readline trim		 "\e/"		% Trim whitespace
setkey readline quoted_insert	 "^Q"		% Quoted insert
setkey readline complete	 "\t"		% Complete filename
setkey readline cycle		 " "		% Cycle among filenames

</snippet>

LIS, I've always had a working DEL key.


The ANY key, OTOH, has never worked properly -- when I can even find it.  };O)

-- 
DC              Linux RU #1000111011000111001

Customize Xnews - http://dcicons.fateback.com
Technical Details
Message-ID: <slrnd31kq2.j7a.dcmoose@moosemeat.ca.INVALID>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <8L_Wd.1440$yp.1196@newssvr11.news.prodigy.com> <Xns96126BF03C2F5Louiscypherhellorg@140.99.99.130> <4U%Wd.1459$yp.236@newssvr11.news.prodigy.com> <slrnd31ikn.j7a.dcmoose@moosemeat.ca.INVALID> <slrnd31jk6.luu.no.spam@thurston.blinkynet.net>

Show Full Headers
Complete Article Headers
Message-ID: <slrnd31kq2.j7a.dcmoose@moosemeat.ca.INVALID>
Subject: Re: [slrn] Key bindings for set readline bol/eol (was: searching, keys, viewing read articles)
Date: Thu, 10 Mar 2005 23:07:47 +0000
From: DC <dcmoose@myrealbox.com>
References: <8L_Wd.1440$yp.1196@newssvr11.news.prodigy.com> <Xns96126BF03C2F5Louiscypherhellorg@140.99.99.130> <4U%Wd.1459$yp.236@newssvr11.news.prodigy.com> <slrnd31ikn.j7a.dcmoose@moosemeat.ca.INVALID> <slrnd31jk6.luu.no.spam@thurston.blinkynet.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: news.software.readers
Organization: http://dcicons.fateback.com
Lines: 70
X-Trace: individual.net /cIpKGYVZs7o3xAB7KL8rQTmwen/3cXtXQFmoR34gYRJnpSghJ
X-Operating-System: Mandrake Linux 10.0 (Kernel 2.6.3-7mdk)
X-Message-Flag: This message violates the USA PATRIOT Act (HR 3162),
 section 811(c). Intercepted by CARNIVORE/3.0
X-WebTV-Stationery: Standard; BGColor=black; TextColor=black
X-Face: 6k$Xf_V^i#2X;
 X~[=Ra6mGRtOw!^s%HmaNj1y5a>YCL"vEl.Jjbkww,E~kI&f[*w{j:$V6a2:LKbWg@+qt)3x"fqU\H_Fy5tk8h[Iq/XW~okpDvCa\E~!fb]{H4j@CxE<vL?4q9cxiK5;
 ZdpI@,Bk)(\e67mAw; L}WCZ/NYSX|R6Jj{omL6KT/$
User-Agent: slrn/0.9.8.1 (Linux)