home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!haven.umd.edu!darwin.sura.net!wupost!sdd.hp.com!swrinde!news.dell.com!milano!cactus.org!wixer!rhodesia
- From: rhodesia@wixer.cactus.org (Felix S. Gallo)
- Newsgroups: comp.os.linux
- Subject: Re: Scrambled fonts anyone?
- Keywords: pcomm, fonts
- Message-ID: <1992Sep9.175845.21742@wixer.cactus.org>
- Date: 9 Sep 92 17:58:45 GMT
- References: <1992Sep9.015006.26428@umr.edu> <q+snt5b.harp@netcom.com>
- Sender: rhodesia@wixer.cactus.org
- Reply-To: rhodesia@wixer.UUCP (Felix S. Gallo)
- Followup-To: poster
- Organization: Real/Time Communications
- Lines: 51
-
- In article <q+snt5b.harp@netcom.com> harp@netcom.com (Gregory O. Harp) writes:
- >dminer@mcs213f.cs.umr.edu (Dan Miner) writes:
- >
- >>I used to reboot, but it has been getting worst. Anyway, to
- >>stop or restore the font? (Plain text)
- >
- >You're going to think I'm nuts, but try 'cat /bin/ls'. I'm using the
- >ls from the MCC-Interim 0.97pl2 distribution, and it happens to
- >contain the right sequence of codes to reset the console.
-
- ew. ew ew ew.
-
- >How did I discover this? Don't ask.
-
- >Suggestion to the person who wrote/maintains the 'setterm' program:
- >Please add such a reset feature to your program. Perhaps it already
- >has one, but since I don't have a man page for it (nor can I find one)
- >I haven't found it. 'setterm -reset' and 'setterm -initialize' don't
- >solve the problem.
-
- setterm -reset works for me. But here's the definitive clue:
-
- the virtual terminals emulate vt102 terminals, as per their termcap
- entry. The vt102 'complete terminal reset' command is (ESC)c. Just
- echo that sequence in a printable fashion and you're set. Here's the
- easiest way:
-
- % cat
- (ESC)c(RETURN)
- ^D
- %
-
- here is the slightly sexier way:
-
- % cat > /usr/local/bin/fixterm
- #!/bin/sh
- echo "(CONTROL-V)(ESC)c"
- ^D
- %
-
- and then use fixterm whenever you get into the problem again.
- >--
- >-----------------Greg-Harp----------------harp@netcom.com------------------
- > Love me, love my ferrets. "Break out of the mold before
- > Or at least love my ferrets. ;) the mold sets in" -- B52's
-
-
- --
- ----------------------------------------------------------------------------
- Felix Sebastian Gallo rhodesia@wixer.cactus.org
- ----------------------------------------------------------------------------
-