ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/doc/rxvt.7.man.in
(Generate patch)

Comparing rxvt-unicode/doc/rxvt.7.man.in (file contents):
Revision 1.74 by root, Tue Feb 21 11:34:05 2006 UTC vs.
Revision 1.75 by root, Wed Feb 22 10:42:49 2006 UTC

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"
134RXVT REFERENCE \- FAQ, command sequences and other background information 134RXVT 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
477Yes, using an escape sequence. Try something like this, which has the same 477Yes, using an escape sequence. Try something like this, which has the same
478effect as using the \f(CW\*(C`\-fn\*(C'\fR switch, and takes effect immediately: 478effect 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
484This is useful if you e.g. work primarily with japanese (and prefer a 484This is useful if you e.g. work primarily with japanese (and prefer a
485japanese font), but you have to switch to chinese temporarily, where 485japanese font), but you have to switch to chinese temporarily, where
486japanese fonts would only be in your way. 486japanese fonts would only be in your way.
1236.PP 1236.PP
1237The best thing is to fix your startup environment, as you will likely run 1237The best thing is to fix your startup environment, as you will likely run
1238into other problems. If nothing works you can try this in your .profile. 1238into 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
1244If this doesn't work, then maybe you use a \f(CW\*(C`LC_CTYPE\*(C'\fR specification not 1244If this doesn't work, then maybe you use a \f(CW\*(C`LC_CTYPE\*(C'\fR specification not
1245supported on your systems. Some systems have a \f(CW\*(C`locale\*(C'\fR command which 1245supported on your systems. Some systems have a \f(CW\*(C`locale\*(C'\fR command which
1246displays this (also, \f(CW\*(C`perl \-e0\*(C'\fR can be used to check locale settings, as 1246displays this (also, \f(CW\*(C`perl \-e0\*(C'\fR can be used to check locale settings, as
1303.PP 1303.PP
1304Yes, using an escape sequence. Try something like this, which sets 1304Yes, using an escape sequence. Try something like this, which sets
1305rxvt\-unicode's idea of \f(CW\*(C`LC_CTYPE\*(C'\fR. 1305rxvt\-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
1311See also the previous answer. 1311See also the previous answer.
1312.PP 1312.PP
1313Sometimes this capability is rather handy when you want to work in 1313Sometimes this capability is rather handy when you want to work in
1314one locale (e.g. \f(CW\*(C`de_DE.UTF\-8\*(C'\fR) but some programs don't support it 1314one 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
1316first switches to a locale supported by xjdic and back later: 1316first 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
1324You can also use xterm's \f(CW\*(C`luit\*(C'\fR program, which usually works fine, except 1324You can also use xterm's \f(CW\*(C`luit\*(C'\fR program, which usually works fine, except
1325for some locales where character width differs between program\- and 1325for some locales where character width differs between program\- and
1326rxvt\-unicode\-locales. 1326rxvt\-unicode\-locales.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines