[comp.sys.sun] That nasty F1 key

gfr@wolfgang.mitre.org (Glenn Roberts) (01/11/89)

I thought this had been covered in previous Sun-Spots issues but I grepped
through volumes 6 & 7 and couldn't find the answer.

How can I get the F1 key to send out a "normal" escape sequence in a
SunView window?  I am using tn3270 to access IBM's PROFS system and I want
F1 through F12 on my 386i to map to the appropriate keys.  F2 through F12
are no problem but F1 is intercepted by SunView to make the window CAPS
only (a useless "feature" as far as I am concerned!).

Someone said in a previous Sun Spots that this can be done in the .ttyswrc
file but the SunView manual explicitly states that F1 CANNOT be remapped
this way.  The programs in previous Sun Spots are all oriented around
defeating the CAPS lock key (the one labeled Caps), not the F1 key.

Any help would be appreciated.

- Glenn Roberts, The MITRE Corp., McLean VA  (703)-883-6820
  gfr%wolfgang@gateway.mitre.org

ams@uunet.uu.net (Allan Schwartz) (01/19/89)

gfr%wolfgang@gateway.mitre.org:
>How can I get the F1 key to send out a "normal" escape sequence in a
>SunView window?  

I have it remapped in my .ttyswrc with the following line:
	mapi	F1	\E

    -allan
-- 
UUCP: ...!{uunet,sun,bridge2}!auspex!ams                         (408) 970-8970
USPS: Allan Schwartz/ Auspex Systems/ 2903 Bunker Hill Ln/ Santa Clara CA 95054