🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #192394

Re: Slrn - bind F1 to view manual

#192394
From: Kees de Koster
Date: Mon, 06 Nov 2006 22:56
29 lines
1798 bytes
In article <20061107071312@usenet.piggo.com>, Troy Piggins wrote:
> * 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".
>

Thanks, works perfect :-)

Kees
-- 
If I cannot bend Heaven, I shall move Hell.
		-- Publius Vergilius Maro (Virgil)
Ubuntu, linux for human beings http://www.ubuntu.com
Technical Details
Message-ID: <slrnekvfcs.515.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!news2.euro.net!postnews2.euro.net!news.wanadoo.nl!not-for-mail
References: <slrnekv5b0.9r1.keesdekoster@sd511685b.adsl.wanadoo.nl> <20061107071312@usenet.piggo.com>

Show Full Headers
Complete Article Headers
Message-ID: <slrnekvfcs.515.keesdekoster@sd511685b.adsl.wanadoo.nl>
Subject: Re: Slrn - bind F1 to view manual
Date: Mon, 6 Nov 2006 23:56:28 +0100
From: Kees de Koster <keesdekoster@gmail.com>
References: <slrnekv5b0.9r1.keesdekoster@sd511685b.adsl.wanadoo.nl> <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!newsfeed00.sul.t-online.de!t-online.de!feeder.news-service.com!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: 29
Organization: Wanadoo
NNTP-Posting-Date: 06 Nov 2006 22:56:28 GMT
NNTP-Posting-Host: sd511685b.adsl.wanadoo.nl
X-Trace: 1162853788 dr5.euro.net 86535 213.17.104.91:36682
X-Complaints-To: abuse@wanadoo.nl