Sizes of various editors (was Re: Textedit wars (was vi vs emacs in a student environment))
Ralph Hyre
ralphw at ius3.ius.cs.cmu.edu
Tue Jul 5 07:14:53 AEST 1988
>In article <8196 at brl-smoke.ARPA> gwyn at brl.arpa (Doug Gwyn (VLD/VMB) <gwyn>) writes:
>|I actually do use "vi" on my Sun, until I get "sam" running. (The
>|SunTools text editor is a joke.)
....
>Actually, I use textedit a lot. It has several things going for it.
>The bigest one is:
>(SunOS 4.0):
>-rwxr-xr-x 1 root 32768 Apr 9 04:49 /usr/bin/textedit
>(SunOS 3.4.2):
>-rwxr-xr-x 3 barnett 991232 Feb 29 11:48 /usr/local/bin/emacs
>-rwxrwxr-x 1 barnett 581632 Aug 31 1987 /usr/local/bin/emacstool
>Yes, size. emacs+emacstool (SUnOS 3.4) is 48 TIMES larger than
>textedit (SunOS 4.0). (yes, emacstool will shrink under 4.0. No, don't
>have the numbers yet).
Why cloud the issue by posting meaningless numbers?
Those windowing libraries still might get loaded under 4.0, but
chances are they're already loaded if you're using the window
system.
In SunOS 3.5 (more-or-less, some binaries are as old as 3.0)
TEXTEDIT
-rwxr-xr-x 1 root 753664 Nov 10 1987 /usr/bin/textedit*
text data bss dec hex
704512 32768 24860 762140 ba11c
GNU EMACS
-rwxr-xr-x 1 9902 835584 Dec 15 1987 /usr/wpe/bin/gemacs*
text data bss dec hex
516096 237568 0 753664 b8000
Unix EMACS (written here by Gosling, licensed to Unipress now I suppose)
[2 installations]
-rwxr-xr-x 1 cmu 425984 Dec 23 1986 /usr/cs/bin/emacs*
text data bss dec hex
319488 16384 104800 440672 6b960
-rwxr-xr-x 1 root 245760 Jun 19 17:47 /usr/cs/bin/emacs*
text data bss dec hex
196608 8192 107888 312688 4c570
So, it really depends on what tradeoffs you're willing to make to accomdate
your preferences. Also depends on what other people on your system are
using, since the text segment can be shared on many systems, reducing
swapping and paging.
Since these paramters vary wildly from person to person and system to
system, why should anyone expect anyone else to agree? Nobody wins
OS/Processor/Editor wars anymore.
--
- Ralph W. Hyre, Jr.
Internet: ralphw at ius2.cs.cmu.edu Phone:(412)268-{2847,3275} CMU-{BUGS,DARK}
Amateur Packet Radio: N3FGW at W2XO, or c/o W3VC, CMU Radio Club, Pittsburgh, PA
More information about the Comp.unix.questions
mailing list