SUMMARY: Type 4 keyboard replacement

From: Jim Frew (frew%crseo@hub.ucsb.edu)
Date: Mon Mar 12 1990 - 19:44:00 CST


A couple of weeks ago I asked sun-managers:

> Does anyone know of any sources for Sun Type-4 compatible keyboards?
>
> I'm specifically looking for one that has:
> - larger keys
> - a less mushy feel
> - something approximating the VT100 key layout I learned to type on

So far there've been no response, other than a couple of "let me know
what you find out" requests. So, I read up on "xmodmap" (I'm running
X11R4 on a monochrome 4/60) and now use the following ".xmodmaprc"
file:

        !
        ! Sun Type 4 keyboard
        !
        ! fix the most egregious departures from Type 3 layout
        !
        keysym Delete = BackSpace Delete
        keysym BackSpace = grave asciitilde
        keysym grave = Return Return
        !
        ! disable Caps Lock
        !
        clear lock
        !
        ! disable F1 - F12
        !
        keysym F1 =
        keysym F2 =
        keysym F3 =
        keysym F4 =
        keysym F5 =
        keysym F6 =
        keysym F7 =
        keysym F8 =
        keysym F9 =
        keysym F10 =
        keycode 16 =
        keycode 18 =
        !
        ! disable all left-hand function keys EXCEPT Props, Front, Open
        !
        keysym F11 =
        keysym F12 =
        keysym F14 =
        keysym F16 =
        keysym F18 =
        keysym F19 =
        keysym F20 =
        keysym Help =
        !
        ! redefine right-hand function keys as a numeric keypad
        !
        keysym KP_0 = 0
        keysym KP_1 = 1
        keysym KP_2 = 2
        keysym KP_3 = 3
        keysym KP_4 = 4
        keysym KP_5 = 5
        keysym KP_6 = 6
        keysym KP_7 = 7
        keysym KP_8 = 8
        keysym KP_9 = 9
        keycode 52 = equal
        keysym KP_Decimal = period
        keysym KP_Divide = slash
        keysym KP_Multiply = asterisk

This is snarfed by:

        xmodmap $HOME/.xmodmaprc

in my ~/.xinitrc file.

Barring a replacement keyboard (I still detest the FEEL of the Type 4),
this at least makes the Type 4 usable for me. I hope this helps someone
else out.

#-----------------+-----------------------+-----------------------------
# Jim Frew | frew@crseo.ucsb.edu | Computer Systems Lab., UCSB
# +1 805 961 8413 | frew@ucsbuxa (BITNET) | Santa Barbara, CA 93106, USA



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:05:56 CDT