Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!romp!auschs!d75!awdprime!woan!ron From: ron@woan (Ronald S. Woan) Newsgroups: comp.os.msdos.misc Subject: Re: What is simtel20? Keywords: simtel20, shell scripts Message-ID: <3463@awdprime.UUCP> Date: 11 Sep 90 17:16:28 GMT References: <3818@se-sd.SanDiego.NCR.COM> <2480@dsacg4.dsac.dla.mil> Sender: news@awdprime.UUCP Reply-To: woan@peyote.cactus.org Organization: Austin School of Hardknocks Lines: 52 In article <2480@dsacg4.dsac.dla.mil>, nol2321@dsacg4.dsac.dla.mil (Jim Dunn) writes: Jim> ----------------------------------------------------------------------- Jim> Greetings NetWorldling. Apparently you have asked about ftp, or Jim> simtel or some other such topic. And because of that I'm sending Jim> you a little file on how to order files from simtel using the Jim> "list-server", OK? :) Jim> ----------------------------------------------------------------------- Jim> The first thing you need to do is to prepare an e-mail addressed Jim> to: Jim> listserv@vm1.nodak.edu Jim> The subject of the message could be anything, but I usually use: Jim> Subj: Command Jim> The body of the message should look something like this: Jim> /PDGET MAIL PD1:SIMIBM.ARC UUENCODE Here are a couple of short scripts that make it easy to do these from the shell prompt. I think the examples make the programs self-explanatory, but getsimtel requests a file and dirsimtel requests a directory listing from the listserv. I can't remember the original authors... ---Getsimtel.sh--- #! /bin/sh file=$HOME/.simrequest rm $file if [ $# -ne 3 ] then echo echo "usage: getsimtel " echo echo "Example: getsimtel pd1 msdos.filutil simibm.arc" exit fi echo "/PDGET MAIL $1:<$2>$3 (UUENCODE" > $file mailx listserv@vm1.nodak.edu < $file ---Dirsimtel.sh--- #! /bin/sh file=$HOME/.simrequest rm $file if [ $# -ne 2 ] then echo echo "usage: dirsimtel " echo echo "Example: dirsimtel pd1 msdos.filutil" exit fi echo "/PDDIR $1:<$2>*.* 999" > $file mailx listserv@vm1.nodak.edu < $file