Curses again

Warren Tucker wht at n4hgf.Mt-Park.GA.US
Fri Apr 19 06:14:06 AEST 1991


In article <1991Apr17.141346.11719 at molienergy.bc.ca> markr at resrch.molienergy.bc.ca (Mark Reid) writes:
>Has anyone got underline to work in curses? I have tried and it appears
>that the driver supplied doesn't support this. If this is the case, does
>ODT 1.1 support it or can I get other drivers that do.
>
>Thanks for any info in advance.
>
>Mark Reid.

Which curses? Terminfo or termcap?

The changes you need are to the 'us' and 'ue' termcap entries
or similar terminfo entries.

Which terminal? a CGA/EGA/VGA?

Note that color AT-class displays do not support underline in
character modes (a *hard*ware limitation).  You could do it by
writing graphically to the screen and drawing your own
underlines, but that isn't in the curses paradigm at'all :-).

You might try experiemnting with setting us and ue entries to
change colors when the underline attribute is used.
 
----------------------------------------------------------------------------
Warren Tucker, TuckerWare, Mountain Park, GA         wht at n4hgf.Mt-Park.GA.US
"Given any new technology for transmitting information, we seem bound to
use it for great quantities of small talk.  We are only saved by music
from being overwhelmed by nonsense." -- Lewis Thomas, _The Lives of a Cell_



More information about the Comp.unix.sysv386 mailing list