From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,7baa046efe7c2879 X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1992-01-08 23:36:02 PST Newsgroups: comp.sys.dec Path: sparky!uunet!iWarp.intel.com|eff!hshubs From: hshubs@eff.org (Howard Shubs) Subject: Re: making a vt100 cursor disappear under Unix Message-ID: <1992Jan9.071243.23018@eff.org> Keywords: vt100 Organization: The Electronic Frontier Foundation References: <1992Jan7.210937.2610@gmuvax2.gmu.edu> <1992Jan8.010910.6590@eco.twg.com> Distribution: usa Date: Thu, 9 Jan 1992 07:12:43 GMT 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: [2;8y (these people are professionals: don't try this at home!) Or #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.