News for hackers. Stuff that matters.
Re:Control-R, my favorite Unix shell command by hyp0 on Sunday May 18, 2014 @10:47PM (#7765444)
Me too. And not entering anything gives normal arrow up, so there's no loss.

BTW: ^r is a little more powerful: it is /string/ while this one is /^string/

BTW ^r annoyance: you can't type and then hit ^r. You have to hit ^r first. Seems easy to fix...

BTW tip: if you like readline features, consider rlwrap: it wraps its argument (which is your command) in readline. e.g. rlwrap python. Especially nice to wrap your own interactive cmdline tool.

Re:Control-R, my favorite Unix shell command by loevborg on Monday May 19, 2014 @04:43AM (#7766404)
Thanks for the tip on rlwrap, that looks really useful!