Another printf-type question

LINNDR%VUENGVAX.BITNET at WISCVM.ARPA LINNDR%VUENGVAX.BITNET at WISCVM.ARPA
Sat Jul 12 05:40:59 AEST 1986


        All this stuff about v*printf has brought me back to a problem
I was trying to solve earlier. Having a terminal that supports inverse
video, blinking and underlining, I thought it would be fun to write some
printing functions to take advantage of these features. For example,

invprintf(fmt,args)
{
        printf(<string to go into inverse video mode>);
        printf(fmt,args);
        printf(<string to leave inverse mode>);
}

This simple solution didn't work. Oh great gurus of such things, what
should I have done?

David Linn
----------------------------------------------------------
ARPANET(?):     LINNDR%VUEngVAX.BITNET at WISCVM.WISC.EDU
BITNET:         LINNDR at VUEngVAX.BITNET
CSNET:          drl at vanderbilt.csnet
Ma Bell:        (615)322-7924
USPS:           P.O. 3241-B Vanderbilt
                Nashville, TN   37235
UUCP:           ...psuvax1!vuengvax.bitnet!linndr



More information about the Comp.lang.c mailing list