Article View: news.software.readers
Article #146409Re: [slrn] Function Keys on Linux
From: Mike Vanecek
Date: Thu, 15 Apr 2004 22:33
Date: Thu, 15 Apr 2004 22:33
30 lines
2071 bytes
2071 bytes
On Wed, 14 Apr 2004 18:52:37 +0000 (UTC), Jens Wahnes wrote:
> Mike Vanecek wrote:
>> Thank you for the suggestion. Unfortunately, I was not able to find anything
>> that would help me with the syntax for the command sequence for a map in
>> .slrnrc. I just want to press F12 while in a group and have the sequence of
>> cynn passed to slrn. Surely it is not that difficult. Note that I am not
>> trying to write a shell script.
> It would probably be easier so use a slrn macro that is executed when a
> certain key is pressed. To find out which key sequence a given key
> uses, you can use the "od" program like this:
>| $ od -c
>| # press F12 here, then Enter and maybe also Ctrl+D
>| 0000000 033 [ 2 4 ~ \n
>| 0000006
> On my setup, the key sequence for F12 as to be used in slrn would be
> "\033[24~" (whithout the quotes, of course). ("\033" means "escape" and
> is equivalent to "\e" in slrn.)
> Jens
Thank you. I will study the above in more depth when I get back to home base.
--
Thanks, Mike.
Technical Details
Message-ID:
<bpe3l1-ldg.ln1@news.invalid.99computer>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.ash.giganews.com!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!nntp.giganews.com!elnk-atl-nf1!newsfeed.earthlink.net!newshosting.com!nx02.iad01.newshosting.com!216.40.28.10.MISMATCH!newscene!novia!novia!sequencer.newscene.com!not-for-mailReferences:
<bcllk1-4f6.ln1@news.invalid.99computer> <j27tk1-8n1.ln1@news.invalid.99computer> <slrnc7o4rd.2hor.bit-bucket@localhost.config.com> <1jmvk1-a88.ln1@news.invalid.99computer> <slrnc7r23l.l13.nsr@message-id.wahnes-world.de>Show Full Headers
Complete Article Headers
Message-ID: <bpe3l1-ldg.ln1@news.invalid.99computer> Subject: Re: [slrn] Function Keys on Linux Date: Thu, 15 Apr 2004 22:33:18 +0000 From: Mike Vanecek <MikeV99@privacy.net> References: <bcllk1-4f6.ln1@news.invalid.99computer> <j27tk1-8n1.ln1@news.invalid.99computer> <slrnc7o4rd.2hor.bit-bucket@localhost.config.com> <1jmvk1-a88.ln1@news.invalid.99computer> <slrnc7r23l.l13.nsr@message-id.wahnes-world.de> 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.ash.giganews.com!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!nntp.giganews.com!elnk-atl-nf1!newsfeed.earthlink.net!newshosting.com!nx02.iad01.newshosting.com!216.40.28.10.MISMATCH!newscene!novia!novia!sequencer.newscene.com!not-for-mail Newsgroups: news.software.readers Lines: 30 X-Archive: encrypt User-Agent: slrn/0.9.8.0 (Linux)