next message in archive
no next message in thread
previous message in archive
Index of Subjects
This should be ignored... I dumped this code into a message planning on
postponing it until I gathered up the rest of the code and the and the
explaination... with sudden, pressing (no locale.. ;-) matters to deal
with I pressed ^x instead of ^o
cancel red alert!
david potter
On Thu, 1 Oct 1998, David Potter wrote:
>
> # code that was inserted near the top of $CS_ROOT/bin/shell
>
> clear
> tty=`/usr/bin/tty `
> tty="${tty#/dev/}"
> tty="${tty%/??}"
> t_ty=`/usr/bin/tty `; /csuite/bin/modems-allow;
> if [ "$?" != "1" ]; then
> echo "Allowed modem: $t_ty">>/tmp/allowed-modems
> else
> if [ $tty == "sts" ]; then
> cat <<EOM
>
> Message goes here - temporarily unavailable?
>
> EOM
> sleep 10
> exit
> fi
>
> # end code that was inserted in $CS_ROOT/bin/shell
>
>
next message in archive
no next message in thread
previous message in archive
Index of Subjects