🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #192389

Slrn - bind F1 to view manual

#192389
From: Kees de Koster
Date: Mon, 06 Nov 2006 20:04
24 lines
1550 bytes
Hello,

I can't get slrn to bind the F1 to view the manual, now i have a
my_hooks.sl file with the below

#v+
define view_manual ()
{
   call ("zless /usr/share/doc/slrn/manual.txt.gz");
}
definekey ("view_manual", "<F1>", "article");
definekey ("view_manual", "<F1>", "group");
#v-

If i substitute "call" with pipe_article then it works in article mode
but that's not the correct method.

I can't find it in the manuals so maybe somebody can help me out with
this.

Kees
-- 
Yow!  I want my nose in lights!
Ubuntu, linux for human beings http://www.ubuntu.com
Technical Details
Message-ID: <slrnekv5b0.9r1.keesdekoster@sd511685b.adsl.wanadoo.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.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!feeder.news-service.com!feeder3.cambrium.nl!feed.tweaknews.nl!news2.euro.net!postnews2.euro.net!news.wanadoo.nl!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <slrnekv5b0.9r1.keesdekoster@sd511685b.adsl.wanadoo.nl>
Subject: Slrn - bind F1 to view manual
Date: Mon, 6 Nov 2006 21:04:48 +0100
From: Kees de Koster <keesdekoster@gmail.com>
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!t-online.de!feeder.news-service.com!feeder3.cambrium.nl!feed.tweaknews.nl!news2.euro.net!postnews2.euro.net!news.wanadoo.nl!not-for-mail
Newsgroups: news.software.readers
User-Agent: slrn/0.9.8.1pl1 (Debian)
Lines: 24
Organization: Wanadoo
NNTP-Posting-Date: 06 Nov 2006 20:04:48 GMT
NNTP-Posting-Host: sd511685b.adsl.wanadoo.nl
X-Trace: 1162843488 dr7.euro.net 75068 213.17.104.91:41324
X-Complaints-To: abuse@wanadoo.nl