[comp.sys.next] Running GNU emacs from a shell

bvrotney@ADS.COM (Bill Vrotney) (10/23/90)

I was wondering if  there is a  simple answer  to  running  GNU emacs from a
visible shell on a NeXT. These are the problems I encountered:

        1. From the Shell application it says terminal type is
           not powerful enough.
        2. The Terminal Application does what I want but the it
           scrolls too slowly and does not allow you to use a Meta
           key.
        3. The GNU Emacs application doesn't originate from a visible
           shell (so when you suspend it just quits!), and it doesn't
           recognize environment variables setup by your .login
--
Bill Vrotney

mdixon@parc.xerox.com (Mike Dixon) (10/24/90)

    I was wondering if there is a simple answer to running GNU emacs from
    a visible shell on a NeXT. These are the problems I encountered:

emacs runs very nicely under stuart, which gives you Alt as a meta key.

also, suspending the Emacs application doesn't quit it -- it just hides.
--

                                             .mike.

phd_ivo@gsbacd.uchicago.edu (10/24/90)

(1) Shell has no terminal emulation built-in, so you can't run emacs from a
shell. Stuart supposedly fixes this, and supersedes both shell and terminal
in the OS Release 2.0.

(2) Indeed, Terminal is slow. Worse, it also occasionally screws up with
highlighting etc. Again, this will presumably disappear in 2.0.

(3) Communicae runs Emacs quite nicely and quickly, but costs $$$.

(4) The best way to run Emacs is the gnu-emacs adaptation by John Myers for
NeXTStep. To redefine keys only in this version of emacs, try
	(if (string= (getenv "TERM") "eterm")
	    (global-set-key "\C-x\C-c" 'eterm-hide-emacs))
A new version should be out any day now, and I am looking forward to it.

(5) Suspending Emacs (^Z) should never make it go away. It just waits in the
background until you continue it (%%).


/ivo welch	ivo@next.agsm.ucla.edu