[H-GEN] Simple Linux editors
robert stanford
rob at rotapile.com
Mon Apr 8 19:55:07 EDT 2002
[ Humbug *General* list - semi-serious discussions about Humbug and ]
[ Unix-related topics. Posts from non-subscribed addresses will vanish. ]
On Tue, 2002-04-09 at 02:02, Ben Fowler wrote:
> [root at reptile] fowlerb# ldd `which ed`
> libc.so.6 => /lib/libc.so.6 (0x40020000)
> /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
> [root at reptile] fowlerb# ldd `which aee`
> libc.so.6 => /lib/libc.so.6 (0x40020000)
> /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
> [root at reptile] fowlerb#
Well I copied ae over from one of my embeded systems and
rob at rotapile:~$ ldd ./ae
not a dynamic executable
> Ok, let's consider the hypothetical and unlikely scenario where there is
> absolutely no way known I can get a dynamically-linked executable to run
> off my hard drive during a disaster. We're forced to use a
> statically-linked editor off a recovery disk.
>
> [fowlerb at reptile] elvis-tiny-1.4.orig$ ls -la elvis
> -rwxr-xr-x 1 fowlerb fowlerb 537611 Apr 9 01:38 elvis
> [fowlerb at reptile] elvis-tiny-1.4.orig$ ldd ./elvis
> not a dynamic executable
> [fowlerb at reptile] elvis-tiny-1.4.orig$
>
> Elvis has left the building. What about ae(1) and ed(1)?
>
> [root at reptile] fowlerb# ls -la `which aee`
> -rwxr-xr-x 1 root root 159644 Sep 29 2001 /usr/bin/aee
> [root at reptile] fowlerb# ls -la `which ed`
> -rwxr-xr-x 1 root root 43292 Nov 27 2000 /bin/ed
> [root at reptile] fowlerb#
>
> As expected, ed wins. But even ae, a perfectly usable screen-mode
> editor weighs in at a hefty 160k. By using ae, I sacrifice a whopping
> 116k of disk space, and get a screen-mode editor which enables me to
> work faster. It sounds like a pretty fair swap to me. When you
> consider "ease of use" and intuitiveness, I'd argue strongly that a
> screen-mode editor beats a command-mode editor hands-down. Period.
aee is not ae, aee is Another Easy Editor. ae is Anthony's Editor.
rob at rotapile:~$ ls -l ae
-rwxr-xr-x 1 root rob 13640 Apr 9 09:24 ae
ae is even smaller than ed, infact its less than 1/3 the size.
Do I get my Micky Mouse watch now or pick it up at the next HUMBUG ?
Robert Stanford
--
* This is list (humbug) general handled by majordomo at lists.humbug.org.au .
* Postings to this list are only accepted from subscribed addresses of
* lists 'general' or 'general-post'. See http://www.humbug.org.au/
More information about the General
mailing list