🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #192391

Re: Slrn - bind F1 to view manual

#192391
From: Troy Piggins
Date: Mon, 06 Nov 2006 21:13
25 lines
1802 bytes
* Kees de Koster wrote:
> 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.

Use "system" instead of "call".

-- 
Troy Piggins
 ,-o  email address works for a limited time only
o   ) Ubuntu linux 6.06 http://ubuntu.com  RLU#415538 http://counter.li.org
 `-o  uptime: 07:13:11 up 34 days,8 min,2 users,load average:0.03,0.04,0.01
Technical Details
Message-ID: <20061107071312@usenet.piggo.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!news-in-01.newsfeed.easynews.com!easynews.com!easynews!newsfeed.news2me.com!nntp1.phx1.gblx.net!nntp.gblx.net!nntp.gblx.net!nntp4.phx1!newsfeed.iinet.net.au!newsfeed.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsreader-01.iinet.net.au!not-for-mail
References: <slrnekv5b0.9r1.keesdekoster@sd511685b.adsl.wanadoo.nl>

Show Full Headers
Complete Article Headers
Message-ID: <20061107071312@usenet.piggo.com>
Subject: Re: Slrn - bind F1 to view manual
Date: Tue, 07 Nov 2006 07:13:54 +1000
From: Troy Piggins <usenet-0611@piggo.com>
References: <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!news-in-01.newsfeed.easynews.com!easynews.com!easynews!newsfeed.news2me.com!nntp1.phx1.gblx.net!nntp.gblx.net!nntp.gblx.net!nntp4.phx1!newsfeed.iinet.net.au!newsfeed.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsreader-01.iinet.net.au!not-for-mail
Newsgroups: news.software.readers
Reply-To: usenet-0611@piggo.com
User-Agent: slrn/0.9.8.1pl1/rt (Linux)
Lines: 25
NNTP-Posting-Host: 203.206.60.205
X-Trace: 1162847702 per-qv1-newsreader-01.iinet.net.au 3062 203.206.60.205