Article View: news.software.readers
Article #9913Re: Any trn wizards out there? -- attempt 2
From: Wayne Davison
Date: Thu, 07 Jul 1994 23:08
Date: Thu, 07 Jul 1994 23:08
36 lines
2539 bytes
2539 bytes
According to <JMR145@psuvm.psu.edu>: > I have an account where home directory disk space is strictly limited, > but temp space is a little more easy to come by. I was wondering if it > was possible to do some magic with the environment variable SAVEDIR to > automatically extract any binaries to a temp directory, while saving > everything else in ^/News? One thing to keep in mind is that after the first extract in a group the default extract destination is the previously used directory, so you would only have to type "e /tmp/dir" once per group, after which you'd just use 'e'. Beyond this there is currently no way to separate the default of 's'aved articles from the default for 'e'xtracted ones except for some macro fun, which it sounds like you're already using. One thing you might try, however, is a global kill-file temporary macro that destroys itself after the first use. Let's bind this to the '*' key and make it work in both the selector and the article level: &&* %(%m!=t?::)e /tmp/dir\n&&* \%(\%m!=t?::)e\\n\n At the selector it types ":e /tmp/dir" <return> the first time while the article level leaves off the ':'. The second time you type it it just enters ":e" <return> if you type it at the selector or just "e" <return> from the article level. (Don't worry about what it does at the newsgroup level -- it's harmless.) Put it either in your GLOBAL kill file or in the kill file for each group that you do extractions from so that it gets re-energized each time you enter a group, which is what trn requires. > And while I got you here... is there a way to save un-rot13'ed text > to a file after doing a ^X or X? Not built-in. You'll have to supply an un-rot script and use "|un-rot" as your save command. -- Wayne Davison davison@borland.com
Technical Details
Message-ID:
<CsLExn.GKs@borland.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!bga.com!news.sprintlink.net!hookup!swrinde!elroy.jpl.nasa.gov!decwrl!borland.com!davisonReferences:
<94187.005215JMR145@psuvm.psu.edu>Show Full Headers
Complete Article Headers
Message-ID: <CsLExn.GKs@borland.com> Subject: Re: Any trn wizards out there? -- attempt 2 Date: Thu, 7 Jul 1994 23:08:11 GMT From: davison@borland.com (Wayne Davison) References: <94187.005215JMR145@psuvm.psu.edu> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!bga.com!news.sprintlink.net!hookup!swrinde!elroy.jpl.nasa.gov!decwrl!borland.com!davison Newsgroups: news.software.readers,news.newusers.questions,comp.unix.questions Organization: Borland International Lines: 36