3 ms·
> pagers I completely disagree with your argument there. Pagers are about more than just scrollback (eg quick regex navigation). Sure these things could be bui
by laumars 12y ago
> pagers
I completely disagree with your argument there. Pagers are about more than just scrollback (eg quick regex navigation). Sure these things could be built into your terminal emulator, but what's the point when pagers already do it so well?
In fact, I find myself moving away from being dependant on any specific terminal emulator and instead using tmux. So I'm very much of a different camp when it comes to arguments about where to add terminal features.
> linemode browser
That's still interactive so it's no better than lynx nor elinks with regards to the point you were making
> $EDITOR
How is launching a GUI program from the command line any better than running an ncurses program? All you're doing is engineering a complicated replacement solution for something that's already very easy. And lets not forget that launching X11 apps from the command line only works if you have specific envvars populated, which can be a pain if you ever need to su - user for any reason.
> SSH tunnelled HTTP monitoring tools
You can already do that if you want, but it's more overhead and complexity (both in terms of protocol and document markup) than running an ncurses monitoring tool - and for no practical benefits either.
> REPLs
"Beside that REPLs generally are mostly line-based to begin with, with the exception of readline."
I think you have that backwards. All REPLs are readline or similar - hence them being a language shell (Python, SQL, Lisp) and rather than just language one liners (eg awk, sed, Perl). I will grant you that terser languages tend to lend themselves better to REPL than the more verbose languges, but REPL doesn't require a syntax optimised for one liners - and nor are any language REPLs designed purely for one liners.
> "Where is the GUI equivalent of ncurses, both in simplicity and lightweightness?"
ncurses is the GUI equivalent. It might be seen as ugly to some because it uses character sprites instead of vectors and bitmaps, but it's still a basic graphic user interface.
> "I hope this comment, even with bit stream-of-consciousness tendencies, is more satisfactory to you."
Sorry, but no it doesn't. I'm all for the "many ways to do the same thing" philosophy, but you've completely ignored the KISS approach and decided to reinvent the wheel with significantly more complicated tools. The only benefit your solutions offer over the examples I'd given was that you can prove that these things can be done outside of the command line - which was never in question to begin with. However you've not addressed my points about the simplicity of these terminal-based applications. Instead you've kind of accidentally agreed with them given how "clunky" your alternatives are in comparison.