printing underlined text

Russ Cage cage at fmeed1.UUCP
Wed Oct 31 08:30:22 AEST 1990


In article <43321 at eerie.acsu.Buffalo.EDU> haozhou at acsu.buffalo.edu (hao zhou) writes:
>Does anybody out there know if it's possible to print out underlined
>text using printf() in C? And how? 

This really belongs in comp.lang.c, but...

printf( "Underlined text\015__________ ____\n" );

ought to work on any ASCII system with printing terminals.
To use underlining on CRTs or other fancy equipment you
have to get hardware-specific (or use termcap).

Followups to comp.lang.c.
-- 
Russ Cage	Ford Powertrain Engineering Development Department
Work:  itivax.iti.org!cfctech!fmeed1!cage   (CHATTY MAIL NOT ANSWERED HERE)
Home:  russ at m-net.ann-arbor.mi.us  (All non-business mail)
Member:  HASA, "S" division.



More information about the Comp.unix.programmer mailing list