oed 7.4 for DOS (Announce)
> > Portable OpenBSD ed(1) for DOS, source code included.
> > Requires an 8086 CPU or better.
>
> bcc/dev86?? Is that tested? Small model doesn't offer much room to
> breathe.
Yes, i built oed.com with bcc/dev86 and tested it. You are right, it doesn't offer much room to breathe. It's only good for editing small files like config files, recipes, etc.
BTW, here's a DOS build of "minix ed". It's about half the size of OpenBSD ed. On the flip side, minix ed has arbitrary buffer sizes and lacks undo.
https://archive.org/details/beattie-ed-1-for-dos
> I get wanting to use Free tools, but OpenWatcom is so much better. Heck,
> even IA-16 ELF/GCC would hopefully be better.
Thanks for the recommendation. I ought to give OpenWatcom a try.
Just out of curiosity, how would IA-16 be better?
> > Built with the tiny-regex-c library.
>
> You also included bsded.exe for the normal regex build. Doesn't POSIX
> include regex anyways? DJGPP has some of it (BRE?), but it's probably
> slower than GNU's. I think in old days the BSD people based theirs on Henry
> Spencer's code. Even Borland used some of his code in later years.
BCC and DJGPP both come with a regex implementation. BCC's is the original Spencer regex code posted to comp.sources. I believe the BSD code is based on Spencer's code, but has changed quite a bit since then.
I used tiny-regex-c because it is tiny. It shaves about 20kb off the executable, which makes a difference for the small memory model used by oed.com. Even more importantly, at 500 LOC, it's easier for me to wrap my head around and debug.
Complete thread:
- oed 7.4 for DOS - bencollver, 19.04.2024, 20:16 (Announce)
- oed 7.4 for DOS - Rugxulo, 20.04.2024, 12:47
- oed 7.4 for DOS - bencollver, 20.04.2024, 16:36
- oed 7.4 for DOS - roytam, 25.04.2024, 10:03
- oed 7.4 for DOS - bencollver, 25.04.2024, 16:22
- oed 7.4 for DOS - bencollver, 27.04.2024, 01:37
- oed 7.4 for DOS - bencollver, 29.04.2024, 06:09
- oed 7.4 for DOS - bencollver, 29.04.2024, 19:35
- oed 7.4 for DOS - Rugxulo, 27.05.2024, 19:02
- oed 7.4 for DOS - bencollver, 28.05.2024, 15:46
- oed 7.4 for DOS - Rugxulo, 27.05.2024, 19:02
- oed 7.4 for DOS - bencollver, 29.04.2024, 19:35
- oed 7.4 for DOS - bencollver, 29.04.2024, 06:09
- oed 7.4 for DOS - bencollver, 22.08.2024, 22:05
- oed 7.4 for DOS - Rugxulo, 20.04.2024, 12:47