Date : Thu, 25 Jan 1990 08:38:27 GMT
From : pacbell!sactoh0!ianj@ames.arc.nasa.gov (Ian R. Justman)
Subject: SIMTEL20 shell script
I thought I would pass this little thingie along for those wanting
to get files from SIMTEL20. In order to get the directory, you
have to mail a request according to the helpfiles that have been
posted here from time to time. BTW, I didn't write this file;
someone else did, a friend of mine with access to an MS-DOS machine
gave me a copy of the shell script and I modified it to suit my
needs. As it stands, it sends files to my system. You have to
modify it so it knows where you want your files to go, and how to
get to the list server.
Enjoy!!!! (Or at least try...)
#-------- BEGIN -----------------
# 'file' is location of a temporary file
file=/usr/tmp/simreq
# 'me' is my mail address
me=ames!pacbell!sactoh0!ijsys!ianj
# 'listserv' is address of list server
listserv=ames!vm1.nodak.edu!listserv
# print help if they goofed
if (test "$#" -ne "3")
then
echo "USAGE: getsimtel <disk> <directory> <filename>"
echo
echo "EXAMPLE: getsimtel pd1 msdos.filedocs simibm.arc"
exit
fi
echo "Processing SIMTEL request . . . . please wait a minute."
echo
echo "/PDGET MAIL $1:<$2>$3 ( UUENCODE" > $file
# mail our request, 'fastmail' from ELM product
fastmail -r $me -F $me -s Request $file $listserv
echo "getsimtel done"
echo
echo "SIMTEL request sent. Please wait a day or so for receipt."
rm $file
#--------- END --------------------------
--
Home: Ian Justman |UUCP:(1) My CP/M machine. |"One of the few
6612 Whitsett Drive | (2) My host. |die-hard CP/M
North Highlands, CA |(1) !pacbell!sactoh0!ijsys!ianj |addicts left on this
(916) 344-5360 95660|(2) !pacbell!sactoh0!ianj |planet"