From 917b7a9ad964050b20dc4474c802e27e31c8a28d Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Fri, 17 Mar 2006 11:43:33 +0000 Subject: [PATCH] Xdefaults, inputrc: Make meta behaviour sane. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Follows my preferred policy: Meta sends escape before a character, and eight-bit things (particularly `£') are passed around as proper characters. --- Xdefaults | 2 ++ inputrc | 6 ++++++ setup | 2 +- 3 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 inputrc diff --git a/Xdefaults b/Xdefaults index 31331a2..ab6666a 100644 --- a/Xdefaults +++ b/Xdefaults @@ -46,6 +46,8 @@ XTerm*saveLines: 1000 XTerm*scrollTtyOutput: false XTerm*scrollKey: true XTerm*rightScrollBar: true +XTerm*metaSendsEscape: true +XTerm*eightBitInput: true XTerm*VT100*translations: #override \ : scroll-back(1,halfpage) \n\ diff --git a/inputrc b/inputrc new file mode 100644 index 0000000..277cb58 --- /dev/null +++ b/inputrc @@ -0,0 +1,6 @@ +### bash and friends, readline configuration + +## Eight-bit sensibleness +set input-meta on +set output-meta on +set convert-meta off diff --git a/setup b/setup index 71c114e..a55fb16 100755 --- a/setup +++ b/setup @@ -138,7 +138,7 @@ fi ### Symlink the various dotfiles into place dotfiles=" - bash_profile bash_logout bashrc + bash_profile bash_logout bashrc inputrc emacs emacs-calc vm mailrc lisp-init.lisp:.cmucl-init.lisp -- 2.11.0