[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: Nuking damned scrambled consoles.



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:jinn@irony.org]
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  --  sto2@netaxs.com
#    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**. (jinn@irony.org)


--
Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org <
/dev/null



Reply to: