Re: I wrote a little graphics thing
Michael <[email protected]> Sun, 26 Jul 2026 05:18:36 -0400
| Newsgroups | gmane.os.netbsd.devel.kernel |
|---|---|
| Message-ID | <20260726051836.5830de00@bushmills> |
Hello, On Sun, 26 Jul 2026 16:41:18 +1000 Paul Ripke <[email protected]> wrote: > That sparked memories... I had a vague memory of running something like > that on netbsd mac68k way back, since the (framebuffer-based) console > was woefully slow, and X maybe wasn't supported? Trawling the internet, > it was called "dt", originally written by Lawrence Kesteloot and > Valtteri Vuorikoski. While I can find dead links to a dt-1.1.5.tar.gz, > I appear to have only kept 1.1.4, circa 1996. However, scanning > ftp.netbsd.org, I've found 1.1.7: > > ftp://ftp.netbsd.org/pub/pkgsrc/distfiles/dt-1.1.7.tar.gz Nice, thank you! Even has its own bdf converter - I wrote mine a few years ago, just to have more fonts to load into wsdisplay. Since gooeymux uses wsdisplay fonts I may have to steal some fonts... Hmm, looks like they spent a lot of code on pty handling ( I guess forkpty() didn't exist back then ) and keymaps ( gooeymux doesn't have any built in, it just reads them via ioctl(WSDISPLAYIO_GETMAP), that way we can support any keyboard the kernel supports and inherit the kernel's active keymap ) I should do the ioctl(TIOCCONS) thing as well so we get console output. Also, looks like poll() didn't exist back then... This would be difficult to get going on recent NetBSD since it attempts to talk directly to ADB and graphics devices using interfaces that have been replaces by wscons. Yeah, I need to implement scrollback and copy/paste. have fun Michael