🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.programmer
Article #1200

Re: printing underlined text

#1200
From: Russ Cage
Date: Tue, 30 Oct 1990 21:30
18 lines
1184 bytes
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.
Technical Details
Message-ID: <8611@fmeed1.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!cs.utexas.edu!samsung!umich!sharkey!teemc!fmeed1!cage
References: <43321@eerie.acsu.Buffalo.EDU>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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