From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 107112,1d67d943d7d2362f X-Google-Attributes: gid107112,public X-Google-Thread: 1164f8,1d67d943d7d2362f X-Google-Attributes: gid1164f8,public X-Google-Thread: 1070f0,1d67d943d7d2362f X-Google-Attributes: gid1070f0,public X-Google-ArrivalTime: 1994-08-02 16:06:20 PST Path: bga.com!news.sprintlink.net!hookup!yeshua.marcam.com!MathWorks.Com!news2.near.net!usenet.elf.com!rpi!wilsonj From: wilsonj@alum01.its.rpi.edu (John Wilson) Newsgroups: comp.sys.dec,comp.sys.sun.admin,comp.terminals Subject: Re: Escape sequences for VT-100 wanted.. (Undocumented ones!) Date: 2 Aug 1994 23:05:16 GMT Organization: Rensselaer Polytechnic Institute, Troy NY Message-ID: <31mjfc$br4@usenet.rpi.edu> References: <199408021303.AA14270@hal.fibronics.co.il> NNTP-Posting-Host: alum01.its.rpi.edu Xref: bga.com comp.sys.dec:4796 comp.sys.sun.admin:13142 comp.terminals:1014 In article <199408021303.AA14270@hal.fibronics.co.il>, Ricardo Marek wrote: >I'm looking for a list of escape-sequences (or control-sequences) used >to do fancy things on a vt100 terminal. Any hint where to get them?. If you want the documented ones, get the manual (or the programmer's ref card, but look out for the typos -- that's ESC 8 not ESC B and I think there are some others). But here are my two favorite *undocumented* VT100 bugs: 1. Send the following, in order, from the host (local mode is no good): ESC [24H (or LF's or whatever, to get on the bottom line) ESC [?4h (go into smooth scroll mode) LF (scroll once) ESC [?4l (back to jump scroll mode) LF (scroll again) The terminal is now hopelessly schizo. It appears to make things worse if you send the whole sequence again a few times. It will now scroll backwards, sorta, or some lines just won't be visible. If you linefeed enough there's one spot where you get 23 cursors all in a vertical blinking line, and anything you type is duplicated 23 times. Neato! 2. Turn on keyclick mode using SETUP, then send "ESC [155q". The autorepeat rate will now be set to some absurdly high value which appears to depend on which key you press and whether you have shift down too or whatever (I suspect it actually depends on the rate at which scan information is sent back from the AY3-1015 UART in the keyboard). So anyway you can play tunes on the keyboard since the keyclick is now coming so fast that it sounds more like buzzing or low tones. NB! Both of these bugs (they'd be features if they were documented) work only on true blue VT100's, not on 101's or 131's or 125's or anything. Certainly not 220's! Ad Majorem Digby Gloriam. Later... John Wilson SY:[1,4]