From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,8f784fc0f5be5a17,start X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1993-11-18 09:27:59 PST Path: gmd.de!xlink.net!howland.reston.ans.net!usc!elroy.jpl.nasa.gov!decwrl!concert!news-feed-1.peachnet.edu!dcaxp.dc.peachnet.edu!dcaxp.dc.peachnet.edu!not-for-mail From: douglas@dcaxp.dc.peachnet.edu (Douglas Jones) Newsgroups: comp.unix.osf.osf1 Subject: standout & standin modes Date: 18 Nov 1993 11:36:37 -0500 Organization: DeKalb College, Clarkston GA Distribution: world Message-ID: <2cg8al$fr9@dcaxp.dc.peachnet.edu> NNTP-Posting-Host: dcaxp.dc.peachnet.edu I'm not using curses on this and I don't want to rewrite the program to use curses directly. So here is the situtation: First, SO is the standout var. from curses.h and SE is the standend var. My terminal type is a vt100. Here is an example statement: printf("Type in %s m %s to move on, %s ? %s for help :",SO,SE,SO,SE); Doing the line this way, will cause the delay numbers for the terminal to appear in the line. Lets' say the delay is 2, then I would have: printf("Type in 2 m 2 to move on, 2 ? 2 for help :",SO,SE,SO,SE); ^^^^ ^^^^ The part with the ^ under it is in standout mode; yes the second 2 of each pair is in standout. I tried using tputs, but I'm obviously not using it correctly. In place of the 2s', I get '(null)' and none of the line is in standout. Also, according to the manual, the tputs routine only exists for backwards compatabiltiy. There is not very much doc. on the tputs routine. I would like to be able to do what I want above and also maybe do it without the tputs() and use the current routines (what ever they are). Any help would be very appreciated! Thanks, Douglas