From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7cd1,eb8b9ee5fa408c7a,start X-Google-Attributes: gidf7cd1,public X-Google-Thread: 107112,53b59fcf26a0080f X-Google-Attributes: gid107112,public X-Google-Thread: 1164f8,eb8b9ee5fa408c7a,start X-Google-Attributes: gid1164f8,public X-Google-Thread: 1078e5,eb8b9ee5fa408c7a,start X-Google-Attributes: gid1078e5,public X-Google-Thread: fd705,eb8b9ee5fa408c7a,start X-Google-Attributes: gidfd705,public From: shuford@cs.utk.edu (Richard Shuford) Subject: Re: ANSI control sequence spec? (terminal emulation) Date: 1996/04/29 Message-ID: <4m2tgoINNgeu@duncan.cs.utk.edu>#1/1 X-Deja-AN: 152073924 expires: 29 Jun 1996 11:22:33 GMT distribution: world references: <4lofmo$mf2@elmer.wrq.com> followup-to: comp.terminals summary: block cursor or something else? organization: University of Tennessee, Knoxville--Dept. of Computer Science keywords: ANSI, terminal, X3.64, ISO DP6429, VT525 newsgroups: comp.terminals,comp.sys.dec,vmsnet.misc,alt.folklore.computers,comp.windows.x.apps In article <4lofmo$mf2@elmer.wrq.com> jeffreyk@wrq.com (Jeff Kauffman) writes: > > Does anyone know where I could find a spec for ansi terminal control > sequences? In particular, I'm looking for the sequence CSI=2h, which is > rumored to set the cursor to a block cursor. > > Technical Support > WRQ - Makers of Reflection Software Jeff, When I first saw your question, I was rather concerned that a major vendor of terminal-emulation software did not have this sort of information. But I checked, and I find that this is indeed a control sequence that I've never seen either. Strictly speaking, there is no control sequence of this type in the ANSI X3.64 standard itself. The ANSI X3 technical subcommittee did not specify the operation of changing cursor appearance, so if such a code exists, it must be a proprietary code invented by some vendor. The committee set aside ranges of codes for such purposes, therefore you could say that it is a code that conforms to the ANSI structure. This code is not in any DEC terminal up to the VT420. I don't have a programmer's reference manual for the VT510 or VT525 (EK-VT525-RM), but the list of features of the VT525 does include the function DECSCUSR, which is supposed to modify the cursor. But the list does not say if the control sequence CSI = 2 h is what invokes this. I'm assuming you really want the equals sign "=" in the sequence. The sequence CSI 2 h would lock the keyboard on many DEC terminals. CSI 2 l would unlock it. (That is a lowercase L in there, BTW.) Maybe this code is associated with some ANSI-style terminal that is not a Digital Equipment Corporation product, but that seems even less likely to me. Some information about DEC terminals is provided by DEC via: ftp://gatekeeper.dec.com/pub/DEC/termcaps/ and/or http://www2.service.digital.com/DECdirect/html/toc-29.html http://www.digital.com/info/Customer-Update/930913008.txt.html http://www.digital.com/info/Customer-Update/940901006.txt.html whereas I maintain a certain collection of information in: http://www.cs.utk.edu/~shuford/terminal_index.html ...|....|....|....|....|....|....|....|....|....|....|....|....|....|....|... If you really would like to see the ANSI X3.64 standard, you can get it from ANSI: American National Standards Institute Attn: Customer Service 11 West 42nd Street New York, NY 10036 USA ANSI's fax number for placing publication orders is +1 212/302-1286. Actually, according to Tim Lasko of DEC, "ANSI X3.64 has been withdrawn in favor of the more complete and updated ISO standard 6429. (ECMA-48 is equivalent to ISO 6429, last I checked.) X3.64 has been out of date for some time. At the time when I was on the relevant committee, we couldn't get enough resources to really do a good job of updating the standard. Later, the proposal came up to withdraw it in favor of the ISO standard.] The United Nations Bookstore in New York might be able to obtain the ISO document for you. Outside the United States, contact your country's member organization in the ISO. -- ...Richard S. Shuford | "A gossip betrays a confidence; ...shuford@cs.utk.edu | so avoid a man who talks too much." ...Info-Stratus contact| Proverbs 20:19 NIV