Re: Regarding the status bar/vt100 codes

From: ShadowLord (dkoepke@california.com)
Date: 07/01/96


On Mon, 1 Jul 1996, ed wrotniewski wrote:

> I got the codes from the usenet, but I've been trying to figure out
> something. Now I know how to place the cursor in a specific screen
> position... but... how do i tell the terminal that it is only X number of
> lines long (the screen that is). Ever notice if yer on a mud with a status
> bar, then break out of the mud without quitting, that the status bar is
> still there, and stays stationary, so your screen is shortened? I cant get
> this effect to work. If I say put the status bar at line 24, then go back to
> 23 and start printing, it writes over the status bar and scrolls as usual.
> What's the damn code I am missing to 'shrink' the screen, if that is what
> it's doing.

It's setting a scroll limit.  It's not (technically) shrinking the screen,
that's just how it's being used in this occurance.  I believe the code is
\033[#;#r.  That might be wrong, and you'll need to play around to find
out which number is the horizontal and which number is the vertical limit.
It might be 't' instead of 'r'.  Don't specifically remember.

	-dak



This archive was generated by hypermail 2b30 : 12/07/00 PST