Earlier quoted context omitted.
Type-ahead works fine with single-threaded GUIs. It was rock solid in Windows 3.1. It worked in nearly all win32 apps because hardly anyone used threads other than for background tasks. But it's broken in most modern UI toolkits and on the web.
I'm dumbfounded when I type faster than the web browser can keep up and see the characters on the screen in a different order than I typed them.
Textual Web: TUIs for the Web
91–100 of 113 posts
Re: Textual Web: TUIs for the Web
#92Earlier quoted context omitted.
The only thing I think you're missing is that a browser is kind of a clunky dependency. It really wants you to use it for a certain kind of thing and although they can be tricked into doing other things, you and your users are always going to feel a bit of pressure to conform to the norms of the modern web. So if you're trying to avoid the mess that is the web these days, a TUI is really your whole "everything else"…
There is an easy way to write GUI apps that both look good and do not boil down to the lowest common denominator of 80s state-of-the-art: use something like SDL/GLFW, with an immediate mode UI toolkit on top. Lagrange ( https://gmi.skyjake.fi/lagrange/ ) is a beautiful app that (despite my ideological purism in favoring more "native" solutions) I find perfectly usable and pleasant to use.
Re: Textual Web: TUIs for the Web
#93Earlier quoted context omitted.
Agree, I’m also a fan of CLI. That’s why I developed a CLI brower ( https://sr.ht/~lioploum/offpunk/ ). When reading the title, I clicked hoping to see some alternatives or innovative solution to browse the web from a terminal. Turns out it’s the opposite : putting a terminal in a web browser.
Offpunk needs an option to open images with sxiv instead of displaying them inline.
When displaying an image, simply type "open" to open with an external program.
By default, it uses xdg-open but you can configure it in offpunk with:
> handler image/* sxiv %s
note that "open" works also with pages and will open the cached html pages in your browser. If you want to open the original page use "open url"
Re: Textual Web: TUIs for the Web
#94The idea is pretty cool, but I'm unsure of the mix of TUI and animation. Once you start going down the path of animations, layout, fonts, etc, you start just reinventing the web - but with extra steps. Personally I would cut complex animations (i.e. sub-character) and only have a single size monospace font. I would rip out CSS and go for maximum compatibility. (If something exists like that, please let me know!) Anot…
You can't cut of all the CSS; you likely want to honor things like `display: none`, and also colors, and preferably bold, italic, and underline.
Re: Textual Web: TUIs for the Web
#95Earlier quoted context omitted.
> I want something keyboard driven and command focused rather than UI element focused. I think we are in more agreement than you might suspect. Command-driven operation is how I tell a good UI from a poor UI. Good interfaces are intuitive for beginners and provide a smooth learning curve to mastery. Good way to get there is for the interface to remain simple and consistent on the surface, but unravel more specialized…
> It's all the things that make macOS UI so good Mac OS doesn't have access keys for the menu bar. Either someone assigns a keyboard shortcut, which you can use, or you have to use the key combo that focuses the menu bar and then arrow through the menus. The first time I got a Mac, I thought this was insane. When I sold my MacBook years later, I still thought it was insane, because it is. In contrast, the IBM Common…
Try Cmd+Shift+/ (aka Cmd+?) and typing a few letters of the command you want to invoke. It's pretty much the same mechanism that Emacs uses (C-x followed by the command name).
I'll admit it's not very discoverable.
> In contrast, the IBM Common User Access guidelines established that you can press Alt plus another key indicated by an underlined letter associated with a given menu option in order to open/select that option
First, Macs don't have an "Alt" key ;) But more importantly, CUA dates back to 1987, which is predated by the original 1984 Macintosh - which by that time already had established quite a few conventions of its own. I wouldn't blame it on Apple that they've stuck with their own conventions, their OS is arguably the most consistent one on the market thanks to that. Some people (hi) greatly value that consistency.
I think it could be argued either way about which convention is better, I'd say it boils down to preference.
Re: Textual Web: TUIs for the Web
#96This looks cool. How long would it take me to learn and get proficient with something like this? I would use it for email, JIRA tickets, reading github code, using the github/gitlab UI (as a TUI). Maybe even some google sheets. As I type this I now realize most of this is probably not possible :(
Things I've noticed are the debugging and logging experience are pretty good. You could have multiple processes dumping to different log files and grepping those.
There's a lot of formatting you can do with Python and the sister library Rich.
Have spent about 12 hours on it and it's much easier to get a UI running than say learning a flavor of the month JavaScript framework.
0: https://developer.atlassian.com/server/jira/platform/jira-re...
Re: Textual Web: TUIs for the Web
#97TUI is just a thinly disguised GUI. I mean it's pretty cool what they've done, but if it's effectively just an alternative graphical frontend (that happens to run in a terminal emulator), well I guess someone out there has a use case where they need to run this over an SSH session? Personally I find CLI ( not TUI) and/or client libraries a much more attractive proposition; otherwise a native application, that uses pr…
Raises hand.
I write a lot of internal tools for musicians (primarily film composers), many of which are primarily local but will be web-based once I put together the rest of the pieces of the pipeline. Being able to run the same interface as a local desktop app, or as a web app, or over an SSH connection, is a huge selling point to me.
Plus, I just honestly love the look. It's clean and simple with high information density. Totally my cup of tea.
IMO Textual/Rich is one of the coolest projects to come out in recent years.
Re: Textual Web: TUIs for the Web
#98I wrote a short example [1] that exposes a TUI game on the web. In theory, hot-seat terminal games should be playable over the web with this.
My current challenge has been around refreshing the screen for late joiners. I need to save some of the ANSI escape history and replay it to clients, or ask the application to redraw itself. If anyone has ideas on how to approach this i'm all ears.
Re: Textual Web: TUIs for the Web
#99The idea is pretty cool, but I'm unsure of the mix of TUI and animation. Once you start going down the path of animations, layout, fonts, etc, you start just reinventing the web - but with extra steps. Personally I would cut complex animations (i.e. sub-character) and only have a single size monospace font. I would rip out CSS and go for maximum compatibility. (If something exists like that, please let me know!) Anot…
I guess it's kinda like running over ssh? Or do you mean you hit an open unprotected port (telnet) and then the app takes care of setting up the SSL connection so you don't have to worry about SSH details?
Re: Textual Web: TUIs for the Web
#100The idea is pretty cool, but I'm unsure of the mix of TUI and animation. Once you start going down the path of animations, layout, fonts, etc, you start just reinventing the web - but with extra steps. Personally I would cut complex animations (i.e. sub-character) and only have a single size monospace font. I would rip out CSS and go for maximum compatibility. (If something exists like that, please let me know!) Anot…
You can't cut of all the CSS; you likely want to honor things like `display: none`, and also colors, and preferably bold, italic, and underline.