summaryrefslogtreecommitdiffstats
path: root/sys/teken/teken.h
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2009-09-24 20:33:14 +0000
committered <ed@FreeBSD.org>2009-09-24 20:33:14 +0000
commit50a507dd226ccb61b6785f48da68631c519e3eab (patch)
tree10adb22648d6f5764175a79c52b7450b5f26d4ad /sys/teken/teken.h
parent3bdf7a1c805f2cea5e8c320bb2677e434ce97bfe (diff)
downloadFreeBSD-src-50a507dd226ccb61b6785f48da68631c519e3eab.zip
FreeBSD-src-50a507dd226ccb61b6785f48da68631c519e3eab.tar.gz
Make SCS work in 8-bit mode.
This means we can finally do things like VT100 box drawing when using Syscons (8-bit characters). As far as I know, the only remaining issue is the absense of proper escape sequences for special keyboard characters (cursor, F1 to F12, etc) and xterm emulation should be ready for general use. Enabling xterm would have the following advantages: - Easier possible migration to Unicode. cons25 termcap entries are very 8-bit centric. They use things like CP437 characters for box drawing, etc. - Better support for SSH'ing to other operating systems/devices. Most switches use VT100-style admin interfaces. - Reduced bandwidth, because applications can now use things like scrolling regions. - You can finally use applications like dtach(1) on both the console and inside an xterm.
Diffstat (limited to 'sys/teken/teken.h')
-rw-r--r--sys/teken/teken.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/teken/teken.h b/sys/teken/teken.h
index 65ee05e..4e73f7b 100644
--- a/sys/teken/teken.h
+++ b/sys/teken/teken.h
@@ -109,7 +109,7 @@ typedef struct {
tf_respond_t *tf_respond;
} teken_funcs_t;
-typedef teken_char_t teken_scs_t(teken_char_t);
+typedef teken_char_t teken_scs_t(teken_t *, teken_char_t);
/*
* Terminal state.
OpenPOWER on IntegriCloud