Article View: news.software.nn
Article #5977Re: nn: control key syntax in macro-definition
From: Nancy McGough
Date: Tue, 14 Jun 1994 20:42
Date: Tue, 14 Jun 1994 20:42
24 lines
1824 bytes
1824 bytes
barth@bln.sel.alcatel.de (Andrej Barth) writes: >I am using nn. >And I would like to create a macro in the init file. >Can anybody, please, tell me what the correct syntax would be for the >Enter-key (Return-key). I have tried ^M, '^M', and neither did work. Sometimes '^M' works and sometimes "" or yes works - I haven't figured out the difference so I usually end up trying each of them. Below is an example of an nn macro that uses all three. If you step through the keystrokes you'll see that the following will work (CR = carriage return): K s CR CR CR CR CR f CR # f Select this subject for 30 days and followup to current article. # Note: If there's a held article it will be used because the last yes # will be answering the question about using the held article. map show f ( kill-select 's' '^M' "" '^M' "" yes follow yes ) Hope this helps, Nancy
Technical Details
Message-ID:
<2tl4oa$51b@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!nntp.gmd.de!newsserver.jvnc.net!howland.reston.ans.net!spool.mu.edu!news.clark.edu!netnews.nwnet.net!news.u.washington.edu!nancymReferences:
<barth.770986545@slbh04>Show Full Headers
Complete Article Headers
Message-ID: <2tl4oa$51b@news.u.washington.edu> Subject: Re: nn: control key syntax in macro-definition Date: Tue, 14 Jun 1994 20:42:50 +0000 From: Nancy McGough <nancym@u.washington.edu> References: <barth.770986545@slbh04> 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!newsserver.jvnc.net!howland.reston.ans.net!spool.mu.edu!news.clark.edu!netnews.nwnet.net!news.u.washington.edu!nancym Newsgroups: news.newusers.questions,news.software.nn Organization: University of Washington Lines: 25 Reply-To: Nancy McGough <nancym@u.washington.edu> NNTP-Posting-Host: goren.u.washington.edu Keywords: return enter control macro X-Newsreader: NN [version 6.4.16] Originator: nancym@goren1.u.washington.edu