Ask HN: Interesting TUIs (text user interfaces), maybe forgotten ones?
21–30 of 299 posts
Re: Ask HN: Interesting TUIs (text user interfaces), maybe forgotten ones?
#22Something that can be used to present some simple TUI on a largish LCD based on a simple 1-wire UART interface in a semi-standardized, performant and cheap way (good quality IPS displays are ~ 6-10 EUR, and tang nano is 10-20 EUR, depending on model).
https://megous.com/dl/tmp/tty-fpga.mp4
It also implements an efficient "scrolling" output mode, so it can simply be connected to anything that produces debug output on UART, too. Use cases are pretty flexible. Smallest Microchip PIC MCU can easily present a reasonably nice UI. :)
It can also accept input over the Tang Nano's USB UART directly from the connected PC (which is what's on the video).
At 3 Mbaud, it's possible to keep updating the content of whole screen at 50 FPS from a simple MCU, over a single wire at easily manageable interface frequencies. Anyhting less, like incremental changes to subset of screen content via ANSI escape sequences pretty much runs at 60FPS/display's refresh rate.
It's based on Tang Nano 9k currently, but it should fit even Tang Nano 1k, which is a bit cheaper.
Re: Ask HN: Interesting TUIs (text user interfaces), maybe forgotten ones?
#23QuickBASIC or even Visual Basic 1 immediately come to mind. They have good, discoverable navigation and documentation. I have no idea where you'd be able to find it since it's a proprietary product but InfoLease 9 had one of my favorites TUIs from a long gone era. You could navigate through and edit complicated contract information extremely quickly through a series of fixed number based menus and views. Once I got t…
Re: Ask HN: Interesting TUIs (text user interfaces), maybe forgotten ones?
#24Re: Ask HN: Interesting TUIs (text user interfaces), maybe forgotten ones?
#25Re: Ask HN: Interesting TUIs (text user interfaces), maybe forgotten ones?
#26This one is more a layer 8 issue perhaps, but ideally there is some sort of guard rail that makes it so that if I accidentally start typing a message I think is going into slack, but I still have the tui focused, doesn’t execute a ton of very hard to reverse actions. Perhaps a good undo/redo stack is enough here, but some sort of vim like modality could work even better. It doesn’t happen often, but if it’s something like k9s the blast radius is… pretty big!
Re: Ask HN: Interesting TUIs (text user interfaces), maybe forgotten ones?
#27Well you have the MS-DOS era Borland tools. Someone took the time to rewrite it as a cross-platform open source library: https://github.com/magiblot/tvision Edit: Not a rewrite, but a port. See comments below.
Re: Ask HN: Interesting TUIs (text user interfaces), maybe forgotten ones?
#28Well you have the MS-DOS era Borland tools. Someone took the time to rewrite it as a cross-platform open source library: https://github.com/magiblot/tvision Edit: Not a rewrite, but a port. See comments below.
TurboVision was distributed as source with some of the Borland tools, and later open-sourced, I think. So it's not a rewrite, just a port to non-DOS terminals.
Re: Ask HN: Interesting TUIs (text user interfaces), maybe forgotten ones?
#29The "htop" app, an alternative to the conventional "top," is a nice example of a TUI: https://htop.dev/ >
Re: Ask HN: Interesting TUIs (text user interfaces), maybe forgotten ones?
#30As someone who writes software for moderately boring business operations, I've been wondering making terminal-based apps with lots of keyboard shortcuts would lead to a more productive end user than writing a web app. I've been looking at https://github.com/gui-cs/Terminal.Gui but haven't tried it yet.
* Information dense screens (despite having only 80x25 characters)
* Responsiveness
* Reliable type-ahead when the responsiveness wasn't quite good enough