Date: Sat, 3 Jan 2009 22:51:54 +0000 (UTC) From: Ed Schouten <ed@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/dev/syscons/teken teken.c teken.h teken_demo.c teken_subr.h Message-ID: <200901042359.n04NxlM1085180@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
ed 2009-01-03 22:51:54 UTC
FreeBSD src repository
Modified files:
sys/dev/syscons/teken teken.c teken.h teken_demo.c
teken_subr.h
Log:
SVN rev 186729 on 2009-01-03 22:51:54Z by ed
Resolve some regressions related to tabs and linewrap handling.
It turns out I was looking too much at mimicing xterm, that I didn't
take the differences of cons25 into account. There are some differences
between xterm and cons25 that are important. Create a new #define called
TEKEN_CONS25 that can be toggled to switch between cons25 and xterm
mode.
- Don't forget to redraw the cursor after processing a forward/backward
tabulation.
- Implement cons25-style (WYSE?) autowrapping. This form of autowrapping
isn't that nice. It wraps the cursor when printing something on column
80. xterm wraps when printing the first character that doesn't fit.
- In cons25, a \t shouldn't overwrite previous contents, while xterm
does.
Reported by: Garrett Cooper <yanefbsd gmail com>
Revision Changes Path
1.2 +4 -0 src/sys/dev/syscons/teken/teken.c
1.2 +2 -0 src/sys/dev/syscons/teken/teken.h
1.2 +2 -2 src/sys/dev/syscons/teken/teken_demo.c
1.3 +26 -0 src/sys/dev/syscons/teken/teken_subr.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200901042359.n04NxlM1085180>
