Path: utzoo!mnetor!tmsoft!torsqnt!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!uwm.edu!ux1.cso.uiuc.edu!mrlaxa.mrl.uiuc.edu!andreess From: andreess@mrlaxa.mrl.uiuc.edu (Marc Andreessen) Newsgroups: comp.unix.aix Subject: Re: emacs 18.57 Message-ID: <1991Mar26.143433.24595@ux1.cso.uiuc.edu> Date: 26 Mar 91 14:34:33 GMT References: <91085.155504P88036@BARILVM.BITNET> Sender: usenet@ux1.cso.uiuc.edu (News) Organization: University of Illinois, Urbana Lines: 38 In article <91085.155504P88036@BARILVM.BITNET> P88036@BARILVM.BITNET (Ephraim Vider) writes: >I got emacs 18.57, changed config.h to include m-ibmrs6000.h and >s-aix3-1.h, uncommented the X definitions and the compilation went >just fine. >The problem is the cursor control keys do not work and the backspace >key invokes emacs help (ctrl-h) instead of erasing backwards. Following is a repost of an excerpt of a set of fixes I sent to FSF: ----------------------------------------------------------------------- The RS/6000 arrow keys don't work correctly under X11. They can be made to work in x11term.c by removing the #ifndef AIX/#endif duo from around the second stringFuncVal() routine, as well as the duo around the if/then/else following case KeyPress in the XPending() loop. ----------------------------------------------------------------------- The RS/6000 backspace key, as well as PageUp/PageDown, don't work under X11. This can be solved in x11term.c like this: case KeyPress: #ifdef AIX XRebindKeysym(XXdisplay, 0xff08, NULL, 0, "\177", 1); /* backspace */ XRebindKeysym(XXdisplay, 0xff55, NULL, 0, "\326", 1); /* page up */ XRebindKeysym(XXdisplay, 0xff56, NULL, 0, "\026", 1); /* page down */ #endif /* AIX */ (This is case KeyPress in the XtPending() loop in x11term.c.) ----------------------------------------------------------------------- Good luck; your mileage may vary... Marc -- Marc Andreessen___________University of Illinois Materials Research Laboratory Internet: andreessen@uimrl7.mrl.uiuc.edu____________Bitnet: andreessen@uiucmrl