From: hshubs@eff.org (Howard Shubs)
Subject: Re: making a vt100 cursor disappear under Unix
Date: Thu, 9 Jan 1992 07:12:43 GMT [thread overview]
Message-ID: <1992Jan9.071243.23018@eff.org> (raw)
In-Reply-To: 1992Jan8.010910.6590@eco.twg.com
In article <1992Jan8.010910.6590@eco.twg.com> reece@eco.twg.com (Reece R. Pollack) writes:
>In article <1992Jan7.210937.2610@gmuvax2.gmu.edu>, jkwajee@gmuvax2.gmu.edu
>(James A. Kolodziej) writes:
>|>We are running an application using Vermont Creative Software's windows
>|>for data package. When we are doing menus (versus forms) the cursor still
>|>appears somewhere in the menu (i.e. blinking line). Although the cursor
>|>being there does not impair our applications, aesthetically, we'd like to
>|>make the cursor disappear while the menu is up. Can anyone out there
>|>advise us how to achieve this goal?
>|>(We kinda think there should be some sort of escape sequence to send to the
>|>vt100 to do this. *any* solution is welcomed though.)
Turn the terminal off, turn the brightness _way_ down, pull the plug,
don't look at the terminal, throw the terminal out the window. Those
are about the only ways to get rid of the cursor on a VT100 series
terminal. I don't think that the high-end VT100 (125, 180) support it
either, but I'm not sure. Hiding the cursor is possible on the VT2nn
and later (VT3nn, VT4nn).
>
>It's got nought to do with Unix, but *some* of the DEC VTxxx series terminals
>support this capability. The control sequence to do it is properly known as
>DECTCEM, or "Text Cursor Enable Mode". I sincerely doubt a true vanilla VT100
>supports this mode.
>
>To set this mode (visible cursor):
> CSI ? 25 h
>
>To reset this mode (invisible cursor):
> CSI ? 25 l
>
>Of course, for you 7-bit folks, the CSI character can be replaced with:
> ESC [
Yup, those'll work. Note that the last character in the second
sequence is a lower-case "L".
Escape sequences can be your friends! Honest! On a VT100, try this
one: <ESC>[2;8y (these people are professionals: don't try this at
home!) Or <ESC>#8 if you like "E".
--
Howard S Shubs hshubs@eff.org I don't represent the EFF,
The Denim Adept hshubs@BYTECOSY but I do agree with them.
prev parent reply other threads:[~1992-01-09 7:12 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1992-01-07 21:09 making a vt100 cursor disappear under Unix James A. Kolodziej
1992-01-08 1:09 ` Reece R. Pollack
1992-01-09 7:12 ` Howard Shubs [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