Subject: Re: wscons Sun emulation.
To: Richard Rauch <rauch@eecs.ukans.edu>
From: Chris G. Demetriou <cgd@sibyte.com>
List: netbsd-help
Date: 10/03/2000 11:56:10
rauch@eecs.ukans.edu (Richard Rauch) writes:
> Out of curiosity, what features does one gain from the Sun emulation
> option with wscons?  (I am ignorant of what a real Sun console is
> like.)  If I'm using an i386 machine, would there be any benefits (or any
> changes at all) if I had asked for WSEMUL_SUN in my kernel?

So, the reason why WSEMUL_SUN exists is because, basically, I couldn't
find my VT220 command reference booklet and sun was always nice enough
to document their terminal escapes in a manual page, and VT220 is
harder anyway since it does more stuff.  8-)


The one possible thing that you might benefit from in WSEMUL_SUN is
that it implements the SUNSCRL escape (ESC[#r, where # and defaults to
zero, meaning 'wrap mode,' if unspecified) which causes the emulation
to scroll up # lines rather than 1 when it hits the end of the screen.

If you're spewing a _lot_ of text out of a VGA console, or if you're
using a bitmapped console, using a value > 1 can improve performance
(since you spend less time copying during scrolls).

Also, the code is probably slightly smaller, since there's less stuff
to emulate (though if you really want smaller, and don't care much
about using the console, you could go with dumb... 8-)



chris