🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #4403

Macros for editing kill & init files

#4403
From: Nancy McGough
Date: Wed, 07 Jul 1993 17:36
29 lines
1584 bytes
Thanks to Stefan T Schwingeler (sts@wits.ruhr.de) for
the basic idea for the first macro (CTRL+k).

# CTRL+k edits and recompiles kill file
map both ^k (
	:!vi ~/.nn/kill
	:compile
)

# CTRL+i edits and reloads init file
map both ^i (
	:!vi ~/.nn/init
	:load
)

I have a question about the second macro (CTRL+i): 
When it reloads the init file I get an error message 
about the sequence -- according to the man pages the
sequence is supposed to be ignored -- is this a
problem?  I also get an error message about my
prefix key ("make map mac") already being defined.
Anyone know if it's ok to just ignore these error
messages or should I not use this macro?

I'm also curious what files other than init one would 
want to :load...

Thanks,
Nancy
Technical Details
Message-ID: <21f1je$nej@news.u.washington.edu>
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!newsserver.jvnc.net!howland.reston.ans.net!math.ohio-state.edu!uwm.edu!ogicse!netnews.nwnet.net!news.u.washington.edu!stein2.u.washington.edu!nancym

Show Full Headers
Complete Article Headers
Message-ID: <21f1je$nej@news.u.washington.edu>
Subject: Macros for editing kill & init files
Date: Wed, 07 Jul 1993 17:36:46 +0000
From: nancym@stein2.u.washington.edu (Nancy McGough)
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!newsserver.jvnc.net!howland.reston.ans.net!math.ohio-state.edu!uwm.edu!ogicse!netnews.nwnet.net!news.u.washington.edu!stein2.u.washington.edu!nancym
Newsgroups: news.software.nn
Article-I.D.: news.21f1je$nej
Reply-To: nancym@u.washington.edu (Nancy McGough)
Organization: University of Washington
Lines: 29
NNTP-Posting-Host: stein2.u.washington.edu
X-Newsreader: NN [version 6.4.16]