Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
View Poll Results: Do you use ed?
What the heck is ed?
7
21.21%
Anyone who is still using ed is a freakin' weirdo.
I'd never heard of ed until I read this post. It takes me back nearly 30 years to editing batch files with edlin, and I really don't want to go there.
I can beat 44K: 33K for Spy, an old QL editor that I still use occasionally. Its strip option is great for removing CRs for Microsoft files, though I dare say there's a command-line tool for that that I don't know.
One nice thing about it is that it is small, but still workable. On my system, the binary is 44K, and that is with -O2 optimization. Dependencies are pretty light also:
I finally found a Linux implementation of edt(VMS edit/tpu) so I'm checking that out - but it's still larger than this.
Hey, that is pretty cool. I installed e3 with Gentoo's Portage and it used the YASM assembler. Came out to about 17K on my system.
As I mentioned before, I compiled ed with -O2, so it would probably be smaller if I compiled for size instead of performance. But e3 would still be smaller, no doubt.
Of course, the downside of an editor coded in assembly is the lack of portability, which is certain to be an issue on the systems where you really need a small editor -- embedded systems.
Of course, the downside of an editor coded in assembly is the lack of portability, which is certain to be an issue on the systems where you really need a small editor -- embedded systems.
True enough, though you changed criteria
Portability is actually why I ended up switching from edt/edit/tpu to vi and Vim. I found that once I got out of the VMS world nothing else used that editor, but vi was on nearly everything (except DOS - and edit on DOS was *awful*)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.