This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
Improvements to console routines
- To: "'cygwin at sources dot redhat dot com'" <cygwin at sources dot redhat dot com>
- Subject: Improvements to console routines
- From: "Town, Brad" <btown at ceddec dot com>
- Date: Tue, 17 Oct 2000 14:29:10 -0400
I've made a few improvements to the console routines.
. Added an alternative font (^[[11m) for displaying graphics characters
. Corrected bold, underline, reverse, and invisible attributes for use with
colors
I also hand-tweaked a terminfo file and a termcap file to use the changes.
Programs tested include the ncurses test programs, tack, mc, and frotz.
(The attached patches and term* files expand upon the patches I submitted
back in May.)
Details:
The alternative font is actually just a flag to disable the call to
CharToOemBuff in fhandler_console::write_normal. For example, the character
0xDB (U with circumflex) is a U in the normal font and a solid block in the
alternative font. This allows programs to map characters like the
registered-trademark symbol to an 'r', while allowing other programs to use
the graphics characters for drawing lines.
Character attributes are maintained individually in
fhandler_console::char_command.
Brad Town
fhandler.h.diff
fhandler_console.cc.diff
termcap
terminfo
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com