[comp.emacs] emacstool

jeremy@swatsun (Jeremy Brest) (10/07/87)

Does anyone know of a recent version of emacstool, a SunView
tool for GNUemacs?  The one I am using here is older than one
I used at Sun this summer.  

Thanks,

Jeremy Brest

uucp: ...seismo!bpa!swatsun!jeremy
CSnet: jeremy@swatsun.swarthmore.edu

bob@aargh.cis.ohio-state.edu (Bob Sutterfield) (10/07/87)

In article <1306@carthage.swatsun.UUCP> swatsun!jeremy (Jeremy Brest) writes:
>Does anyone know of a recent version of emacstool, a SunView tool for
>GNUemacs?  The one I am using here is older than one I used at Sun
>this summer.

Go to the source directory .../emacs/etc, and say `make emacstool'.
You'll get an emacstool built with whatever version of GNU Emacs you
have the sources to.

If your sources aren't up to date, that's another problem.  You can
solve it by FTPing from prep.ai.mit.edu, or by UUCPing from osu-cis.
-=-
 Bob Sutterfield, Department of Computer and Information Science
 The Ohio State University; 2036 Neil Ave. Columbus OH USA 43210-1277
 bob@ohio-state.{arpa,csnet} or ...!cbosgd!osu-cis!bob
 soon: bob@cis.ohio-state.edu

franco@alberta.UUCP (Franco Carlacci) (07/13/88)

I'm sure this has come up before, so if you have  the solution email to
me.
  Why does Emacstool ldo such a lousy job of maintaining the window.
  Any time I do some kind of move, be it M-v ,Esc-v or a right function
key, the window ends up in a horrible mess. What's the fix? We are
running Version 18.47.4.

                   Franco ( franco@alberta.UUCP , alberta!franco)

" make mine GNUemacs"

luria@ucbarpa.Berkeley.EDU (Marc Luria) (09/01/89)

I want to run emacs under the emacstool program under suntools.  
Unfortunately, the gnumacs that our system adminastrator has compiled for use
with emacstool, is about 1.8 meg, or twice as big as normal.  In addition,
the emacstool program is about a meg.  The performance can be pretty bad 
when the file server begins to page.  Is this all necessary? all I really
want to do is do the move cursor stuff.  Any suggestions?

 

jr@bbn.com (John Robinson) (09/01/89)

In article <31047@ucbvax.BERKELEY.EDU>, luria@ucbarpa (Marc Luria) writes:
>I want to run emacs under the emacstool program under suntools.  
>Unfortunately, the gnumacs that our system adminastrator has compiled for use
>with emacstool, is about 1.8 meg, or twice as big as normal.  In addition,
>the emacstool program is about a meg.  The performance can be pretty bad 
>when the file server begins to page.  

Compile with -O and not -g, though then you will have trouble
debugging it.  This saves on disk space, though not much on swap.  My
local emacs 18.55 with -O and both suntools and X support, with mh-e
loaded in the executable, looks like:

  -rwxr-xr-x  3 jr        1507328 Aug 29 14:03 /usr/jr/bin/emacs*

Of course, the symbols aren't swapped in.  You have to look at the
dynamice memory utilization to see what costs in emacs.

Ty User     Status Fl Nice Virtual Resident %M  Time Child %C Proc# Command
co   *      SELECT         224+168   60+ 62 14  43 M       12  2542 Xsun 
co   *      RPIPE          446+254  116+ 96 24  15 M+155.4  0  2543 emacs 
31 (2294k) processes, 1 (50k) busy, 15 (490k) loaded, 16 (374k) swapped

This emacs has been running over a day, and I use it for most
everything.  Several packages are loaded into data space.  Its entire
memory map is under a meg, and the resident set under 250K.  The X
server is about 3/5 of this size.

You may win by putting more of the packages you use into pure space
(load them in site-init.el).  Assuming you are on a diskless SunOS 3.x
client, this pages from the (NFS) executable rather than the (ND)
swapper, and NFS performance is generally better than ND, other things
being equal.  Plus the pages stay clean, so they don't need writing
back as they would if the code loaded in data space is interspersed
with user variables.

emacstool needn't be nearly so big.  There are patches around to
convert it to a toolmerge tool, which lets you combine its executable
with shelltool, etc. and share the largish sun library.  This will
help in paging as well.

Someday someone will make emacs work with shared libraries, I expect.

>				       Is this all necessary? 

Of course not.

>							      all I really
>want to do is do the move cursor stuff.  Any suggestions?

You can run X.  You can run X with the emacs on the file server if
your friends will let you.

You can run one of the microemacs flavors (microemacs, mg, jove)
inside of a shelltool window.  Or even vi :-)
--
/jr, nee John Robinson     Life did not take over the globe by combat,
jr@bbn.com or bbn!jr          but by networking -- Lynn Margulis