STEINBERGER@SRI-KL.ARPA (Richard Steinberger) (10/01/86)
I could use some assistance in setting the F keys on a VT240. Surprisingly, DEC does not include the Programmer's Manual when you buy one. All I have is the owner's manual (no help) and the Prog's pocket guide (a little help, no examples). I want to place CTRL-_ on one of the keys (F7) and CTRL-^ on another (F6). The string I created was "$P0;0|17/1E;18/1F$/" , where the "$" are the ESC character. I then type the file with this string in it. Doesn't seem to work; terminal hangs, F keys are not set. I'm in VT-200, 7-bit mode. Any help would be appreciated (I've ordered the manual). Thanks. -Ric Steinberger STEINBERGER@SRI-KL (415) 859-5985, 4300 -------
jochen@germany.CSNET (Jochen Grobholz) (10/02/86)
----- Forwarded message # 1: Via: v750;Date: Thu, 2 Oct 86 09:53 MET From: "M. Muehlhaeuser, Univ. Karlsruhe, Telematics Group" <"3075::MUEHLHAEUSER"@V750.IRA> To: info-vax-request@germany.CSNET Subject: RE: Setting Function keys on VT240 X-VMS-To: V750::IN%"info-vax-request@germany.csnet" RE: Programming the function keys on a VT2xx -------------------------------------------- (requested by Ric Steinberger) a) change <ESC>P0;0... to <ESC>P1;1... b) if this is not sufficient, add f<ESC>\ at the end of the escape-sequence (the 'f' can be replaced by any other character and should not be needed according to the manuals). c) note that the keys are available only when pressed together with <SHIFT> Max Muehlhaeuser Telematics Group, University of Karlsruhe, W.Germany (germany) - 721-608-3391 ----- End of forwarded messages
art@MITRE.ARPA (Art McClinton) (10/02/86)
Unless you had a typo in your escape sequence, The string terminator in in 7 bit mode is $\ not $/ as you typed. The result would be the terminal hanging waiting for the rest of the terminal load. Everything sent was being loaded into the F7 definition. The programmers manual is available for the terminal. I for one was happy to see that the quantity of documentation that comes bundled with the terminal was lowered. When you buy them in quantity, not everyone needs a programmers manual. It is possible that you had previously locked the terminal from set-up so that it would not accept the clear command. If I read correctly: $P1;1|$\ will reset the terminal so that you can then issue commands to it. $P0;1|....$\ would then load the keys. And $P1;0|$\ would then lock the keys. I assume that you realize that the function key that you have just loaded will send its normal key sequence when struck in an un shifted mode. The "down loaded" key sequence is only sent if the shift key is simultaneously depressed while striking the function key. $ in the above examples is the ascii escape character. - Arthur T. McClinton Jr., (703) 883-6356 The MITRE Corporation, Mail Stop Z305 1820 Dolley Madison Blvd. McLean, VA 22102