Entering text in the terminal is complicated
1–10 of 229 posts
Re: Entering text in the terminal is complicated
#2Re: Entering text in the terminal is complicated
#3Give me arrows, tab, Ctrl+(R/C/D/W) etc and its a great.
But I agree with the point that different systems have their own implementation which could lead to frustration.
I am working on set of servers only accessible through PAM and those admins don't allow anything. It gets so frustrating.
I feel a lot of the frustration also comes from shifting to unfamiliar environment. Like I work on those restricted servers and am cursing the admins, but when I switch to Ubuntu's terminal I am thanking the gods for liberation.
Re: Entering text in the terminal is complicated
#4Edit: more complete list here: https://jblevins.org/log/kbd
Edit 2: can't believe I forgot Ctrl-D, which is forward delete.
Re: Entering text in the terminal is complicated
#5Re: Entering text in the terminal is complicated
#6It took the author 15 years to learn basic readline commands?
Re: Entering text in the terminal is complicated
#7Re: Entering text in the terminal is complicated
#8The dash shell does in fact support an editing mode if compiled with libedit. Debian derivatives do not do so (likely for concerns of space). They very much should, as people who start with bash will have much to unlearn.
The POSIX standard also specifies "set -o vi" as an optional extension. Every shell claiming POSIX-compatibility must support set -o vi if the shell implements this editing mode (so ignore inputrc if it pleases you).
"[set -o] vi: Allow shell command line editing using the built-in vi editor. Enabling vi mode shall disable any other command line editing mode provided as an implementation extension."
https://pubs.opengroup.org/onlinepubs/9699919799/utilities/V...
Re: Entering text in the terminal is complicated
#9The closest thing I saw to what I have in mind is this: https://github.com/letoram/cat9/ but more in a way of interface.
Re: Entering text in the terminal is complicated
#10It took the author 15 years to learn basic readline commands?
Maybe it's a hyperbole? Dunno, doesn't really read that way.