Jumping screen

Ian Gregory plasmoid!iang at dartvax.dartmouth.edu
Fri Jul 28 11:49:20 AEST 1989


In article <269 at brazos.Rice.edu> simon at summer.british-telecom.co.uk (Simon E. Redding) writes:
>X-Sun-Spots-Digest: Volume 8, Issue 77, message 6 of 21
>
>Our SUN 3/60 consoles have a nasty habit of scrolling in a jump fashion -
>i.e. when you get to the bottom, the screen scrolls about 20 lines.  This
>is really annoying when using man.  The only way we have found to stop
>this is a fastboot.  Any help?

Yes, I can help with this, and also with another problem which was posted
a little while ago, about getting the console back to black on white when
it has been set to white on black.

The short answer is to say "LOOK AT MAN CONSOLE(4S)"

But to save you the trouble, I will go on to say that these things can be
controlled using:

     ESC[p       Black On White (SUNBOW)
     ESC[q       White On Black (SUNWOB)
     ESC[#r      Set scrolling (SUNSCRL)

And also:

     ESC[s       Reset terminal emulator (SUNRESET)
          Takes no parameters.   Resets  all  modes  to  default,
          restores  current  font  from  PROM.

Issuing a SUNRESET sets the console back to the state it is in immediately
after booting, but only takes a fraction of a second.  This seems to be
exactly what you need, and can be done using the command:

echo "ESC[s" > /dev/console    (hit the escape key, don't type E S C)

I hope this helps,
                  Ian Gregory
                  iang at plasmoid.dartmouth.edu



More information about the Comp.sys.sun mailing list