🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #257911

Re: [slrn] resetting print command

#257911
From: Adam Funk
Date: Mon, 23 Jun 2014 11:07
24 lines
1816 bytes
On 2014-06-23, Lewis wrote:

> $ grep "article print" .slrnrc
> setkey article print                "^Q"        % Print article
>
> And yet, if I accidentally hit 'y' when reading an article, slrn asks if I
> want to print the article.
>
> I *never* want to print and article. *Ever*.
>
> How do I convince slrn to 1) never ask and 2) never do it even if some
> random sequence of characters would otherwise cause it to do so.

You can set a custom printing command in ~/.slrnrc like this:

set printer_name "command --option args"

I think you could use "/bin/false" there to achieve what you want.
Let me know if it works.


-- 
The history of the world is the history of a privileged few.
                                            --- Henry Miller
Technical Details
Message-ID: <tbel7bxf3l.ln2@news.ducksburg.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!border2.nntp.dca1.giganews.com!buffer2.nntp.dca1.giganews.com!border2.nntp.dca3.giganews.com!backlog4.nntp.dca3.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!news.bnb-lp.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <slrnlqg005.22gj.g.kreme@amelia.local>

Show Full Headers
Complete Article Headers
Message-ID: <tbel7bxf3l.ln2@news.ducksburg.com>
Subject: Re: [slrn] resetting print command
Date: Mon, 23 Jun 2014 12:07:09 +0100
From: Adam Funk <a24061@ducksburg.com>
References: <slrnlqg005.22gj.g.kreme@amelia.local>
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!border2.nntp.dca1.giganews.com!buffer2.nntp.dca1.giganews.com!border2.nntp.dca3.giganews.com!backlog4.nntp.dca3.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!news.bnb-lp.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: news.software.readers
Organization: $CABAL
Lines: 24
X-Trace: individual.net pv8MKSEfaj/E+bTnP4O58wAAcdybfRpr2PXda3VVkC/pGLzU8D
X-Orig-Path: news.ducksburg.com!not-for-mail
Cancel-Lock: sha1:x8sxATvAV3Kyw6ytVuAuYvcrTD0=
 sha1:Fne0B3vnCouXN1RodLfx4d1P3XU=
User-Agent: slrn/pre1.0.2-9 (Linux)
X-Original-Bytes: 1565