Module Name: src Committed By: drochner Date: Wed Feb 10 19:39:39 UTC 2010
Modified Files: src/sys/dev/wscons: wsemul_vt100.c wsemul_vt100_chars.c wsemul_vt100_keys.c wsemul_vt100_subr.c wsemul_vt100var.h Added Files: src/sys/dev/wscons: vt100_base.h Log Message: 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. To generate a diff of this commit: cvs rdiff -u -r0 -r1.1 src/sys/dev/wscons/vt100_base.h cvs rdiff -u -r1.31 -r1.32 src/sys/dev/wscons/wsemul_vt100.c cvs rdiff -u -r1.12 -r1.13 src/sys/dev/wscons/wsemul_vt100_chars.c cvs rdiff -u -r1.10 -r1.11 src/sys/dev/wscons/wsemul_vt100_keys.c cvs rdiff -u -r1.19 -r1.20 src/sys/dev/wscons/wsemul_vt100_subr.c cvs rdiff -u -r1.13 -r1.14 src/sys/dev/wscons/wsemul_vt100var.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.