<p>Yes, using an escape sequence. Try something like this, which has the same
effect as using the <code>-fn</code> switch, and takes effect immediately:</p>
<pre>
- printf '\e]50;%s\007' "9x15bold,xft:Kochi Gothic"</pre>
+ printf '\33]50;%s\007' "9x15bold,xft:Kochi Gothic"</pre>
<p>This is useful if you e.g. work primarily with japanese (and prefer a
japanese font), but you have to switch to chinese temporarily, where
japanese fonts would only be in your way.</p>
<p>The best thing is to fix your startup environment, as you will likely run
into other problems. If nothing works you can try this in your .profile.</p>
<pre>
- printf '\e]701;%s\007' "$LC_CTYPE"</pre>
+ printf '\33]701;%s\007' "$LC_CTYPE"</pre>
<p>If this doesn't work, then maybe you use a <code>LC_CTYPE</code> specification not
supported on your systems. Some systems have a <code>locale</code> command which
displays this (also, <code>perl -e0</code> can be used to check locale settings, as
<p>Yes, using an escape sequence. Try something like this, which sets
rxvt-unicode's idea of <code>LC_CTYPE</code>.</p>
<pre>
- printf '\e]701;%s\007' ja_JP.SJIS</pre>
+ printf '\33]701;%s\007' ja_JP.SJIS</pre>
<p>See also the previous answer.</p>
<p>Sometimes this capability is rather handy when you want to work in
one locale (e.g. <code>de_DE.UTF-8</code>) but some programs don't support it
(e.g. UTF-8). For example, I use this script to start <code>xjdic</code>, which
first switches to a locale supported by xjdic and back later:</p>
<pre>
- printf '\e]701;%s\007' ja_JP.SJIS
+ printf '\33]701;%s\007' ja_JP.SJIS
xjdic -js
- printf '\e]701;%s\007' de_DE.UTF-8</pre>
+ printf '\33]701;%s\007' de_DE.UTF-8</pre>
<p>You can also use xterm's <code>luit</code> program, which usually works fine, except
for some locales where character width differs between program- and
rxvt-unicode-locales.</p>
.\" ========================================================================
.\"
.IX Title "rxvt 7"
-.TH rxvt 7 "2006-02-21" "7.7" "RXVT-UNICODE"
+.TH rxvt 7 "2006-02-22" "7.7" "RXVT-UNICODE"
.SH "NAME"
RXVT REFERENCE \- FAQ, command sequences and other background information
.SH "SYNOPSIS"
effect as using the \f(CW\*(C`\-fn\*(C'\fR switch, and takes effect immediately:
.PP
.Vb 1
-\& printf '\ee]50;%s\e007' "9x15bold,xft:Kochi Gothic"
+\& printf '\e33]50;%s\e007' "9x15bold,xft:Kochi Gothic"
.Ve
.PP
This is useful if you e.g. work primarily with japanese (and prefer a
into other problems. If nothing works you can try this in your .profile.
.PP
.Vb 1
-\& printf '\ee]701;%s\e007' "$LC_CTYPE"
+\& printf '\e33]701;%s\e007' "$LC_CTYPE"
.Ve
.PP
If this doesn't work, then maybe you use a \f(CW\*(C`LC_CTYPE\*(C'\fR specification not
rxvt\-unicode's idea of \f(CW\*(C`LC_CTYPE\*(C'\fR.
.PP
.Vb 1
-\& printf '\ee]701;%s\e007' ja_JP.SJIS
+\& printf '\e33]701;%s\e007' ja_JP.SJIS
.Ve
.PP
See also the previous answer.
first switches to a locale supported by xjdic and back later:
.PP
.Vb 3
-\& printf '\ee]701;%s\e007' ja_JP.SJIS
+\& printf '\e33]701;%s\e007' ja_JP.SJIS
\& xjdic -js
-\& printf '\ee]701;%s\e007' de_DE.UTF-8
+\& printf '\e33]701;%s\e007' de_DE.UTF-8
.Ve
.PP
You can also use xterm's \f(CW\*(C`luit\*(C'\fR program, which usually works fine, except
Yes, using an escape sequence. Try something like this, which has the same
effect as using the C<-fn> switch, and takes effect immediately:
- printf '\e]50;%s\007' "9x15bold,xft:Kochi Gothic"
+ printf '\33]50;%s\007' "9x15bold,xft:Kochi Gothic"
This is useful if you e.g. work primarily with japanese (and prefer a
japanese font), but you have to switch to chinese temporarily, where
The best thing is to fix your startup environment, as you will likely run
into other problems. If nothing works you can try this in your .profile.
- printf '\e]701;%s\007' "$LC_CTYPE"
+ printf '\33]701;%s\007' "$LC_CTYPE"
If this doesn't work, then maybe you use a C<LC_CTYPE> specification not
supported on your systems. Some systems have a C<locale> command which
Yes, using an escape sequence. Try something like this, which sets
rxvt-unicode's idea of C<LC_CTYPE>.
- printf '\e]701;%s\007' ja_JP.SJIS
+ printf '\33]701;%s\007' ja_JP.SJIS
See also the previous answer.
(e.g. UTF-8). For example, I use this script to start C<xjdic>, which
first switches to a locale supported by xjdic and back later:
- printf '\e]701;%s\007' ja_JP.SJIS
+ printf '\33]701;%s\007' ja_JP.SJIS
xjdic -js
- printf '\e]701;%s\007' de_DE.UTF-8
+ printf '\33]701;%s\007' de_DE.UTF-8
You can also use xterm's C<luit> program, which usually works fine, except
for some locales where character width differs between program- and
Yes, using an escape sequence. Try something like this, which has the
same effect as using the "-fn" switch, and takes effect immediately:
- printf '\e]50;%s\007' "9x15bold,xft:Kochi Gothic"
+ printf '\33]50;%s\007' "9x15bold,xft:Kochi Gothic"
This is useful if you e.g. work primarily with japanese (and prefer a
japanese font), but you have to switch to chinese temporarily, where
run into other problems. If nothing works you can try this in your
.profile.
- printf '\e]701;%s\007' "$LC_CTYPE"
+ printf '\33]701;%s\007' "$LC_CTYPE"
If this doesn't work, then maybe you use a "LC_CTYPE" specification not
supported on your systems. Some systems have a "locale" command which
Yes, using an escape sequence. Try something like this, which sets
rxvt-unicode's idea of "LC_CTYPE".
- printf '\e]701;%s\007' ja_JP.SJIS
+ printf '\33]701;%s\007' ja_JP.SJIS
See also the previous answer.
UTF-8). For example, I use this script to start "xjdic", which first
switches to a locale supported by xjdic and back later:
- printf '\e]701;%s\007' ja_JP.SJIS
+ printf '\33]701;%s\007' ja_JP.SJIS
xjdic -js
- printf '\e]701;%s\007' de_DE.UTF-8
+ printf '\33]701;%s\007' de_DE.UTF-8
You can also use xterm's "luit" program, which usually works fine,
except for some locales where character width differs between program-