Commits

Denilson Sá committed c54bc2d

Added more Unicode support to xterm.sh

Comments (0)

Files changed (1)

 #!/bin/bash
 #
 # Written by Denilson Figueiredo de Sa <denilsonsa@gmail.com>
+# 2011-10-13 - Added more unicode support.
 # 2008-01-16 - Added this changelog. :)
 # 2005-??-?? - First version written.
 
 # periodic tick.
 
 # -u8 is auto-detected if locale has UTF-8
-COMMON="-rv -ls +sb -sl 1000 +sm"
-NORMALSIZE="-font 6x13 -geometry 80x25"
+#COMMON="-rv -ls +sb -sl 1000 +sm"
+# Anyway, I'm adding the same options as uxterm wrapper:
+COMMON="-rv -ls +sb -sl 1000 +sm -class UXTerm -u8"
+#NORMALSIZE="-font 6x13 -geometry 80x25"
 #BIGSIZE="-font 10x20 -geometry 95x37+0+0"
-BIGSIZE="-font 10x20 -geometry 95x37"
+#BIGSIZE="-font 10x20 -geometry 95x37"
+# The following fonts were extracted from "UXTerm.ad", and supposedly support
+# unicode characters. But maybe I should just start using True Type fonts.
+NORMALSIZE="-geometry 80x25 -font -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1"
+BIGSIZE="-geometry 95x37 -font -misc-fixed-medium-r-normal--20-200-75-75-c-100-iso10646-1"
 
 SCRIPTNAME=`basename "$0"`
 
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.