+ * `^H` (that is, Control+`H`) will delete one char to the left of the cursor position (also `backspace`)
+ * `^D` will delete one char to the right of the cursor position (but if you type it on a blank line it will quit the program you're running)
+ * `^W` will delete one word to the left of the cursor position (also `esc` followed by `backspace`, after releasing `esc`)
+ * `esc` + `D` will delete one word to the right of the cursor position
+ * `^U` will delete from the cursor position leftwards all the way to the start of the line
+ * `^K` will delete from the cursor position rightwards all the way to the end of the line
+ * Control+`-` will undo one editing command or sequence of typed characters
+ * `esc` + `R` will (usually) erase the whole line (undoing everything)
+ * `^A` moves the cursor to the start of the line
+ * `^E` moves the cursor to the end of the line
+ * `^B` and `^F` work like left and right arrows
+ * `esc` + `B` and `esc` + `F` move left and right a whole word at a time (on the Mac, Option-`left` and Option-`right` do the same)
+ * Control-`]`+`x` will move the cursor rightwards to the next `x` character on the line (similarly for other characters in place of `x`). You can do the same leftwards by typing `esc`+Control-`]`+`x`. You can move to the second-next `x` character by typing `esc`+`2`+Control-`]`+`x`. This is all pretty cumbersome.
+ * `^L` clears the screen
+ * `up`/`down` arrows let you scroll through previous lines you typed (also `^P` / `^N`)
+ * `^R` lets you search through previous lines you typed for a matching substring; to refine the search keep making the substring longer, or type `^R` again to find an earlier match. Type `esc` to exit the search and edit the currently showing command line. Type `^G` to exit the search with a blank command line.
+
+ If you create a file named `$HOME/.inputrc` with the contents:
+
+ set blink-matching-paren on
+
+ then you will get the further nice feature that when you type a close parenthesis, `rlwrap` will temporarily make the cursor jump to the matching open parenthesis, so that you can see how many close parentheses you need to type. If you want to further customize `rlwrap` or the above keycommands, you can read the documentation at `man rlwrap` and `man readline`, and also look into the Preferences of your Terminal program. (On the Mac, look under Terminal menu/Preferences/Keyboard tab.) This gets complicated quickly, but those are the places to start looking if you want to experiment. You should of course also read around on the web, rather than just changing these blindly.