Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!rutgers!ames!ucbcad!ucbvax!hplabs!sdcrdcf!trwrb!sansom From: sansom@trwrb.UUCP Newsgroups: comp.sys.atari.st Subject: Latest version of uuslave for the ST (0 of 2) Message-ID: <1766@trwrb.UUCP> Date: Wed, 15-Apr-87 11:36:29 EST Article-I.D.: trwrb.1766 Posted: Wed Apr 15 11:36:29 1987 Date-Received: Fri, 17-Apr-87 03:40:41 EST Reply-To: sansom@trwrb.UUCP (Richard Sansom) Organization: TRW EDS, Redondo Beach, CA Lines: 84 This is the latest version of uuslave for the ST. This version contains a number of features which were missing from the first version, including the ability to set the baud rate with a command line option. Here is an "ls -l" of what will be in the next two postings: -rw-r--r-- 1 sansom 277 Apr 14 23:27 d_trwrbs.9c2 -rw-r--r-- 1 sansom 447 Apr 14 23:27 logfile -rw-r--r-- 1 sansom 31496 Apr 14 23:17 uuslava.uue -rw-r--r-- 1 sansom 51753 Apr 14 23:23 uuslave.c -rw-r--r-- 1 sansom 67 Apr 14 23:28 x_trwrba.9c3 "uuslava.uue" is a "Dumas'" uuencoded uuslave.ttp, "uuslave.c" is the source file, "logfile" is a sample log file generated by uuslave on the ST, "d_trwrbs.9c2" is the data file transferred by our BSD 4.2 system, and "x_trwrba.9c3" is the uuxqt command file. You uucp system administrators will notice that the data and command files have been "munged" by the ST in transit. This is due to the MS/DOS flavored filename conventions used by the ST. There is a routine in uuslave.c - munge_filename() - which converts the UNIX filename to one which is acceptable on the the target machine. This is the best idea I could come up with for maintaining the original filename as much as possible, and still be a "legal" GEMDOS filename. If anyone out there has any better ideas, please pass them on. What you need to do: 1) save this, and the next two uuslave postings 2) using your favorite editor, extract all of the files 3) uudecode the uuslava.uue file (preferably with Dumas' uudecode) 4) get your uucp administrator to add a line to your site's L.sys file which looks something like this: sitename Any ACU 1200 5555555 ogin: uucp\n ssword: s8000\n where "sitename" is the name you want your ST system to go by, "Any" means that it's ok to call your system anytime there's work for it, "1200" is the default baud rate (you may change this if both you and your site have a faster line available), and "5555555" is your ST's phone number. 5) queue up a file by mailing a letter to your ST system using a header similar to the following: To: sitename!root Subject: test 6) execute uuslave on your ST with the following command: uuslave -l [-bn] where "-l" specifies that uuslave is to mimic a UNIX login process, and the "[-bn]" is an optional baud rate specification where "n" _must_ be one of the following: 0 = 19200 baud 1 = 9600 baud 2 = 4800 baud 3 = 3600 baud 4 = 2400 baud 5 = 2000 baud 6 = 1800 baud 7 = 1200 baud (default) If you have any problems, execute uucico on your UNIX machine with the following command: uucico -r1 -ssitename -x9 >& uucico_out & If you can't figure out what the problem is, go ahead and send me the "uucico_out" file, and I'll see what I can do. Many thanks to Martin Minow for his help with the Rsconf() call, and with the Iorec() stuff. Enjoy. -Rich -- /////////////////////////////////////\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ /// Richard E. Sansom TRW Electronics & Defense Sector \\\ \\\ {decvax,ucbvax,ihnp4}!trwrb!sansom Redondo Beach, CA /// \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\/////////////////////////////////////