|
|
I change my terminal type from dumb to vt100 and now it only uses half the screen! How do I make it print the full length of the screen?
7 responses total.
vt100 terminals only do 24 lines. If your screen is larger, you may be able to to improve things by typing !stty rows 48 Hunt around for the right number or resize your screen. If that works great for you, you can edit it into your .profile
Sounds like you have a tall screen (more than 24 lines). Type the
following at any Picospan prompt:
unix stty rows M cols N
then
unix echo '^V^[[r'
where M and N are the number of lines and columns on your screen.
The symbols ^V and ^[ stand for control-V and control-[ respectively
(the latter is the same thing as the "escape" character).
You may want to put those lines (minus the word "unix") in your
.profile file, after the "tset" command that sets your terminal type.
Then things will automatically get set up correctly every time you
log in.
The vt100 termcap on Grex makes the unfortunate assumption that
everybody's screen is 24 lines by 80 columns, and initializes your
terminal to use only 24 lines. I plan on replacing that termcap in
the near future by a new one that doesn't make that assumption.
(Steve slipped in. The stty command by itself isn't sufficient. You need to do the echo as well.)
didn;t you put in place the rows xx and cols yy aliased command? I used to do the stty thing, until I read about the shortened version, and it's been working JUST fine for me.
Right, I forgot about that. But you still need the 'echo' command under some circumstances.
I've read the man page for less and haven't been able to figure this out yet. My vt100 terminal is 80 by 24, but I'd like my picospan pager, less, to assume that my screen is 21 lines long. Would it be best to just use the method above to make all of grex assume a shorter screen?
If the reason you want that is to have more overlap between successive screens, there might be a "less" option that adjusts the overlap. The method described earlier will make *everything* use just 21 lines, including editors, which might not be what you want.
Response not possible - You must register and login before posting.
|
|
- Backtalk version 1.3.30 - Copyright 1996-2006, Jan Wolter and Steve Weiss