Re:Charm – Tools to make the command line glamorous
by divbzero on Sunday January 23, 2022 @03:40PM
(#30050212)
The dynamic intuitive interface provided by `ssh git.charm.sh` is a wonderful example of how text-based user interfaces do not need to be limited to REPL. I wonder if there is space for a new text-based web browser that adopts some of the design features showcased by Charm.
[ Parent
| on HN ]
Re:Charm – Tools to make the command line glamorous
by suction on Monday January 24, 2022 @02:39AM
(#30054596)
It surely is impressively well made. I am wondering though whether Charm actually qualifies as a text-based interface. Isn't it more like a replication of a graphical user interface, with windows and tabs etc.? If one's issues with working on the command line has always been that there are no "drawn" windows GUI elements, then this of course is a revelation, but we already have high-res versions of Charm, i.e. modern windows-based OSs.
Re:Charm – Tools to make the command line glamorous
by riquito on Monday January 24, 2022 @04:03AM
(#30055052)
There is no doubt, is a text based interface. The common term is text user interface (TUI vs GUI), and every app rendered as characters in a shell have been always considered TUI, whether they had windows, tabs, dropdowns and whatnot
Re:Charm – Tools to make the command line glamorous
by suction on Monday January 24, 2022 @04:20AM
(#30055171)
OK. Then I probably should have asked whether there is anything gained by "drawing" a GUI with characters.
Don't get me wrong, I spend most of my day on the command line. But I never thought "this would be so much better if it was more like windows / mac os".
Re:Charm – Tools to make the command line glamorous
by azeirah on Monday January 24, 2022 @06:38AM
(#30056326)
I do think so. Terminal applications tend to be really accessible.
Re:Charm – Tools to make the command line glamorous
by maccard on Monday January 24, 2022 @08:21AM
(#30057253)
You said accessible, so would you expect terminal applications to work with screen readers for example? What about localisation?
Re:Charm – Tools to make the command line glamorous
by azeirah on Monday January 24, 2022 @10:42AM
(#30059002)
I did not mean that kind of accessible. I mean easy to get, easy to install, easy to manage, easy to distribute.
Re:Charm – Tools to make the command line glamorous
by maccard on Monday January 24, 2022 @01:13PM
(#30061521)
apologies then! i dont understand how a tui app is necessarily get-able or installable or distributable. system package managers are more than capable of managing GUI apps, and a GUI can be distributed by uploading a zip to gh releases, just as a TUI app can be.
Re:Charm – Tools to make the command line glamorous
by krageon on Monday January 24, 2022 @08:37AM
(#30057394)
> would you expect terminal applications to work with screen readers for example
Can you explain to me any way in which they might not, bearing in mind they're basically text.
Re:Charm – Tools to make the command line glamorous
by riquito on Monday January 24, 2022 @09:30AM
(#30057979)
It's not automatic, any sufficiently complex interface will need to offer some kind of support. E.g. if your widget library offer dialogs, using e.g. ncurses, then TAB shouldn't allow you to flow out of such dialog. If you render graphic elements with special characters (dots, dashes or unusual glyphs), you would need to offer some hints to the screen reader to skip or identify differently that stuff. Just "read them out loud because is text" wouldn't work. It's been a long time since my last complex TUI so I don't know what's there today for accessibility
Re:Charm – Tools to make the command line glamorous
by maccard on Monday January 24, 2022 @01:15PM
(#30061555)
I did a quick Google for examples, and found this comment [0] on HN which gives some examples.
It being "basically text" doesn't matter; a pdf can be mostly just text but that doesn't mean in any shape or form that it's searchable.
Re:Charm – Tools to make the command line glamorous
by capableweb on Sunday January 23, 2022 @03:48PM
(#30050285)
> I wonder if there is space for a new text-based web browser that adopts some of the design features showcased by Charm
Not sure if you're aware, but older protocols are still around to be used for this use case, and Gopher has even had a bit of a resurgence as of late
Re:Charm – Tools to make the command line glamorous
by digisign on Sunday January 23, 2022 @04:33PM
(#30050647)
A Gemini client might benefit:
Re:Charm – Tools to make the command line glamorous
by makeworld on Sunday January 23, 2022 @07:15PM
(#30052118)
Not using Charm, but I've designed a TUI Gemini client in Go! It's pretty popular, for terminal clients at least.
Re:Charm – Tools to make the command line glamorous
by anthk on Monday January 24, 2022 @03:58AM
(#30055021)
I miss a search function, but thanks for your client.
I may write one a la av98, but with jimtcl instead of Python3.
It makes really easy to write networked stuff, either with
TLS or not. I wrote a finger client in minutes.