Article View: news.software.readers
Article #146307Re: [slrn] Function Keys on Linux
From: Jens Wahnes
Date: Wed, 14 Apr 2004 18:52
Date: Wed, 14 Apr 2004 18:52
23 lines
2012 bytes
2012 bytes
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
Technical Details
Message-ID:
<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!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!news.belwue.de!news.uni-kl.de!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>Show Full Headers
Complete Article Headers
Message-ID: <slrnc7r23l.l13.nsr@message-id.wahnes-world.de> Subject: Re: [slrn] Function Keys on Linux Date: Wed, 14 Apr 2004 18:52:37 +0000 From: Jens Wahnes <jewa@gmx.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> 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!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!news.belwue.de!news.uni-kl.de!not-for-mail Newsgroups: news.software.readers Organization: Wahnes World Lines: 23 NNTP-Posting-Host: linda.rhrk.uni-kl.de X-Trace: news.uni-kl.de 1081968757 13155 131.246.137.55 (14 Apr 2004 18:52:37 GMT) X-Complaints-To: usenet@news.uni-kl.de NNTP-Posting-Date: Wed, 14 Apr 2004 18:52:37 +0000 (UTC) User-Agent: slrn/0.9.7.4 (Linux)