Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!purdue!ames!elroy!usc!orion.cf.uci.edu!uci-ics!zardoz!conexch!bob From: bob@conexch.UUCP (Bob Best) Newsgroups: comp.os.minix Subject: new bgzmod script for zterm package Message-ID: <30808@conexch.UUCP> Date: 10 Jun 89 16:06:21 GMT Reply-To: bob@dhw68k.cts.com (Bob Best) Organization: The Consultants' Exchange, Orange County, CA Lines: 38 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 '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