4 ms·
On a more serious note, what would be a (mostly?) sane way to do something like this on DOS? TurnoC? TurboPascal? What was the "web tooling story" of those tool
by haolez 3y ago
On a more serious note, what would be a (mostly?) sane way to do something like this on DOS? TurnoC? TurboPascal? What was the "web tooling story" of those toolkits?
- int_19h 3y agoTurbo Pascal 7, the last one for DOS, was released in 1992, one year before Mosaic. Later on you could set up TCP networking and a web stack to work on DOS (e.g. Arachne) but this was very uncommon. Typically you'd have a GUI browser running in Win 3.1, not directly on DOS. But I can't think of anyone actually trying to serve anything weblike from DOS. It's not a server OS, quite obviously so, so what's the point? In principle I suppose CGI would work just fine for these hypothetical purposes, so long as everything is completely synchronous (so each CGI handler blocks all request processing while it runs).
- accrual 3y agoMichael B. Brutman runs a website from DOS on an IBM PCjr. He wrote the whole stack himself and created a bunch of nice DOS networking tools. https://www.brutman.com/ https://www.brutman.com/
- int_19h 3y agoOh, you certainly can do it - DOS had TCP stack options for a long time now - and I'm not surprised that people do it for a lark. But I've never heard of anyone seriously doing something like this back when Turbo Pascal and Turbo C were still relevant dev stacks.
- 0xDEADFED5 3y ago[0] is one result that comes up. there was a submission here on a HN a while back which featured somebody's self-hosted DOS server, but my algolia-fu is failing me. [0] https://fsturmat.net/blog/04202022/ https://fsturmat.net/blog/04202022/
- shortrounddev2 3y agoYou could write a web server in C using any compiler available on DOS, not just TurboC. There's GCC, MSVC (which is older than Ansi C itself), and I believe I heard that Watcom had the best C compiler for DOS.
- xet7 3y agohttps://lunduke.locals.com/post/5022504/how-to-run-a-dos-based-web-server-seriously https://lunduke.locals.com/post/5022504/how-to-run-a-dos-bas...