3 ms·
I have a love-hate relationship with Readline. While it is good once learnt, it's really hard to learn. For beginners it's not obvious there is anything to lea
by CJefferson 7y ago
I have a love-hate relationship with Readline. While it is good once learnt, it's really hard to learn.
For beginners it's not obvious there is anything to learn, and even if they do want to know, you have to basically be told to Google for 'Readline'. It would be great if it could somehow be made more discoverable.
- gumby 7y agoBack when it was written Emacs was pretty popular (well, it had been the default around the lab for about a decade). So users would use it without noticing. The same reason the standard text widgets of Mac OS support Emacs commands.
- TheGrassyKnoll 7y agoFor starters, how about: $ man readline
- colejohnson66 7y agoMan pages are sometimes cryptic. When someone is first learning something, having all the details thrown in their face can be quite off-putting, at least for me
- zeckalpha 7y agoinfo readline instead perhaps
- kwk1 7y agoThat can't really be "for starters", because it requires one to already know of readline in order to pull up the manpage.
- cat199 7y agoagree. it's pretty well referenced in most shell documentation (checked bash and pdksh).. but then, well, you have to be someone who reads shell documentation.. of course, if you're not someone who reads shell documentation, then, well, how would you find a better reference anyway..
- zeke 7y agoWe need a program that logs sessions and tells us where we could have saved keystrokes. I think something like the script command to record my session along with a list of rules to look for, so when I backspace 8 times to delete a word it suggests C-w. Or when I arrow to the end of line it suggests C-e. I've been thinking about this for the past six months. If anyone has suggestions, let me know.
- gumby 7y agoYou need to run deep q learning on your bash history