Live data from Hacker News

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

news.ycombinator.com

271–280 of 299 posts

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

#271
post #145

Earlier quoted context omitted.

I really wish edit.com still existed for Windows and was built in. Every now and then I need to do some stuff on a Windows machine and find myself wishing for a simple terminal editor.

A Microsoft employee recently (~6 months) opened a Github issue to discuss a command line editor for Windows: https://github.com/microsoft/terminal/discussions/16440 > " Thank you so much to everyone for engaging with this feature exploration! Your passion has generated a ton of excitement in our own team, and I’m happy to share our proposed direction, which is that we will work with Malcolm Smith (malxau), the maint…

That's great news! Thanks!

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

#272
post #252

- Lazygit: has completely replaced how I do all git things now. Fantastic interface, nice and speedy, easy to learn. - K9s: replaced my use of kubectl and the K8s dashboard. Lets you go from browse —> action on a resource so much faster than kubectl. - btop: it’s like top, but way prettier.

Does k9s work with k3s without issues?

I don't see why not, in my experience it works perfectly fine as long as you have a working kubeconfig

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

#273
post #123

Earlier quoted context omitted.

I've seen those at Costco stores also. Whereas in indie coffee shops they use a Square tablet and in Apple stores the store people just use iPhones with special cases. Best Buy or Walgreens uses POS tablets with a relatively ugly GUI. Legacy apps never die. Charles Schwab might use mainframes while Robinhood won't but Schwab won't move off because it's too hard for an established firm. Same with Costco TUIs.

> Legacy apps never die I think it's a mistake to frame this as legacy vs. new. There are real benefits to the approach taken by these TUI applications and it would behoove modern app designers to learn from them. It's perhaps the case that those coffee shops will someday adopt a TUI once they reach a level of sophistication. As an example: I believe Starbucks uses a TUI for order processing.

But there are no benefits, you can replicate everything in terms of user interaction identically in a more readable/better looking GUI app, so efficiency is maintained

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

#274

Earlier quoted context omitted.

> Both stores use TUI interfaces for their instore service apps, and boy are they fast with them. They reserve GUI things for the self service point of sale systems and keep the TUI for cases where speed matters. What magic makes TUI faster than GUI? TUI just use glyphs to render the interface. AFAIK that's not faster that a proper graphics engine. Keyboard shortcuts are not exclusive to TUI. Maybe if we would stop h…

It's not keyboard shortcuts, it's pure keyboard input; an important distinction to make, as with modern GUI interfaces, keyboard input is often an afterthought.

Just like TUIs can accept mouse input, GUIs can be operated without one.

The only difference is that TUIs are worse at displaying... text (and graphics)

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

#275

If you are in the US, pick a slow day and chat to the customer service people at Lowes or Costco. Both stores use TUI interfaces for their instore service apps, and boy are they fast with them. They reserve GUI things for the self service point of sale systems and keep the TUI for cases where speed matters. I suspect that these apps might once have been mainframe hosted (in other words, screen-oriented, with the PC t…

If one were to start a project from scratch today, with the goal of having such a hyper-efficient TUI, similar to the Lowes/Costco ones, to be accessible via SSH/Telnet/locally... are there frameworks out there to use? Would my best bet still be ncurses? Are there simpler alternatives?

charm.sh is probably what you're looking for

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

#276

If you are in the US, pick a slow day and chat to the customer service people at Lowes or Costco. Both stores use TUI interfaces for their instore service apps, and boy are they fast with them. They reserve GUI things for the self service point of sale systems and keep the TUI for cases where speed matters. I suspect that these apps might once have been mainframe hosted (in other words, screen-oriented, with the PC t…

If one were to start a project from scratch today, with the goal of having such a hyper-efficient TUI, similar to the Lowes/Costco ones, to be accessible via SSH/Telnet/locally... are there frameworks out there to use? Would my best bet still be ncurses? Are there simpler alternatives?

TurboVision: https://github.com/magiblot/tvision

Charva - http://www.pitman.co.za/projects/charva/index.html

AbsTK - https://gobolinux.org/abstk/

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

#277

Earlier quoted context omitted.

This works if you have one app with a completely dedicated computer. But that's a limitation on the popular systems. If you have an automatic focus switch to new windows, like Windows/Mac pretty much enforces, you can't buffer input. An incoming call to your VoIP system would be dropped/redirected, because you were typing the right thing at the time.

No, Windows goes out of its way not to allow a popup window from a background application to take focus. Instead, it blinks the taskbar icon. An incoming call should not start eating the keystrokes you were sending to the active application. Focus stealing isn't totally solved as an issue, but it's certainly regarded as a problem to be solved and not the desired behavior.

That's nowhere close to my experience. Things that steal focus constantly: 1password losing SSO token, UAC for an application's backup, 3CX call coming in, every random thing in vscode, ...

It's not something windows does or can disallow. You just focus the window in the code and that's it.

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

#278
post #273

Earlier quoted context omitted.

> Legacy apps never die I think it's a mistake to frame this as legacy vs. new. There are real benefits to the approach taken by these TUI applications and it would behoove modern app designers to learn from them. It's perhaps the case that those coffee shops will someday adopt a TUI once they reach a level of sophistication. As an example: I believe Starbucks uses a TUI for order processing.

But there are no benefits, you can replicate everything in terms of user interaction identically in a more readable/better looking GUI app, so efficiency is maintained

Sure you can, but it's rare to see a GUI app built keyboard first and specifically optimized for the productivity of power users. The list of apps that do this successfully is a tiny fraction of the total.

- Excel

- 3D modeling tools

- Adobe Creative apps

- Programming IDEs

- ?

Also, if you are focused on that metric: the productivity of the power user, then in many cases adopting a more modern GUI framework will not necessarily make it easier to achieve that goal (and in some cases may make it harder).

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

#279

If you are in the US, pick a slow day and chat to the customer service people at Lowes or Costco. Both stores use TUI interfaces for their instore service apps, and boy are they fast with them. They reserve GUI things for the self service point of sale systems and keep the TUI for cases where speed matters. I suspect that these apps might once have been mainframe hosted (in other words, screen-oriented, with the PC t…

I once worked in a phone survey company and they definitely used something similar. It was probably linked to a mainframe.

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

#280
post #65

I'm a maintainer of Ratatui (a rust TUI crate). Here's a few links https://ratatui.rs/showcase/apps/ https://github.com/ratatui-org/awesome-ratatui https://discord.com/channels/1070692720437383208/10729061831... (made with ratatui channel on our discord server) We encourage our users to use https://github.com/charmbracelet/vhs to build out demos that look neat. My particular favorite of the bunch (from a look and fee…

I've been looking for an openapi TUI all my life <3
Post reply on HN