🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
2 messages
2 total messages Started by John Vanderpool Wed, 12 Jan 1994 19:15
REPOST: problems defining P key as :print and :next-article as a macro/keydef
#5280
Author: John Vanderpool
Date: Wed, 12 Jan 1994 19:15
30 lines
1902 bytes
REPOST: is there anybody out there? someone surely has had this same problem...

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'ld like to do the same for "s" save too

any help appreciated,
	fish

--
John R. Vanderpool     INTERNET: fish@eosdata.gsfc.nasa.gov

Water of love deep in the ground, but there ain't now water here to be found,
Someday baby when the river runs free, gonna carry that water of love to me -mk

--
John R. Vanderpool     INTERNET: fish@daac.gsfc.nasa.gov

Well she's walking, through the clouds, with a circus smile thats running 'round
Butterflies and zebras, and fairytales, that's all she ever thinks about... jh
Re: REPOST: problems defining P key as :print and :next-article as a macro/keydef
#5330
Author: 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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads