home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / os / linux / 9692 < prev    next >
Encoding:
Internet Message Format  |  1992-09-02  |  2.0 KB

  1. Path: sparky!uunet!mcsun!news.funet.fi!hydra!klaava!klaava!hurtta
  2. From: hurtta@cs.Helsinki.FI (Kari E. Hurtta)
  3. Newsgroups: comp.os.linux
  4. Subject: Re: VT one line bug?
  5. Message-ID: <HURTTA.92Sep2213800@plootu.Helsinki.FI>
  6. Date: 2 Sep 92 19:38:00 GMT
  7. References: <1992Sep2.143418.89966@vaxc.cc.monash.edu.au>
  8. Sender: news@klaava.Helsinki.FI (Uutis Ankka)
  9. Organization: Department of Computer Science, University of Helsinki, Finland
  10. Lines: 37
  11. In-Reply-To: apm233m@vaxc.cc.monash.edu.au's message of 2 Sep 92 04: 34:18 GMT
  12.  
  13. In article <1992Sep2.143418.89966@vaxc.cc.monash.edu.au> apm233m@vaxc.cc.monash.edu.au wrote:
  14. > Once in a while, perhaps after a couple of hours of computer use,
  15. > a virtual terminal will go into a "one-line" mode. This has not
  16. > happened frequently enough for me to be certain about exactly when
  17. > it is likely to occur, but for the last couple of times it has been
  18. > in response to my entering a 'less' command like:
  19. >                   less wx*
  20. > where wx* matches one file.
  21. > What happens is that the screen scrolls up, filling blanks from the
  22. > bottom, except for the bottom line. The contents of the file are
  23. > displayed in the bottom line. This leaves all except the bottom line
  24. > blank. The virtual terminal is now in a one-line mode, with everything
  25. > happening in the last line of the screen (although perhaps the blank
  26. > part of the screen is still scrolling, but I can't tell). It remains
  27. > in this mode when I quit less. I have not discovered yet how to get
  28. > the virtual terminal out of this mode. Fortunately, it has no observed
  29. > effects on the other virtual terminals.
  30.  
  31. I think that it's caused by wrong scrolling region (or application
  32. interrupted in wrong point).
  33.  
  34. Perhaps number of lines what application (for example, less) thinks to 
  35. screen have isn't correct.
  36.  
  37. Create command resert-vt100:
  38. #!/bin/sh
  39. echo -n "<ESC>c"
  40.  
  41. Where place of <ESC> have ESC -character (can usually type with
  42. control-V ESC). This command fix this.
  43.  
  44. Or just type:
  45.  
  46. echo Control-V ESC c
  47.  
  48. - K E H
  49.