* disabling the cursor on VT terminals
@ 1991-03-14 5:13 Steve Coile
1991-03-15 14:21 ` Dave Rackley
0 siblings, 1 reply; 2+ messages in thread
From: Steve Coile @ 1991-03-14 5:13 UTC (permalink / raw)
Is there an escape code to disable the cursor (so it doesn't show up on the
screen) on VT100 series and higher terminals?
Thanks in advance for any help.
Followups directed to poster.
Steve "Stevers!" Coile
scoile@gmuvax[{.BITNET|[2].gmu.edu}]|2211c1@gmuvax2.gmu.edu
"Maturity is knowing when and where to act immature"
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: disabling the cursor on VT terminals
1991-03-14 5:13 disabling the cursor on VT terminals Steve Coile
@ 1991-03-15 14:21 ` Dave Rackley
0 siblings, 0 replies; 2+ messages in thread
From: Dave Rackley @ 1991-03-15 14:21 UTC (permalink / raw)
In article <3778@gmuvax2.gmu.edu> scoile@gmuvax2.gmu.edu (Steve Coile) writes:
> Is there an escape code to disable the cursor (so it doesn't show up on the
> screen) on VT100 series and higher terminals?
> Thanks in advance for any help.
> Followups directed to poster.
> Steve "Stevers!" Coile
> scoile@gmuvax[{.BITNET|[2].gmu.edu}]|2211c1@gmuvax2.gmu.edu
> "Maturity is knowing when and where to act immature"
I use the following in 'C':
/************************************************************/
/* CLS.H -- VT320 screen control functions;
D. Rackley; 10/09/90 */
#define ESC '\033'
#define ASCII printf("%c(B",ESC)
#define BLINK printf("%c[5m",ESC)
#define BOLD printf("%c[1m",ESC)
#define CLS printf("%c[2J%c[1;1H",ESC,ESC)
#define CURSOR_OFF printf("%c[?25l",ESC)
#define CURSOR_ON printf("%c[?25h",ESC)
#define GRAPHICS printf("%c(0",ESC)
#define locate(y,x) printf("%c[%d;%dH",ESC,y,x)
#define NORMAL printf("%c[0m",ESC)
#define REVERSE printf("%c[7m",ESC)
#define UNDERLINE printf("%c[4m",ESC)
/********************************* end of CLS.H *************/
--
DISCLAIMER: I, hereby, disclaim any disclaimer except this disclaimer.
+=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=+
| David Rackley | Now comes the really weird part...You know |
| Applied Research Laboratories | the part where I know how to tap dance, but |
| The University of Texas | only while wearing golf shoes... |
| Austin, TX. 78758 | ...Ponderous, man, really ponderous! |
+=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=+
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1991-03-15 14:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1991-03-14 5:13 disabling the cursor on VT terminals Steve Coile
1991-03-15 14:21 ` Dave Rackley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox