Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* How to use application keypad for all X clients
@ 1993-04-07 13:03 Glen Reesor
  1993-04-14 21:26 ` Alfred von Campe
  0 siblings, 1 reply; 2+ messages in thread
From: Glen Reesor @ 1993-04-07 13:03 UTC (permalink / raw)



I just received a DECstation 3100 for use as an X-terminal (it's only got 8
Megs of RAM, so isn't use for much more :-) and I would like to have the
numeric keypad send application keypad codes for ALL of my X clients.

I can configure the DECterm's to send the application keycodes by setting
"Application Keypad" in the Customize/General menu.  However, if I log into
another machine (in this case an SGI) and send back an xterm, I can't get
the keypad to send anything but numbers.

Any help with this would be *greatly* appreciated.

Thanks in advance.

 

-- 
Glen Reesor                            | glenr@cu51.crl.aecl.ca
AECL Research, (613) 584-3311 x 3409   | "Warning: This is a no-PC zone."


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: How to use application keypad for all X clients
  1993-04-07 13:03 How to use application keypad for all X clients Glen Reesor
@ 1993-04-14 21:26 ` Alfred von Campe
  0 siblings, 0 replies; 2+ messages in thread
From: Alfred von Campe @ 1993-04-14 21:26 UTC (permalink / raw)



In article <1993Apr7.130333.452@cu23.crl.aecl.ca>, Glen Reesor writes:


>I just received a DECstation 3100 for use as an X-terminal (it's only got 8
>Megs of RAM, so isn't use for much more :-) and I would like to have the
>numeric keypad send application keypad codes for ALL of my X clients.

Do you really mean *all* X clients or just xterm and dxterm?

>I can configure the DECterm's to send the application keycodes by setting
>"Application Keypad" in the Customize/General menu.  However, if I log into
>another machine (in this case an SGI) and send back an xterm, I can't get
>the keypad to send anything but numbers.

To set xterm to send application keycodes, send it the DECKPAN (DEC KeyPad
Application Mode) sequence (<ESC>=).  To reset back to the defaul numeric
keypad mode, send the DECKPNM (DEC KeyPad Numeric Mode) sequence (<ESC>>).
If this escape sequence doesn't work for you, then try the DECNKM (DEC Numeric
Keypad Mode) sequences: <ESC>?66h to send application sequences, and <ESC>?66l
to reset back to numeric mode.  All these sequences should also work for dxterm
(DECterm).
 
Alfred

--
+----------------------------------------------------------------------+
|  US Mail: Alfred von Campe, 905D Ridgefield Circle, Clinton, MA 01510 \
|  Ma-Bell: (508) 365-3982 (H), (508) 635-8619 (W), (508) 635-8673 (fax) \
| Internet: alfred@hannah.enet.dec.com                                    \
+--------------------------------------------+-----------------------------+
| Why is common sense so uncommon?           | I'd rather be flying N4381Q |
+--------------------------------------------+-----------------------------+


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1993-04-14 21:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1993-04-07 13:03 How to use application keypad for all X clients Glen Reesor
1993-04-14 21:26 ` Alfred von Campe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox