Xref: utzoo comp.unix.programmer:466 comp.lang.c:33667 Path: utzoo!attcan!uunet!cs.utexas.edu!samsung!umich!sharkey!teemc!fmeed1!cage From: cage@fmeed1.UUCP (Russ Cage) Newsgroups: comp.unix.programmer,comp.lang.c Subject: Re: printing underlined text Message-ID: <8611@fmeed1.UUCP> Date: 30 Oct 90 21:30:22 GMT References: <43321@eerie.acsu.Buffalo.EDU> Reply-To: russ@m-net.ann-arbor.mi.us (Russ Cage) Followup-To: comp.lang.c Organization: Ford Motor Co., Electronics Div., Dearborn, MI Lines: 18 In article <43321@eerie.acsu.Buffalo.EDU> haozhou@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@m-net.ann-arbor.mi.us (All non-business mail) Member: HASA, "S" division.