Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* making a vt100 cursor disappear under Unix
@ 1992-01-07 21:09 James A. Kolodziej
  1992-01-08  1:09 ` Reece R. Pollack
  0 siblings, 1 reply; 3+ messages in thread
From: James A. Kolodziej @ 1992-01-07 21:09 UTC (permalink / raw)


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?

Thanks.

(We kinda think there should be some sort of escape sequence to send to the 
vt100 to do this.  *any* solution is welcomed though.)



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: making a vt100 cursor disappear under Unix
  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
  0 siblings, 1 reply; 3+ messages in thread
From: Reece R. Pollack @ 1992-01-08  1:09 UTC (permalink / raw)


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?
|>
|>Thanks.
|>
|>(We kinda think there should be some sort of escape sequence to send to the 
|>vt100 to do this.  *any* solution is welcomed though.)

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 [

--
Reece R. Pollack
Senior Software Engineer
The Wollongong Group, Inc.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: making a vt100 cursor disappear under Unix
  1992-01-08  1:09 ` Reece R. Pollack
@ 1992-01-09  7:12   ` Howard Shubs
  0 siblings, 0 replies; 3+ messages in thread
From: Howard Shubs @ 1992-01-09  7:12 UTC (permalink / raw)


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.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1992-01-09  7:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox