misko@abhg.UUCP (William Miskovetz) (12/10/87)
Hello, Has anyone developed a way to use nfxmit (or some other way) to transfer notesfiles compressed?? After gatewaying news to notes, it takes a long time to transfer the notes since nfxmit does not compress them. It would be nice it there was a way to get them compressed and then transferred. Has anyone done this? Am I missing something? Thanks for any help. Bill Miskovetz {ihnp4!lll-winken, pyramid, lll-lcc}!abhg!misko
berliner@convexs.UUCP (12/14/87)
Our /usr/spool/notes/.utilities/net.how file contains lines of the form: smu:x:::(/usr/local/bin/compress|uux - -n -r smu!"uncompress -c |nfrcv %s %s") Note that uncompress and nfrcv must be listed in the /usr/lib/uucp/L.cmds file for this to work. Hope this helps... -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Brian <nogger> Berliner What is a nogger, anyway? Convex Computer Corp. UUCP: {ihnp4, uiucdcs, sun, rice, allegra}!convex!berliner ARPA: convex!berliner@rice.arpa
paul@uxc.cso.uiuc.edu (12/15/87)
We use compress all the time for sending notes in a compressed format. Use the following steps: In ~notes/net.how, add lines like the following: ccvaxa:x:::(/usr/local/bin/compress|uux - -n -r -gn ccvaxa!"nfcrcv %s %s") Note the nfcrcv above. Have the recipient site add nfcrcv to their list of approved UUCP commands. Install it as /usr/bin/nfcrcv. It's a two line shell script containing the following: #! /bin/sh /usr/local/bin/uncompress | /usr/bin/nfrcv $* Change the pathnames as needed. Be sure the execute mode bits are set. That should do the trick. The return path usually doesn't need to be compressed due to the lower volume. Paul Pomes UUCP: {ihnp4,uunet}!uiucuxc!paul Phone: +1 217 333 6262 Internet: paul@uxc.cso.uiuc.edu BITNET: paul@uxc.cso.uiuc.edu MILNET: paul@uiucuxc.arpa CSNET: paul%uxc@uiuc.csnet US Mail: UofIllinois, CSO, MC-256, 1304 W Springfield Ave, Urbana, IL 61801
jthomp@tsunami.UUCP (12/19/87)
/* Written 2:25 am Dec 14, 1987 by convexs.UUCP!berliner in tsunami:news.software.notes */ Our /usr/spool/notes/.utilities/net.how file contains lines of the form: smu:x:::(/usr/local/bin/compress|uux - -n -r smu!"uncompress -c |nfrcv %s %s") [...] /* End of text from tsunami:news.software.notes */ 'cept that won't work, if you have 4.3 based uucp. (4.3 uucp won't allow the '|' to function properly.) So, what you do is this: have the remote site (smu in this case) prepare a file that looks like: ______ Cut Here ______ #!/bin/sh zcat | nfrcv $1 $2 ______ Cut Here ______ And call it something like: 'getnotes'. Put 'getnotes' in 'L.cmds' and make the sending site mutter: smu:x:::(/usr/local/bin/compress|uux - -n -r smu!"getnotes %s %s") in their 'net.how' file. I know whereof I speak, notes 'broke' after smu went to 4.3. Jim Thompson Convex Computer Corp Richardson, Tx 75081 convex!jthomp