Cool.  Thanks.

How would I hook this in to run whenever I come out of X?

Thanks,

Hank


Using  VFP: MS's OOP Production Tool
http://ourworld.compuserve.com/homepages/fayhj

-----Original Message-----
From: D'jinnie [mailto:[EMAIL PROTECTED]
Sent: Sunday, August 16, 1998 2:01 PM
To: debian-user
Subject: RE: Nuking damned scrambled consoles.


Don't know where I got this little script - but it usually fixes most
console problems for me...

#!/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.

---
Trying to define yourself is like trying to bite your own teeth.
                -- Alan Watts

D'jinnie/Jinn, encountered on IRC and select MU**. ([EMAIL PROTECTED])


--
Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] <
/dev/null

Reply via email to