merged
authorOleksandr Gavenko <gavenkoa@gmail.com>
Tue, 16 Mar 2010 23:28:18 +0200
changeset 39 a46aeafca80c
parent 37 5d56427b59a4 (diff)
parent 38 76d2bf3ac7c3 (current diff)
child 40 b8185f03f364
merged
--- a/.Xdefaults	Mon Mar 15 22:41:03 2010 +0200
+++ b/.Xdefaults	Tue Mar 16 23:28:18 2010 +0200
@@ -20,6 +20,9 @@
 Rxvt*font: 7x14
 Rxvt*scrollBar: on
 Rxvt*saveLines: 5000
+! By default rxvt start shell without args, so it interactive. But if it also login shell
+! then ~/.bashrc will not be read. Awful!
+Rxvt*loginShell: false
 
 xpdf*initialZoom: width
 
--- a/.bashrc	Mon Mar 15 22:41:03 2010 +0200
+++ b/.bashrc	Tue Mar 16 23:28:18 2010 +0200
@@ -80,3 +80,11 @@
 
 # canonicalize path (including resolving symlinks)
 # alias realpath='readlink -f'
+
+# Special case for CYGWIN to properly display russian letters in rxvt.
+# Don't forget set in Windows SHELL=/bin/bash. If default SHELL is sh then .bashrc will not be read.
+if [ -n "$COMSPEC" ]; then
+  if [ x$OSTYPE = xcygwin ]; then
+    export LANG=ru_RU.CP1251
+  fi
+fi
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/.inputrc	Tue Mar 16 23:28:18 2010 +0200
@@ -0,0 +1,23 @@
+
+# I like this!
+set editing-mode emacs
+
+# Don't strip characters to 7 bits when reading.
+set input-meta on
+
+# Allow iso-latin1 characters to be inserted rather than converted to
+# prefix-meta sequences.
+set convert-meta off
+
+# Display characters with the eighth bit set directly rather than as
+# meta-prefixed characters.
+set output-meta on
+
+# First tab suggests ambiguous variants.
+set show-all-if-ambiguous on
+
+
+# Local Variables:
+# mode: shell-script
+# fill-column: 78
+# End:
--- a/Makefile	Mon Mar 15 22:41:03 2010 +0200
+++ b/Makefile	Tue Mar 16 23:28:18 2010 +0200
@@ -12,7 +12,7 @@
   host_os = windows
 endif
 
-ITEMS = .Xdefaults .bashrc .mailsign .xinitrc .mc .vimrc
+ITEMS = .Xdefaults .bashrc .mailsign .xinitrc .mc .vimrc .inputrc
 
 .PHONY: install
 install: