[comp.windows.x] KeyBindings for Sun Type 4 keyboard

razdan@chanakya.oakhill.uucp (Anshuman Razdan) (05/07/90)

I ran into a problem while trying to define Function keys in .twmrc.
This relates to the ANSI Sun type 4 keyboars.  This is the keyboard Sun
has been shipping with their newer Sun 3 and Sun 4 stations. (Flip the 
keyboard to know What I mean).  

Anyways,  I cannot define F11 and F12 keys for twm window manager.

"F11 = : all: f.exec "xrefresh"  does not work.  Replacing it with

F10 or any other key (F9-F1) is no problem. (Doesnot work for F12 also).

Has anybody else run into this problem.  If you have any suggestion please
e-mail or post it on the Net.

Thanks

--

Anshuman Razdan					Motorola
						Sector CAD
Internal: razdan@chanakya			Austin Tx
Internet: razdan@chanakya.sps.mot.com

******************************************************************
*								 *
* PS: All opinions are my own and my employers have their own    *
*   which of course, most probably, in all honesty, as far       *
*   as I know, which sure is a guess, do not coincide with mine. *
*								 *
******************************************************************

dana@dino.bellcore.com (Dana A. Chee) (05/08/90)

In article <RAZDAN.90May7095231@chanakya.oakhill.uucp> you write:
|> 
|> 
|> I ran into a problem while trying to define Function keys in .twmrc.
|> This relates to the ANSI Sun type 4 keyboars.  This is the keyboard Sun
|> has been shipping with their newer Sun 3 and Sun 4 stations. (Flip the 
|> keyboard to know What I mean).  
|> 
|> Anyways,  I cannot define F11 and F12 keys for twm window manager.
|> 
|> "F11 = : all: f.exec "xrefresh"  does not work.  Replacing it with
|> 
|> F10 or any other key (F9-F1) is no problem. (Doesnot work for F12 also).
|> 
|> Has anybody else run into this problem.  If you have any suggestion please
|> e-mail or post it on the Net.
|> 
|> Thanks
|> 
|> --
|> 
|> Anshuman Razdan					Motorola
|> 						Sector CAD
|> Internal: razdan@chanakya			Austin Tx
|> Internet: razdan@chanakya.sps.mot.com
|> 

The problem is that X defines F11-F20 to be the same code as L1-L10.
So make sure you haven't also defined keys L1 and L2 after you defined
F11 and F12.  Since they are the same code, the latter will override
the former.

+*************************************************************************+
*  Dana Chee				(201) 829-4488			  *
*  Bellcore								  *
*  Room 2Q-250								  *
*  445 South Street			ARPA: dana@bellcore.com		  *
*  Morristown,  NJ  07960-1910		UUCP: {gateways}!bellcore!dana	  *
+*************************************************************************+