Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'How to paste Escape sequences in Terminal's preferences' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
How to paste Escape sequences in Terminal's preferences
Authored by: fds on Jan 22, '04 02:33:40PM
The Ctrl-arrow key combos are very useful.

I find it interesting that these are already in the global /etc/inputrc on Red Hat Linux / Fedora Core, and I'd assume most other Linux distros:


# for linux console and RH/Debian xterm
"\e[1~": beginning-of-line
"\e[4~": end-of-line
"\e[5~": beginning-of-history
"\e[6~": end-of-history
"\e[3~": delete-char
"\e[2~": quoted-insert
"\e[5C": forward-word
"\e[5D": backward-word
"\e\e[C": forward-word
"\e\e[D": backward-word
Strange that Panther doesn't seem to have a default inputrc file shipped by default.

[ Reply to This | # ]