Home | History | Annotate | Download | only in wscons
History log of /src/sys/dev/wscons/wsemul_vt100var.h
RevisionDateAuthorComments
 1.14  10-Feb-2010  drochner Allow big parts of the vt100 emulation code (what is in
wsemul_vt100_subr.c) to be used by alternative terminal emulators
(which are not in-tree yet but can be loaded as LKMs).
For this, split out that part of the state structure which is used
by the sharable code and include that in the original vt100 state.
This is only a query-replace and sed(1) job for now, it makes sense
to rearrange things a bit so that even more code can be changed --
will do so later.
 1.13  09-Oct-2006  peter branches: 1.13.52; 1.13.74;
KNF: No variable names in the prototype.
 1.12  27-Dec-2005  chs branches: 1.12.20; 1.12.22;
changes for making DIAGNOSTIC not change the kernel ABI:
- for structure fields that are conditionally present,
make those fields always present.
- for functions which are conditionally inline, make them never inline.
- remove some other functions which are conditionally defined but
don't actually do anything anymore.
- make a lock-debugging function conditional on only LOCKDEBUG.

as discussed on tech-kern some time back.
 1.11  11-Dec-2005  christos merge ktrace-lwp.
 1.10  29-May-2005  christos branches: 1.10.2;
- sprinkle const.
- avoid variable shadowing.
 1.9  28-Jul-2004  jmmv Implement support to dynamically change wscons console and kernel colors.

Two new ioctls are added to the wsdisplay device, named WSDISPLAY_GMSGATTRS
and WSDISPLAY_SMSGATTRS, used to retrieve the actual values and set them,
respectively (the name, if you are wondering, comes from "message attributes").

A new emulop is added to the underlying display driver (only vga, for now)
which sets the new attribute for the whole screen, without having to clear
it. This is optional, which means that this also works with other drivers
that don't have this new operation.

Five new kernel options have been added, although only documented in
i386 kernels (for now):
- WSDISPLAY_CUSTOM_OUTPUT, which enables the ioctls described above to
change the colors dynamically from userland. This is enabled by default
in the GENERIC kernel (as well as others) but disabled on all INSTALL*
kernels (as this feature is useless there).
- WS_DEFAULT_COLATTR, WS_DEFAULT_MONOATTR, WS_DEFAULT_BG and WS_DEFAULT_FG,
which specify the default colors for the console at boot time. These have
the same meaning as the (already existing) WS_KERNEL_* variables.

wsconsctl is modified to add msg.default.{attrs,bg,fg} and
msg.kernel.{attrs,bg,fg} to the display part, so that colors can be changed
after boot.

Tested on NetBSD/i386 with vga (and vga in mono mode), and on NetBSD/mac68k.
No objections in tech-kern@.
 1.8  24-Mar-2004  drochner remove license clauses 3 and 4 from my cpoyright notices
 1.7  19-Apr-2003  christos branches: 1.7.2;
PR/17738: Matthias Drochner, PR/21230: Onno van der Linden: vt100 wscons
crashes restoring cursor. Fixed by adding a flag as suggested.
 1.6  13-Oct-2001  augustss branches: 1.6.12;
ANSIfy.
 1.5  28-Apr-2000  mycroft branches: 1.5.4; 1.5.6; 1.5.8;
Add a concept of the `background attribute'. This is the same as the
current attribute, but has all non-color flags turned off. Use this when
doing erasure, as this allows us to optimize repainting in curses.

XXX The way the default attribute is handled is totally bogus and needs to
be fixed.
 1.4  04-Dec-1998  drochner branches: 1.4.10;
always use unsigned numbers for screen positions (for sanity - the libkern
min() et al. did unsigned comparisions before)
make ROWS_ABOVE / ROWS_BELOW return signed values, the negative results
occur if the cursor is outside the scrolling region
 1.3  12-Aug-1998  drochner stricter parameter check for scrolling regions
(PR kern/5954 by Dave Huang <khym@bga.com>)
 1.2  26-Jun-1998  drochner Improvements to the VT100 emulation:
-display DEC special graphics and DEC technical characters as far as
possible
-implement the font switching controls (need documentation!)
-behave well if double-width characters are requested
-simplify the state machine: store CSI command modifiers in variables
instead of dedicating own states to each of them
 1.1  20-Jun-1998  drochner First cut on a VT100 emulation.
It should be able to parse escape sequences up to VT300, but not everything
is implemented. Most notably, there is no font handling - all displayable
characters are handed to the graphics driver. To solve this, a serious
interface change to the graphics driver is needed (Unicode?).
 1.4.10.1  20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
 1.5.8.1  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.5.6.1  22-Oct-2001  nathanw Catch up to -current.
 1.5.4.1  27-May-2003  msaitoh Pullup rev. 1.7 (requested by drochner in ticket #43)
vt100 wscons crashes restoring cursor. Fixed by adding a flag as suggested.
Fixes PR#17738, PR#21230
 1.6.12.1  16-Jun-2003  grant Pull up revision 1.7 (requested by drochner in ticket #1277):

PR/17738: Matthias Drochner, PR/21230: Onno van der Linden: vt100 wscons
crashes restoring cursor. Fixed by adding a flag as suggested.
 1.7.2.4  10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.7.2.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.7.2.2  18-Sep-2004  skrll Sync with HEAD.
 1.7.2.1  03-Aug-2004  skrll Sync with HEAD
 1.10.2.2  30-Dec-2006  yamt sync with head.
 1.10.2.1  21-Jun-2006  yamt sync with head.
 1.12.22.1  22-Oct-2006  yamt sync with head
 1.12.20.1  18-Nov-2006  ad Sync with head.
 1.13.74.1  30-Apr-2010  uebayasi Sync with HEAD.
 1.13.52.1  11-Mar-2010  yamt sync with head

RSS XML Feed