Live data from Hacker News

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

news.ycombinator.com

31–40 of 299 posts

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

#31
post #10
post #6

In stark contrast to most GNU/*nix tools, I really liked MS-DOS's edit.com text editor. Unlike emacs or vim or even nano, it didn't have a bunch of invisible shortcut keys, just a Windows-like drop-down menu system (but rendered in DOS). You could easily browse through the menu hierarchy, but still memorize certain shortcuts that you often use (just like Windows). In later versions you could even use the mouse to sel…

Not only that, I found it much easier to create TUIs on DOS than on a UN*X system. I still have a hard time with curses. Zortech c on DOS had a small set of screen functions, disp_*(). These are enhanced printf(), scanf(), getc() type functions by adding cursor positioning on an 80x25 screen. Pretty basic but you could create nice applications with these basic functions in Zortech c. Granted, on DOS the screen size d…

> "easier to create TUIs on DOS than on a UN*X system"

That's because DOS (well, the IBM PC really) had a memory-mapped text mode display buffer instead of terminal emulation.

So much easier to fill a screen rapidly and do partial updates, scrolling, moving windows etc. when you can just do pointer arithmetic and memcpy.

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

#35
post #12

https://github.com/jonas/tig is one of the first things I install on a new dev machine. It's a really nice UI for staging files or hunks. Since it's just a companion to the git CLI, it feels much more focused than full-blown git GUIs, and doesn't do anything magical.

Sounds like something comparable to LazyGit. https://github.com/jesseduffield/lazygit

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

#38
post #12

https://github.com/jonas/tig is one of the first things I install on a new dev machine. It's a really nice UI for staging files or hunks. Since it's just a companion to the git CLI, it feels much more focused than full-blown git GUIs, and doesn't do anything magical.

yes I do too. I do wish its ui navigation was a bit more 'humane'. more often than not I end up switching to next commit instead of next page.

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

#39
post #24

quite a few great examples on this thread. I'll add lazygit ( https://github.com/jesseduffield/lazygit ) for doing git stuff, and fx ( https://github.com/antonmedv/fx ) for working with JSONs.

lazydocker [0] is by the same author as lazygit. I'm thoroughly familiar with the Docker CLI, but sometimes it's just easier to use a GUI or TUI for some things. In particular, I use lazydocker for cleaning up volumes or images that may no longer be needed.

[0] https://github.com/jesseduffield/lazydocker

Post reply on HN