From: drack@titan.tsd.arlut.utexas.edu (Dave Rackley)
Subject: Re: disabling the cursor on VT terminals
Date: 15 Mar 91 14:21:13 GMT [thread overview]
Message-ID: <DRACK.91Mar15082113@diablo.titan.tsd.arlut.utexas.edu> (raw)
In-Reply-To: scoile@gmuvax2.gmu.edu's message of 14 Mar 91 05:13:37 GMT
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! |
+=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=+
prev parent reply other threads:[~1991-03-15 14:21 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1991-03-14 5:13 disabling the cursor on VT terminals Steve Coile
1991-03-15 14:21 ` Dave Rackley [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox