home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / os / linux / 10263 < prev    next >
Encoding:
Internet Message Format  |  1992-09-08  |  2.6 KB

  1. Path: sparky!uunet!mcsun!news.funet.fi!hydra!klaava!klaava!liljeber
  2. From: liljeber@klaava.Helsinki.FI (Mika Pekka Liljeberg)
  3. Newsgroups: comp.os.linux
  4. Subject: Re: Scrambled fonts anyone?
  5. Message-ID: <LILJEBER.92Sep9102340@klaava.Helsinki.FI>
  6. Date: 9 Sep 92 08:23:40 GMT
  7. References: <1992Sep9.015006.26428@umr.edu> <q+snt5b.harp@netcom.com>
  8. Sender: liljeber@klaava.Helsinki.FI (Mika Pekka Liljeberg)
  9. Organization: Department of Computer Science, University of Helsinki, Finland
  10. Lines: 50
  11. In-Reply-To: harp@netcom.com's message of 9 Sep 92 04: 41:38 GMT
  12.  
  13. In article <q+snt5b.harp@netcom.com> harp@netcom.com (Gregory O. Harp) wrote:
  14. > dminer@mcs213f.cs.umr.edu (Dan Miner) writes:
  15. >>I used to reboot, but it has been getting worst.  Anyway, to
  16. >>stop or restore the font?  (Plain text)
  17. > You're going to think I'm nuts, but try 'cat /bin/ls'.  I'm using the
  18. > ls from the MCC-Interim 0.97pl2 distribution, and it happens to
  19. > contain the right sequence of codes to reset the console.
  20. > How did I discover this?  Don't ask.  
  21. > Suggestion to the person who wrote/maintains the 'setterm' program:
  22. > Please add such a reset feature to your program.  Perhaps it already
  23. > has one, but since I don't have a man page for it (nor can I find one)
  24. > I haven't found it.  'setterm -reset' and 'setterm -initialize' don't
  25. > solve the problem.
  26.  
  27. This is just a matter of modifying your /etc/termcap. setterm -reset
  28. prints out the rs string, and setterm -initialize prints out the
  29. is strings. So, you replace, say, rs with something like this:
  30.  
  31.     rs=\Ec
  32.  
  33. That should do it.
  34.  
  35. Fixing most problems like this (like the infamous one-line scroll bug)
  36. is just a matter of understanding and using termcaps. Please read some
  37. man pages, get a good book, anything. Get to know termcaps. They're
  38. an important part of managing and using a *nix system.
  39.  
  40. I'm the person, who edited the current version of setterm and enhanced
  41. the console driver to it's current level of vt102 compatibility. I don't
  42. view myself as the maintainer of either of these pieces of code. By the
  43. way, setterm was ripped off some Minix virtual console package and hacked
  44. to do the job under Linux. And it can do the job. Still, it is an ugly
  45. piece of code, IMO, and it would be nice, if someone took the time to
  46. write a totally new one for Linux. But it's not fun, nor very important.
  47.  
  48. > -- 
  49. > -----------------Greg-Harp----------------harp@netcom.com------------------
  50. >   Love me, love my ferrets.               "Break out of the mold before
  51. >   Or at least love my ferrets. ;)          the mold sets in" -- B52's
  52.  
  53.     Mika
  54.  
  55. --
  56. Mika Liljeberg            Email:    liljeber@kruuna.Helsinki.FI
  57. Helsinki University            Mika.Liljeberg@Helsinki.FI
  58. Dept. of Computer Science
  59.