bob@conexch.UUCP (Bob Best) (06/10/89)
The script bgzmod in the zterm package was unnecessarily complex. Use this instead. --------------------------- #! /bin/sh # This is a shell archive. Remove anything before this line, then unpack # it by saving it into a file and typing "sh file". To overwrite existing # files, type "sh file -c". You can also feed this as standard input via # unshar, or by typing "sh <file", e.g.. If this archive is complete, you # will see the following message at the end: # "End of shell archive." # Contents: bgzmod # Wrapped by bob@dallnix on Sat Jun 10 08:55:12 1989 PATH=/bin:/usr/bin:/usr/ucb ; export PATH if test -f 'bgzmod' -a "${1}" != "-c" ; then echo shar: Will not clobber existing file \"'bgzmod'\" else echo shar: Extracting \"'bgzmod'\" \(303 characters\) sed "s/^X//" >'bgzmod' <<'END_OF_FILE' X# bgzmod - run zmodem transfers in the background X# called by zterm XZDIR=/usr/lib/zterm Xcommand="$1" Xshift X$command -vvv $* #add more v's for more output (see /tmp/[rs]zlog) X(${ZDIR}/bell;clr;echo "Zmodem Transfers Completed";echo "Exit to shell and type 'zterm' to enter terminal") >/dev/tty X END_OF_FILE if test 303 -ne `wc -c <'bgzmod'`; then echo shar: \"'bgzmod'\" unpacked with wrong size! fi chmod +x 'bgzmod' # end of 'bgzmod' fi echo shar: End of shell archive. exit 0 -- Bob Best bob@dhw68k.cts.com