Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

oed 7.4 for DOS (Announce)

posted by bencollver Homepage, 20.04.2024, 16:36

> > 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:

Back to the forum
Board view  Mix view
22049 Postings in 2034 Threads, 396 registered users, 122 users online (0 registered, 122 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum