Re: X11/xterm with Wireless Keyboard: configuring key definitions
Re: X11/xterm with Wireless Keyboard: configuring key definitions
- Subject: Re: X11/xterm with Wireless Keyboard: configuring key definitions
- From: email@hidden
- Date: Mon, 17 Nov 2003 09:43:42 -0500
"John J. Francini" <email@hidden> writes:
>As a former DECcie, Compaq-er, and HP-er, (and 10+ year user of
>VMS/OpenVMS in a multiplatform environment), the first thing that
>comes to mind is this: Since you're running X11, beam a DECterm or
>two from your VMS box to your PowerBook rather than using xterm. I
>bet the keyboard mapping will be MUCH closer to what you want. It's
>been a while, so I might be a bit foggy. You might also have to play
>with xmodmap(1).
I have tried launching the DECterm to the PowerBook. It displays quite
nicely but it too suffers the keymapping problems of the xterm.
man xmodmap led me to xev. Running it returns the keysym values for the
keys in question.
[CLR] 0xff1b
[ = ] 0xffbd
[ / ] 0xffaf
[ * ] 0xffaa
[ + ] 0xffab
[ - ] 0xffad
On the DECkeyboard I get:
[PF1] 0xff91
[PF2] 0xff92
[PF3] 0xff93
[PF4] 0xff94
[ , ] 0xffac
[ - ] 0xffad
The keysym values are the same for the [-] key on moth layouts which
goes far to explain why this key maps across to the application keys.
Now I need to try to make heads or tails of what man xmodmap is tel-
ling me.
>As for the xhost command...
>
>be prepared for the screams from the "Never use xhosts - it's
>insecure! Use ssh instead" crowd. However, that implies that there's
>an ssh implementation on VMS. My guess is there _may_ be, but there
>wasn't as of VMS 7.0 or earlier.
There is SSH, SSL and Stunnels, etc. Right now I'm just experimenting
and testing trying to get the keyboard and display environment. Once I
have those problems sumounted, I'll start to climb the security summit.
>So you're stuck with xhost. xhost doesn't store your selections in a
>file; rather, it communicates directly with the X server to maintain
>this information.
>It doesn't stick across restarts of the X server.
Fine!
>To get the current list of allowed clients, run xhost with no
>arguments. To wit:
>
> $ xhost
> access control enabled, only authorized clients can connect
> $ xhost www.apple.com
> www.apple.com being added to access control list
> $ xhost
> access control enabled, only authorized clients can connect
> INET:a17-112-152-32.apple.com
> $ xhost -www.apple.com
> www.apple.com being removed from access control list
>
>(note that these are run on a local xterm on your Mac, not on the VMS
>system, despite the confusing Bourne shell/DCL prompt.)
I doubt much that I'd confuse bourne with my DCL prompt. VMS allows one
to modify the prompt and mine is not a $.
Thanks*E+06,
--
VAXman- A Bored Certified VMS Kernel Mode Hacker VAXman(at)TMESIS(dot)COM
"Well my son, life is like a beanstalk, isn't it?"
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/x11-users
X11 for Mac OS X FAQ: http://developer.apple.com/qa/qa2001/qa1232.html
Report issues, request features, feedback: http://developer.apple.com/bugreporter
Do not post admin requests to the list. They will be ignored.