News for hackers. Stuff that matters.
Re:Things I've learned building a modern TUI framework by mastry on Wednesday August 03, 2022 @03:42PM (#32335936)
Agreed. I cut my programming teeth on the Dr. Dobbs/Al Stevens "D-flat" series which was a text-based windowing system in C. Some of the most fun I've ever had programming. The hardest part was waiting for the next issue to be published!
Re:Things I've learned building a modern TUI framework by ghaerr on Wednesday August 03, 2022 @11:53PM (#32339175)
Funnily enough, I just happened to have ported D-Flat to macOS and Linux in the last couple of weeks. Check it out (w/screenshots): https://github.com/ghaerr/dflat. It uses a small TUI library that maps multi-byte ANSI/xterm arrow key and mouse wheel inputs into unicode private-use codes for internal processing by D-Flat. It also remaps all of the IBM PC code page 437 characters for unicode output, and converts the entire "PC-compatible" screen image including attributes into ANSI terminal output, thanks to some nice code from the Cosmopolitan Project.
Re:Things I've learned building a modern TUI framework by mastry on Thursday August 04, 2022 @08:25AM (#32341917)
That is great - I starred the repo.

Are the original articles available somewhere?

Re:Things I've learned building a modern TUI framework by ghaerr on Thursday August 04, 2022 @01:01PM (#32345449)
Yes, they're available on the archived Dr Dobbs Journal DVD V6 (https://archive.org/details/DDJDVD6), starting in the May 1991 section, or thereabouts.
Re:Things I've learned building a modern TUI framework by password4321 on Wednesday August 03, 2022 @05:44PM (#32336960)
I've tried to find the most recent version of that library, even emailing the author, but he's long since moved on and I could only find bits and pieces.

Maybe https://archive.org/details/dflat is best now?

Re:Things I've learned building a modern TUI framework by ghaerr on Wednesday August 03, 2022 @11:56PM (#32339194)
Try https://github.com/ghaerr/dflat, which is D-Flat version 2.0 ported to Linux and macOS.
Re:Things I've learned building a modern TUI framework by pjmlp on Thursday August 04, 2022 @03:10AM (#32340083)
He eventually ported them into Turbo Pascal as well, that is when I bumped into the series.