… | |
… | |
218 | -set _NET_WM_WINDOW_OPACITY 0xc0000000 |
218 | -set _NET_WM_WINDOW_OPACITY 0xc0000000 |
219 | |
219 | |
220 | Then click on a window you want to make transparent. Replace 0xc0000000 |
220 | Then click on a window you want to make transparent. Replace 0xc0000000 |
221 | by other values to change the degree of opacity. If it doesn't work and |
221 | by other values to change the degree of opacity. If it doesn't work and |
222 | your server crashes, you got to keep the pieces. |
222 | your server crashes, you got to keep the pieces. |
223 | |
|
|
224 | Why do some chinese characters look so different than others? |
|
|
225 | This is because there is a difference between script and language -- |
|
|
226 | rxvt-unicode does not know which language the text that is output is, as |
|
|
227 | it only knows the unicode character codes. If rxvt-unicode first sees a |
|
|
228 | japanese/chinese character, it might choose a japanese font for display. |
|
|
229 | Subsequent japanese characters will use that font. Now, many chinese |
|
|
230 | characters aren't represented in japanese fonts, so when the first |
|
|
231 | non-japanese character comes up, rxvt-unicode will look for a chinese |
|
|
232 | font -- unfortunately at this point, it will still use the japanese font |
|
|
233 | for chinese characters that are also in the japanese font. |
|
|
234 | |
|
|
235 | The workaround is easy: just tag a chinese font at the end of your font |
|
|
236 | list (see the previous question). The key is to view the font list as a |
|
|
237 | preference list: If you expect more japanese, list a japanese font |
|
|
238 | first. If you expect more chinese, put a chinese font first. |
|
|
239 | |
|
|
240 | In the future it might be possible to switch language preferences at |
|
|
241 | runtime (the internal data structure has no problem with using different |
|
|
242 | fonts for the same character at the same time, but no interface for this |
|
|
243 | has been designed yet). |
|
|
244 | |
|
|
245 | Until then, you might get away with switching fonts at runtime (see "Can |
|
|
246 | I switch the fonts at runtime?" later in this document). |
|
|
247 | |
223 | |
248 | Why does rxvt-unicode sometimes leave pixel droppings? |
224 | Why does rxvt-unicode sometimes leave pixel droppings? |
249 | Most fonts were not designed for terminal use, which means that |
225 | Most fonts were not designed for terminal use, which means that |
250 | character size varies a lot. A font that is otherwise fine for terminal |
226 | character size varies a lot. A font that is otherwise fine for terminal |
251 | use might contain some characters that are simply too wide. Rxvt-unicode |
227 | use might contain some characters that are simply too wide. Rxvt-unicode |
… | |
… | |
404 | |
380 | |
405 | In that case, select a font of your taste and add it to the font list, |
381 | In that case, select a font of your taste and add it to the font list, |
406 | e.g.: |
382 | e.g.: |
407 | |
383 | |
408 | urxvt -fn basefont,font2,font3... |
384 | urxvt -fn basefont,font2,font3... |
409 | |
385 | |
410 | When rxvt-unicode sees a character, it will first look at the base font. |
386 | When rxvt-unicode sees a character, it will first look at the base font. |
411 | If the base font does not contain the character, it will go to the next |
387 | If the base font does not contain the character, it will go to the next |
412 | font, and so on. Specifying your own fonts will also speed up this |
388 | font, and so on. Specifying your own fonts will also speed up this |
413 | search and use less resources within rxvt-unicode and the X-server. |
389 | search and use less resources within rxvt-unicode and the X-server. |
414 | |
390 | |
415 | The only limitation is that none of the fonts may be larger than the |
391 | The only limitation is that none of the fonts may be larger than the |
416 | base font, as the base font defines the terminal character cell size, |
392 | base font, as the base font defines the terminal character cell size, |
417 | which must be the same due to the way terminals work. |
393 | which must be the same due to the way terminals work. |
|
|
394 | |
|
|
395 | Why do some chinese characters look so different than others? |
|
|
396 | This is because there is a difference between script and language -- |
|
|
397 | rxvt-unicode does not know which language the text that is output is, as |
|
|
398 | it only knows the unicode character codes. If rxvt-unicode first sees a |
|
|
399 | japanese/chinese character, it might choose a japanese font for display. |
|
|
400 | Subsequent japanese characters will use that font. Now, many chinese |
|
|
401 | characters aren't represented in japanese fonts, so when the first |
|
|
402 | non-japanese character comes up, rxvt-unicode will look for a chinese |
|
|
403 | font -- unfortunately at this point, it will still use the japanese font |
|
|
404 | for chinese characters that are also in the japanese font. |
|
|
405 | |
|
|
406 | The workaround is easy: just tag a chinese font at the end of your font |
|
|
407 | list (see the previous question). The key is to view the font list as a |
|
|
408 | preference list: If you expect more japanese, list a japanese font |
|
|
409 | first. If you expect more chinese, put a chinese font first. |
|
|
410 | |
|
|
411 | In the future it might be possible to switch language preferences at |
|
|
412 | runtime (the internal data structure has no problem with using different |
|
|
413 | fonts for the same character at the same time, but no interface for this |
|
|
414 | has been designed yet). |
|
|
415 | |
|
|
416 | Until then, you might get away with switching fonts at runtime (see "Can |
|
|
417 | I switch the fonts at runtime?" later in this document). |
418 | |
418 | |
419 | Keyboard, Mouse & User Interaction |
419 | Keyboard, Mouse & User Interaction |
420 | The new selection selects pieces that are too big, how can I select single words? |
420 | The new selection selects pieces that are too big, how can I select single words? |
421 | If you want to select e.g. alphanumeric words, you can use the following |
421 | If you want to select e.g. alphanumeric words, you can use the following |
422 | setting: |
422 | setting: |
… | |
… | |
936 | At the time of this writing, cygwin didn't seem to support any |
936 | At the time of this writing, cygwin didn't seem to support any |
937 | multi-byte encodings (you might try "LC_CTYPE=C-UTF-8"), so you are |
937 | multi-byte encodings (you might try "LC_CTYPE=C-UTF-8"), so you are |
938 | likely limited to 8-bit encodings. |
938 | likely limited to 8-bit encodings. |
939 | |
939 | |
940 | RXVT-UNICODE TECHNICAL REFERENCE |
940 | RXVT-UNICODE TECHNICAL REFERENCE |
941 | DESCRIPTION |
|
|
942 | The rest of this document describes various technical aspects of |
941 | The rest of this document describes various technical aspects of |
943 | rxvt-unicode. First the description of supported command sequences, |
942 | rxvt-unicode. First the description of supported command sequences, |
944 | followed by pixmap support and last by a description of all features |
943 | followed by pixmap support and last by a description of all features |
945 | selectable at "configure" time. |
944 | selectable at "configure" time. |
946 | |
945 | |
947 | Definitions |
946 | Definitions |
948 | "c" The literal character c. |
947 | "c" The literal character c. |
949 | |
948 | |
950 | "C" A single (required) character. |
949 | "C" A single (required) character. |
951 | |
950 | |
952 | "Ps" |
951 | "Ps" |
… | |
… | |
958 | numeric parameters, separated by ";" character(s). |
957 | numeric parameters, separated by ";" character(s). |
959 | |
958 | |
960 | "Pt" |
959 | "Pt" |
961 | A text parameter composed of printable characters. |
960 | A text parameter composed of printable characters. |
962 | |
961 | |
963 | Values |
962 | Values |
964 | "ENQ" |
963 | "ENQ" |
965 | Enquiry (Ctrl-E) = Send Device Attributes (DA) request attributes |
964 | Enquiry (Ctrl-E) = Send Device Attributes (DA) request attributes |
966 | from terminal. See "ESC [ Ps c". |
965 | from terminal. See "ESC [ Ps c". |
967 | |
966 | |
968 | "BEL" |
967 | "BEL" |
… | |
… | |
995 | Switch to Standard Character Set |
994 | Switch to Standard Character Set |
996 | |
995 | |
997 | "SPC" |
996 | "SPC" |
998 | Space Character |
997 | Space Character |
999 | |
998 | |
1000 | Escape Sequences |
999 | Escape Sequences |
1001 | "ESC # 8" |
1000 | "ESC # 8" |
1002 | DEC Screen Alignment Test (DECALN) |
1001 | DEC Screen Alignment Test (DECALN) |
1003 | |
1002 | |
1004 | "ESC 7" |
1003 | "ESC 7" |
1005 | Save Cursor (SC) |
1004 | Save Cursor (SC) |
… | |
… | |
1075 | C = C Finnish character set unimplemented |
1074 | C = C Finnish character set unimplemented |
1076 | C = K German character set unimplemented |
1075 | C = K German character set unimplemented |
1077 | |
1076 | |
1078 | |
1077 | |
1079 | |
1078 | |
1080 | CSI (Command Sequence Introducer) Sequences |
1079 | CSI (Command Sequence Introducer) Sequences |
1081 | "ESC [ Ps @" |
1080 | "ESC [ Ps @" |
1082 | Insert "Ps" (Blank) Character(s) [default: 1] (ICH) |
1081 | Insert "Ps" (Blank) Character(s) [default: 1] (ICH) |
1083 | |
1082 | |
1084 | "ESC [ Ps A" |
1083 | "ESC [ Ps A" |
1085 | Cursor Up "Ps" Times [default: 1] (CUU) |
1084 | Cursor Up "Ps" Times [default: 1] (CUU) |
… | |
… | |
1267 | "ESC [ Ps x" |
1266 | "ESC [ Ps x" |
1268 | Request Terminal Parameters (DECREQTPARM) |
1267 | Request Terminal Parameters (DECREQTPARM) |
1269 | |
1268 | |
1270 | |
1269 | |
1271 | |
1270 | |
1272 | DEC Private Modes |
1271 | DEC Private Modes |
1273 | "ESC [ ? Pm h" |
1272 | "ESC [ ? Pm h" |
1274 | DEC Private Mode Set (DECSET) |
1273 | DEC Private Mode Set (DECSET) |
1275 | |
1274 | |
1276 | "ESC [ ? Pm l" |
1275 | "ESC [ ? Pm l" |
1277 | DEC Private Mode Reset (DECRST) |
1276 | DEC Private Mode Reset (DECRST) |
… | |
… | |
1395 | h Use Alternate Screen Buffer - clear Alternate Screen Buffer if switching to it |
1394 | h Use Alternate Screen Buffer - clear Alternate Screen Buffer if switching to it |
1396 | l Use Normal Screen Buffer |
1395 | l Use Normal Screen Buffer |
1397 | |
1396 | |
1398 | |
1397 | |
1399 | |
1398 | |
1400 | XTerm Operating System Commands |
1399 | XTerm Operating System Commands |
1401 | "ESC ] Ps;Pt ST" |
1400 | "ESC ] Ps;Pt ST" |
1402 | Set XTerm Parameters. 8-bit ST: 0x9c, 7-bit ST sequence: ESC \ |
1401 | Set XTerm Parameters. 8-bit ST: 0x9c, 7-bit ST sequence: ESC \ |
1403 | (0x1b, 0x5c), backwards compatible terminator BEL (0x07) is also |
1402 | (0x1b, 0x5c), backwards compatible terminator BEL (0x07) is also |
1404 | accepted. any octet can be escaped by prefixing it with SYN (0x16, |
1403 | accepted. any octet can be escaped by prefixing it with SYN (0x16, |
1405 | ^V). |
1404 | ^V). |
… | |
… | |
1433 | Ps = 712 Set italic fontset to Pt. Similar to Ps = 50 (Compile styles). |
1432 | Ps = 712 Set italic fontset to Pt. Similar to Ps = 50 (Compile styles). |
1434 | Ps = 713 Set bold-italic fontset to Pt. Similar to Ps = 50 (Compile styles). |
1433 | Ps = 713 Set bold-italic fontset to Pt. Similar to Ps = 50 (Compile styles). |
1435 | Ps = 720 Move viewing window up by Pt lines, or clear scrollback buffer if Pt = 0 (Compile frills). |
1434 | Ps = 720 Move viewing window up by Pt lines, or clear scrollback buffer if Pt = 0 (Compile frills). |
1436 | Ps = 721 Move viewing window down by Pt lines, or clear scrollback buffer if Pt = 0 (Compile frills). |
1435 | Ps = 721 Move viewing window down by Pt lines, or clear scrollback buffer if Pt = 0 (Compile frills). |
1437 | Ps = 777 Call the perl extension with the given string, which should be of the form extension:parameters (Compile perl). |
1436 | Ps = 777 Call the perl extension with the given string, which should be of the form extension:parameters (Compile perl). |
1438 | |
|
|
1439 | |
|
|
1440 | |
1437 | |
1441 | XPM |
1438 | XPM |
1442 | For the XPM XTerm escape sequence "ESC ] 20 ; Pt ST" then value of "Pt" |
1439 | For the XPM XTerm escape sequence "ESC ] 20 ; Pt ST" then value of "Pt" |
1443 | can be the name of the background pixmap followed by a sequence of |
1440 | can be the name of the background pixmap followed by a sequence of |
1444 | scaling/positioning commands separated by semi-colons. The |
1441 | scaling/positioning commands separated by semi-colons. The |