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