🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #9614

Re: probably an FAQ: save in memorized commands in trn 3.4.1

#9614
From: Wayne Davison
Date: Mon, 20 Jun 1994 04:50
29 lines
1618 bytes
According to Robert B. <robertb@bedap.barra.COM>:
> is there a way to save to a file?  I'd like to do something like
> (in article reading mode):
> 
> A
> s foo

This has worked since the rn days -- type:

/<esc>s/K:sfoo

The sequence <esc>s enters the current subject for you, the 'K' modifier
tells trn to store the command in the kill file as it gets executed, the
colon (:) seperates the modifiers from the command, and "sfoo" saves the
article(s) to "foo".  Of course, you can type in an actual subject if you
prefer.

BTW, don't use the 'I' modifer because this tells trn to ignore the THRU
line in the kill file, and thus you could get multiple copies of the article
saved.

> /.*:whatever subject/:I:s foo

Note that the :I part of this is a bug in trn 3.4.1 -- the command should
have put the 'I' right after the second '/' since 'I' is a modifier and
not a command.  This is fixed in 3.5.
-- 
Wayne Davison
davison@borland.com
Technical Details
Message-ID: <CroIs0.MBv@borland.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.readers.mbox.zip!nntp.gmd.de!Germany.EU.net!EU.net!howland.reston.ans.net!usc!elroy.jpl.nasa.gov!decwrl!borland.com!davison
References: <2u20nq$1td@nic.scruz.net>

Show Full Headers
Complete Article Headers
Message-ID: <CroIs0.MBv@borland.com>
Subject: Re: probably an FAQ: save in memorized commands in trn 3.4.1
Date: Mon, 20 Jun 1994 04:50:23 GMT
From: davison@borland.com (Wayne Davison)
References: <2u20nq$1td@nic.scruz.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!nntp.gmd.de!Germany.EU.net!EU.net!howland.reston.ans.net!usc!elroy.jpl.nasa.gov!decwrl!borland.com!davison
Newsgroups: news.software.readers
Organization: Borland International
Lines: 29