Skip to content

Commit

Permalink
make xterm act like uxterm
Browse files Browse the repository at this point in the history
  • Loading branch information
majnemer authored and David Majnemer committed Jul 8, 2010
1 parent 0f7d8f5 commit c3db2f5
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Xresources
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ Xft*dpi: 96
Xft*antialias: true Xft*antialias: true


/* XTerm */ /* XTerm */
XTerm*utf8: 1
XTerm*class: UXTerm XTerm*class: UXTerm
XTerm*utf8: 1


XTerm*faceSize: 9 XTerm*faceSize: 9
XTerm*faceName: Monospace XTerm*faceName: Monospace
Expand Down
10 changes: 10 additions & 0 deletions commonsh/02_term
Original file line number Original file line Diff line number Diff line change
@@ -1,5 +1,15 @@
#! /bin/sh #! /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 # terminal fallback stuff
fix_term () fix_term ()
{ {
Expand Down

0 comments on commit c3db2f5

Please sign in to comment.