home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!mcsun!news.funet.fi!hydra!klaava!klaava!liljeber
- From: liljeber@klaava.Helsinki.FI (Mika Pekka Liljeberg)
- Newsgroups: comp.os.linux
- Subject: Re: Scrambled fonts anyone?
- Message-ID: <LILJEBER.92Sep9102340@klaava.Helsinki.FI>
- Date: 9 Sep 92 08:23:40 GMT
- References: <1992Sep9.015006.26428@umr.edu> <q+snt5b.harp@netcom.com>
- Sender: liljeber@klaava.Helsinki.FI (Mika Pekka Liljeberg)
- Organization: Department of Computer Science, University of Helsinki, Finland
- Lines: 50
- In-Reply-To: harp@netcom.com's message of 9 Sep 92 04: 41:38 GMT
-
- In article <q+snt5b.harp@netcom.com> harp@netcom.com (Gregory O. Harp) wrote:
- > 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.
- >
- > 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.
-
- This is just a matter of modifying your /etc/termcap. setterm -reset
- prints out the rs string, and setterm -initialize prints out the
- is strings. So, you replace, say, rs with something like this:
-
- rs=\Ec
-
- That should do it.
-
- Fixing most problems like this (like the infamous one-line scroll bug)
- is just a matter of understanding and using termcaps. Please read some
- man pages, get a good book, anything. Get to know termcaps. They're
- an important part of managing and using a *nix system.
-
- I'm the person, who edited the current version of setterm and enhanced
- the console driver to it's current level of vt102 compatibility. I don't
- view myself as the maintainer of either of these pieces of code. By the
- way, setterm was ripped off some Minix virtual console package and hacked
- to do the job under Linux. And it can do the job. Still, it is an ugly
- piece of code, IMO, and it would be nice, if someone took the time to
- write a totally new one for Linux. But it's not fun, nor very important.
-
- > --
- > -----------------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
-
- Mika
-
- --
- Mika Liljeberg Email: liljeber@kruuna.Helsinki.FI
- Helsinki University Mika.Liljeberg@Helsinki.FI
- Dept. of Computer Science
-