Filename: gethx --- a C shell program. Author: Yaoen Zhang e-mail: zhang@csgrad.cs.vt.edu Written: March 24, 1993 Purpose: "gethx" --- it gets "Hua Xia Wen Zai" file in PostScript format from an anonymous ftp server machine in your area, process and print these files, and do the clean up. Advantage: It saves your time and effort. And it also saves network and server machine time. Setup: First, you have to do a little setup before you can run it. 1. Create a file ".hxwz" in your home directory, and put the total release number in it. e.g. "echo 101 > $HOME/.hxwz" 2. Change the 4th line of the following code. Put your own e-mail address after "=". e.g. "set PASS = liwang@lcs.ohio-state.edu" Once you have finished setup, all you need to do is typing the command "gethx" every Friday. That's it. Usage: gethx [-h] [-p] [-s] The GB file of current issue of HXWZ will be retrieved. Options: -h This help message will be echoed. -p Postscript file of current issue of HXWZ be retrieved. -s Specific issue of GB file will be retrieved. The filename should follows "-s". e.g. "gethx -s zk9302a.gb" Notes: You can do more with this program. 1. IMPORTANT: You should change the SERVERHOST machine to the one near you site. (it is on the first line of code). 2. For HXWZ editors, you can modify it to distribute cnd-cm's GB format and Postcript files to all server machines. 3. You can modify it to get any file from any ftp server. Credits: FTP command is based on getnettables, by John Dotts Hagan This program is in public domain. This is no copyright. If you find it useful, distribute it to your friends. Suggestions welcome.