Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: Notesfiles; site sneaky.UUCP Path: utzoo!watmath!clyde!burl!mgnetp!ihnp4!inuxc!pur-ee!uiucdcs!sneaky!gordon From: gordon@sneaky.UUCP Newsgroups: net.unix Subject: Re: cu receive redir. ? - (nf) Message-ID: <-1336091@sneaky.UUCP> Date: Sat, 8-Sep-84 12:16:00 EDT Article-I.D.: sneaky.-1336091 Posted: Sat Sep 8 12:16:00 1984 Date-Received: Thu, 13-Sep-84 19:37:04 EDT References: <13120@sri-arpa.UUCP> Lines: 40 Nf-ID: #R:sri-arpa:-1312000:sneaky:-1336091:000:1470 Nf-From: sneaky!gordon Sep 8 11:16:00 1984 #R:sri-arpa:-1312000:sneaky:-1336091:000:1470 sneaky!gordon Sep 8 11:16:00 1984 [Bug eater line. Munch, munch, munch ...] In order to use the redirection of received data in 'cu', you need to have the system on the other end send the redirection command. ~>file It has to start at the beginning of a line. If the other system has a prompt that leaves the cursor at the beginning of the line, you can sometimes type in the command with an extra ~ in front, depending on how badly the other system objects to it. Usually, however, you need to type in a command like: echo "~>file"; cat file; echo "~>" or its equivalent on other operating systems. If it doesn't have an equivalent to echo, you can edit the commands onto the beginning and end of the file. If it's a Unix*-like system on the other end, use ~%take, and cu will construct a suitable command line for you. Note that putting redirection commands at the beginning of a line in netnews articles is probably going to draw flames from lots of people who use cu to log in to another system to read netnews. Another possibility, useful for capturing entire sessions, is: cu | tee session.log Gordon Burditt convex!ctvax!trsvax!sneaky!gordon * Unix is** a** trademark of** some** telephone bill*** company or** other. ** is, a, of, some, and or are hopefully not trademarks of some telephone bill company or other. *** telephone bill is probably a trademark of AT&T****. **** AT&T is a trademark of AT&T****. (infinitely recursive).