T.R | Title | User | Personal Name | Date | Lines |
---|
2684.1 | | GILROY::klee | | Tue May 01 1990 13:19 | 8 |
| The default seems to be hardcoded in the Ultrix X server. I don't know
the real reasoning, but note that ESC is very important in U*IX, there
is no ESC key on a LK201 keyboard, and a VT100 generates an ESC for the
F11 key. You can change the default keymapping with something like:
xmodmap -e "keycode 113 = F11"
Ken
|
2684.2 | why are VMS and Ultrix servers different wrt kbds? | HANNAH::OSMAN | see HANNAH::IGLOO$:[OSMAN]ERIC.VT240 | Tue May 01 1990 14:24 | 23 |
|
Sorry, xmodmap won't do.
I'm developing DECwindows tek emulator, and it's to be sold as a
product.
TEK applications use the 8 function keys on tek keyboard, for which the
emulator uses F11,12,13,14 and 17,18,19,20 on LK201 keyboard.
Product needs to run on both VMS and Ultrix.
I don't see how I can expect my customers to run xmodmap.
Would someone in X server devo-land please comment on this VMS/Ultrix
difference ?
By the way, my workaround is to check when I get a keyboard event to
see if the keycode is 113 AND the keysym as returned by XLookupString
is XK_ESC. If both are true, I use XK_F11 as the keysym instead.
Thanks.
/Eric
|
2684.3 | | QUARK::LIONEL | Free advice is worth every cent | Tue May 01 1990 14:35 | 8 |
| Re: .1
A VT100 has no F11 key. But VT2xx and VT3xx terminals will send <ESC> for
F11 if they are set to VT100 mode.
On an LK201, CTRL-3 generates an <ESC>.
Steve
|
2684.4 | emulators should implement ESCAPE, not servers | HANNAH::OSMAN | see HANNAH::IGLOO$:[OSMAN]ERIC.VT240 | Wed May 02 1990 14:36 | 18 |
| re: .3
Steve, I hope your message wasn't an attempt to defend the current
behavior.
The Ultrix server should map the F11 keycode, which is 113, to the
XK_F11 keysym, *not* to XK_ESCAPE which is what it currently maps to
(via XLookupString).
Whether that keysym eventually gets further mapped to ESCAPE should
be an emulator's business, not the server's.
Any Ultrix server people listening ? I'm still interested in hearing
what you think.
THanks.
/Eric
|
2684.5 | | QUARK::LIONEL | Free advice is worth every cent | Wed May 02 1990 16:08 | 7 |
| Re: .4
It wasn't - I was just trying to correct some misinformation.
I agree that the server has no business mapping F11 to <ESC>.
Steve
|
2684.6 | | GILROY::klee | | Thu May 03 1990 18:14 | 15 |
| Apparently, the Ultrix X server group does't follow the VMS notes
conferences. That's probably reasonable, as the Ultrix interface is
poor. QARs are probably the best way to reach them.
I asked a couple of them about the F11 keysym thing. ESC is a very
commonly used key in the UNIX world. Ultrix users expect F11 to
generate an ESC and will be pretty upset if we change this. Both users
and developers seem to consider this a workaround for the fact that DEC
keyboards don't have real ESC keys.
If you can think of a good solution that doesn't negatively impact the
current user base, please send a QAR.
Ken
|
2684.7 | | HANNAH::MESSENGER | Bob Messenger | Thu May 03 1990 18:49 | 21 |
| Re: .6
I'll probably submit a QAR.
Currently the default in DECterm on Ultrix is to be in VT100 mode, which means
that DECterm re-maps F11 to escape anyway. In VT300 mode, though, they've
"forced" DECterm not to emulate the terminal correctly. Not only that, they've
prevented shift-F11 from being used as a user defined key (UDK).
There is an option in DECterm to re-map the keys so that ~` sends an escape.
Maybe the real issue isn't so much DECterm as xterm.
I could modify DECterm so that it treats XK_Escape as if it were XK_F11, but
that would make DECterm even more LK201-specific than it already is.
I think the ideal solution is: modify the Ultrix server so that F11 sends
XK_F11, and modify xterm so that F11, ^3 and ^[ all send escape (assuming it
isn't already doing this). DECterm should work as expected the way it is,
since VT100 mode is the default.
-- Bob
|
2684.8 | Escape key seen on LK401 keyboard | ABSZK::SZETO | Simon Szeto, Asian Base-Systems @ZKO | Fri May 18 1990 19:52 | 12 |
| >There is an option in DECterm to re-map the keys so that ~` sends an escape.
At DECUS I got to play with the new VT420. It has a Set-up option to
remap the key to the left of the "1" key on the main keyboard. I think
that's the right solution to bring back the Escape key and leave F11 be
F11.
Interestingly the VT1000, which like the VT420 uses the LK401 keyboard,
doesn't have this Set-up option.
--Simon
|
2684.9 | Look at the KEYMAP file for the keyboard selection you're using | CVG::PETTENGILL | mulp | Sat May 19 1990 03:32 | 7 |
| As someone who follows unix conferences, I got the feeling that the unix people
wanted to manufacture their own keyboard, or something.
Unless I totally misunderstand the way things work, I beleive the only thing
that is `hardcoded' is the keymap file. I would think that you could supply
a new set of keymap files with your TEK emulator, named something like
TEK_US_LK201.
|
2684.10 | Look at SET-UP options of VTE on VT1000! | JEANNE::KEELER | Gary N. Keeler 235-8634 | Fri Jun 15 1990 12:05 | 23 |
| RE: <<< Note 2684.8 by ABSZK::SZETO "Simon Szeto, Asian Base-Systems @ZKO" >>>
-< Escape key seen on LK401 keyboard >-
>There is an option in DECterm to re-map the keys so that ~` sends an escape.
> Interestingly the VT1000, which like the VT420 uses the LK401 keyboard,
> doesn't have this Set-up option.
--Simon,
I guess you haven't really looked at the SET-UP in the VT1000 VTE terminal
emulator. The VTE allows you to remap several keys as follows:
~` to ESC ; <> to ~` ; and upper case , . to <>.
This doesn't help you today in DECwindows but does give the fuctions that you
want in a terminal emulator.
Regards,
Gary
|