… | |
… | |
1151 | This forking is done as the very first within main(), which is very early |
1151 | This forking is done as the very first within main(), which is very early |
1152 | and reduces possible bugs to initialisation code run before main(), or |
1152 | and reduces possible bugs to initialisation code run before main(), or |
1153 | things like the dynamic loader of your system, which should result in very |
1153 | things like the dynamic loader of your system, which should result in very |
1154 | little risk. |
1154 | little risk. |
1155 | |
1155 | |
1156 | =head3 On Solaris 9, many line-drawing characters are too wide. |
|
|
1157 | |
|
|
1158 | Seems to be a known bug, read |
|
|
1159 | L<http://nixdoc.net/files/forum/about34198.html>. Some people use the |
|
|
1160 | following ugly workaround to get non-double-wide-characters working: |
|
|
1161 | |
|
|
1162 | #define wcwidth(x) wcwidth(x) > 1 ? 1 : wcwidth(x) |
|
|
1163 | |
|
|
1164 | =head3 I am on FreeBSD and rxvt-unicode does not seem to work at all. |
1156 | =head3 I am on FreeBSD and rxvt-unicode does not seem to work at all. |
1165 | |
1157 | |
1166 | Rxvt-unicode requires the symbol C<__STDC_ISO_10646__> to be defined |
1158 | Rxvt-unicode requires the symbol C<__STDC_ISO_10646__> to be defined |
1167 | in your compile environment, or an implementation that implements it, |
1159 | in your compile environment, or an implementation that implements it, |
1168 | whether it defines the symbol or not. C<__STDC_ISO_10646__> requires that |
1160 | whether it defines the symbol or not. C<__STDC_ISO_10646__> requires that |
… | |
… | |
1191 | |
1183 | |
1192 | The rxvt-unicode author insists that the right way to fix this is in the |
1184 | The rxvt-unicode author insists that the right way to fix this is in the |
1193 | system libraries once and for all, instead of forcing every app to carry |
1185 | system libraries once and for all, instead of forcing every app to carry |
1194 | complete replacements for them :) |
1186 | complete replacements for them :) |
1195 | |
1187 | |
1196 | =head3 I use Solaris 9 and it doesn't compile/work/etc. |
|
|
1197 | |
|
|
1198 | Try the diff in F<doc/solaris9.patch> as a base. It fixes the worst |
|
|
1199 | problems with C<wcwidth> and a compile problem. |
|
|
1200 | |
|
|
1201 | =head3 How can I use rxvt-unicode under cygwin? |
1188 | =head3 How can I use rxvt-unicode under cygwin? |
1202 | |
1189 | |
1203 | rxvt-unicode should compile and run out of the box on cygwin, using |
1190 | rxvt-unicode should compile and run out of the box on cygwin, using |
1204 | the X11 libraries that come with cygwin. libW11 emulation is no |
1191 | the X11 libraries that come with cygwin. libW11 emulation is no |
1205 | longer supported (and makes no sense, either, as it only supported a |
1192 | longer supported (and makes no sense, either, as it only supported a |
… | |
… | |
1208 | old libW11 emulation. |
1195 | old libW11 emulation. |
1209 | |
1196 | |
1210 | At the time of this writing, cygwin didn't seem to support any multi-byte |
1197 | At the time of this writing, cygwin didn't seem to support any multi-byte |
1211 | encodings (you might try C<LC_CTYPE=C-UTF-8>), so you are likely limited |
1198 | encodings (you might try C<LC_CTYPE=C-UTF-8>), so you are likely limited |
1212 | to 8-bit encodings. |
1199 | to 8-bit encodings. |
|
|
1200 | |
|
|
1201 | =head3 Character widths are not correct. |
|
|
1202 | |
|
|
1203 | urxvt uses the system wcwidth function to know the information about |
|
|
1204 | the width of characters, so on systems with incorrect locale data you |
|
|
1205 | will likely get bad results. Two notorious examples are Solaris 9, |
|
|
1206 | where single-width characters like U+2514 are reported as double-width, |
|
|
1207 | and Darwin 8, where combining chars are reported having width 1. |
|
|
1208 | |
|
|
1209 | The solution is to upgrade your system or switch to a better one. A |
|
|
1210 | possibly working workaround is to use a wcwidth implementation like |
|
|
1211 | |
|
|
1212 | http://www.cl.cam.ac.uk/~mgk25/ucs/wcwidth.c |
1213 | |
1213 | |
1214 | =head1 RXVT-UNICODE TECHNICAL REFERENCE |
1214 | =head1 RXVT-UNICODE TECHNICAL REFERENCE |
1215 | |
1215 | |
1216 | The rest of this document describes various technical aspects of |
1216 | The rest of this document describes various technical aspects of |
1217 | B<rxvt-unicode>. First the description of supported command sequences, |
1217 | B<rxvt-unicode>. First the description of supported command sequences, |