From: dbgwab@edp.arco.com (William A. Bailey)
Subject: Re: Patches for Sun X server for type 5 keyboard?
Keywords: X11R5 Sun type5
Organization: ARCO - Aept
Date: Mon, 9 Nov 1992 14:33:38 GMT

	      Release 5 Type 5 Keyboard Support Patch
		William Bailey <dbgwab@arco.com>

This patch provides support for the additional keys on the Sun
Type 5 keyboard.


To apply this patch:

cd to the top of the source tree (to the directory containing the "mit"
and "contrib" subdirectories) and do:
	patch -p -s < ThisFile
        cd mit/server
        make

Patch will work silently unless an error occurs. 
This will rebuild Xsun and/or XsunMono per your original configuration.
You can then test and install the new Xserver(s) manually.

*** mit/server/ddx/sun/sunKeyMap.c
30a31
> #include	"Sunkeysym.h"
339,346c340,347
<         XK_F1,          NoSymbol,               /* 0x5 */
<         XK_F2,          NoSymbol,               /* 0x6 */
<         XK_F10,         NoSymbol,               /* 0x7 */
<         XK_F3,          NoSymbol,               /* 0x8 */
<         XK_F11,         NoSymbol,               /* 0x9 */
<         XK_F4,          NoSymbol,               /* 0xa */
<         XK_F12,         NoSymbol,               /* 0xb */
<         XK_F5,          NoSymbol,               /* 0xc */
---
>         XK_F1,          XK_F1,                  /* 0x5 */
>         XK_F2,          XK_F2,                  /* 0x6 */
>         XK_F10,         XK_F10,                 /* 0x7 */
>         XK_F3,          XK_F3,                  /* 0x8 */
>         XK_F11,         XK_F11,                 /* 0x9 */
>         XK_F4,          XK_F4,                  /* 0xa */
>         XK_F12,         XK_F12,                 /* 0xb */
>         XK_F5,          XK_F5,                  /* 0xc */
348c349
<         XK_F6,          NoSymbol,               /* 0xe */
---
>         XK_F6,          XK_F6,                  /* 0xe */
350,352c351,353
<         XK_F7,          NoSymbol,               /* 0x10 */
<         XK_F8,          NoSymbol,               /* 0x11 */
<         XK_F9,          NoSymbol,               /* 0x12 */
---
>         XK_F7,          XK_F7,                  /* 0x10 */
>         XK_F8,          XK_F8,                  /* 0x11 */
>         XK_F9,          XK_F9,                  /* 0x12 */
354c355
<         NoSymbol,       NoSymbol,               /* 0x14 */
---
>         XK_Up,          XK_Up,                  /* 0x14 */
358c359
<         NoSymbol,       NoSymbol,               /* 0x18 */
---
>         XK_Left,        XK_Left,                /* 0x18 */
361,362c362,363
<         NoSymbol,       NoSymbol,               /* 0x1b */
<         NoSymbol,       NoSymbol,               /* 0x1c */
---
>         XK_Down,        XK_Down,                /* 0x1b */
>         XK_Right,       XK_Right,               /* 0x1c */
378,381c379,382
<         NoSymbol,       NoSymbol,               /* 0x2c */
<         XK_R4,          XK_KP_Equal,		/* 0x2d */
<         XK_R5,          XK_KP_Divide,		/* 0x2e */
<         XK_R6,          XK_KP_Multiply,		/* 0x2f */
---
>         XK_Insert,      NoSymbol,               /* 0x2c */
>         XK_KP_Equal,    XK_KP_Equal,		/* 0x2d */
>         XK_KP_Divide,   XK_KP_Divide,		/* 0x2e */
>         XK_KP_Multiply, XK_KP_Multiply,		/* 0x2f */
384c385
<         XK_Delete,      XK_KP_Decimal,          /* 0x32 */
---
>         NoSymbol,       XK_KP_Decimal,          /* 0x32 */
386c387
<         NoSymbol,       NoSymbol,               /* 0x34 */
---
>         XK_Home,        NoSymbol,               /* 0x34 */
402c403
<         XK_R7,          XK_KP_7,                /* 0x44 */
---
>         NoSymbol,       XK_KP_7,                /* 0x44 */
404c405
<         XK_R9,          XK_KP_9,                /* 0x46 */
---
>         SunXK_PageUp,   XK_KP_9,                /* 0x46 */
408c409
<         NoSymbol,       NoSymbol,               /* 0x4a */
---
>         XK_End,         NoSymbol,               /* 0x4a */
426c427
<         XK_R11,         XK_KP_5,                /* 0x5c */
---
>         NoSymbol,       XK_KP_5,                /* 0x5c */
428c429
<         XK_Insert,       XK_KP_0,                /* 0x5e */
---
>         NoSymbol,       XK_KP_0,                /* 0x5e */
430c431
<         NoSymbol,       NoSymbol,               /* 0x60 */
---
>         SunXK_PageUp,   NoSymbol,               /* 0x60 */
432c433
<         XK_Num_Lock,    XK_Num_Lock,            /* 0x62 */
---
>         XK_Num_Lock,    NoSymbol,               /* 0x62 */
446c447
<         XK_R13,         XK_KP_1,                /* 0x70 */
---
>         NoSymbol,       XK_KP_1,                /* 0x70 */
448c449
<         XK_R15,         XK_KP_3,                /* 0x72 */
---
>         SunXK_PageDown, XK_KP_3,                /* 0x72 */
457c458
<         NoSymbol,       NoSymbol,               /* 0x7b */
---
>         SunXK_PageDown, NoSymbol,               /* 0x7b */
479d479
< #define	cT	(ControlMask)
481a482
> #define	cT	(ControlMask)

-- 
Bill Bailey <dbgwab@arco.com>
Voice : (214) 754-6779
Newsgroups: comp.windows.x