home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / os / linux / 6607 < prev    next >
Encoding:
Internet Message Format  |  1992-07-23  |  1.3 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!sdd.hp.com!usc!sol.ctr.columbia.edu!ucselx!bionet!raven.alaska.edu!acad2.alaska.edu!axlas
  2. From: axlas@acad2.alaska.edu
  3. Newsgroups: comp.os.linux
  4. Subject: FIX VT100 char set problems!
  5. Message-ID: <1992Jul23.200425.1@acad2.alaska.edu>
  6. Date: 24 Jul 92 00:04:25 GMT
  7. References: <1992Jul23.184517.21416@ncsu.edu>
  8. Sender: news@raven.alaska.edu (USENET News System)
  9. Organization: University of Alaska
  10. Lines: 34
  11. Nntp-Posting-Host: acad2.alaska.edu
  12.  
  13. In article <1992Jul23.184517.21416@ncsu.edu>, doogie@garfield.catt.ncsu.edu (Jeff House) writes:
  14. > Okay... Here goes another one:
  15. > On occasion, the character set on my console changes to a bunch of
  16. > vertical and horizontal lines.  This is, it seems, a result of issueing
  17. > the incorrect sequence of control characters to the terminal.  How can I
  18. > get it to go back the way it was?  I suppose this is a common problem,
  19. > no?
  20. > Thanks lots!
  21. > -Doogie
  22.  
  23.  
  24. Well, as a user of the VAX, the same things happen here, too.  So I dug up
  25. the old RESET.COM file and peeked.
  26.  
  27. To fix your problem, create /bin/reset with this line:
  28.  
  29. echo "^O^[)B^[(B^[[0;24r^[[0m^[[2H"
  30.  
  31. note that control chars are prefixed with '^', i.e. ESC = '^['
  32.  
  33. then chmod +x /bin/reset, and whenever you get that funky graphics, just
  34.  
  35. # reset
  36.  
  37. and all will be happy!
  38.  
  39. Leif Sawyer
  40. AXLAS@acad2.alaska.edu
  41.