🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #5330

Re: REPOST: problems defining P key as :print and :next-article as a macro/keydef

#5330
From: Nancy McGough
Date: Wed, 19 Jan 1994 21:21
31 lines
1791 bytes
fish@daacdev1.stx.com (John Vanderpool) writes:
>i'm trying to define "P" as print and new-article as a macro/keydef and can't get
>it to work, i.e.
>
>:map show P (
>:print
>:next-article
>)
>
>it says error in macro, i tried putting a yes after the :print since it prompts
>(which i never liked anyway) i also tried putting a ^M after print and a ^M as a
>separate line after the :print to no avail

I  also haven't been able to figure out how to completely automate this.
The following almost does it but you need to press Return.  I tried 
replacing input with yes, '^M', and "" but none worked...

map show P (
	print input next-article
)


Anyone know how to completely automate it?

Thanks,
Nancy

-- 
Nancy McGough <nancym@ii.com>                                     oo  oo
Infinite Ink, Seattle, Washington, USA                           o  oo  o
Anon FTP site: coming soon                                        oo  oo
Technical Details
Message-ID: <2hk89m$ic7@nwfocus.wa.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmd.de!xlink.net!howland.reston.ans.net!europa.eng.gtefsd.com!uunet!nwnexus!nancym
References: <fish.758402101@news.gsfc.nasa.gov>

Show Full Headers
Complete Article Headers
Message-ID: <2hk89m$ic7@nwfocus.wa.com>
Subject: Re: REPOST: problems defining P key as :print and :next-article as a macro/keydef
Date: Wed, 19 Jan 1994 21:21:58 +0000
From: Nancy McGough <nancym@ii.com>
References: <fish.758402101@news.gsfc.nasa.gov>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmd.de!xlink.net!howland.reston.ans.net!europa.eng.gtefsd.com!uunet!nwnexus!nancym
Newsgroups: news.software.nn
Organization: Infinite Ink, Seattle, Washington, USA
Lines: 31
Sender: news@nwfocus.wa.com
Reply-To: Nancy McGough <nancym@ii.com>
NNTP-Posting-Host: nwfocus.wa.com
X-Newsreader: NN [version 6.4.18]
Originator: nancym@halcyon.com