Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!emory!kd4nc!n4hgf!wht From: wht@n4hgf.Mt-Park.GA.US (Warren Tucker) Newsgroups: comp.unix.sysv386 Subject: Re: Curses again Keywords: curses, underline Message-ID: <397@n4hgf.Mt-Park.GA.US> Date: 18 Apr 91 20:14:06 GMT References: <1991Apr17.141346.11719@molienergy.bc.ca> Reply-To: wht@n4hgf.Mt-Park.GA.US (Warren Tucker) Distribution: na Organization: Amateur Radio Station N4HGF Lines: 29 In article <1991Apr17.141346.11719@molienergy.bc.ca> markr@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@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_