From: axlas@acad2.alaska.edu Subject: FIX VT100 char set problems! Date: 24 Jul 1992 00:04:25 GMT
In article <1992Jul23.184517.21416@ncsu.edu>, doogie@garfield.catt.ncsu.edu (Jeff House) writes:
>
>
> Okay... Here goes another one:
>
> On occasion, the character set on my console changes to a bunch of
> vertical and horizontal lines. This is, it seems, a result of issueing
> the incorrect sequence of control characters to the terminal. How can I
> get it to go back the way it was? I suppose this is a common problem,
> no?
>
> Thanks lots!
>
>
> -Doogie
Well, as a user of the VAX, the same things happen here, too. So I dug up
the old RESET.COM file and peeked.
To fix your problem, create /bin/reset with this line:
echo "^O^[)B^[(B^[[0;24r^[[0m^[[2H"
note that control chars are prefixed with '^', i.e. ESC = '^['
then chmod +x /bin/reset, and whenever you get that funky graphics, just
# reset
and all will be happy!
Leif Sawyer
AXLAS@acad2.alaska.edu