Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site sdcrdcf.UUCP Path: utzoo!linus!decvax!decwrl!greipa!pesnta!pertec!scgvaxd!trwrb!sdcrdcf!lwall From: lwall@sdcrdcf.UUCP (Larry Wall) Newsgroups: net.news Subject: Re: Saving a rotated posting UNrotated Message-ID: <2009@sdcrdcf.UUCP> Date: Wed, 22-May-85 12:16:07 EDT Article-I.D.: sdcrdcf.2009 Posted: Wed May 22 12:16:07 1985 Date-Received: Sun, 26-May-85 21:11:22 EDT References: <10745@brl-tgr.ARPA> Reply-To: lwall@sdcrdcf.UUCP (Larry Wall) Distribution: net Organization: System Development Corp. R+D, Santa Monica Lines: 27 Summary: In article <10745@brl-tgr.ARPA> wmartin@brl-tgr.ARPA (Will Martin ) writes: >How do I do a "save" of a rotated article so that it is saved >UNrotated, in readable form? The quick answer is that in either readnews or rn you can pipe the article through the caesar program. Of course, the caesar program will try to translate the header as well as the body, so that's a problem. It also doesn't "pipe" the article into the normal save routine, so you have to supply your own output file name. To integrate it a little better into rn, you might change NORMSAVER or MBOXSAVER to point to a private copy of norm.saver or mbox.saver, and then feed the body of the article through caesar in your version. The chief difficulty I see with this is that caesar can get confused on short lines with little "English" in them, and you would be applying caesar to all articles, not just encrypted ones. You really want to use tr rather than caesar, but only on articles that really are encrypted. If you have rn 4.3, you might define a macro for saving rotated articles. It could call a private shell script using the shell escape, or it could do a normal save command but set up an environment variable that controls whether your norm.saver/mbox.saver does a tr on the body of the article. On the other hand, you could just learn to read rot13. Larry Wall {allegra,burdvax,cbosgd,hplabs,ihnp4,sdcsvax}!sdcrdcf!lwall