[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CVS: cvs.openbsd.org: src



CVSROOT:	/cvs
Module name:	src
Changes by:	miod_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org	2005/03/09 10:48:42

Modified files:
	sys/dev/wscons : wsemul_sun.c 

Log message:
Make the sun emulation match what the old SunOS cons(4) manual page describes:
- Fix an uninitialized variable for ESC[p and ESC[q control sequences.
- Skip invoxing wscons accessops when we know they'll have nothing to do
(e.g. scroll 0 lines, erase 0 lines, etc)
- Correctly handle spurious parameters in control sequences - the ones to
take into account are the _last_ received, not the _first_. Which makes
things pretty funny for control sequences requiring more than one parameter,
since it is not mandatory to provide all parameters.

ok todd@