ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/cvsroot/rxvt-unicode/doc/rxvt.1.txt
(Generate patch)

Comparing cvsroot/rxvt-unicode/doc/rxvt.1.txt (file contents):
Revision 1.1 by root, Tue Jan 11 02:24:59 2005 UTC vs.
Revision 1.6 by root, Thu Feb 3 10:24:10 2005 UTC

4 4
5SYNOPSIS 5SYNOPSIS
6 rxvt [options] [-e command [ args ]] 6 rxvt [options] [-e command [ args ]]
7 7
8DESCRIPTION 8DESCRIPTION
9 rxvt-unicode, version 4.8, is a colour vt102 terminal emulator intended 9 rxvt-unicode, version 4.9, is a colour vt102 terminal emulator intended
10 as an *xterm*(1) replacement for users who do not require features such 10 as an *xterm*(1) replacement for users who do not require features such
11 as Tektronix 4014 emulation and toolkit-style configurability. As a 11 as Tektronix 4014 emulation and toolkit-style configurability. As a
12 result, rxvt-unicode uses much less swap space -- a significant 12 result, rxvt-unicode uses much less swap space -- a significant
13 advantage on a machine serving many X sessions. 13 advantage on a machine serving many X sessions.
14 14
118 Window foreground colour; resource foreground. 118 Window foreground colour; resource foreground.
119 119
120 -pixmap *file[;geom]* 120 -pixmap *file[;geom]*
121 Compile *XPM*: Specify XPM file for the background and also 121 Compile *XPM*: Specify XPM file for the background and also
122 optionally specify its scaling with a geometry string. Note you may 122 optionally specify its scaling with a geometry string. Note you may
123 need to add quotes to avoid special shell interpretation of the `;' 123 need to add quotes to avoid special shell interpretation of the ";"
124 in the command-line; resource backgroundPixmap. 124 in the command-line; resource backgroundPixmap.
125 125
126 -cr *colour* 126 -cr *colour*
127 The cursor colour; resource cursorColor. 127 The cursor colour; resource cursorColor.
128 128
277 277
278 -im *text* 278 -im *text*
279 Compile *XIM*: input method name. resource inputMethod. 279 Compile *XIM*: input method name. resource inputMethod.
280 280
281 -imlocale *string* 281 -imlocale *string*
282 The locale to use for opening the IM. You can use an LC_CTYPE of 282 The locale to use for opening the IM. You can use an "LC_CTYPE" of
283 e.g. de_DE.UTF-8 for normal text processing but ja_JP.EUC-JP for the 283 e.g. "de_DE.UTF-8" for normal text processing but "ja_JP.EUC-JP" for
284 input extension to be able to input japanese characters while 284 the input extension to be able to input japanese characters while
285 staying in another locale. 285 staying in another locale. resource imLocale.
286
287 -imfont *fontset*
288 Set the font set to use for the X Input Method, see resource imFont
289 for more info.
290
291 -tcw
292 Change the meaning of triple-click selection with the left mouse
293 button. Instead of selecting a full line it will extend the
294 selection the end of the logical line only. resource
295 tripleclickwords.
286 296
287 -insecure 297 -insecure
288 Enable "insecure" mode, which currently enables most of the escape 298 Enable "insecure" mode, which currently enables most of the escape
289 sequences that echo strings. See the resource insecure for more 299 sequences that echo strings. See the resource insecure for more
290 info. 300 info.
359 369
360 colorBD: *colour* 370 colorBD: *colour*
361 colorIT: *colour* 371 colorIT: *colour*
362 Use the specified colour to display bold or italic characters when 372 Use the specified colour to display bold or italic characters when
363 the foreground colour is the default. If font styles are not 373 the foreground colour is the default. If font styles are not
364 available (Compile styles) and this option is unset, reverse video 374 available (Compile *styles*) and this option is unset, reverse video
365 is used instead. 375 is used instead.
366 376
367 colorUL: *colour* 377 colorUL: *colour*
368 Use the specified colour to display underlined characters when the 378 Use the specified colour to display underlined characters when the
369 foreground colour is the default. 379 foreground colour is the default.
449 characters. The first font defines the cell size for characters; 459 characters. The first font defines the cell size for characters;
450 other fonts might be smaller, but not larger. A reasonable default 460 other fonts might be smaller, but not larger. A reasonable default
451 font list is always appended to it. option -fn. 461 font list is always appended to it. option -fn.
452 462
453 Each font can either be a standard X11 core font (XLFD) name, with 463 Each font can either be a standard X11 core font (XLFD) name, with
454 optional prefix "x:" or a Xft font (Compile xft), prefixed with 464 optional prefix "x:" or a Xft font (Compile *xft*), prefixed with
455 "xft:". 465 "xft:".
456 466
457 In addition, each font can be prefixed with additional hints and 467 In addition, each font can be prefixed with additional hints and
458 specifications enclosed in square brackets ("[]"). The only 468 specifications enclosed in square brackets ("[]"). The only
459 available hint currently is "codeset=codeset-name", and this is only 469 available hint currently is "codeset=codeset-name", and this is only
654 664
655 inputMethod: *name* 665 inputMethod: *name*
656 *name* of inputMethod to use; option -im. 666 *name* of inputMethod to use; option -im.
657 667
658 imLocale: *name* 668 imLocale: *name*
659 The locale to use for opening the IM. You can use an LC_CTYPE of 669 The locale to use for opening the IM. You can use an "LC_CTYPE" of
660 e.g. de_DE.UTF-8 for normal text processing but ja_JP.EUC-JP for the 670 e.g. "de_DE.UTF-8" for normal text processing but "ja_JP.EUC-JP" for
661 input extension to be able to input japanese characters while 671 the input extension to be able to input japanese characters while
662 staying in another locale. option -imlocale. 672 staying in another locale. option -imlocale.
673
674 imFont: *fontset*
675 Specify the font-set used for XIM styles "OverTheSpot" or
676 "OffTheSpot". It must be a standard X font set (XLFD patterns
677 separated by commas), i.e. it's not in the same format as the other
678 font lists used in rxvt. The default will be set-up to chose *any*
679 suitable found found, preferably one or two pixels differing in size
680 to the base font. option -imfont.
681
682 tripleclickwords: *boolean*
683 Change the meaning of triple-click selection with the left mouse
684 button. Instead of selecting a full line it will extend the
685 selection to the end of the logical line only. option -tcw.
663 686
664 insecure: *boolean* 687 insecure: *boolean*
665 Enables "insecure" mode. Rxvt-unicode offers some escape sequences 688 Enables "insecure" mode. Rxvt-unicode offers some escape sequences
666 that echo arbitrary strings like the icon name or the locale. This 689 that echo arbitrary strings like the icon name or the locale. This
667 could be abused if somebody gets 8-bit-clean access to your display, 690 could be abused if somebody gets 8-bit-clean access to your display,
690 option is enabled, scrolls on the secondary screen will change the 713 option is enabled, scrolls on the secondary screen will change the
691 scrollback buffer and switching to/from the secondary screen will 714 scrollback buffer and switching to/from the secondary screen will
692 instead scroll the screen up. 715 instead scroll the screen up.
693 716
694 keysym.*sym*: *string* 717 keysym.*sym*: *string*
695 Associate *string* with keysym *sym* (0xFF00 - 0xFFFF). It may 718 Compile *frills*: Associate *string* with keysym *sym*. The
696 contain escape values (\a: bell, \b: backspace, \e, \E: escape, \n:
697 newline, \r: return, \t: tab, \000: octal number) or control
698 characters (^?: delete, ^@: null, ^A ...) and may enclosed with
699 double quotes so that it can start or end with whitespace. The
700 intervening resource name keysym. cannot be omitted. This resource 719 intervening resource name keysym. cannot be omitted.
701 is only available when compiled with KEYSYM_RESOURCE. 720
721 The format of *sym* is "*(modifiers-)key*", where *modifiers* can be
722 any combination of ISOLevel3, AppKeypad, Control, NumLock, Shift,
723 Meta, Lock, Mod1, Mod2, Mod3, Mod4, Mod5, and the abbreviated I, K,
724 C, N, S, M, A, L, 1, 2, 3, 4, 5.
725
726 The NumLock, Meta and ISOLevel3 modifiers are usually aliased to
727 whatever modifier the NumLock key, Meta/Alt keys or ISO Level3
728 Shift/AltGr keys are being mapped. AppKeypad is a synthetic modifier
729 mapped to the current application keymap mode state.
730
731 The spellings of *key* can be obtained by using xev(1) command or
732 searching keysym macros from /usr/X11R6/include/X11/keysymdef.h and
733 omitting the prefix XK_. Alternatively you can specify *key* by its
734 hex keysym value (0x0000 - 0xFFFF). Note that the lookup of *sym*s
735 is not performed in an exact manner; however, the closest match is
736 assured.
737
738 *string* may contain escape values ("\a": bell, "\b": backspace,
739 "\e", "\E": escape, "\n": newline, "\r": carriage return, "\t": tab,
740 "\000": octal number) or verbatim control characters ("^?": delete,
741 "^@": null, "^A" ...) and may be enclosed with double quotes so that
742 it can start or end with whitespace.
743
744 You can define a range of keysyms in one shot by providing a
745 *string* with pattern list/PREFIX/MIDDLE/SUFFIX, where the delimeter
746 `/' should be a character not used by the strings.
747
748 Its usage can be demonstrated by an example:
749
750 URxvt.keysym.M-C-0x61: list|\e<M-C-|abc|>
751
752 The above line is equivalent to the following three lines:
753
754 URxvt.keysym.Meta-Control-0x61: \e<M-C-a>
755 URxvt.keysym.Meta-Control-0x62: \e<M-C-b>
756 URxvt.keysym.Meta-Control-0x63: \e<M-C-c>
757
758 If *string* takes the form of "proto:STRING", the specified STRING
759 is interpreted and executed as rxvt's control sequence. For example
760 the following means "change the current locale to "zh_CN.GBK" when
761 Control-Meta-c is being pressed":
762
763 URxvt.keysym.M-C-c: proto:\033]701;zh_CN.GBK\007
764
765 The following example will map Control-Meta-1 and Control-Meta-2 to
766 the fonts "suxuseuro" and "9x15bold", so you cna have some limited
767 font-switching at runtime:
768
769 URxvt.keysym.M-C-1: proto:\033]50;suxuseuro\007
770 URxvt.keysym.M-C-2: proto:\033]50;9x15bold\007
771
772 "proto:\033]701;zh_CN.GBK\007" means: change the current locale to
773 "zh_CN.GBK".
702 774
703THE SCROLLBAR 775THE SCROLLBAR
704 Lines of text that scroll off the top of the rxvt window (resource: 776 Lines of text that scroll off the top of the rxvt window (resource:
705 saveLines) and can be scrolled back using the scrollbar or by 777 saveLines) and can be scrolled back using the scrollbar or by
706 keystrokes. The normal rxvt scrollbar has arrows and its behaviour is 778 keystrokes. The normal rxvt scrollbar has arrows and its behaviour is
728 800
729 Selection: 801 Selection:
730 Left click at the beginning of the region, drag to the end of the 802 Left click at the beginning of the region, drag to the end of the
731 region and release; Right click to extend the marked region; Left 803 region and release; Right click to extend the marked region; Left
732 double-click to select a word; Left triple-click to select the 804 double-click to select a word; Left triple-click to select the
733 entire line. 805 entire logical line (which can span multiple screen lines), unless
806 modified by resource tripleclickwords.
734 807
735 Starting a selection while pressing the Meta key (or Meta+Ctrl keys) 808 Starting a selection while pressing the Meta key (or Meta+Ctrl keys)
736 (Compile: frills) will create a rectangular selection instead of a 809 (Compile: *frills*) will create a rectangular selection instead of a
737 normal one. 810 normal one.
738 811
739 Insertion: 812 Insertion:
740 Pressing and releasing the Middle mouse button (or Shift-Insert) in 813 Pressing and releasing the Middle mouse button (or Shift-Insert) in
741 an rxvt window causes the current text selection to be inserted as 814 an rxvt window causes the current text selection to be inserted as
758 character codes using the keyboard. It consists of 4 parts. The first 831 character codes using the keyboard. It consists of 4 parts. The first
759 part is available rxvt-unicode has been compiled with "--enable-frills", 832 part is available rxvt-unicode has been compiled with "--enable-frills",
760 the rest is available when rxvt-unicode was compiled with 833 the rest is available when rxvt-unicode was compiled with
761 "--enable-iso14755". 834 "--enable-iso14755".
762 835
763 5.1: Basic method 836 * 5.1: Basic method
764 This allows you to enter unicode characters using their hexcode. 837 This allows you to enter unicode characters using their hexcode.
765 838
766 Start by pressing and holding both "Control" and "Shift", then enter 839 Start by pressing and holding both "Control" and "Shift", then enter
767 hex-digits (between one and six). Releasing "Control" and "Shift" 840 hex-digits (between one and six). Releasing "Control" and "Shift"
768 will commit the character as if it were typed directly. While 841 will commit the character as if it were typed directly. While
774 address, which you cannot type. Fortunately, the card has the e-mail 847 address, which you cannot type. Fortunately, the card has the e-mail
775 address printed as hexcodes, e.g. "671d 65e5". You can enter this 848 address printed as hexcodes, e.g. "671d 65e5". You can enter this
776 easily by pressing "Control" and "Shift", followed by 849 easily by pressing "Control" and "Shift", followed by
777 "6-7-1-D-SPACE-6-5-E-5", followed by releasing the modifier keys. 850 "6-7-1-D-SPACE-6-5-E-5", followed by releasing the modifier keys.
778 851
779 5.2: Keyboard symbols entry method 852 * 5.2: Keyboard symbols entry method
780 This mode lets you input characters representing the keycap symbols 853 This mode lets you input characters representing the keycap symbols
781 of your keyboard, if representable in the current locale encoding. 854 of your keyboard, if representable in the current locale encoding.
782 855
783 Start by pressing "Control" and "Shift" together, then releasing 856 Start by pressing "Control" and "Shift" together, then releasing
784 them. The next special key (cursor keys, home etc.) you enter will 857 them. The next special key (cursor keys, home etc.) you enter will
786 corresponding keycap symbol. The symbol will only be entered when 859 corresponding keycap symbol. The symbol will only be entered when
787 the key has been released, otherwise pressing e.g. "Shift" would 860 the key has been released, otherwise pressing e.g. "Shift" would
788 enter the symbol for "ISO Level 2 Switch", although your intention 861 enter the symbol for "ISO Level 2 Switch", although your intention
789 might have been to enter a reverse tab (Shift-Tab). 862 might have been to enter a reverse tab (Shift-Tab).
790 863
791 5.3: Screen-selection entry method 864 * 5.3: Screen-selection entry method
792 While this is implemented already (it's basically the selection 865 While this is implemented already (it's basically the selection
793 mechanism), it could be extended by displaying a unicode character 866 mechanism), it could be extended by displaying a unicode character
794 map. 867 map.
795 868
796 5.4: Feedback method for identifying displayed characters for later 869 * 5.4: Feedback method for identifying displayed characters for later
797 input 870 input
798 This method lets you display the unicode character code associated 871 This method lets you display the unicode character code associated
799 with characters already displayed. 872 with characters already displayed.
800 873
801 You enter this mode by holding down "Control" and "Shift" together, 874 You enter this mode by holding down "Control" and "Shift" together,
813 both scenario A and B of ISO 14755, including part 5.2. 886 both scenario A and B of ISO 14755, including part 5.2.
814 887
815LOGIN STAMP 888LOGIN STAMP
816 rxvt tries to write an entry into the *utmp*(5) file so that it can be 889 rxvt tries to write an entry into the *utmp*(5) file so that it can be
817 seen via the *who(1)* command, and can accept messages. To allow this 890 seen via the *who(1)* command, and can accept messages. To allow this
818 feature, rxvt must be installed setuid root on some systems. 891 feature, rxvt may need to be installed setuid root on some systems or
892 setgid to root or to some other group on others.
819 893
820COLORS AND GRAPHICS 894COLORS AND GRAPHICS
821 In addition to the default foreground and background colours, rxvt can 895 In addition to the default foreground and background colours, rxvt can
822 display up to 16 colours (8 ANSI colours plus high-intensity bold/blink 896 display up to 16 colours (8 ANSI colours plus high-intensity bold/blink
823 versions of the same). Here is a list of the colours with their rgb.txt 897 versions of the same). Here is a list of the colours with their rgb.txt
862 rxvt window and it also uses and sets the environment variable DISPLAY 936 rxvt window and it also uses and sets the environment variable DISPLAY
863 to specify which display terminal to use. rxvt uses the environment 937 to specify which display terminal to use. rxvt uses the environment
864 variables RXVTPATH and PATH to find XPM files. 938 variables RXVTPATH and PATH to find XPM files.
865 939
866FILES 940FILES
867 /etc/utmp
868 System file for login records.
869
870 /usr/lib/X11/rgb.txt 941 /usr/lib/X11/rgb.txt
871 Color names. 942 Color names.
872 943
873SEE ALSO 944SEE ALSO
874 rxvt(7), xterm(1), sh(1), resize(1), X(1), pty(4), tty(4), utmp(5) 945 rxvt(7), xterm(1), sh(1), resize(1), X(1), pty(4), tty(4), utmp(5)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines