Live data from Hacker News

Ask HN: Interesting TUIs (text user interfaces), maybe forgotten ones?

news.ycombinator.com

21–30 of 299 posts

Re: Ask HN: Interesting TUIs (text user interfaces), maybe forgotten ones?

#22
Last few weekends I worked on a FPGA based Linux VT subset compatible tty display implementation for my HW projects.

Something 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?

#23
post #18

QuickBASIC 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…

QuickBASIC's modernity was just popping out of those 80x25 character cells. It was as promising of the future as Windows 95.

Re: Ask HN: Interesting TUIs (text user interfaces), maybe forgotten ones?

#26
lazygit is excellent imo. every ui with keyboard shortcuts needs an action menu showing the keyboard shortcuts. You can execute commands from this menu, but it teaches you the keyboard shortcuts over time too. especially important for a tui, where it’s mostly/completely keyboard controls.

This 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?

#27

Well 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?

#28

Well 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.

Yes, that's mentioned in the README.

Re: Ask HN: Interesting TUIs (text user interfaces), maybe forgotten ones?

#29
post #16

The "htop" app, an alternative to the conventional "top," is a nice example of a TUI: https://htop.dev/ >

htop is great, but I've migrated to bottom which has a very similar interface with "btm --basic".

[1] https://github.com/ClementTsang/bottom

Re: Ask HN: Interesting TUIs (text user interfaces), maybe forgotten ones?

#30

As 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.

I'm old enough to have used green screen CICS apps in a bank. The things that really helped productivity were:

* Information dense screens (despite having only 80x25 characters)

* Responsiveness

* Reliable type-ahead when the responsiveness wasn't quite good enough

Post reply on HN