* standout & standin modes
@ 1993-11-18 16:36 Douglas Jones
0 siblings, 0 replies; only message in thread
From: Douglas Jones @ 1993-11-18 16:36 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1993-11-18 16:36 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1993-11-18 16:36 standout & standin modes Douglas Jones
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox