Good Day!!

I frequently get a garbage vt after using minicom with some certain remote
systems.

There is a shell script called fixvt.sh that I found at sunsite, it fixes
it right up for you, you just have to trust your typing, because you enter
the command on the "crazed" vt.

It's a teeny little thing so I've included it here for anyone who might
need it.

#!/bin/sh
#   fixvt 1.00
#   Fixes console corruption from vt bombs and the like
#    (c) 1994 Brian Stoler  --  [EMAIL PROTECTED]
#    Freely redistributable under the GPL 2
#        Mail me any changes/fixes/etc
#        Send flames to /dev/null -- I'm no scripter
if [ -r /etc/?getty ]; then
 DAG=/etc/?getty
elif [ -r /sbin/?getty ]; then
 DAG=/sbin/?getty
elif [ -r /sbin/?getty ]; then
 DAG=/sbin/getty_ps
elif [ -r /sbin/?getty ]; then
 DAG=/sbin/getty_ps
elif [ -r $1 ]; then
 DAG=$1
else
 echo NO GETTY FOUND -- PUT GETTY ON CMD LINE
 exit 1
fi
cat $DAG
echo c
clear
echo Display restored.


Hope someone finds this as useful as I have.


Tom (I haven't had to reboot my computer in over 9 days) Myro
Webmaster, cyber-nurse.com, camerology.com
Free CGI's: http://www.cyber-nurse.com/workshop

Reply via email to