Live data from Hacker News

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

news.ycombinator.com

151–160 of 299 posts

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

#151

I'm getting kind of old by tech standards (33), but when I was 16 (2007) I worked at a McDonalds franchise as a cashier, and their screens were TUI-based. I actually really hated it, because there was a six character limit meaning that most stuff had to be abbreviated. A double cheeseburger was "DBLCHZ", McNuggets were "MCNUGS", Fillets of Fish were "FIOFIS". I got used to it eventually, but learning was a huge pain…

It's unix command names for fast food!

chown MCNUGS, please!

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

#154

These certainly aren't forgotten, but I like: * `ranger` file manager: https://ranger.github.io/ * `ncdu` for visualising disk usage: https://dev.yorhel.nl/ncdu * `htop` process monitor: https://htop.dev/ I just find them very intuitive, and information-dense while not being overwhelming.

`ncdu` is the single best tool I've ever found for tracking down high-disk-usage directories deep in the filesystem. Run it with the `-x` flag to prevent it from crossing mounts.

Better than the kdirstat/windirstat family?

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

#155

Are there any tools to convert a TUI into a GUI?

When FoxPro made the transition to being graphical with Visual FoxPro, I'm pretty sure it took xbase programs that worked on consoles and made them work as a graphical application. Stuff like '@ 10, 10 SAY "First name:" that was originally written to display the string "First name:" on the 11th row (first one starts at 0) and 11th column of the terminal would now be translated into proportional pixel units graphically.

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

#156

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…

Back in the old days, the primary users of many mainframe UIs were the data entry team (almost universally female).

Sitting in large offices with rows of desks and a huge clock on the front wall, they weren't interacting with customers, they were transcribing from sales sheets, order forms, application forms, etc. prepared by someone else.

There was no great need for user friendliness, because the only users were in house, and they performed the same data entry hundreds of times every day.

The only need was for speed.

The arrival of the PC started changing everything, as people got familiar with the mouse and GUI.

Somehow mouse-based GUIs became the default for everything, which made a lot of sense as at the same time data entry was pushed out to the users themselves and intermediary data entry staff disappeared.

But if you want a fast, simple way to quickly perform common transactions even on very small screens, old school TUIs have a lot to learn from.

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

#157
They don't usually count as TUIs, but there are some great CLI programs, even for interactive use. Perhaps the classic example beyond the usual is the MH mail handling system, which is still maintained as nmh [0]. Instead of a single monolith like thunderbird, mutt, or mailx, it consists of multiple commands that list mails, show them, let you compose new ones, etc, and keeps all intermediate state on the filesystem which makes it very easy to back up or do anything with using the usual file management commands. Mblaze [1] is a more modern implementation of a similar concept that uses amildirs, and it's how I interact with my emails these days.

There are also programs that function more similar to "monoliths" but still act like a shell or repl as far as accepting commands and executing them. Clifm [2] is one example, it's the only file manager I seriously tried using before giving up and returning to ls and friends. If you have vi or any of its discendents odds are you can run them in "ex" mode where you use them similar to the good old ed. Speaking of ed, edbrowse [3] is a browser with an ed-like interface that can also read mail (and no I'm not making it up. An interesting thing about it (well, at least one of them) is that one can define "functions" which are pretty similar to functions in sh. For example, this is a function to search something on searx:

``` function+gg { db0 b https://searx.be/ // i=~0 db1 /start search/i i2* /h1/ } ```

While this can certainly be done in a conventional browser using userscripts or such, I'd argue that this sort of function is easier to write because most of it is something you were doing already, and now you're just putting it in a shorthand, where in a userscript you'd probably have to use a lot of getElementById()s to do it, which besides being more verbose is very different to how you think about the problem.

[0]: https://www.nongnu.org/nmh/ [1]: https://github.com/leahneukirchen/mblaze [2]: https://leo-arch.github.io/clifm/ [3]: https://edbrowse.org/

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

#159

I'm getting kind of old by tech standards (33), but when I was 16 (2007) I worked at a McDonalds franchise as a cashier, and their screens were TUI-based. I actually really hated it, because there was a six character limit meaning that most stuff had to be abbreviated. A double cheeseburger was "DBLCHZ", McNuggets were "MCNUGS", Fillets of Fish were "FIOFIS". I got used to it eventually, but learning was a huge pain…

It's unix command names for fast food! chown MCNUGS, please!

I can't remember all of them, but the abbreviations sort of became a running joke amongst me and my coworkers; specifically we would use them for nicknames of managers we didn't like.

None of them were vulgar or anything, but for example we had taken to calling one of the managers "McNugs" because he stole a bunch of chicken nuggets (like literally a whole box, not just one or two from the line), tried to claim that the workers did it, and we actually needed to get the security footage to exonerate us, and surprisingly he wasn't fired for it. We all started calling him McNugs, which he absolutely hated, but I think he was afraid to do anything about it because he was already on thin ice for trying to frame us.

I might have them written down somewhere, I'll have to look.

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

#160

I personally love TUI software, you don't have to worry about GUI toolkits, mouse focused interaction, you can run them remotely over SSH, they're often composable, and composability is much easier, and who doesn't like the hackerman aesthetic? Some things I don't like about modern TUIs is developers getting away from the purpose of them, portability. Often you'll find really beautiful TUIs that require installation…

What do you mean when you say that gnuplot is a GUI program?

It's a graphical interface as opposed to running inside a terminal.
Post reply on HN