[comp.unix.aix] emacs 18.57

andreess@mrlaxa.mrl.uiuc.edu (Marc Andreessen) (03/26/91)

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

Ephraim Vider <P88036@BARILVM.BITNET> (03/26/91)

What have I missed ?
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.

is this the way it is? or did I miss anything?

Thanks for any help.

Ephraim.