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: "John J. Francini" <email@hidden>
- Date: Mon, 17 Nov 2003 08:28:05 -0500
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).
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.
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.
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.)
Hope this helps!
John Francini
At 7:14 -0500 11/17/03, email@hidden wrote:
Hello,
First, I'd like to state that I am new to this list. If the answer to my
question/issue is in a FAQ somewhere, please direct me to it.
I have a PowerBook G4 laptop. I purchased the Apple Wireless Keyboard and
mouse to use with it. The keyboard's layout is very much like the everyday
keyboard layout I use in a VMS environment. I have been able to use the KB
in that environment but with a few problems. The xterm's VT100 emulation
does a very good job with the graphics but alternate numeric keypad does not
completely support the application keypad mode in a VMS environment. (I do
hope this ASCII art doesn't wrap for you.)
Wireless KB Keypad DEC vt100 KB layout Application mode seq.
----------------------- ----------------------- -----------------------
[CLR] [ = ] [ / ] [ * ] [PF1] [PF1] [PF3] [PF4] [$OP] [$OQ] [$OR] [$OS]
[ 7 ] [ 8 ] [ 9 ] [ + ] [ 7 ] [ 8 ] [ 9 ] [ - ] [$Ow] [$Ox] [$Oy] [$Om]
[ 4 ] [ 5 ] [ 6 ] [ - ] [ 4 ] [ 5 ] [ 6 ] [ , ] [$Ot] [$Ou] [$Ov] [$Ol]
[ 1 ] [ 2 ] [ 3 ] [en ] [ 1 ] [ 2 ] [ 3 ] [en ] [$Oq] [$Or] [$Os] [ ]
[ t ] [ t ] [$OM]
[ 0 ] [ . ] [ er] [ 0 ] [ . ] [ er] [ $Op ] [$On] [ ]
where: $ == <ESC>
The X11/xterm maps the wireless into application keypad mode but only the
[0] through [9], [.], [+] and the [enter] keys want to map/provide the ap-
plication mode escape sequences.
Can anybody help me to make this mapping complete??? In fact, I don't care
if the [CLR], [=], [/], [*] and [+] always output the escape sequences. I
don't use the alternate keypad for numerical input anyway.
One other "quickie" but not all that import. After issuing an xhost to al-
low a client to display, is there a way to list all of the permitted hosts?
I went looking for a .xhosts file but didn't find one. Where is this info
stored?
Thanks in advance.
--
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.
--
----
John Francini <mailto:email@hidden>
+---------------------------------------------------------------------------+
| "I have come to the conclusion that one useless man is called a disgrace; |
| that two are called a law firm; and that three or more become a Congress.|
| And by God I have had _this_ Congress!" |
| -- John Adams |
+---------------------------------------------------------------------------+
_______________________________________________
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.