🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #63597

[slrn] Binding esc 1 control-i

#63597
From: Arjan Drieman
Date: Sun, 23 Jul 2000 00:00
28 lines
1645 bytes
Hello,

I wrote a vewwy pretty script and bound it to esc crontrol-i using
       definekey ("cancels", "\e^i", "article");

I'm extending the script now and would like to use esc 1 control-i for
some function.  So with my dumb logic I thought that maybe

       definekey ("cancel_file", "\e1^i", "article");

would do the trick.  Apparently, it doesn't work that way:
       S-Lang Error: Inconsistency in define key.

So how can I bind esc 1 control-i?  I'm using slrn om linux/i386, in
case that matters.


Oh, another question comes to mind:  How can I override the default
function for esc crontrol-c?  I've tried it using
       undefinekey ("\e^c", "article");
       definekey ("cancels", "\e^c", "article");
but it still uses slrn's internal cancel function.


Thanks in advance,
Arjan

Technical Details
Message-ID: <slrn8nl9t3.bk.qhpxvr@quack.node0911.a2000.nl>
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

Show Full Headers
Complete Article Headers
Message-ID: <slrn8nl9t3.bk.qhpxvr@quack.node0911.a2000.nl>
Subject: [slrn] Binding esc 1 control-i
Date: Sun, 23 Jul 2000 00:00:00 +0000
From: qhpxvr@abqr0911.n2000.ay.invalid (Arjan Drieman)
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: 649701837
X-Complaints-To: abuse@a2000.nl
X-Trace: tesla.a2000.nl 964339620 17732 62.108.9.17 (23 Jul 2000 08:07:00 GMT)
Organization: A2000 Kabeltelevisie en Telecommunicatie
User-Agent: slrn/0.9.6.2 (Linux)
Reply-To: duckie@duckie.neep.net
NNTP-Posting-Date: 23 Jul 2000 08:07:00 GMT
Newsgroups: news.software.readers
X-Authors-Homepage: http://duckie.neep.net/