[comp.emacs] emacstool vs emacs-X

fcg@philabs.philips.com (Frank Guida) (06/13/91)

	Does anyone out there have any experience setting up function
   keymaps for emacsX (emacs compiled to run in an X window).  I've had
   no problem binding the function keys and mouse with emacstool.

   	In emacstool function key events are encoded as "C-x*{c}{ltr}",
   according to the formula in ~Emacs/lisp/term/sun.el, but in emacs-X
   function key events come through as "ESC-[ 230z" (ascii coding) and
   don't respond to modifiers.  Mouse binding  info can be found in
   ~Emacs/lisp/sun-mouse.el.  There is some stuff for X11 in the lisp
   and src code.  The x-mouse.el file was helpfull, but I can't find
   anything dealing with the keyboard.

   	I'm running GNU Emacs 18.55.3, SunOS 4.1.1 (berkeley-unix) on a
   Sun 3/60.  I recently started using Sun's Openwindows environment.  I
   like the functionality of the window system and all the X applications,
   but I miss the power of emacstool.

   Any advise is welcome.  Thanks in advance...

   ___________________________________________________________________
   Frank C. Guida                          Philips Laboratories       
   fcg@philabs.philips.com                 Autonomous Systems Dept.   
   (914)-945-6246                          Briarcliff Manor, NY  10510




-- 
   ___________________________________________________________________
   Frank C. Guida                          Philips Laboratories       
   fcg@philabs.philips.com                 Autonomous Systems Dept.   
   (914)-945-6246                          Briarcliff Manor, NY  10510

hendrick@ctron.com (Jim Hendrick) (06/21/91)

You may be just the persom I'm looking for. I'm trying to set up emacs 18.57
to run with either X or suntools. I've compiled it w/ the
#define HAVE_SUN_WINDOWS
in the config.h file along with
#include "s-sunos4.h"
#include "m-sun3.h"

for the 3/80 intended and the compile went smooth as silk. However when I try
to run emacstool, the window (frame?) comes up for a second and then dies.
I feel that this is probably a bonehead error on my part (being unfamiliar
w/suntools as I primarily use X) and would appreciate any help offered. If this
goes well I may build a sparc version as well since we have both in house.
Thanks again



--
###############################################################################
### My opinions, etc are exclusively the property of nobody in particular.  ###
### "If you think this is a mess, you should see what its like in here..."  ###
### tapping his forehead. . .                                               ###
###############################################################################