… | |
… | |
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-01-11" "6.3" "RXVT-UNICODE" |
132 | .TH rxvt 7 "2006-01-16" "7.0" "RXVT-UNICODE" |
133 | .SH "NAME" |
133 | .SH "NAME" |
134 | RXVT REFERENCE \- FAQ, command sequences and other background information |
134 | RXVT 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 |
… | |
… | |
156 | The newest version of this document is |
156 | The newest version of this document is |
157 | also available on the World Wide Web at |
157 | also available on the World Wide Web at |
158 | <http://cvs.schmorp.de/browse/*checkout*/rxvt\-unicode/doc/rxvt.7.html>. |
158 | <http://cvs.schmorp.de/browse/*checkout*/rxvt\-unicode/doc/rxvt.7.html>. |
159 | .SH "FREQUENTLY ASKED QUESTIONS" |
159 | .SH "FREQUENTLY ASKED QUESTIONS" |
160 | .IX Header "FREQUENTLY ASKED QUESTIONS" |
160 | .IX Header "FREQUENTLY ASKED QUESTIONS" |
|
|
161 | .IP "The new selection selects pieces that are too big, how can I select single words?" 4 |
|
|
162 | .IX Item "The new selection selects pieces that are too big, how can I select single words?" |
|
|
163 | Yes. For example, if you want to select alphanumeric words, you can use |
|
|
164 | the following resource: |
|
|
165 | .Sp |
|
|
166 | .Vb 1 |
|
|
167 | \& URxvt.selection.pattern-0: ([[:word:]]+) |
|
|
168 | .Ve |
|
|
169 | .Sp |
|
|
170 | If you click more than twice, the selection will be extended |
|
|
171 | more and more. |
|
|
172 | .Sp |
|
|
173 | To get a selection that is very similar to the old code, try this pattern: |
|
|
174 | .Sp |
|
|
175 | .Vb 1 |
|
|
176 | \& URxvt.selection.pattern-0: ([^"&'()*,;<=>?@[\e\e\e\e]^`{|})]+) |
|
|
177 | .Ve |
|
|
178 | .Sp |
|
|
179 | Please also note that the \fILeftClick Shift-LeftClik\fR combination also |
|
|
180 | selects words like the old code. |
|
|
181 | .IP "I don't like the new selection/popups/hotkeys/perl, how do I change/disable it?" 4 |
|
|
182 | .IX Item "I don't like the new selection/popups/hotkeys/perl, how do I change/disable it?" |
|
|
183 | You can disable the perl extension completely by setting the |
|
|
184 | \&\fBperl-ext-common\fR resource to the empty string, which also keeps |
|
|
185 | rxvt-unicode from initialising perl, saving memory. |
|
|
186 | .Sp |
|
|
187 | If you only want to disable specific features, you first have to |
|
|
188 | identify which perl extension is responsible. For this, read the section |
|
|
189 | \&\fB\s-1PREPACKAGED\s0 \s-1EXTENSIONS\s0\fR in the @@RXVT_NAME@@\fIperl\fR\|(3) manpage. For |
|
|
190 | example, to disable the \fBselection-popup\fR and \fBoption-popup\fR, specify |
|
|
191 | this \fBperl-ext-common\fR resource: |
|
|
192 | .Sp |
|
|
193 | .Vb 1 |
|
|
194 | \& URxvt.perl-ext-common: default,-selection-popup,-option-popup |
|
|
195 | .Ve |
|
|
196 | .Sp |
|
|
197 | This will keep the default extensions, but disable the two popup |
|
|
198 | extensions. Some extensions can also be configured, for example, |
|
|
199 | scrollback search mode is triggered by \fBM\-s\fR. You can move it to any |
|
|
200 | other combination either by setting the \fBsearchable-scrollback\fR resource: |
|
|
201 | .Sp |
|
|
202 | .Vb 1 |
|
|
203 | \& URxvt.searchable-scrollback: CM-s |
|
|
204 | .Ve |
161 | .IP "Isn't rxvt supposed to be small? Don't all those features bloat?" 4 |
205 | .IP "Isn't rxvt supposed to be small? Don't all those features bloat?" 4 |
162 | .IX Item "Isn't rxvt supposed to be small? Don't all those features bloat?" |
206 | .IX Item "Isn't rxvt supposed to be small? Don't all those features bloat?" |
163 | I often get asked about this, and I think, no, they didn't cause extra |
207 | I often get asked about this, and I think, no, they didn't cause extra |
164 | bloat. If you compare a minimal rxvt and a minimal urxvt, you can see |
208 | bloat. If you compare a minimal rxvt and a minimal urxvt, you can see |
165 | that the urxvt binary is larger (due to some encoding tables always being |
209 | that the urxvt binary is larger (due to some encoding tables always being |
… | |
… | |
288 | one with \f(CW\*(C`\-\-disable\-everything\*(C'\fR (very useful) and a maximal one with |
332 | one with \f(CW\*(C`\-\-disable\-everything\*(C'\fR (very useful) and a maximal one with |
289 | \&\f(CW\*(C`\-\-enable\-everything\*(C'\fR (less useful, it will be very big due to a lot of |
333 | \&\f(CW\*(C`\-\-enable\-everything\*(C'\fR (less useful, it will be very big due to a lot of |
290 | encodings built-in that increase download times and are rarely used). |
334 | encodings built-in that increase download times and are rarely used). |
291 | .IP "I need to make it setuid/setgid to support utmp/ptys on my \s-1OS\s0, is this safe?" 4 |
335 | .IP "I need to make it setuid/setgid to support utmp/ptys on my \s-1OS\s0, is this safe?" 4 |
292 | .IX Item "I need to make it setuid/setgid to support utmp/ptys on my OS, is this safe?" |
336 | .IX Item "I need to make it setuid/setgid to support utmp/ptys on my OS, is this safe?" |
293 | Likely not. While I honestly try to make it secure, and am probably |
337 | Likely not. While I honestly try to make it secure, and am probably not |
294 | not bad at it, I think it is simply unreasonable to expect all of |
338 | bad at it, I think it is simply unreasonable to expect all of freetype |
295 | freetype + fontconfig + xft + xlib + ... + rxvt-unicode itself to all be |
339 | + fontconfig + xft + xlib + perl + ... + rxvt-unicode itself to all be |
296 | secure. Also, rxvt-unicode disables some options when it detects that it |
340 | secure. Also, rxvt-unicode disables some options when it detects that it |
297 | runs setuid or setgid, which is not nice. |
341 | runs setuid or setgid, which is not nice. Besides, with the embedded perl |
|
|
342 | interpreter the possibility for security problems easily multiplies. |
298 | .Sp |
343 | .Sp |
299 | Elevated privileges are only required for utmp and pty operations on some |
344 | Elevated privileges are only required for utmp and pty operations on some |
300 | systems (for example, GNU/Linux doesn't need any extra privileges for |
345 | systems (for example, GNU/Linux doesn't need any extra privileges for |
301 | ptys, but some need it for utmp support). If rxvt-unicode doesn't support |
346 | ptys, but some need it for utmp support). It is planned to mvoe this into |
302 | the library/setuid helper that your \s-1OS\s0 needs I'll be happy to assist you |
347 | a forked handler process, but this is not yet done. |
303 | in implementing support for it. |
|
|
304 | .Sp |
348 | .Sp |
305 | So, while setuid/setgid operation is supported and not a problem on your |
349 | So, while setuid/setgid operation is supported and not a problem on your |
306 | typical single-user-no-other-logins unix desktop, always remember that |
350 | typical single-user-no-other-logins unix desktop, always remember that |
307 | its an awful lot of code, most of which isn't checked for security issues |
351 | its an awful lot of code, most of which isn't checked for security issues |
308 | regularly. |
352 | regularly. |
… | |
… | |
783 | .IX Item "Mouse cut/paste suddenly no longer works." |
827 | .IX Item "Mouse cut/paste suddenly no longer works." |
784 | Make sure that mouse reporting is actually turned off since killing |
828 | Make sure that mouse reporting is actually turned off since killing |
785 | some editors prematurely may leave the mouse in mouse report mode. I've |
829 | some editors prematurely may leave the mouse in mouse report mode. I've |
786 | heard that tcsh may use mouse reporting unless it otherwise specified. A |
830 | heard that tcsh may use mouse reporting unless it otherwise specified. A |
787 | quick check is to see if cut/paste works when the Alt or Shift keys are |
831 | quick check is to see if cut/paste works when the Alt or Shift keys are |
788 | depressed. See @@RXVT_NAME@@(7) |
832 | depressed. |
789 | .IP "What's with this bold/blink stuff?" 4 |
833 | .IP "What's with this bold/blink stuff?" 4 |
790 | .IX Item "What's with this bold/blink stuff?" |
834 | .IX Item "What's with this bold/blink stuff?" |
791 | If no bold colour is set via \f(CW\*(C`colorBD:\*(C'\fR, bold will invert text using the |
835 | If no bold colour is set via \f(CW\*(C`colorBD:\*(C'\fR, bold will invert text using the |
792 | standard foreground colour. |
836 | standard foreground colour. |
793 | .Sp |
837 | .Sp |
… | |
… | |
888 | \& # use Backspace = ^? |
932 | \& # use Backspace = ^? |
889 | \& $ stty erase ^? |
933 | \& $ stty erase ^? |
890 | \& $ @@RXVT_NAME@@ |
934 | \& $ @@RXVT_NAME@@ |
891 | .Ve |
935 | .Ve |
892 | .Sp |
936 | .Sp |
893 | Toggle with \f(CW\*(C`ESC [ 36 h\*(C'\fR / \f(CW\*(C`ESC [ 36 l\*(C'\fR as documented in @@RXVT_NAME@@(7). |
937 | Toggle with \f(CW\*(C`ESC [ 36 h\*(C'\fR / \f(CW\*(C`ESC [ 36 l\*(C'\fR. |
894 | .Sp |
938 | .Sp |
895 | For an existing rxvt\-unicode: |
939 | For an existing rxvt\-unicode: |
896 | .Sp |
940 | .Sp |
897 | .Vb 3 |
941 | .Vb 3 |
898 | \& # use Backspace = ^H |
942 | \& # use Backspace = ^H |
… | |
… | |
1572 | l l . |
1616 | l l . |
1573 | h Send Mouse X & Y on button press. |
1617 | h Send Mouse X & Y on button press. |
1574 | l No mouse reporting. |
1618 | l No mouse reporting. |
1575 | .TE |
1619 | .TE |
1576 | |
1620 | |
1577 | .ie n .IP "\fB\fB""Ps = 10""\fB\fR (\fBrxvt\fR)" 4 |
|
|
1578 | .el .IP "\fB\f(CBPs = 10\fB\fR (\fBrxvt\fR)" 4 |
|
|
1579 | .IX Item "Ps = 10 (rxvt)" |
|
|
1580 | .TS |
|
|
1581 | l l . |
|
|
1582 | h menuBar visible |
|
|
1583 | l menuBar invisible |
|
|
1584 | .TE |
|
|
1585 | |
|
|
1586 | .ie n .IP "\fB\fB""Ps = 25""\fB\fR" 4 |
1621 | .ie n .IP "\fB\fB""Ps = 25""\fB\fR" 4 |
1587 | .el .IP "\fB\f(CBPs = 25\fB\fR" 4 |
1622 | .el .IP "\fB\f(CBPs = 25\fB\fR" 4 |
1588 | .IX Item "Ps = 25" |
1623 | .IX Item "Ps = 25" |
1589 | .TS |
1624 | .TS |
1590 | l l . |
1625 | l l . |
… | |
… | |
1783 | Ps = 46 Change Log File to Pt unimplemented |
1818 | Ps = 46 Change Log File to Pt unimplemented |
1784 | Ps = 49 Change default background colour to Pt. |
1819 | Ps = 49 Change default background colour to Pt. |
1785 | Ps = 50 Set fontset to Pt, with the following special values of Pt (rxvt) #+n change up n #-n change down n if n is missing of 0, a value of 1 is used empty change to font0 n change to font n |
1820 | Ps = 50 Set fontset to Pt, with the following special values of Pt (rxvt) #+n change up n #-n change down n if n is missing of 0, a value of 1 is used empty change to font0 n change to font n |
1786 | Ps = 55 Log all scrollback buffer and all of screen to Pt |
1821 | Ps = 55 Log all scrollback buffer and all of screen to Pt |
1787 | Ps = 701 Change current locale to Pt, or, if Pt is ?, return the current locale (Compile frills). |
1822 | Ps = 701 Change current locale to Pt, or, if Pt is ?, return the current locale (Compile frills). |
1788 | Ps = 703 Menubar command Pt (Compile menubar). |
|
|
1789 | Ps = 704 Change colour of italic characters to Pt |
1823 | Ps = 704 Change colour of italic characters to Pt |
1790 | Ps = 705 Change background pixmap tint colour to Pt (Compile transparency). |
1824 | Ps = 705 Change background pixmap tint colour to Pt (Compile transparency). |
1791 | Ps = 706 Change colour of bold characters to Pt |
1825 | Ps = 706 Change colour of bold characters to Pt |
1792 | Ps = 707 Change colour of underlined characters to Pt |
1826 | Ps = 707 Change colour of underlined characters to Pt |
1793 | Ps = 710 Set normal fontset to Pt. Same as Ps = 50. |
1827 | Ps = 710 Set normal fontset to Pt. Same as Ps = 50. |
… | |
… | |
1799 | Ps = 777 Call the perl extension with the given string, which should be of the form extension:parameters (Compile perl). |
1833 | Ps = 777 Call the perl extension with the given string, which should be of the form extension:parameters (Compile perl). |
1800 | .TE |
1834 | .TE |
1801 | |
1835 | |
1802 | .PP |
1836 | .PP |
1803 | |
1837 | |
1804 | .IX Xref "menuBar" |
1838 | .IX Xref "XPM" |
1805 | .SH "menuBar" |
|
|
1806 | .IX Header "menuBar" |
|
|
1807 | \&\fBThe exact syntax used is \f(BIalmost\fB solidified.\fR |
|
|
1808 | In the menus, \fB\s-1DON\s0'T\fR try to use menuBar commands that add or remove a |
|
|
1809 | menuBar. |
|
|
1810 | .PP |
|
|
1811 | Note that in all of the commands, the \fB\f(BI/path/\fB\fR \fIcannot\fR be |
|
|
1812 | omitted: use \fB./\fR to specify a menu relative to the current menu. |
|
|
1813 | .Sh "Overview of menuBar operation" |
|
|
1814 | .IX Subsection "Overview of menuBar operation" |
|
|
1815 | For the menuBar XTerm escape sequence \f(CW\*(C`ESC ] 703 ; Pt ST\*(C'\fR, the syntax |
|
|
1816 | of \f(CW\*(C`Pt\*(C'\fR can be used for a variety of tasks: |
|
|
1817 | .PP |
|
|
1818 | At the top level is the current menuBar which is a member of a circular |
|
|
1819 | linked-list of other such menuBars. |
|
|
1820 | .PP |
|
|
1821 | The menuBar acts as a parent for the various drop-down menus, which in |
|
|
1822 | turn, may have labels, separator lines, menuItems and subMenus. |
|
|
1823 | .PP |
|
|
1824 | The menuItems are the useful bits: you can use them to mimic keyboard |
|
|
1825 | input or even to send text or escape sequences back to rxvt. |
|
|
1826 | .PP |
|
|
1827 | The menuBar syntax is intended to provide a simple yet robust method of |
|
|
1828 | constructing and manipulating menus and navigating through the |
|
|
1829 | menuBars. |
|
|
1830 | .PP |
|
|
1831 | The first step is to use the tag \fB[menu:\f(BIname\fB]\fR which creates |
|
|
1832 | the menuBar called \fIname\fR and allows access. You may now or menus, |
|
|
1833 | subMenus, and menuItems. Finally, use the tag \fB[done]\fR to set the |
|
|
1834 | menuBar access as \fBreadonly\fR to prevent accidental corruption of the |
|
|
1835 | menus. To re-access the current menuBar for alterations, use the tag |
|
|
1836 | \&\fB[menu]\fR, make the alterations and then use \fB[done]\fR |
|
|
1837 | .PP |
|
|
1838 | |
|
|
1839 | .IX Xref "menuBarCommands" |
|
|
1840 | .Sh "Commands" |
|
|
1841 | .IX Subsection "Commands" |
|
|
1842 | .IP "\fB[menu:+\f(BIname\fB]\fR" 4 |
|
|
1843 | .IX Item "[menu:+name]" |
|
|
1844 | access the named menuBar for creation or alteration. If a new menuBar |
|
|
1845 | is created, it is called \fIname\fR (max of 15 chars) and the current |
|
|
1846 | menuBar is pushed onto the stack |
|
|
1847 | .IP "\fB[menu]\fR" 4 |
|
|
1848 | .IX Item "[menu]" |
|
|
1849 | access the current menuBar for alteration |
|
|
1850 | .IP "\fB[title:+\f(BIstring\fB]\fR" 4 |
|
|
1851 | .IX Item "[title:+string]" |
|
|
1852 | set the current menuBar's title to \fIstring\fR, which may contain the |
|
|
1853 | following format specifiers: |
|
|
1854 | .Sp |
|
|
1855 | .Vb 3 |
|
|
1856 | \& B<%n> rxvt name (as per the B<-name> command-line option) |
|
|
1857 | \& B<%v> rxvt version |
|
|
1858 | \& B<%%> literal B<%> character |
|
|
1859 | .Ve |
|
|
1860 | .IP "\fB[done]\fR" 4 |
|
|
1861 | .IX Item "[done]" |
|
|
1862 | set menuBar access as \fBreadonly\fR. |
|
|
1863 | End-of-file tag for \fB[read:+\f(BIfile\fB]\fR operations. |
|
|
1864 | .IP "\fB[read:+\f(BIfile\fB]\fR" 4 |
|
|
1865 | .IX Item "[read:+file]" |
|
|
1866 | read menu commands directly from \fIfile\fR (extension \*(L".menu\*(R" will be |
|
|
1867 | appended if required.) Start reading at a line with \fB[menu]\fR or \fB[menu:+\f(BIname\fB\fR and continuing until \fB[done]\fR is encountered. |
|
|
1868 | .Sp |
|
|
1869 | Blank and comment lines (starting with \fB#\fR) are ignored. Actually, |
|
|
1870 | since any invalid menu commands are also ignored, almost anything could |
|
|
1871 | be construed as a comment line, but this may be tightened up in the |
|
|
1872 | future ... so don't count on it!. |
|
|
1873 | .IP "\fB[read:+\f(BIfile\fB;+\f(BIname\fB]\fR" 4 |
|
|
1874 | .IX Item "[read:+file;+name]" |
|
|
1875 | The same as \fB[read:+\f(BIfile\fB]\fR, but start reading at a line with |
|
|
1876 | \&\fB[menu:+\f(BIname\fB]\fR and continuing until \fB[done:+\f(BIname\fB]\fR or |
|
|
1877 | \&\fB[done]\fR is encountered. |
|
|
1878 | .IP "\fB[dump]\fR" 4 |
|
|
1879 | .IX Item "[dump]" |
|
|
1880 | dump all menuBars to the file \fB/tmp/rxvt\-PID\fR in a format suitable for |
|
|
1881 | later rereading. |
|
|
1882 | .IP "\fB[rm:name]\fR" 4 |
|
|
1883 | .IX Item "[rm:name]" |
|
|
1884 | remove the named menuBar |
|
|
1885 | .IP "\fB[rm] [rm:]\fR" 4 |
|
|
1886 | .IX Item "[rm] [rm:]" |
|
|
1887 | remove the current menuBar |
|
|
1888 | .IP "\fB[rm*] [rm:*]\fR" 4 |
|
|
1889 | .IX Item "[rm*] [rm:*]" |
|
|
1890 | remove all menuBars |
|
|
1891 | .IP "\fB[swap]\fR" 4 |
|
|
1892 | .IX Item "[swap]" |
|
|
1893 | swap the top two menuBars |
|
|
1894 | .IP "\fB[prev]\fR" 4 |
|
|
1895 | .IX Item "[prev]" |
|
|
1896 | access the previous menuBar |
|
|
1897 | .IP "\fB[next]\fR" 4 |
|
|
1898 | .IX Item "[next]" |
|
|
1899 | access the next menuBar |
|
|
1900 | .IP "\fB[show]\fR" 4 |
|
|
1901 | .IX Item "[show]" |
|
|
1902 | Enable display of the menuBar |
|
|
1903 | .IP "\fB[hide]\fR" 4 |
|
|
1904 | .IX Item "[hide]" |
|
|
1905 | Disable display of the menuBar |
|
|
1906 | .IP "\fB[pixmap:+\f(BIname\fB]\fR" 4 |
|
|
1907 | .IX Item "[pixmap:+name]" |
|
|
1908 | .PD 0 |
|
|
1909 | .IP "\fB[pixmap:+\f(BIname\fB;\f(BIscaling\fB]\fR" 4 |
|
|
1910 | .IX Item "[pixmap:+name;scaling]" |
|
|
1911 | .PD |
|
|
1912 | (set the background pixmap globally |
|
|
1913 | .Sp |
|
|
1914 | \&\fBA Future implementation \f(BImay\fB make this local to the menubar\fR) |
|
|
1915 | .IP "\fB[:+\f(BIcommand\fB:]\fR" 4 |
|
|
1916 | .IX Item "[:+command:]" |
|
|
1917 | ignore the menu readonly status and issue a \fIcommand\fR to or a menu or |
|
|
1918 | menuitem or change the ; a useful shortcut for setting the quick arrows |
|
|
1919 | from a menuBar. |
|
|
1920 | .PP |
|
|
1921 | |
|
|
1922 | .IX Xref "menuBarAdd" |
|
|
1923 | .Sh "Adding and accessing menus" |
|
|
1924 | .IX Subsection "Adding and accessing menus" |
|
|
1925 | The following commands may also be \fB+\fR prefixed. |
|
|
1926 | .IP "\fB/+\fR" 4 |
|
|
1927 | .IX Item "/+" |
|
|
1928 | access menuBar top level |
|
|
1929 | .IP "\fB./+\fR" 4 |
|
|
1930 | .IX Item "./+" |
|
|
1931 | access current menu level |
|
|
1932 | .IP "\fB../+\fR" 4 |
|
|
1933 | .IX Item "../+" |
|
|
1934 | access parent menu (1 level up) |
|
|
1935 | .IP "\fB../../\fR" 4 |
|
|
1936 | .IX Item "../../" |
|
|
1937 | access parent menu (multiple levels up) |
|
|
1938 | .IP "\fB\f(BI/path/\fBmenu\fR" 4 |
|
|
1939 | .IX Item "/path/menu" |
|
|
1940 | add/access menu |
|
|
1941 | .IP "\fB\f(BI/path/\fBmenu/*\fR" 4 |
|
|
1942 | .IX Item "/path/menu/*" |
|
|
1943 | add/access menu and clear it if it exists |
|
|
1944 | .IP "\fB\f(BI/path/\fB{\-}\fR" 4 |
|
|
1945 | .IX Item "/path/{-}" |
|
|
1946 | add separator |
|
|
1947 | .IP "\fB\f(BI/path/\fB{item}\fR" 4 |
|
|
1948 | .IX Item "/path/{item}" |
|
|
1949 | add \fBitem\fR as a label |
|
|
1950 | .IP "\fB\f(BI/path/\fB{item} action\fR" 4 |
|
|
1951 | .IX Item "/path/{item} action" |
|
|
1952 | add/alter \fImenuitem\fR with an associated \fIaction\fR |
|
|
1953 | .IP "\fB\f(BI/path/\fB{item}{right\-text}\fR" 4 |
|
|
1954 | .IX Item "/path/{item}{right-text}" |
|
|
1955 | add/alter \fImenuitem\fR with \fBright-text\fR as the right-justified text |
|
|
1956 | and as the associated \fIaction\fR |
|
|
1957 | .IP "\fB\f(BI/path/\fB{item}{rtext} action\fR" 4 |
|
|
1958 | .IX Item "/path/{item}{rtext} action" |
|
|
1959 | add/alter \fImenuitem\fR with an associated \fIaction\fR and with \fBrtext\fR as |
|
|
1960 | the right-justified text. |
|
|
1961 | .IP "Special characters in \fIaction\fR must be backslash\-escaped:" 4 |
|
|
1962 | .IX Item "Special characters in action must be backslash-escaped:" |
|
|
1963 | \&\fB\ea \eb \eE \ee \en \er \et \eoctal\fR |
|
|
1964 | .IP "or in control-character notation:" 4 |
|
|
1965 | .IX Item "or in control-character notation:" |
|
|
1966 | \&\fB^@, ^A .. ^Z .. ^_, ^?\fR |
|
|
1967 | .PP |
|
|
1968 | To send a string starting with a \fB\s-1NUL\s0\fR (\fB^@\fR) character to the |
|
|
1969 | program, start \fIaction\fR with a pair of \fB\s-1NUL\s0\fR characters (\fB^@^@\fR), |
|
|
1970 | the first of which will be stripped off and the balance directed to the |
|
|
1971 | program. Otherwise if \fIaction\fR begins with \fB\s-1NUL\s0\fR followed by |
|
|
1972 | non\-+\fB\s-1NUL\s0\fR characters, the leading \fB\s-1NUL\s0\fR is stripped off and the |
|
|
1973 | balance is sent back to rxvt. |
|
|
1974 | .PP |
|
|
1975 | As a convenience for the many Emacs-type editors, \fIaction\fR may start |
|
|
1976 | with \fBM\-\fR (eg, \fBM\-$\fR is equivalent to \fB\eE$\fR) and a \fB\s-1CR\s0\fR will be |
|
|
1977 | appended if missed from \fBM\-x\fR commands. |
|
|
1978 | .PP |
|
|
1979 | As a convenience for issuing XTerm \fB\s-1ESC\s0 ]\fR sequences from a menubar (or |
|
|
1980 | quick arrow), a \fB\s-1BEL\s0\fR (\fB^G\fR) will be appended if needed. |
|
|
1981 | .IP "For example," 4 |
|
|
1982 | .IX Item "For example," |
|
|
1983 | \&\fBM\-xapropos\fR is equivalent to \fB\eExapropos\er\fR |
|
|
1984 | .IP "and" 4 |
|
|
1985 | .IX Item "and" |
|
|
1986 | \&\fB\eE]703;mona;100\fR is equivalent to \fB\eE]703;mona;100\ea\fR |
|
|
1987 | .PP |
|
|
1988 | The option \fB{\f(BIright-rtext\fB}\fR will be right\-justified. In the |
|
|
1989 | absence of a specified action, this text will be used as the \fIaction\fR |
|
|
1990 | as well. |
|
|
1991 | .IP "For example," 4 |
|
|
1992 | .IX Item "For example," |
|
|
1993 | \&\fB/File/{Open}{^X^F}\fR is equivalent to \fB/File/{Open}{^X^F} ^X^F\fR |
|
|
1994 | .PP |
|
|
1995 | The left label \fIis\fR necessary, since it's used for matching, but |
|
|
1996 | implicitly hiding the left label (by using same name for both left and |
|
|
1997 | right labels), or explicitly hiding the left label (by preceeding it |
|
|
1998 | with a dot), makes it possible to have right-justified text only. |
|
|
1999 | .IP "For example," 4 |
|
|
2000 | .IX Item "For example," |
|
|
2001 | \&\fB/File/{Open}{Open} Open-File-Action\fR |
|
|
2002 | .IP "or hiding it" 4 |
|
|
2003 | .IX Item "or hiding it" |
|
|
2004 | \&\fB/File/{.anylabel}{Open} Open-File-Action\fR |
|
|
2005 | .PP |
|
|
2006 | |
|
|
2007 | .IX Xref "menuBarRemove" |
|
|
2008 | .Sh "Removing menus" |
|
|
2009 | .IX Subsection "Removing menus" |
|
|
2010 | .IP "\fB\-/*+\fR" 4 |
|
|
2011 | .IX Item "-/*+" |
|
|
2012 | remove all menus from the menuBar, the same as \fB[clear]\fR |
|
|
2013 | .IP "\fB\-+\f(BI/path\fBmenu+\fR" 4 |
|
|
2014 | .IX Item "-+/pathmenu+" |
|
|
2015 | remove menu |
|
|
2016 | .IP "\fB\-+\f(BI/path\fB{item}+\fR" 4 |
|
|
2017 | .IX Item "-+/path{item}+" |
|
|
2018 | remove item |
|
|
2019 | .IP "\fB\-+\f(BI/path\fB{\-}\fR" 4 |
|
|
2020 | .IX Item "-+/path{-}" |
|
|
2021 | remove separator) |
|
|
2022 | .IP "\fB\-/path/menu/*\fR" 4 |
|
|
2023 | .IX Item "-/path/menu/*" |
|
|
2024 | remove all items, separators and submenus from menu |
|
|
2025 | .PP |
|
|
2026 | |
|
|
2027 | .IX Xref "menuBarArrows" |
|
|
2028 | .Sh "Quick Arrows" |
|
|
2029 | .IX Subsection "Quick Arrows" |
|
|
2030 | The menus also provide a hook for \fIquick arrows\fR to provide easier |
|
|
2031 | user access. If nothing has been explicitly set, the default is to |
|
|
2032 | emulate the curror keys. The syntax permits each arrow to be altered |
|
|
2033 | individually or all four at once without re-entering their common |
|
|
2034 | beginning/end text. For example, to explicitly associate cursor actions |
|
|
2035 | with the arrows, any of the following forms could be used: |
|
|
2036 | .IP "\fB<r>+\f(BIRight\fB\fR" 4 |
|
|
2037 | .IX Item "<r>+Right" |
|
|
2038 | .PD 0 |
|
|
2039 | .IP "\fB<l>+\f(BILeft\fB\fR" 4 |
|
|
2040 | .IX Item "<l>+Left" |
|
|
2041 | .IP "\fB<u>+\f(BIUp\fB\fR" 4 |
|
|
2042 | .IX Item "<u>+Up" |
|
|
2043 | .IP "\fB<d>+\f(BIDown\fB\fR" 4 |
|
|
2044 | .IX Item "<d>+Down" |
|
|
2045 | .PD |
|
|
2046 | Define actions for the respective arrow buttons |
|
|
2047 | .IP "\fB<b>+\f(BIBegin\fB\fR" 4 |
|
|
2048 | .IX Item "<b>+Begin" |
|
|
2049 | .PD 0 |
|
|
2050 | .IP "\fB<e>+\f(BIEnd\fB\fR" 4 |
|
|
2051 | .IX Item "<e>+End" |
|
|
2052 | .PD |
|
|
2053 | Define common beginning/end parts for \fIquick arrows\fR which used in |
|
|
2054 | conjunction with the above <r> <l> <u> <d> constructs |
|
|
2055 | .IP "For example, define arrows individually," 4 |
|
|
2056 | .IX Item "For example, define arrows individually," |
|
|
2057 | .Vb 1 |
|
|
2058 | \& <u>\eE[A |
|
|
2059 | .Ve |
|
|
2060 | .Sp |
|
|
2061 | .Vb 1 |
|
|
2062 | \& <d>\eE[B |
|
|
2063 | .Ve |
|
|
2064 | .Sp |
|
|
2065 | .Vb 1 |
|
|
2066 | \& <r>\eE[C |
|
|
2067 | .Ve |
|
|
2068 | .Sp |
|
|
2069 | .Vb 1 |
|
|
2070 | \& <l>\eE[D |
|
|
2071 | .Ve |
|
|
2072 | .IP "or all at once" 4 |
|
|
2073 | .IX Item "or all at once" |
|
|
2074 | .Vb 1 |
|
|
2075 | \& <u>\eE[AZ<><d>\eE[BZ<><r>\eE[CZ<><l>\eE[D |
|
|
2076 | .Ve |
|
|
2077 | .IP "or more compactly (factoring out common parts)" 4 |
|
|
2078 | .IX Item "or more compactly (factoring out common parts)" |
|
|
2079 | .Vb 1 |
|
|
2080 | \& <b>\eE[<u>AZ<><d>BZ<><r>CZ<><l>D |
|
|
2081 | .Ve |
|
|
2082 | .PP |
|
|
2083 | |
|
|
2084 | .IX Xref "menuBarSummary" |
|
|
2085 | .Sh "Command Summary" |
|
|
2086 | .IX Subsection "Command Summary" |
|
|
2087 | A short summary of the most \fIcommon\fR commands: |
|
|
2088 | .IP "[menu:name]" 4 |
|
|
2089 | .IX Item "[menu:name]" |
|
|
2090 | use an existing named menuBar or start a new one |
|
|
2091 | .IP "[menu]" 4 |
|
|
2092 | .IX Item "[menu]" |
|
|
2093 | use the current menuBar |
|
|
2094 | .IP "[title:string]" 4 |
|
|
2095 | .IX Item "[title:string]" |
|
|
2096 | set menuBar title |
|
|
2097 | .IP "[done]" 4 |
|
|
2098 | .IX Item "[done]" |
|
|
2099 | set menu access to readonly and, if reading from a file, signal \s-1EOF\s0 |
|
|
2100 | .IP "[done:name]" 4 |
|
|
2101 | .IX Item "[done:name]" |
|
|
2102 | if reading from a file using [read:file;name] signal \s-1EOF\s0 |
|
|
2103 | .IP "[rm:name]" 4 |
|
|
2104 | .IX Item "[rm:name]" |
|
|
2105 | remove named menuBar(s) |
|
|
2106 | .IP "[rm] [rm:]" 4 |
|
|
2107 | .IX Item "[rm] [rm:]" |
|
|
2108 | remove current menuBar |
|
|
2109 | .IP "[rm*] [rm:*]" 4 |
|
|
2110 | .IX Item "[rm*] [rm:*]" |
|
|
2111 | remove all menuBar(s) |
|
|
2112 | .IP "[swap]" 4 |
|
|
2113 | .IX Item "[swap]" |
|
|
2114 | swap top two menuBars |
|
|
2115 | .IP "[prev]" 4 |
|
|
2116 | .IX Item "[prev]" |
|
|
2117 | access the previous menuBar |
|
|
2118 | .IP "[next]" 4 |
|
|
2119 | .IX Item "[next]" |
|
|
2120 | access the next menuBar |
|
|
2121 | .IP "[show]" 4 |
|
|
2122 | .IX Item "[show]" |
|
|
2123 | map menuBar |
|
|
2124 | .IP "[hide]" 4 |
|
|
2125 | .IX Item "[hide]" |
|
|
2126 | unmap menuBar |
|
|
2127 | .IP "[pixmap;file]" 4 |
|
|
2128 | .IX Item "[pixmap;file]" |
|
|
2129 | .PD 0 |
|
|
2130 | .IP "[pixmap;file;scaling]" 4 |
|
|
2131 | .IX Item "[pixmap;file;scaling]" |
|
|
2132 | .PD |
|
|
2133 | set a background pixmap |
|
|
2134 | .IP "[read:file]" 4 |
|
|
2135 | .IX Item "[read:file]" |
|
|
2136 | .PD 0 |
|
|
2137 | .IP "[read:file;name]" 4 |
|
|
2138 | .IX Item "[read:file;name]" |
|
|
2139 | .PD |
|
|
2140 | read in a menu from a file |
|
|
2141 | .IP "[dump]" 4 |
|
|
2142 | .IX Item "[dump]" |
|
|
2143 | dump out all menuBars to /tmp/rxvt\-PID |
|
|
2144 | .IP "/" 4 |
|
|
2145 | access menuBar top level |
|
|
2146 | .IP "./" 4 |
|
|
2147 | .PD 0 |
|
|
2148 | .IP "../" 4 |
|
|
2149 | .IP "../../" 4 |
|
|
2150 | .PD |
|
|
2151 | access current or parent menu level |
|
|
2152 | .IP "/path/menu" 4 |
|
|
2153 | .IX Item "/path/menu" |
|
|
2154 | add/access menu |
|
|
2155 | .IP "/path/{\-}" 4 |
|
|
2156 | .IX Item "/path/{-}" |
|
|
2157 | add separator |
|
|
2158 | .IP "/path/{item}{rtext} action" 4 |
|
|
2159 | .IX Item "/path/{item}{rtext} action" |
|
|
2160 | add/alter menu item |
|
|
2161 | .IP "\-/*" 4 |
|
|
2162 | remove all menus from the menuBar |
|
|
2163 | .IP "\-/path/menu" 4 |
|
|
2164 | .IX Item "-/path/menu" |
|
|
2165 | remove menu items, separators and submenus from menu |
|
|
2166 | .IP "\-/path/menu" 4 |
|
|
2167 | .IX Item "-/path/menu" |
|
|
2168 | remove menu |
|
|
2169 | .IP "\-/path/{item}" 4 |
|
|
2170 | .IX Item "-/path/{item}" |
|
|
2171 | remove item |
|
|
2172 | .IP "\-/path/{\-}" 4 |
|
|
2173 | .IX Item "-/path/{-}" |
|
|
2174 | remove separator |
|
|
2175 | .IP "<b>Begin<r>Right<l>Left<u>Up<d>Down<e>End" 4 |
|
|
2176 | .IX Item "<b>Begin<r>Right<l>Left<u>Up<d>Down<e>End" |
|
|
2177 | menu quick arrows |
|
|
2178 | .SH "XPM" |
1839 | .SH "XPM" |
2179 | .IX Header "XPM" |
1840 | .IX Header "XPM" |
2180 | For the \s-1XPM\s0 XTerm escape sequence \fB\f(CB\*(C`ESC ] 20 ; Pt ST\*(C'\fB\fR then value |
1841 | For the \s-1XPM\s0 XTerm escape sequence \fB\f(CB\*(C`ESC ] 20 ; Pt ST\*(C'\fB\fR then value |
2181 | of \fB\f(CB\*(C`Pt\*(C'\fB\fR can be the name of the background pixmap followed by a |
1842 | of \fB\f(CB\*(C`Pt\*(C'\fB\fR can be the name of the background pixmap followed by a |
2182 | sequence of scaling/positioning commands separated by semi\-colons. The |
1843 | sequence of scaling/positioning commands separated by semi\-colons. The |
… | |
… | |
2452 | .IX Item "--enable-fading (default: on)" |
2113 | .IX Item "--enable-fading (default: on)" |
2453 | Add support for fading the text when focus is lost (requires \f(CW\*(C`\-\-enable\-transparency\*(C'\fR). |
2114 | Add support for fading the text when focus is lost (requires \f(CW\*(C`\-\-enable\-transparency\*(C'\fR). |
2454 | .IP "\-\-enable\-tinting (default: on)" 4 |
2115 | .IP "\-\-enable\-tinting (default: on)" 4 |
2455 | .IX Item "--enable-tinting (default: on)" |
2116 | .IX Item "--enable-tinting (default: on)" |
2456 | Add support for tinting of transparent backgrounds (requires \f(CW\*(C`\-\-enable\-transparency\*(C'\fR). |
2117 | Add support for tinting of transparent backgrounds (requires \f(CW\*(C`\-\-enable\-transparency\*(C'\fR). |
2457 | .IP "\-\-enable\-menubar (default: off) [\s-1DEPRECATED\s0]" 4 |
|
|
2458 | .IX Item "--enable-menubar (default: off) [DEPRECATED]" |
|
|
2459 | Add support for our menu bar system (this interacts badly with dynamic |
|
|
2460 | locale switching currently). This option is \s-1DEPRECATED\s0 and will be removed |
|
|
2461 | in the future. |
|
|
2462 | .IP "\-\-enable\-rxvt\-scroll (default: on)" 4 |
2118 | .IP "\-\-enable\-rxvt\-scroll (default: on)" 4 |
2463 | .IX Item "--enable-rxvt-scroll (default: on)" |
2119 | .IX Item "--enable-rxvt-scroll (default: on)" |
2464 | Add support for the original rxvt scrollbar. |
2120 | Add support for the original rxvt scrollbar. |
2465 | .IP "\-\-enable\-next\-scroll (default: on)" 4 |
2121 | .IP "\-\-enable\-next\-scroll (default: on)" 4 |
2466 | .IX Item "--enable-next-scroll (default: on)" |
2122 | .IX Item "--enable-next-scroll (default: on)" |
… | |
… | |
2489 | Removes any handling of the delete key by us \- let the X server |
2145 | Removes any handling of the delete key by us \- let the X server |
2490 | do it. |
2146 | do it. |
2491 | .IP "\-\-disable\-resources" 4 |
2147 | .IP "\-\-disable\-resources" 4 |
2492 | .IX Item "--disable-resources" |
2148 | .IX Item "--disable-resources" |
2493 | Removes any support for resource checking. |
2149 | Removes any support for resource checking. |
2494 | .IP "\-\-enable\-xgetdefault" 4 |
|
|
2495 | .IX Item "--enable-xgetdefault" |
|
|
2496 | Make resources checking via \fIXGetDefault()\fR instead of our small |
|
|
2497 | version which only checks ~/.Xdefaults, or if that doesn't exist then |
|
|
2498 | ~/.Xresources. |
|
|
2499 | .Sp |
|
|
2500 | Please note that nowadays, things like \s-1XIM\s0 will automatically pull in and |
|
|
2501 | use the full X resource manager, so the overhead of using it might be very |
|
|
2502 | small, if nonexistant. |
|
|
2503 | .IP "\-\-enable\-strings (default: off)" 4 |
|
|
2504 | .IX Item "--enable-strings (default: off)" |
|
|
2505 | Add support for our possibly faster \fImemset()\fR function and other |
|
|
2506 | various routines, overriding your system's versions which may |
|
|
2507 | have been hand-crafted in assembly or may require extra libraries |
|
|
2508 | to link in. (this breaks ANSI-C rules and has problems on many |
|
|
2509 | GNU/Linux systems). |
|
|
2510 | .IP "\-\-disable\-swapscreen" 4 |
2150 | .IP "\-\-disable\-swapscreen" 4 |
2511 | .IX Item "--disable-swapscreen" |
2151 | .IX Item "--disable-swapscreen" |
2512 | Remove support for secondary/swap screen. |
2152 | Remove support for secondary/swap screen. |
2513 | .IP "\-\-enable\-frills (default: on)" 4 |
2153 | .IP "\-\-enable\-frills (default: on)" 4 |
2514 | .IX Item "--enable-frills (default: on)" |
2154 | .IX Item "--enable-frills (default: on)" |