dot-emacs: Make the region show up in terminals.
[profile] / bash_profile
index 383acab..692efc2 100644 (file)
@@ -1,7 +1,5 @@
 # -*-sh-*-
 #
-# $Id: .profile,v 1.3 1997/01/09 20:30:23 mdw Exp $
-#
 # Bash startup things
 #
 
@@ -92,7 +90,13 @@ export QMAILINJECT=c
 # --- Find a text editor ---
 
 export MDW_EDITOR=ed
-for ed in mg "emacs22 -nw" "emacs21 -nw" "emacs -nw" vi pico nano ae; do
+emacs_startup_args="--no-site-file --mdw-fast-startup -nw"
+for ed in \
+       "emacs22 $emacs_startup_args" \
+       "emacs21 $emacs_startup_args" \
+       mg \
+       "emacs -nw" \
+       vi pico nano ae; do
   name=`echo $ed | sed 's/ .*$//'`
   if __mdw_programp "$name"; then
     MDW_EDITOR=$ed
@@ -144,6 +148,7 @@ case "$LC_CTYPE" in
   *) LESSCHARSET=latin1 ;;
 esac
 export LESSCHARSET
+export NCURSES_NO_UTF8_ACS=1
 # export MAKEFLAGS="-j4"
 [ "$TMPDIR" ] || eval `tmpdir -b`
 export TMP=$TMPDIR