… | |
… | |
127 | .\} |
127 | .\} |
128 | .rm #[ #] #H #V #F C |
128 | .rm #[ #] #H #V #F C |
129 | .\" ======================================================================== |
129 | .\" ======================================================================== |
130 | .\" |
130 | .\" |
131 | .IX Title "rxvt 7" |
131 | .IX Title "rxvt 7" |
132 | .TH rxvt 7 "2006-02-21" "7.7" "RXVT-UNICODE" |
132 | .TH rxvt 7 "2006-02-22" "7.7" "RXVT-UNICODE" |
133 | .SH "NAME" |
133 | .SH "NAME" |
134 | RXVT REFERENCE \- FAQ, command sequences and other background information |
134 | RXVT REFERENCE \- FAQ, command sequences and other background information |
135 | .SH "SYNOPSIS" |
135 | .SH "SYNOPSIS" |
136 | .IX Header "SYNOPSIS" |
136 | .IX Header "SYNOPSIS" |
137 | .Vb 2 |
137 | .Vb 2 |
… | |
… | |
476 | .PP |
476 | .PP |
477 | Yes, using an escape sequence. Try something like this, which has the same |
477 | Yes, using an escape sequence. Try something like this, which has the same |
478 | effect as using the \f(CW\*(C`\-fn\*(C'\fR switch, and takes effect immediately: |
478 | effect as using the \f(CW\*(C`\-fn\*(C'\fR switch, and takes effect immediately: |
479 | .PP |
479 | .PP |
480 | .Vb 1 |
480 | .Vb 1 |
481 | \& printf '\ee]50;%s\e007' "9x15bold,xft:Kochi Gothic" |
481 | \& printf '\e33]50;%s\e007' "9x15bold,xft:Kochi Gothic" |
482 | .Ve |
482 | .Ve |
483 | .PP |
483 | .PP |
484 | This is useful if you e.g. work primarily with japanese (and prefer a |
484 | This is useful if you e.g. work primarily with japanese (and prefer a |
485 | japanese font), but you have to switch to chinese temporarily, where |
485 | japanese font), but you have to switch to chinese temporarily, where |
486 | japanese fonts would only be in your way. |
486 | japanese fonts would only be in your way. |
… | |
… | |
1236 | .PP |
1236 | .PP |
1237 | The best thing is to fix your startup environment, as you will likely run |
1237 | The best thing is to fix your startup environment, as you will likely run |
1238 | into other problems. If nothing works you can try this in your .profile. |
1238 | into other problems. If nothing works you can try this in your .profile. |
1239 | .PP |
1239 | .PP |
1240 | .Vb 1 |
1240 | .Vb 1 |
1241 | \& printf '\ee]701;%s\e007' "$LC_CTYPE" |
1241 | \& printf '\e33]701;%s\e007' "$LC_CTYPE" |
1242 | .Ve |
1242 | .Ve |
1243 | .PP |
1243 | .PP |
1244 | If this doesn't work, then maybe you use a \f(CW\*(C`LC_CTYPE\*(C'\fR specification not |
1244 | If this doesn't work, then maybe you use a \f(CW\*(C`LC_CTYPE\*(C'\fR specification not |
1245 | supported on your systems. Some systems have a \f(CW\*(C`locale\*(C'\fR command which |
1245 | supported on your systems. Some systems have a \f(CW\*(C`locale\*(C'\fR command which |
1246 | displays this (also, \f(CW\*(C`perl \-e0\*(C'\fR can be used to check locale settings, as |
1246 | displays this (also, \f(CW\*(C`perl \-e0\*(C'\fR can be used to check locale settings, as |
… | |
… | |
1303 | .PP |
1303 | .PP |
1304 | Yes, using an escape sequence. Try something like this, which sets |
1304 | Yes, using an escape sequence. Try something like this, which sets |
1305 | rxvt\-unicode's idea of \f(CW\*(C`LC_CTYPE\*(C'\fR. |
1305 | rxvt\-unicode's idea of \f(CW\*(C`LC_CTYPE\*(C'\fR. |
1306 | .PP |
1306 | .PP |
1307 | .Vb 1 |
1307 | .Vb 1 |
1308 | \& printf '\ee]701;%s\e007' ja_JP.SJIS |
1308 | \& printf '\e33]701;%s\e007' ja_JP.SJIS |
1309 | .Ve |
1309 | .Ve |
1310 | .PP |
1310 | .PP |
1311 | See also the previous answer. |
1311 | See also the previous answer. |
1312 | .PP |
1312 | .PP |
1313 | Sometimes this capability is rather handy when you want to work in |
1313 | Sometimes this capability is rather handy when you want to work in |
1314 | one locale (e.g. \f(CW\*(C`de_DE.UTF\-8\*(C'\fR) but some programs don't support it |
1314 | one locale (e.g. \f(CW\*(C`de_DE.UTF\-8\*(C'\fR) but some programs don't support it |
1315 | (e.g. \s-1UTF\-8\s0). For example, I use this script to start \f(CW\*(C`xjdic\*(C'\fR, which |
1315 | (e.g. \s-1UTF\-8\s0). For example, I use this script to start \f(CW\*(C`xjdic\*(C'\fR, which |
1316 | first switches to a locale supported by xjdic and back later: |
1316 | first switches to a locale supported by xjdic and back later: |
1317 | .PP |
1317 | .PP |
1318 | .Vb 3 |
1318 | .Vb 3 |
1319 | \& printf '\ee]701;%s\e007' ja_JP.SJIS |
1319 | \& printf '\e33]701;%s\e007' ja_JP.SJIS |
1320 | \& xjdic -js |
1320 | \& xjdic -js |
1321 | \& printf '\ee]701;%s\e007' de_DE.UTF-8 |
1321 | \& printf '\e33]701;%s\e007' de_DE.UTF-8 |
1322 | .Ve |
1322 | .Ve |
1323 | .PP |
1323 | .PP |
1324 | You can also use xterm's \f(CW\*(C`luit\*(C'\fR program, which usually works fine, except |
1324 | You can also use xterm's \f(CW\*(C`luit\*(C'\fR program, which usually works fine, except |
1325 | for some locales where character width differs between program\- and |
1325 | for some locales where character width differs between program\- and |
1326 | rxvt\-unicode\-locales. |
1326 | rxvt\-unicode\-locales. |