Thread View: news.software.readers
2 messages
2 total messages
Started by JMR145
Wed, 06 Jul 1994 04:52
Any trn wizards out there? -- attempt 2
Author: JMR145
Date: Wed, 06 Jul 1994 04:52
Date: Wed, 06 Jul 1994 04:52
18 lines
1478 bytes
1478 bytes
First message never left Penn State, so I'll try this again... :) 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? Right now I have a macro key on my terminal that adds the temp dir name after I type the 'e', but I was wondering if there was a fully automatic way to do it--sort of a seperate SAVEDIR when using 'e'? 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? There's always a way with UNIX... right? :-) Any help would be appreciated. Thanks.
Re: Any trn wizards out there? -- attempt 2
Author: 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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads