Skip to content
Browse files

make xterm act like uxterm

  • Loading branch information...
1 parent 0f7d8f5 commit c3db2f5384c743a775d13cc36356cef5e9c9694f @majnemer committed with David Majnemer Jul 8, 2010
Showing with 11 additions and 1 deletion.
  1. +1 −1 Xresources
  2. +10 −0 commonsh/02_term
View
2 Xresources
@@ -3,8 +3,8 @@ Xft*dpi: 96
Xft*antialias: true
/* XTerm */
-XTerm*utf8: 1
XTerm*class: UXTerm
+XTerm*utf8: 1
XTerm*faceSize: 9
XTerm*faceName: Monospace
View
10 commonsh/02_term
@@ -1,5 +1,15 @@
#! /bin/sh
+# fix locale stuff
+if [ -z "${LC_ALL}" ] ; then
+ if ( command -v locale >/dev/null 2>&1 ) ; then
+ LC_ALL="en_US.UTF-8"
+ export LC_ALL
+
+ eval `locale`
+ fi
+fi
+
# terminal fallback stuff
fix_term ()
{

0 comments on commit c3db2f5

Please sign in to comment.
Something went wrong with that request. Please try again.