This is against the latest SVN. It adds more readline bindings because I always hit ctrl+k :)
http://pastebin.com/YGLeNDQ3 It adds the following bindings: ctrl+k = kill from current point to the end of the line ctrl+u = kill from current point to the beginning of the line alt+b = go backward a word (here I took the liberty of defining a word as non-space because the Emacs definition will be confusing to non-Emacs users) alt+f = go forward a word (same definition of a word) ctrl+d = delete a character alt+u = uppercase a word alt+l = lowercase a word alt+c = capitalize the first letter and lowercase the rest of the word ctrl+del = backward kill a word ctrl+y = yank from the kill ring ctrl+t = transpose characters alt+d = forward kill a word The kill ring has a depth of one. Hey, it's better than nothing. I would also like to add ctrl+< and ctrl+> to go to the beginning/end of the history. It should also add a history item for the current text when you hit up in case you ever want to go back to the partial. It would be really nice to add Emacs style undo/redo support. This adds a lot of what is in libreadline but not everything. I'm not going to touch recording/playing back macros. It's unfortunate that Escape is already so integrated because I keep hitting escape since I'm used to that in Emacs. Anyway, hope someone out there enjoys. I added a number of OpenBSD implementations like strlcpy() and strlcat() instead of the ioquake3 written versions. I had to revert a number of changes because lcc barfed on the OpenBSD implementations even though gcc had no problem. _______________________________________________ ioquake3 mailing list ioquake3@lists.ioquake.org http://lists.ioquake.org/listinfo.cgi/ioquake3-ioquake.org By sending this message I agree to love ioquake3 and libsdl.