🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #6964

jump macro

#6964
From: Nancy McGough
Date: Fri, 06 Jan 1995 04:07
37 lines
2022 bytes
I'm writing an "NN Quick Start" which I plan to post here soon.  I'd
like to include one macro so people can get an idea of how macros are
written in NN, and also because I think the following macro is 
especially useful.  Here's the macro; below it are some questions.

map both ^j (
	?show goto-menu :!clear  #So you really can jump
	goto-group
	prompt "Type part or all of newsgroup name:"
	input " "         
	prompt ""                #Clear prompt
)


If this macro is installed you can type ^j (CTRL+j) whenever you
want to jump to a newsgroup.  If you can't jump to the newsgroup,
because it is completely read already, then you will go to all
the articles.  My questions:

* Any reason not to use ^j for the command?  Any better key command?
* Any suggestions for improvement?
* Any way to solve these bugs?
  BUG: If use CTRL+G to abort get error msg.
  BUG: Error if step through all possible ng names and don't choose any
  BUG: GoTo prompt after error.
  BUG: Doesn't work if no articles in target newsgroup.
       Note: I tried fixing with redraw but that doesn't work and it
             makes it redraw/flash.
  BUG: If don't specify newsgroup gives error msg.


Thanks much,
Nancy
-- 
 /\_/\    Nancy McGough
( o.o )   Infinite Ink
 > ~ <    http://www.jazzie.com/ii/  -OR-  http://www.best.com/~ii/
Technical Details
Message-ID: <ii.789364359@shell1.best.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!nntp.gmd.de!Germany.EU.net!howland.reston.ans.net!gatech!udel!news.mathworks.com!news.kei.com!ddsw1!news1.best.com!shell1.best.com!ii

Show Full Headers
Complete Article Headers
Message-ID: <ii.789364359@shell1.best.com>
Subject: jump macro
Date: Fri, 06 Jan 1995 04:07:22 +0000
From: Nancy McGough <ii@best.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!nntp.gmd.de!Germany.EU.net!howland.reston.ans.net!gatech!udel!news.mathworks.com!news.kei.com!ddsw1!news1.best.com!shell1.best.com!ii
Newsgroups: news.software.nn
Organization: Infinite Ink, Seattle, Washington, USA
Lines: 37
NNTP-Posting-Host: shell1.best.com
X-Newsreader: NN version 6.5.0 #1 (NOV)