10 Commits

Author SHA1 Message Date
ray
4fc5a92a24 Do not fill screen, while muted.
Sponsored by:	The FreeBSD Foundation
2014-04-07 22:37:13 +00:00
ed
1417ed14a5 Fix copy-pasting of CJK fullwidth characters.
They are stored as two separate characters in the vtbuf, so copy-pasting
will cause them to be passed to terminal_input_char() twice. Extend
terminal_input_char() to explicitly discard characters with TF_CJK_RIGHT
set. This causes only the left part to generate input.
2013-12-24 18:42:26 +00:00
ray
4cd7151fa0 o Add virtual terminal mmap request handler.
o Forward termianl framebuffer ioctl to fbd.
o Forward terminal mmap request to fbd.
o Move inclusion of sys/conf.h to vt.h.

Sponsored by:	The FreeBSD Foundation
2013-12-23 18:09:10 +00:00
ed
4d1897863f Extend libteken to support CJK fullwidth characters.
Introduce a new formatting bit (TF_CJK_RIGHT) that is set when putting a
cell that is the right part of a CJK fullwidth character. This will
allow drivers like vt(9) to support fullwidth characters properly.

emaste@ has a patch to extend vt(9)'s font handling to increase the
number of Unicode -> glyph maps from 2 ({normal,bold)} to 4
({normal,bold} x {left,right}). This will need to use this formatting
bit to determine whether to draw the left or right glyph.

Reviewed by:	emaste
2013-12-20 21:31:50 +00:00
ray
a2f43a3339 Add teken_subr_do_resize new method, to update taken sizes w/o reset positions
and use it in case we update terminal size not touching existing data.

Sponsored by:	The FreeBSD Foundation
2013-10-31 09:44:48 +00:00
ray
4c2f1ff059 Do not reset terminal state if it is not cleared on resize.
Sponsored by:	The FreeBSD Foundation
2013-10-28 14:00:06 +00:00
ray
c3dff1dbba Add new terminal method terminal_set_winsize_blank. Same as terminal_set_winsize,
but with optional blank. That will allow us to see early messages after attach
more specific driver.

Sponsored by:	The FreeBSD Foundation
2013-10-22 14:00:46 +00:00
ray
5f5f17c829 o Rename methods according to "consdev style".
o Add cngrab/cnungrab methods.
o Allow later console attach with termcn_cnregister().

Sponsored by:	The FreeBSD Foundation
2013-10-08 12:01:17 +00:00
nwhitehorn
e040073849 Squash clang warnings. 2012-12-02 22:21:40 +00:00
ed
98e93f6b12 Readd the vt(4) driver and corresponding tools. 2011-03-22 21:31:31 +00:00