No Next Item No Next Conference Can't Favor Can't Forget Item List Conference Home Entrance    Help
View Responses


Grex Info Item 138: Terminal problem
Entered by randall on Thu Apr 14 03:43:46 UTC 1994:

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.



#1 of 7 by srw on Thu Apr 14 04:39:22 1994:

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


#2 of 7 by remmers on Thu Apr 14 04:41:05 1994:

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.


#3 of 7 by remmers on Thu Apr 14 04:42:14 1994:

(Steve slipped in.  The stty command by itself isn't sufficient.
You need to do the echo as well.)


#4 of 7 by tsty on Fri Apr 15 02:56:33 1994:

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.
 


#5 of 7 by remmers on Fri Apr 15 03:16:38 1994:

Right, I forgot about that.  But you still need the 'echo' command
under some circumstances.


#6 of 7 by kaplan on Mon Apr 18 17:07:03 1994:

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?


#7 of 7 by remmers on Tue Apr 19 04:01:20 1994:

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.

No Next Item No Next Conference Can't Favor Can't Forget Item List Conference Home Entrance    Help

- Backtalk version 1.3.30 - Copyright 1996-2006, Jan Wolter and Steve Weiss