# HG changeset patch # User Richard M. Stallman # Date 738623639 0 # Node ID 0069a30d083f943a7768d310f5c75b5a5914c006 # Parent 9a682e5f5b53d6f37d4bf44191272e8da1e1e37f (XTread_socket, case KeyPress) [HPUX]: Recognize the extended function keys. diff -r 9a682e5f5b53 -r 0069a30d083f src/xterm.c --- a/src/xterm.c Fri May 28 21:02:48 1993 +0000 +++ b/src/xterm.c Fri May 28 21:13:59 1993 +0000 @@ -2874,6 +2874,12 @@ || keysym == XK_Delete || IsCursorKey (keysym) /* 0xff50 <= x < 0xff60 */ || IsMiscFunctionKey (keysym) /* 0xff60 <= x < 0xff80 */ +#ifdef HPUX + /* This recognizes the "extended function keys". + It seems there's no cleaner way. */ + || ((unsigned) (keysym) >= XK_Select + && (unsigned)(keysym) < XK_KP_Space) +#endif || IsKeypadKey (keysym) /* 0xff80 <= x < 0xffbe */ || IsFunctionKey (keysym)) /* 0xffbe <= x < 0xffe1 */ {