apm233m@vaxc.cc.monash.edu.au
Date: 11/05/92


From: apm233m@vaxc.cc.monash.edu.au
Subject: Re: linux-0.98.3 termcap problem
Date: 6 Nov 1992 11:18:44 +1100

In article <92308.071727NU013809@NDSUVM1.BITNET>, Greg Wettstein <NU013809@NDSUVM1.BITNET> writes:
 [stuff deleted]
> After logging into a couple of systems I suddenly noticed that the virtual
> console was restricting itself to 24 lines. For example if less is used
> to view a file and the sh prompt is on the bottom line of the screen the
> entire output gets displayed on the bottom line of the screen. Using
> less with the prompt at the top of the screen causes less to use the
> console as if it had 24 lines.

Which comms program do you use? I use kermit to talk to a VAX running VMS
and I too get the 24 line problem. My guess was that it was probably kermit
which was at fault.

> This problem seems to be resistant to the use of stty rows 25, setterm
> -initialize etc. Rebooting the machine does clear the problem but is of
> course not an optimum solution.... :-) The problem does not transcend
> virtual consoles, the only console affected is the VT which was running
> kermit when I logged into the other machines. I suspect that the other
> machine is sending some type of control sequence that is being interpreted
> by the Linux console driver. Anybody got any ideas?????

Have you also tried sending ctrl-O to the VT? (can be done by ^Q ^V ^O if
using BASH) This fixes some problems, but not the 24 line problem for me.

Actually, I can live with a 24 line VT. Unfortunately, what I see is
in effect a split-screen VT: one window of 24 lines and one of 1 line.
If the cursor moves into the one-line window at the bottom of the
screen then it tends to stay there (some programs, such as emacs can
still make use of the whole screen). A 1-line VT is very difficult to
live with!

It is my guess that the real problem is a bug in the kernel terminal
code. There may be other problems with this code, for example there
appears to be a bug in the code for the "do" command.

-- 
===============
Bill Metzenthen
Mathematics Department
Monash University
Australia