Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!sdd.hp.com!uakari.primate.wisc.edu!uflorida!gatech!purdue!mentor.cc.purdue.edu!garlange From: garlange@mentor.cc.purdue.edu (Mark Garlanger) Newsgroups: comp.lang.c Subject: Re: printing underlined text Message-ID: <16696@mentor.cc.purdue.edu> Date: 15 Nov 90 03:06:20 GMT References: <43321@eerie.acsu.Buffalo.EDU> <8611@fmeed1.UUCP> Reply-To: garlange@mentor.cc.purdue.edu (Mark Garlanger) Organization: Purdue University Lines: 15 In article <8611@fmeed1.UUCP> russ@m-net.ann-arbor.mi.us (Russ Cage) writes: >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? > >printf( "Underlined text\015__________ ____\n" ); > A slightly better way would be to put it: printf("__________ ____\015Underlined text\n"); This way when someone tries to view it on a regular terminal the text will still be readable. Mark