Live data from Hacker News

Ask HN: My family business runs on a 1993-era text-based-UI (TUI). Anybody else?

news.ycombinator.com

241–250 of 315 posts

Re: Ask HN: My family business runs on a 1993-era text-based-UI (TUI). Anybody else?

#241

Many (most?) older retail businesses still use TUIs. They're reliable, consistent, and orders of magnitude faster than GUI systems. When I worked ar Sherwin Williams, I got good enough with the TUI that customers could rattle off their orders while I punch it into the computer in real time. It's absolutely crazy that a well designed TUI is so much faster. It turns out that if you never change the UI and every menu it…

This is about keyboard navigation rather than TUI vs GUI, there is no reason you have to render your app with plain text to support efficient keyboard nav.

It also is about designing things around a single buffered input stream. There is no reason GUIs couldn't do this, but most don't.

Re: Ask HN: My family business runs on a 1993-era text-based-UI (TUI). Anybody else?

#242

Many (most?) older retail businesses still use TUIs. They're reliable, consistent, and orders of magnitude faster than GUI systems. When I worked ar Sherwin Williams, I got good enough with the TUI that customers could rattle off their orders while I punch it into the computer in real time. It's absolutely crazy that a well designed TUI is so much faster. It turns out that if you never change the UI and every menu it…

I agree with basically everything you've said, but I'd add that I sometimes wish we had a way to sometimes pop up a GUI for very specific tasks. For example, enabling a fast multi-select of rows in a longish table (or even worse, a tree) is one of the tasks that TUIs don't really excel at. Popping up a PDF or image viewer would also be great. The TUI I'm working with runs on a pair of Linux VMs, and is accessed from…

There is no reason a TUI couldn't do this. Calling another program is easier in a TUI, since it is one step nearer to execve and a shell. If it is in a file, then opening another program isn't hard.

> The TUI I'm working with runs on a pair of Linux VMs, and is accessed from Windows, Linux and Mac, so asking all our users to enable X forwarding doesn't really work.

Run another Linux VM on the client. /s

Aren't there X servers for Windows? I remembered installing one on a locked down university computer for fun.

Re: Ask HN: My family business runs on a 1993-era text-based-UI (TUI). Anybody else?

#243
post #67

Earlier quoted context omitted.

Maybe in some cases. But largely, no, it really is not comparable. These TUI interfaces literally had 0 latency for any action. You could paste in text (from clipboard), with \t characters, and it would advance the input focus and could fill out an entire form with once paste action. There's a ton of real world cases where the browser is just too heavy to keep up with fast paced data entry. I've never once seen an ex…

It's totally possible to get this done with a web based SPA. Just get rid of all the fancy design, images, gradients, animations, and so on, and just focus on usability. The management needs to pick the right concept though, not the one with pretty and playful screenshots, but the one that focuses on the right KPIs (the 20 most common user flows need to take less than x seconds for an average user).

You can sure do that, but you are basically implementing a terminal in a website.

Re: Ask HN: My family business runs on a 1993-era text-based-UI (TUI). Anybody else?

#244

Earlier quoted context omitted.

How do I implement type-ahead in Qt or GTK application?

Not specifically for those but I have to assume the pattern would work: you could intercept the keystrokes in a parent window or an overlay, then forward them to the correct child window once it's rendered.

So you implement a rendering system and an input queue on top of a drawing region. Sounds like you are implementing a Terminal emulator.

Re: Ask HN: My family business runs on a 1993-era text-based-UI (TUI). Anybody else?

#245

I remember using a TUI for a Bank in the UK, and them switching to a web-based javascript system. Because the TUI forced keyboard interaction everyone was quick, and we could all fly through the screens finding what we wanted. One benefit was each screen was a fixed size and there was no scroll, so when you pressed the right incantation the answer you wanted appeared in the same portion of the screen every time. You…

Devil's advocate: There is one thing GUIs do better than TUIs: international text. Try to present on the same terminal screen text in Arabic and Japanese.

Just use gettext? The strings might vary in sizes, but when you are comfortable with the text resolution of the GUI, just set your Terminal to the same resolution and that problem is the same.

Re: Ask HN: My family business runs on a 1993-era text-based-UI (TUI). Anybody else?

#246

Many (most?) older retail businesses still use TUIs. They're reliable, consistent, and orders of magnitude faster than GUI systems. When I worked ar Sherwin Williams, I got good enough with the TUI that customers could rattle off their orders while I punch it into the computer in real time. It's absolutely crazy that a well designed TUI is so much faster. It turns out that if you never change the UI and every menu it…

Just the fact that you can use the keyboard is brilliant. I teach high school and most of my computing tasks are in lowest-bidder web GUI messes (lousy UX, no hotkeys) and take so much longer than a keyboard interface would. Even taking roll takes a minute or two longer than it used to.

So much of my work as a software engineer is done in shitty web UIs: trello, github, google gsuite, jira, gmail, calendar.

They are. So. Slow. Each and every one of them. Its awful

Re: Ask HN: My family business runs on a 1993-era text-based-UI (TUI). Anybody else?

#247
post #67

Earlier quoted context omitted.

It's totally possible to get this done with a web based SPA. Just get rid of all the fancy design, images, gradients, animations, and so on, and just focus on usability. The management needs to pick the right concept though, not the one with pretty and playful screenshots, but the one that focuses on the right KPIs (the 20 most common user flows need to take less than x seconds for an average user).

You can sure do that, but you are basically implementing a terminal in a website.

Lol, no. You can still use different font sizes, traditional controls that can also be used with a mouse (for people who don't know the shortcuts yet). Also images are possible where they make sense.

While using very common web development stacks a lot of developers know how to deal with.

Re: Ask HN: My family business runs on a 1993-era text-based-UI (TUI). Anybody else?

#249

I remember using a TUI for a Bank in the UK, and them switching to a web-based javascript system. Because the TUI forced keyboard interaction everyone was quick, and we could all fly through the screens finding what we wanted. One benefit was each screen was a fixed size and there was no scroll, so when you pressed the right incantation the answer you wanted appeared in the same portion of the screen every time. You…

Devil's advocate: There is one thing GUIs do better than TUIs: international text. Try to present on the same terminal screen text in Arabic and Japanese.

Not an issue with modern terminals and Unifont.

Re: Ask HN: My family business runs on a 1993-era text-based-UI (TUI). Anybody else?

#250
post #247

Earlier quoted context omitted.

You can sure do that, but you are basically implementing a terminal in a website.

Lol, no. You can still use different font sizes, traditional controls that can also be used with a mouse (for people who don't know the shortcuts yet). Also images are possible where they make sense. While using very common web development stacks a lot of developers know how to deal with.

I give you different font sizes, but a mouse and images are available in the Terminal as well.

I think the fancy new terminals also allow you to change the font.

Post reply on HN