From e1af994c4f379eb88ab7a00d5b1b9b8784a4428a Mon Sep 17 00:00:00 2001 From: root Date: Fri, 13 Jan 2006 12:40:46 +0000 Subject: [PATCH] *** empty log message *** --- README.FAQ | 24 +++--- README.configure | 4 +- doc/rxvt.1.html | 146 ++++++++++++++++++------------------- doc/rxvt.1.man.in | 14 ++-- doc/rxvt.1.pod | 12 +-- doc/rxvt.1.txt | 166 +++++++++++++++++++++--------------------- doc/rxvt.7.html | 26 +++---- doc/rxvt.7.man.in | 4 +- doc/rxvt.7.pod | 4 +- doc/rxvt.7.txt | 28 +++---- doc/rxvtperl.3.html | 59 ++++++++++++--- doc/rxvtperl.3.man.in | 22 +++++- doc/rxvtperl.3.txt | 48 +++++++++--- 13 files changed, 319 insertions(+), 238 deletions(-) diff --git a/README.FAQ b/README.FAQ index 7927a252..b25b1998 100644 --- a/README.FAQ +++ b/README.FAQ @@ -25,7 +25,7 @@ FREQUENTLY ASKED QUESTIONS If you only want to disable specific features, you first have to identify which perl extension is responsible. For this, read the - section PREPACKAGED EXTENSIONS in the rxvtperl(3) manpage. For + section PREPACKAGED EXTENSIONS in the urxvtperl(3) manpage. For example, to disable the selection-popup and option-popup, specify this perl-ext-common resource: @@ -125,7 +125,7 @@ FREQUENTLY ASKED QUESTIONS How do I know which rxvt-unicode version I'm using? The version number is displayed with the usage (-h). Also the escape sequence "ESC [ 8 n" sets the window title to the version number. - When using the rxvtc client, the version displayed is that of the + When using the urxvtc client, the version displayed is that of the daemon. I am using Debian GNU/Linux and have a problem... @@ -219,7 +219,7 @@ FREQUENTLY ASKED QUESTIONS Most likely it's the empty definition for "enacs=". Just replace it by "enacs=\E[0@" and try again. - "bash"'s readline does not work correctly under rxvt. + "bash"'s readline does not work correctly under urxvt. I need a termcap file entry. One reason you might want this is that some distributions or operating systems still compile some programs using the @@ -340,7 +340,7 @@ FREQUENTLY ASKED QUESTIONS In that case, select a font of your taste and add it to the font list, e.g.: - rxvt -fn basefont,font2,font3... + urxvt -fn basefont,font2,font3... When rxvt-unicode sees a character, it will first look at the base font. If the base font does not contain the character, it will go to @@ -635,7 +635,7 @@ FREQUENTLY ASKED QUESTIONS some editors prematurely may leave the mouse in mouse report mode. I've heard that tcsh may use mouse reporting unless it otherwise specified. A quick check is to see if cut/paste works when the Alt - or Shift keys are depressed. See rxvt(7) + or Shift keys are depressed. What's with this bold/blink stuff? If no bold colour is set via "colorBD:", bold will invert text using @@ -700,9 +700,9 @@ FREQUENTLY ASKED QUESTIONS URxvt.color7: #e1dddd URxvt.color15: #e1dddd - How can I start rxvtd in a race-free way? - Try "rxvtd -f -o", which tells rxvtd to open the display, create the - listening socket and then fork. + How can I start urxvtd in a race-free way? + Try "urxvtd -f -o", which tells urxvtd to open the display, create + the listening socket and then fork. What's with the strange Backspace/Delete key behaviour? Assuming that the physical Backspace key corresponds to the @@ -725,13 +725,13 @@ FREQUENTLY ASKED QUESTIONS # use Backspace = ^H $ stty erase ^H - $ rxvt + $ urxvt # use Backspace = ^? $ stty erase ^? - $ rxvt + $ urxvt - Toggle with "ESC [ 36 h" / "ESC [ 36 l" as documented in rxvt(7). + Toggle with "ESC [ 36 h" / "ESC [ 36 l". For an existing rxvt-unicode: @@ -767,7 +767,7 @@ FREQUENTLY ASKED QUESTIONS option you can use the `keysym' resource to alter the keystrings associated with keysyms. - Here's an example for a URxvt session started using "rxvt -name + Here's an example for a URxvt session started using "urxvt -name URxvt" URxvt.keysym.Home: \033[1~ diff --git a/README.configure b/README.configure index e6d6af13..6b8bbe0f 100644 --- a/README.configure +++ b/README.configure @@ -196,7 +196,7 @@ CONFIGURE OPTIONS sgr modes 90..97 and 100..107 --enable-iso14755 (default: on) - Enable extended ISO 14755 support (see rxvt(1), or doc/rxvt.1.txt). + Enable extended ISO 14755 support (see urxvt(1), or doc/rxvt.1.txt). Basic support (section 5.1) is enabled by "--enable-frills", while support for 5.2, 5.3 and 5.4 is enabled with this switch. @@ -237,7 +237,7 @@ CONFIGURE OPTIONS Add support to have the pointer disappear when typing or inactive. --enable-perl (default: off) - Enable an embedded perl interpreter. See the rxvtperl(3) manpage + Enable an embedded perl interpreter. See the urxvtperl(3) manpage (doc/rxvtperl.txt) for more info on this feature, or the files in src/perl-ext/ for the extensions that are installed by default. The perl interpreter that is used can be specified via the "PERL" diff --git a/doc/rxvt.1.html b/doc/rxvt.1.html index efad75d5..7a55f4a5 100644 --- a/doc/rxvt.1.html +++ b/doc/rxvt.1.html @@ -43,7 +43,7 @@


SYNOPSIS

-

rxvt [options] [-e command [ args ]]

+

urxvt [options] [-e command [ args ]]


@@ -57,7 +57,7 @@ a significant advantage on a machine serving many X sessions.


FREQUENTLY ASKED QUESTIONS

-

See rxvt(7) (try man 7 rxvt) for a list of +

See urxvt(7) (try man 7 urxvt) for a list of frequently asked questions and answer to them and some common problems. That document is also accessible on the World-Wide-Web at http://cvs.schmorp.de/browse/*checkout*/rxvt-unicode/doc/rxvt.7.html.

@@ -95,27 +95,27 @@ and nice on resources: for example, you can still configure rxvt-unicode without most of it's features to get a lean binary. It also comes with a client/daemon pair that lets you open any number of terminal windows from within a single process, which makes startup time very fast and -drastically reduces memory usage. See rxvtd(1) (daemon) and -rxvtc(1) (client).

+drastically reduces memory usage. See urxvtd(1) (daemon) and +urxvtc(1) (client).

It also makes technical information about escape sequences (which have -been extended) easier accessible: see rxvt(7) for technical +been extended) easier accessible: see urxvt(7) for technical reference documentation (escape sequences etc.).


OPTIONS

-

The rxvt options (mostly a subset of xterm's) are listed +

The urxvt options (mostly a subset of xterm's) are listed below. In keeping with the smaller-is-better philosophy, options may be eliminated or default values chosen at compile-time, so options and defaults listed may not accurately reflect the version installed on -your system. `rxvt -h' gives a list of major compile-time options on +your system. `urxvt -h' gives a list of major compile-time options on the Options line. Option descriptions may be prefixed with which compile option each is dependent upon. e.g. `Compile XIM:' requires -XIM on the Options line. Note: `rxvt -help' gives a list of all +XIM on the Options line. Note: `urxvt -help' gives a list of all command-line options compiled into your version.

-

Note that rxvt permits the resource name to be used as a +

Note that urxvt permits the resource name to be used as a long-option (--/++ option) so the potential command-line options are -far greater than those listed. For example: `rxvt --loginShell --color1 +far greater than those listed. For example: `urxvt --loginShell --color1 Orange'.

The following options are available:

@@ -184,7 +184,7 @@ used to brighten or darken the image in addition to tinting it; resource
-   rxvt -tr -tint blue -sh 40
+ urxvt -tr -tint blue -sh 40

-sh
@@ -245,7 +245,7 @@ resource borderColor.
Select the fonts to be used. This is a comma separated list of font names -that are used in turn when trying to display Unicode characters. The +that are checked in order when trying to find glyphs for characters. The first font defines the cell size for characters; other fonts might be smaller, but not (in general) larger. A (hopefully) reasonable default font list is always appended to it. See resource font for more details. @@ -257,12 +257,12 @@ e.g.:

-   rxvt -fn "xft:Bitstream Vera Sans Mono:pixelsize=15"
-   rxvt -fn "9x15bold,xft:Bitstream Vera Sans Mono"
+ urxvt -fn "xft:Bitstream Vera Sans Mono:pixelsize=15" + urxvt -fn "9x15bold,xft:Bitstream Vera Sans Mono"

See also the question ``How does rxvt-unicode choose fonts?'' in the FAQ -section of rxvt(7).

+section of urxvt(7).

-fb fontlist
@@ -446,7 +446,7 @@ resource termName.
-e command [arguments]
-Run the command with its command-line arguments in the rxvt +Run the command with its command-line arguments in the urxvt window; also sets the window title and icon name to be the basename of the program being executed if neither -title (-T) nor -n are given on the command line. If this option is used, it must be the last @@ -460,7 +460,7 @@ run shell commands, you have to specify the shell, like this:

-  rxvt -e sh -c "shell commands"
+ urxvt -e sh -c "shell commands"

-title text
@@ -555,7 +555,7 @@ Turn on/off secondary screen scroll (default enabled); resource
-hold|+hold
-Turn on/off hold window after exit support. If enabled, rxvt +Turn on/off hold window after exit support. If enabled, urxvt will not immediately destroy its window when the program executed within it exits. Instead, it will wait till it is being killed or closed by the user; resource hold. @@ -570,20 +570,20 @@ Remap a key symbol. See resource keysym.
-embed windowid
-Tells rxvt to embed it's windows into an already-existing window, +Tells urxvt to embed it's windows into an already-existing window, which enables applications to easily embed a terminal.
-

Right now, rxvt will first unmap/map the specified window, so it -shouldn't be a top-level window. rxvt will also reconfigure it +

Right now, urxvt will first unmap/map the specified window, so it +shouldn't be a top-level window. urxvt will also reconfigure it quite a bit, so don't expect it to keep some specific state. It's best to -create an extra subwindow for rxvt and leave it alone.

+create an extra subwindow for urxvt and leave it alone.

-

The window will not be destroyed when rxvt exits.

+

The window will not be destroyed when urxvt exits.

-

It might be useful to know that rxvt will not close file +

It might be useful to know that urxvt will not close file descriptors passed to it (except for stdin/out/err, of course), so you can use file descriptors to communicate with the programs within the terminal. This works regardless of wether the -embed option was used or @@ -598,20 +598,20 @@ used (a longer example is in doc/embed):

my $rxvt = new Gtk2::Socket; $rxvt->signal_connect_after (realize => sub { my $xid = $_[0]->window->get_xid; - system "rxvt -embed $xid &"; + system "urxvt -embed $xid &"; });

-pty-fd file descriptor
-Tells rxvt NOT to execute any commands or create a new pty/tty +Tells urxvt NOT to execute any commands or create a new pty/tty pair but instead use the given filehandle as the tty master. This is -useful if you want to drive rxvt as a generic terminal emulator +useful if you want to drive urxvt as a generic terminal emulator without having to run a program within it.
-

If this switch is given, rxvt will not create any utmp/wtmp +

If this switch is given, urxvt will not create any utmp/wtmp entries and will not tinker with pty/tty permissions - you have to do that yourself if you want that.

@@ -632,7 +632,7 @@ longer example is in doc/pty-fd):

    my $pty = new IO::Pty;
    fcntl $pty, F_SETFD, 0; # clear close-on-exec
-   system "rxvt -pty-fd " . (fileno $pty) . "&";
+   system "urxvt -pty-fd " . (fileno $pty) . "&";
    close $pty;
@@ -653,11 +653,11 @@ this terminal instance. See resource perl-ext for details.


RESOURCES (available also as long-options)

-

Note: `rxvt --help' gives a list of all resources (long +

Note: `urxvt --help' gives a list of all resources (long options) compiled into your version.

You can set and change the resources using X11 tools like xrdb. Many distribution do also load settings from the ~/.Xresources file when X -starts. rxvt will consult the following files/resources in order, +starts. urxvt will consult the following files/resources in order, with later settings overwriting earlier ones:

   1. system-wide app-defaults file, either locale-dependent OR global
@@ -665,15 +665,15 @@ with later settings overwriting earlier ones:

3. RESOURCE_MANAGER property on root-window OR $HOME/.Xdefaults 4. SCREEN_RESOURCES for the current screen 5. $XENVIRONMENT file OR $HOME/.Xdefaults-<nodename>
-

Note that when reading X resources, rxvt recognizes two class +

Note that when reading X resources, urxvt recognizes two class names: Rxvt and URxvt. The class name Rxvt allows resources -common to both rxvt and the original rxvt to be easily +common to both urxvt and the original rxvt to be easily configured, while the class name URxvt allows resources unique to -rxvt, to be shared between different rxvt +urxvt, to be shared between different urxvt configurations. If no resources are specified, suitable defaults will be used. Command-line arguments can be used to override resource settings. The following resources are supported (you might want to -check the rxvtperl(3) manpage for additional settings by perl +check the urxvtperl(3) manpage for additional settings by perl extensions not documented here):

geometry: geom
@@ -709,7 +709,7 @@ names used are listed in the COLORS AND GRAPHICS section.

Colours higher than 15 cannot be set using resources (yet), but can be -changed using an escape command (see rxvt(7)).

+changed using an escape command (see urxvt(7)).

Colours 16-79 form a standard 4x4x4 colour cube (the same as xterm with @@ -866,11 +866,11 @@ menus), in addition to the paths specified by the RXVTPATH and

font: fontlist
-Select the fonts to be used. This is a comma separated list of font -names that are used in turn when trying to display Unicode characters. -The first font defines the cell size for characters; other fonts might -be smaller, but not larger. A reasonable default font list is always -appended to it; option -fn. +Select the fonts to be used. This is a comma separated list of font names +that are checked in order when trying to find glyphs for characters. The +first font defines the cell size for characters; other fonts might be +smaller, but not (in general) larger. A (hopefully) reasonable default +font list is always appended to it; option -fn.

Each font can either be a standard X11 core font (XLFD) name, with @@ -1247,7 +1247,7 @@ another locale; option -imlocale. Specify the font-set used for XIM styles OverTheSpot or OffTheSpot. It must be a standard X font set (XLFD patterns separated by commas), i.e. it's not in the same format as the other font lists used -in rxvt. The default will be set-up to chose *any* suitable found +in urxvt. The default will be set-up to chose *any* suitable found found, preferably one or two pixels differing in size to the base font. option -imfont.

@@ -1312,7 +1312,7 @@ instead scroll the screen up.
hold: bool
-Turn on/off hold window after exit support. If enabled, rxvt +Turn on/off hold window after exit support. If enabled, urxvt will not immediately destroy its window when the program executed within it exits. Instead, it will wait till it is being killed or closed by the user. @@ -1354,7 +1354,7 @@ can start or end with whitespace.

Please note that you need to double the \ in resource files, as Xlib itself does it's own de-escaping (you can use \033 instead of -\e (and so on), which will work with both Xt and rxvt's own +\e (and so on), which will work with both Xt and urxvt's own processing).

@@ -1380,7 +1380,7 @@ should be a character not used by the strings.

If string takes the form of command:STRING, the specified STRING -is interpreted and executed as rxvt's control sequence. For +is interpreted and executed as urxvt's control sequence. For example the following means ``change the current locale to zh_CN.GBK when Control-Meta-c is being pressed'':

@@ -1390,9 +1390,9 @@ when Control-Meta-c is being pressed'':

If string takes the form perl:STRING, then the specified STRING -is passed to the on_keyboard_command perl handler. See the rxvtperl(3) +is passed to the on_keyboard_command perl handler. See the urxvtperl(3) manpage. For example, the selection extension (activated via -rxvt -pe selection) listens for selection:rot13 events:

+urxvt -pe selection) listens for selection:rot13 events:

@@ -1408,7 +1408,7 @@ mappings themselves.

Unfortunately, this will override built-in key mappings. For example -if you overwrite the Insert key you will disable rxvt's +if you overwrite the Insert key you will disable urxvt's Shift-Insert mapping. To re-enable that, you can poke ``holes'' into the user-defined keymap using the builtin: replacement:

@@ -1433,7 +1433,7 @@ font-switching at runtime:

URxvt.keysym.M-C-2: command:\033]50;9x15bold\007
-

Other things are possible, e.g. resizing (see rxvt(7) for more +

Other things are possible, e.g. resizing (see urxvt(7) for more info):

@@ -1479,7 +1479,7 @@ all instances, while perl-ext is used for specific instances.
Perl code to be evaluated when all extensions have been registered. See -the rxvtperl(3) manpage. Due to security reasons, this resource +the urxvtperl(3) manpage. Due to security reasons, this resource will be ignored when running setuid/setgid.

@@ -1488,25 +1488,25 @@ will be ignored when running setuid/setgid.
Colon-separated list of additional directories that hold extension scripts. When looking for extensions specified by the perl resource, -rxvt will first look in these directories and then in -/opt/rxvt/lib/urxvt/perl/. Due to security reasons, this resource +urxvt will first look in these directories and then in +/usr/local/lib/urxvt/perl/. Due to security reasons, this resource will be ignored when running setuid/setgid.
-

See the rxvtperl(3) manpage.

+

See the urxvtperl(3) manpage.

selection.pattern-idx >: perl-regex
-Additional selection patterns, see the rxvtperl(3) manpage for +Additional selection patterns, see the urxvtperl(3) manpage for details.

selection-autotransform.idx >: perl-transform
-Selection auto-transform patterns, see the rxvtperl(3) manpage +Selection auto-transform patterns, see the urxvtperl(3) manpage for details.

@@ -1534,9 +1534,9 @@ Sets the WM_TRANSIENT_FOR property to the given window iw.


THE SCROLLBAR

-

Lines of text that scroll off the top of the rxvt window +

Lines of text that scroll off the top of the urxvt window (resource: saveLines) and can be scrolled back using the scrollbar -or by keystrokes. The normal rxvt scrollbar has arrows and +or by keystrokes. The normal urxvt scrollbar has arrows and its behaviour is fairly intuitive. The xterm-scrollbar is without arrows and its behaviour mimics that of xterm

Scroll down with Button1 (xterm-scrollbar) or Shift-Next. @@ -1583,7 +1583,7 @@ the selection.

Pressing and releasing the Middle mouse button (or Shift-Insert) in -an rxvt window causes the current text selection to be +an urxvt window causes the current text selection to be inserted as if it had been typed on the keyboard.

@@ -1659,16 +1659,16 @@ both scenario A and B of ISO 14755, including part 5.2.


LOGIN STAMP

-

rxvt tries to write an entry into the utmp(5) file so that +

urxvt tries to write an entry into the utmp(5) file so that it can be seen via the who(1) command, and can accept messages. To -allow this feature, rxvt may need to be installed setuid root +allow this feature, urxvt may need to be installed setuid root on some systems or setgid to root or to some other group on others.


COLORS AND GRAPHICS

In addition to the default foreground and background colours, -rxvt can display up to 16 colours (8 ANSI colours plus +urxvt can display up to 16 colours (8 ANSI colours plus high-intensity bold/blink versions of the same). Here is a list of the colours with their rgb.txt names.

@@ -1699,7 +1699,7 @@ always swapping the foreground/background colours. This is in contrast to xterm(1) where the colours are only swapped if they have not otherwise been specified. For example,

-
rxvt -fg Black -bg White -rv
+
urxvt -fg Black -bg White -rv
would yield White on Black, while on xterm(1) it would yield Black @@ -1710,7 +1710,7 @@ on White.


ENVIRONMENT

-

rxvt sets and/or uses the following environment variables:

+

urxvt sets and/or uses the following environment variables:

TERM
@@ -1722,7 +1722,7 @@ resources or on the commandline.
COLORTERM
-Either rxvt, rxvt-xpm, depending on wether rxvt was +Either rxvt, rxvt-xpm, depending on wether urxvt was compiled with XPM support, and optionally with the added extension -mono to indicate that rxvt-unicode runs on a monochrome screen.
@@ -1734,7 +1734,7 @@ Set to a string of the form fg;bg or fg;xpm;bg, where the colour code used as default foreground/text colour (or the string default to indicate that the default-colour escape sequence is to be used), bg is the colour code used as default background colour (or the -string default), and xpm is the string default if rxvt +string default), and xpm is the string default if urxvt was compiled with XPM support. Libraries like ncurses and slang can (and do) use this information to optimize screen output.
@@ -1742,7 +1742,7 @@ was compiled with XPM support. Libraries like ncurses and sla
WINDOWID
-Set to the (decimal) X Window ID of the rxvt window (the toplevel +Set to the (decimal) X Window ID of the urxvt window (the toplevel window, which usually has subwindows for the scrollbar, the terminal window and so on).
@@ -1750,14 +1750,14 @@ window and so on).
TERMINFO
-Set to the terminfo directory iff rxvt was configured with +Set to the terminfo directory iff urxvt was configured with --with-terminfo=PATH.

DISPLAY
-Used by rxvt to connect to the display and set to the correct +Used by urxvt to connect to the display and set to the correct display in it's child processes.

@@ -1770,7 +1770,7 @@ The shell to be used for command execution, defaults to /bin/sh.
RXVTPATH
-The path where rxvt looks for support files such as menu and xpm +The path where urxvt looks for support files such as menu and xpm files.

@@ -1783,8 +1783,8 @@ Used in the same way as RXVTPATH.
RXVT_SOCKET
-The unix domain socket path used by rxvtc(1) and -rxvtd(1). +The unix domain socket path used by urxvtc(1) and +urxvtd(1).

Default $HOME/.rxvt-unicode-<nodename >>>.

@@ -1808,7 +1808,7 @@ Directory where various X resource files are being located.
If set and accessible, gives the name of a X resource file to be loaded by -rxvt. +urxvt.

@@ -1826,7 +1826,7 @@ Color names.


SEE ALSO

-

rxvt(7), rxvtc(1), rxvtd(1), xterm(1), sh(1), resize(1), X(1), pty(4), tty(4), utmp(5)

+

urxvt(7), urxvtc(1), urxvtd(1), xterm(1), sh(1), resize(1), X(1), pty(4), tty(4), utmp(5)


diff --git a/doc/rxvt.1.man.in b/doc/rxvt.1.man.in index cb725708..a0626332 100644 --- a/doc/rxvt.1.man.in +++ b/doc/rxvt.1.man.in @@ -129,7 +129,7 @@ .\" ======================================================================== .\" .IX Title "rxvt 1" -.TH rxvt 1 "2006-01-12" "7.0" "RXVT-UNICODE" +.TH rxvt 1 "2006-01-13" "7.0" "RXVT-UNICODE" .SH "NAME" rxvt\-unicode (ouR XVT, unicode) \- (a VT102 emulator for the X window system) .SH "SYNOPSIS" @@ -282,7 +282,7 @@ resource \fBborderColor\fR. .IP "\fB\-fn\fR \fIfontlist\fR" 4 .IX Item "-fn fontlist" Select the fonts to be used. This is a comma separated list of font names -that are used in turn when trying to display Unicode characters. The +that are checked in order when trying to find glyphs for characters. The first font defines the cell size for characters; other fonts might be smaller, but not (in general) larger. A (hopefully) reasonable default font list is always appended to it. See resource \fBfont\fR for more details. @@ -696,11 +696,11 @@ menus), in addition to the paths specified by the \fB\s-1RXVTPATH\s0\fR and \&\fB\s-1PATH\s0\fR environment variables. .IP "\fBfont:\fR \fIfontlist\fR" 4 .IX Item "font: fontlist" -Select the fonts to be used. This is a comma separated list of font -names that are used in turn when trying to display Unicode characters. -The first font defines the cell size for characters; other fonts might -be smaller, but not larger. A reasonable default font list is always -appended to it; option \fB\-fn\fR. +Select the fonts to be used. This is a comma separated list of font names +that are checked in order when trying to find glyphs for characters. The +first font defines the cell size for characters; other fonts might be +smaller, but not (in general) larger. A (hopefully) reasonable default +font list is always appended to it; option \fB\-fn\fR. .Sp Each font can either be a standard X11 core font (\s-1XLFD\s0) name, with optional prefix \f(CW\*(C`x:\*(C'\fR or a Xft font (Compile \fIxft\fR), prefixed with \f(CW\*(C`xft:\*(C'\fR. diff --git a/doc/rxvt.1.pod b/doc/rxvt.1.pod index 40257cfc..fd62a869 100644 --- a/doc/rxvt.1.pod +++ b/doc/rxvt.1.pod @@ -174,7 +174,7 @@ resource B. =item B<-fn> I Select the fonts to be used. This is a comma separated list of font names -that are used in turn when trying to display Unicode characters. The +that are checked in order when trying to find glyphs for characters. The first font defines the cell size for characters; other fonts might be smaller, but not (in general) larger. A (hopefully) reasonable default font list is always appended to it. See resource B for more details. @@ -643,11 +643,11 @@ B environment variables. =item B I -Select the fonts to be used. This is a comma separated list of font -names that are used in turn when trying to display Unicode characters. -The first font defines the cell size for characters; other fonts might -be smaller, but not larger. A reasonable default font list is always -appended to it; option B<-fn>. +Select the fonts to be used. This is a comma separated list of font names +that are checked in order when trying to find glyphs for characters. The +first font defines the cell size for characters; other fonts might be +smaller, but not (in general) larger. A (hopefully) reasonable default +font list is always appended to it; option B<-fn>. Each font can either be a standard X11 core font (XLFD) name, with optional prefix C or a Xft font (Compile I), prefixed with C. diff --git a/doc/rxvt.1.txt b/doc/rxvt.1.txt index 25a7296e..763e9ad3 100644 --- a/doc/rxvt.1.txt +++ b/doc/rxvt.1.txt @@ -3,7 +3,7 @@ NAME system) SYNOPSIS - rxvt [options] [-e command [ args ]] + urxvt [options] [-e command [ args ]] DESCRIPTION rxvt-unicode, version 7.0, is a colour vt102 terminal emulator intended @@ -13,9 +13,9 @@ DESCRIPTION advantage on a machine serving many X sessions. FREQUENTLY ASKED QUESTIONS - See rxvt(7) (try "man 7 rxvt") for a list of frequently asked questions - and answer to them and some common problems. That document is also - accessible on the World-Wide-Web at + See urxvt(7) (try "man 7 urxvt") for a list of frequently asked + questions and answer to them and some common problems. That document is + also accessible on the World-Wide-Web at . RXVT-UNICODE VS. RXVT @@ -54,27 +54,27 @@ RXVT-UNICODE VS. RXVT without most of it's features to get a lean binary. It also comes with a client/daemon pair that lets you open any number of terminal windows from within a single process, which makes startup time very fast and - drastically reduces memory usage. See rxvtd(1) (daemon) and rxvtc(1) + drastically reduces memory usage. See urxvtd(1) (daemon) and urxvtc(1) (client). It also makes technical information about escape sequences (which have - been extended) easier accessible: see rxvt(7) for technical reference + been extended) easier accessible: see urxvt(7) for technical reference documentation (escape sequences etc.). OPTIONS - The rxvt options (mostly a subset of *xterm*'s) are listed below. In + The urxvt options (mostly a subset of *xterm*'s) are listed below. In keeping with the smaller-is-better philosophy, options may be eliminated or default values chosen at compile-time, so options and defaults listed - may not accurately reflect the version installed on your system. `rxvt + may not accurately reflect the version installed on your system. `urxvt -h' gives a list of major compile-time options on the *Options* line. Option descriptions may be prefixed with which compile option each is dependent upon. e.g. `Compile *XIM*:' requires *XIM* on the *Options* - line. Note: `rxvt -help' gives a list of all command-line options + line. Note: `urxvt -help' gives a list of all command-line options compiled into your version. - Note that rxvt permits the resource name to be used as a long-option + Note that urxvt permits the resource name to be used as a long-option (--/++ option) so the potential command-line options are far greater - than those listed. For example: `rxvt --loginShell --color1 Orange'. + than those listed. For example: `urxvt --loginShell --color1 Orange'. The following options are available: @@ -115,7 +115,7 @@ OPTIONS be used to brighten or darken the image in addition to tinting it; resource *tintColor*. Example: - rxvt -tr -tint blue -sh 40 + urxvt -tr -tint blue -sh 40 -sh *number* Darken (0 .. 100) or lighten (-1 .. -100) the transparent background image in addition to tinting it (i.e. -tint must be @@ -148,7 +148,7 @@ OPTIONS -fn *fontlist* Select the fonts to be used. This is a comma separated list of font - names that are used in turn when trying to display Unicode + names that are checked in order when trying to find glyphs for characters. The first font defines the cell size for characters; other fonts might be smaller, but not (in general) larger. A (hopefully) reasonable default font list is always appended to it. @@ -158,11 +158,11 @@ OPTIONS prefix it with "x:". To specify an XFT-font, you need to prefix it with "xft:", e.g.: - rxvt -fn "xft:Bitstream Vera Sans Mono:pixelsize=15" - rxvt -fn "9x15bold,xft:Bitstream Vera Sans Mono" + urxvt -fn "xft:Bitstream Vera Sans Mono:pixelsize=15" + urxvt -fn "9x15bold,xft:Bitstream Vera Sans Mono" See also the question "How does rxvt-unicode choose fonts?" in the - FAQ section of rxvt(7). + FAQ section of urxvt(7). -fb *fontlist* Compile *font-styles*: The bold font list to use when bold @@ -272,7 +272,7 @@ OPTIONS resource termName. -e *command [arguments]* - Run the command with its command-line arguments in the rxvt window; + Run the command with its command-line arguments in the urxvt window; also sets the window title and icon name to be the basename of the program being executed if neither *-title* (*-T*) nor *-n* are given on the command line. If this option is used, it must be the last on @@ -284,7 +284,7 @@ OPTIONS want to run shell commands, you have to specify the shell, like this: - rxvt -e sh -c "shell commands" + urxvt -e sh -c "shell commands" -title *text* Window title (-T still respected); the default title is the basename @@ -339,7 +339,7 @@ OPTIONS secondaryScroll. -hold|+hold - Turn on/off hold window after exit support. If enabled, rxvt will + Turn on/off hold window after exit support. If enabled, urxvt will not immediately destroy its window when the program executed within it exits. Instead, it will wait till it is being killed or closed by the user; resource hold. @@ -348,21 +348,21 @@ OPTIONS Remap a key symbol. See resource keysym. -embed *windowid* - Tells rxvt to embed it's windows into an already-existing window, + Tells urxvt to embed it's windows into an already-existing window, which enables applications to easily embed a terminal. - Right now, rxvt will first unmap/map the specified window, so it - shouldn't be a top-level window. rxvt will also reconfigure it quite - a bit, so don't expect it to keep some specific state. It's best to - create an extra subwindow for rxvt and leave it alone. + Right now, urxvt will first unmap/map the specified window, so it + shouldn't be a top-level window. urxvt will also reconfigure it + quite a bit, so don't expect it to keep some specific state. It's + best to create an extra subwindow for urxvt and leave it alone. - The window will not be destroyed when rxvt exits. + The window will not be destroyed when urxvt exits. - It might be useful to know that rxvt will not close file descriptors - passed to it (except for stdin/out/err, of course), so you can use - file descriptors to communicate with the programs within the - terminal. This works regardless of wether the "-embed" option was - used or not. + It might be useful to know that urxvt will not close file + descriptors passed to it (except for stdin/out/err, of course), so + you can use file descriptors to communicate with the programs within + the terminal. This works regardless of wether the "-embed" option + was used or not. Here is a short Gtk2-perl snippet that illustrates how this option can be used (a longer example is in doc/embed): @@ -370,16 +370,16 @@ OPTIONS my $rxvt = new Gtk2::Socket; $rxvt->signal_connect_after (realize => sub { my $xid = $_[0]->window->get_xid; - system "rxvt -embed $xid &"; + system "urxvt -embed $xid &"; }); -pty-fd *file descriptor* - Tells rxvt NOT to execute any commands or create a new pty/tty pair + Tells urxvt NOT to execute any commands or create a new pty/tty pair but instead use the given filehandle as the tty master. This is - useful if you want to drive rxvt as a generic terminal emulator + useful if you want to drive urxvt as a generic terminal emulator without having to run a program within it. - If this switch is given, rxvt will not create any utmp/wtmp entries + If this switch is given, urxvt will not create any utmp/wtmp entries and will not tinker with pty/tty permissions - you have to do that yourself if you want that. @@ -394,7 +394,7 @@ OPTIONS my $pty = new IO::Pty; fcntl $pty, F_SETFD, 0; # clear close-on-exec - system "rxvt -pty-fd " . (fileno $pty) . "&"; + system "urxvt -pty-fd " . (fileno $pty) . "&"; close $pty; # now communicate with rxvt @@ -406,12 +406,12 @@ OPTIONS use) in this terminal instance. See resource perl-ext for details. RESOURCES (available also as long-options) - Note: `rxvt --help' gives a list of all resources (long options) + Note: `urxvt --help' gives a list of all resources (long options) compiled into your version. You can set and change the resources using X11 tools like xrdb. Many distribution do also load settings from the ~/.Xresources file when X - starts. rxvt will consult the following files/resources in order, with + starts. urxvt will consult the following files/resources in order, with later settings overwriting earlier ones: 1. system-wide app-defaults file, either locale-dependent OR global @@ -420,15 +420,15 @@ RESOURCES (available also as long-options) 4. SCREEN_RESOURCES for the current screen 5. $XENVIRONMENT file OR $HOME/.Xdefaults- - Note that when reading X resources, rxvt recognizes two class names: - Rxvt and URxvt. The class name Rxvt allows resources common to both rxvt - and the original *rxvt* to be easily configured, while the class name - URxvt allows resources unique to rxvt, to be shared between different - rxvt configurations. If no resources are specified, suitable defaults - will be used. Command-line arguments can be used to override resource - settings. The following resources are supported (you might want to check - the rxvtperl(3) manpage for additional settings by perl extensions not - documented here): + Note that when reading X resources, urxvt recognizes two class names: + Rxvt and URxvt. The class name Rxvt allows resources common to both + urxvt and the original *rxvt* to be easily configured, while the class + name URxvt allows resources unique to urxvt, to be shared between + different urxvt configurations. If no resources are specified, suitable + defaults will be used. Command-line arguments can be used to override + resource settings. The following resources are supported (you might want + to check the urxvtperl(3) manpage for additional settings by perl + extensions not documented here): geometry: *geom* Create the window with the specified X window geometry [default @@ -452,7 +452,7 @@ RESOURCES (available also as long-options) section. Colours higher than 15 cannot be set using resources (yet), but can - be changed using an escape command (see rxvt(7)). + be changed using an escape command (see urxvt(7)). Colours 16-79 form a standard 4x4x4 colour cube (the same as xterm with 88 colour support). Colours 80-87 are evenly spaces grey steps. @@ -551,10 +551,11 @@ RESOURCES (available also as long-options) font: *fontlist* Select the fonts to be used. This is a comma separated list of font - names that are used in turn when trying to display Unicode + names that are checked in order when trying to find glyphs for characters. The first font defines the cell size for characters; - other fonts might be smaller, but not larger. A reasonable default - font list is always appended to it; option -fn. + other fonts might be smaller, but not (in general) larger. A + (hopefully) reasonable default font list is always appended to it; + option -fn. Each font can either be a standard X11 core font (XLFD) name, with optional prefix "x:" or a Xft font (Compile *xft*), prefixed with @@ -795,7 +796,7 @@ RESOURCES (available also as long-options) Specify the font-set used for XIM styles "OverTheSpot" or "OffTheSpot". It must be a standard X font set (XLFD patterns separated by commas), i.e. it's not in the same format as the other - font lists used in rxvt. The default will be set-up to chose *any* + font lists used in urxvt. The default will be set-up to chose *any* suitable found found, preferably one or two pixels differing in size to the base font. option -imfont. @@ -838,7 +839,7 @@ RESOURCES (available also as long-options) instead scroll the screen up. hold: *bool* - Turn on/off hold window after exit support. If enabled, rxvt will + Turn on/off hold window after exit support. If enabled, urxvt will not immediately destroy its window when the program executed within it exits. Instead, it will wait till it is being killed or closed by the user. @@ -872,7 +873,7 @@ RESOURCES (available also as long-options) Please note that you need to double the "\" in resource files, as Xlib itself does it's own de-escaping (you can use "\033" instead of - "\e" (and so on), which will work with both Xt and rxvt's own + "\e" (and so on), which will work with both Xt and urxvt's own processing). You can define a range of keysyms in one shot by providing a @@ -890,7 +891,7 @@ RESOURCES (available also as long-options) URxvt.keysym.Meta-Control-0x63: \033 If *string* takes the form of "command:STRING", the specified STRING - is interpreted and executed as rxvt's control sequence. For example + is interpreted and executed as urxvt's control sequence. For example the following means "change the current locale to "zh_CN.GBK" when Control-Meta-c is being pressed": @@ -898,8 +899,9 @@ RESOURCES (available also as long-options) If *string* takes the form "perl:STRING", then the specified STRING is passed to the "on_keyboard_command" perl handler. See the - rxvtperl(3) manpage. For example, the selection extension (activated - via "rxvt -pe selection") listens for "selection:rot13" events: + urxvtperl(3) manpage. For example, the selection extension + (activated via "urxvt -pe selection") listens for "selection:rot13" + events: URxvt.keysym.M-C-c: perl:selection:rot13 @@ -911,7 +913,7 @@ RESOURCES (available also as long-options) unless some of those are defined mappings themselves. Unfortunately, this will override built-in key mappings. For example - if you overwrite the "Insert" key you will disable rxvt's + if you overwrite the "Insert" key you will disable urxvt's "Shift-Insert" mapping. To re-enable that, you can poke "holes" into the user-defined keymap using the "builtin:" replacement: @@ -929,7 +931,7 @@ RESOURCES (available also as long-options) URxvt.keysym.M-C-1: command:\033]50;suxuseuro\007 URxvt.keysym.M-C-2: command:\033]50;9x15bold\007 - Other things are possible, e.g. resizing (see rxvt(7) for more + Other things are possible, e.g. resizing (see urxvt(7) for more info): URxvt.keysym.M-C-3: command:\033[8;25;80t @@ -963,24 +965,24 @@ RESOURCES (available also as long-options) perl-eval: *string* Perl code to be evaluated when all extensions have been registered. - See the rxvtperl(3) manpage. Due to security reasons, this resource + See the urxvtperl(3) manpage. Due to security reasons, this resource will be ignored when running setuid/setgid. perl-lib: *path* Colon-separated list of additional directories that hold extension scripts. When looking for extensions specified by the "perl" - resource, rxvt will first look in these directories and then in - /opt/rxvt/lib/urxvt/perl/. Due to security reasons, this resource + resource, urxvt will first look in these directories and then in + /usr/local/lib/urxvt/perl/. Due to security reasons, this resource will be ignored when running setuid/setgid. - See the rxvtperl(3) manpage. + See the urxvtperl(3) manpage. selection.pattern-*idx*: *perl-regex* - Additional selection patterns, see the rxvtperl(3) manpage for + Additional selection patterns, see the urxvtperl(3) manpage for details. selection-autotransform.*idx*: *perl-transform* - Selection auto-transform patterns, see the rxvtperl(3) manpage for + Selection auto-transform patterns, see the urxvtperl(3) manpage for details. searchable-scrollback: *keysym* @@ -995,9 +997,9 @@ RESOURCES (available also as long-options) Sets the WM_TRANSIENT_FOR property to the given window iw. THE SCROLLBAR - Lines of text that scroll off the top of the rxvt window (resource: + Lines of text that scroll off the top of the urxvt window (resource: saveLines) and can be scrolled back using the scrollbar or by - keystrokes. The normal rxvt scrollbar has arrows and its behaviour is + keystrokes. The normal urxvt scrollbar has arrows and its behaviour is fairly intuitive. The xterm-scrollbar is without arrows and its behaviour mimics that of *xterm* @@ -1035,7 +1037,7 @@ TEXT SELECTION AND INSERTION Insertion: Pressing and releasing the Middle mouse button (or Shift-Insert) in - an rxvt window causes the current text selection to be inserted as + an urxvt window causes the current text selection to be inserted as if it had been typed on the keyboard. CHANGING FONTS @@ -1110,13 +1112,13 @@ ISO 14755 SUPPORT both scenario A and B of ISO 14755, including part 5.2. LOGIN STAMP - rxvt tries to write an entry into the *utmp*(5) file so that it can be + urxvt tries to write an entry into the *utmp*(5) file so that it can be seen via the *who(1)* command, and can accept messages. To allow this - feature, rxvt may need to be installed setuid root on some systems or + feature, urxvt may need to be installed setuid root on some systems or setgid to root or to some other group on others. COLORS AND GRAPHICS - In addition to the default foreground and background colours, rxvt can + In addition to the default foreground and background colours, urxvt can display up to 16 colours (8 ANSI colours plus high-intensity bold/blink versions of the same). Here is a list of the colours with their rgb.txt names. @@ -1150,19 +1152,19 @@ COLORS AND GRAPHICS *xterm*(1) where the colours are only swapped if they have not otherwise been specified. For example, - rxvt -fg Black -bg White -rv + urxvt -fg Black -bg White -rv would yield White on Black, while on *xterm*(1) it would yield Black on White. ENVIRONMENT - rxvt sets and/or uses the following environment variables: + urxvt sets and/or uses the following environment variables: TERM Normally set to "rxvt-unicode", unless overwritten at configure time, via resources or on the commandline. COLORTERM - Either "rxvt", "rxvt-xpm", depending on wether rxvt was compiled + Either "rxvt", "rxvt-xpm", depending on wether urxvt was compiled with XPM support, and optionally with the added extension "-mono" to indicate that rxvt-unicode runs on a monochrome screen. @@ -1172,34 +1174,34 @@ ENVIRONMENT string "default" to indicate that the default-colour escape sequence is to be used), "bg" is the colour code used as default background colour (or the string "default"), and "xpm" is the string "default" - if rxvt was compiled with XPM support. Libraries like "ncurses" and + if urxvt was compiled with XPM support. Libraries like "ncurses" and "slang" can (and do) use this information to optimize screen output. WINDOWID - Set to the (decimal) X Window ID of the rxvt window (the toplevel + Set to the (decimal) X Window ID of the urxvt window (the toplevel window, which usually has subwindows for the scrollbar, the terminal window and so on). TERMINFO - Set to the terminfo directory iff rxvt was configured with + Set to the terminfo directory iff urxvt was configured with "--with-terminfo=PATH". DISPLAY - Used by rxvt to connect to the display and set to the correct + Used by urxvt to connect to the display and set to the correct display in it's child processes. SHELL The shell to be used for command execution, defaults to "/bin/sh". RXVTPATH - The path where rxvt looks for support files such as menu and xpm + The path where urxvt looks for support files such as menu and xpm files. PATH Used in the same way as "RXVTPATH". RXVT_SOCKET - The unix domain socket path used by rxvtc(1) and rxvtd(1). + The unix domain socket path used by urxvtc(1) and urxvtd(1). Default $HOME/.rxvt-unicode-*

If you only want to disable specific features, you first have to identify which perl extension is responsible. For this, read the section -PREPACKAGED EXTENSIONS in the rxvtperl(3) manpage. For +PREPACKAGED EXTENSIONS in the urxvtperl(3) manpage. For example, to disable the selection-popup and option-popup, specify this perl-ext-common resource:

@@ -244,7 +244,7 @@ embedding application.
The version number is displayed with the usage (-h). Also the escape sequence ESC [ 8 n sets the window title to the version number. When -using the rxvtc client, the version displayed is that of the +using the urxvtc client, the version displayed is that of the daemon.

@@ -360,7 +360,7 @@ Most likely it's the empty definition for enacs=. Just replace it b enacs=\E[0@ and try again.

-
bash's readline does not work correctly under rxvt.
+
bash's readline does not work correctly under urxvt.
I need a termcap file entry.
@@ -524,7 +524,7 @@ e.g.:

-   rxvt -fn basefont,font2,font3...
+ urxvt -fn basefont,font2,font3...

When rxvt-unicode sees a character, it will first look at the base @@ -908,7 +908,7 @@ Make sure that mouse reporting is actually turned off since killing some editors prematurely may leave the mouse in mouse report mode. I've heard that tcsh may use mouse reporting unless it otherwise specified. A quick check is to see if cut/paste works when the Alt or Shift keys are -depressed. See rxvt(7) +depressed.

What's with this bold/blink stuff?
@@ -992,10 +992,10 @@ me) as ``pretty girly''.

URxvt.color15: #e1dddd

-
How can I start rxvtd in a race-free way?
+
How can I start urxvtd in a race-free way?
-Try rxvtd -f -o, which tells rxvtd to open the +Try urxvtd -f -o, which tells urxvtd to open the display, create the listening socket and then fork.

@@ -1026,16 +1026,16 @@ be used (which may not be the same as your stty setting).

    # use Backspace = ^H
    $ stty erase ^H
-   $ rxvt
+ $ urxvt
    # use Backspace = ^?
    $ stty erase ^?
-   $ rxvt
+ $ urxvt
-

Toggle with ESC [ 36 h / ESC [ 36 l as documented in rxvt(7).

+

Toggle with ESC [ 36 h / ESC [ 36 l.

For an existing rxvt-unicode:

@@ -1083,7 +1083,7 @@ you have run ``configure'' with the
-

Here's an example for a URxvt session started using rxvt -name URxvt

+

Here's an example for a URxvt session started using urxvt -name URxvt

-   URxvt.selection-autotransform.0: s/^(\\S+):(\\d+):?$/vi +$2 \\Q$1\\E\\x0d/
+ URxvt.selection-autotransform.0: s/^([^:[:space:]]+):(\\d+):?$/vi +$2 \\Q$1\\E\\x0d/

And this example matches the same,but replaces it with vi-commands you can @@ -199,7 +199,7 @@ paste directly into your (vi :) editor:

-   URxvt.selection-autotransform.0: s/^(S+):(d+):?$/\\x1b:e \\Q$1\\E\\x0d:$2\\x0d/
+ URxvt.selection-autotransform.0: s/^([^:[:space:]]+(\\d+):?$/\\x1b:e \\Q$1\\E\\x0d:$2\\x0d/

Of course, this can be modified to suit your needs and your editor :)

@@ -491,7 +491,15 @@ Called just after the screen gets redrawn. See on_refresh_begin.
Called whenever the user presses a key combination that has a perl:string action bound to it (see description of the keysym -resource in the rxvt(1) manpage). +resource in the urxvt(1) manpage). +
+

+
on_x_event $term, $event
+
+
+Called on every X event received on the vt window (and possibly other +windows). Should only be used as a last resort. Most event structure +members are not passed.

on_focus_in $term
@@ -616,6 +624,22 @@ Returns the ``current time'' (as per the event loop). Mod3Mask, Mod4Mask, Mod5Mask, Button1Mask, Button2Mask, Button3Mask, Button4Mask, Button5Mask, AnyModifier
+
urxvt::NoEventMask, KeyPressMask, KeyReleaseMask, +ButtonPressMask, ButtonReleaseMask, EnterWindowMask, LeaveWindowMask, +PointerMotionMask, PointerMotionHintMask, Button1MotionMask, Button2MotionMask, +Button3MotionMask, Button4MotionMask, Button5MotionMask, ButtonMotionMask, +KeymapStateMask, ExposureMask, VisibilityChangeMask, StructureNotifyMask, +ResizeRedirectMask, SubstructureNotifyMask, SubstructureRedirectMask, +FocusChangeMask, PropertyChangeMask, ColormapChangeMask, OwnerGrabButtonMask
+
+
urxvt::KeyPress, KeyRelease, ButtonPress, ButtonRelease, MotionNotify, +EnterNotify, LeaveNotify, FocusIn, FocusOut, KeymapNotify, Expose, +GraphicsExpose, NoExpose, VisibilityNotify, CreateNotify, DestroyNotify, +UnmapNotify, MapNotify, MapRequest, ReparentNotify, ConfigureNotify, +ConfigureRequest, GravityNotify, ResizeRequest, CirculateNotify, +CirculateRequest, PropertyNotify, SelectionClear, SelectionRequest, +SelectionNotify, ColormapNotify, ClientMessage, MappingNotify
+
Various constants for use in X calls and event processing.
@@ -713,7 +737,7 @@ initialise perl, and the terminal object otherwise. The init and
Destroy the terminal object (close the window, free resources -etc.). Please note that rxvt will not exit as long as any event +etc.). Please note that urxvt will not exit as long as any event watchers (timers, io watchers) are still active.

@@ -798,7 +822,7 @@ the wrong resources.

Adds a keymap translation exactly as specified via a resource. See the -keysym resource in the rxvt(1) manpage. +keysym resource in the urxvt(1) manpage.

$rend = $term->rstyle ([$new_rstyle])
@@ -999,6 +1023,17 @@ Return the window id of the toplevel window. Return the window id of the terminal window.

+
$term->vt_emask_add ($x_event_mask)
+
+
+Adds the specified events to the vt event mask. Useful e.g. when you want +to receive pointer events all the times: +
+
+
+   $term->vt_emask_add (urxvt::PointerMotionMask);
+
+

$window_width = $term->width
$window_height = $term->height
diff --git a/doc/rxvtperl.3.man.in b/doc/rxvtperl.3.man.in index 70b1de2e..48ebd258 100644 --- a/doc/rxvtperl.3.man.in +++ b/doc/rxvtperl.3.man.in @@ -259,14 +259,14 @@ For example, the following will transform selections of the form $word\*(C'\fR: .Sp .Vb 1 -\& URxvt.selection-autotransform.0: s/^(\e\eS+):(\e\ed+):?$/vi +$2 \e\eQ$1\e\eE\e\ex0d/ +\& URxvt.selection-autotransform.0: s/^([^:[:space:]]+):(\e\ed+):?$/vi +$2 \e\eQ$1\e\eE\e\ex0d/ .Ve .Sp And this example matches the same,but replaces it with vi-commands you can paste directly into your (vi :) editor: .Sp .Vb 1 -\& URxvt.selection-autotransform.0: s/^(S+):(d+):?$/\e\ex1b:e \e\eQ$1\e\eE\e\ex0d:$2\e\ex0d/ +\& URxvt.selection-autotransform.0: s/^([^:[:space:]]+(\e\ed+):?$/\e\ex1b:e \e\eQ$1\e\eE\e\ex0d:$2\e\ex0d/ .Ve .Sp Of course, this can be modified to suit your needs and your editor :) @@ -492,6 +492,12 @@ Called just after the screen gets redrawn. See \f(CW\*(C`on_refresh_begin\*(C'\f Called whenever the user presses a key combination that has a \&\f(CW\*(C`perl:string\*(C'\fR action bound to it (see description of the \fBkeysym\fR resource in the @@RXVT_NAME@@(1) manpage). +.ie n .IP "on_x_event $term\fR, \f(CW$event" 4 +.el .IP "on_x_event \f(CW$term\fR, \f(CW$event\fR" 4 +.IX Item "on_x_event $term, $event" +Called on every X event received on the vt window (and possibly other +windows). Should only be used as a last resort. Most event structure +members are not passed. .ie n .IP "on_focus_in $term" 4 .el .IP "on_focus_in \f(CW$term\fR" 4 .IX Item "on_focus_in $term" @@ -587,6 +593,10 @@ Returns the \*(L"current time\*(R" (as per the event loop). .PD 0 .IP "urxvt::ShiftMask, LockMask, ControlMask, Mod1Mask, Mod2Mask, Mod3Mask, Mod4Mask, Mod5Mask, Button1Mask, Button2Mask, Button3Mask, Button4Mask, Button5Mask, AnyModifier" 4 .IX Item "urxvt::ShiftMask, LockMask, ControlMask, Mod1Mask, Mod2Mask, Mod3Mask, Mod4Mask, Mod5Mask, Button1Mask, Button2Mask, Button3Mask, Button4Mask, Button5Mask, AnyModifier" +.IP "urxvt::NoEventMask, KeyPressMask, KeyReleaseMask, ButtonPressMask, ButtonReleaseMask, EnterWindowMask, LeaveWindowMask, PointerMotionMask, PointerMotionHintMask, Button1MotionMask, Button2MotionMask, Button3MotionMask, Button4MotionMask, Button5MotionMask, ButtonMotionMask, KeymapStateMask, ExposureMask, VisibilityChangeMask, StructureNotifyMask, ResizeRedirectMask, SubstructureNotifyMask, SubstructureRedirectMask, FocusChangeMask, PropertyChangeMask, ColormapChangeMask, OwnerGrabButtonMask" 4 +.IX Item "urxvt::NoEventMask, KeyPressMask, KeyReleaseMask, ButtonPressMask, ButtonReleaseMask, EnterWindowMask, LeaveWindowMask, PointerMotionMask, PointerMotionHintMask, Button1MotionMask, Button2MotionMask, Button3MotionMask, Button4MotionMask, Button5MotionMask, ButtonMotionMask, KeymapStateMask, ExposureMask, VisibilityChangeMask, StructureNotifyMask, ResizeRedirectMask, SubstructureNotifyMask, SubstructureRedirectMask, FocusChangeMask, PropertyChangeMask, ColormapChangeMask, OwnerGrabButtonMask" +.IP "urxvt::KeyPress, KeyRelease, ButtonPress, ButtonRelease, MotionNotify, EnterNotify, LeaveNotify, FocusIn, FocusOut, KeymapNotify, Expose, GraphicsExpose, NoExpose, VisibilityNotify, CreateNotify, DestroyNotify, UnmapNotify, MapNotify, MapRequest, ReparentNotify, ConfigureNotify, ConfigureRequest, GravityNotify, ResizeRequest, CirculateNotify, CirculateRequest, PropertyNotify, SelectionClear, SelectionRequest, SelectionNotify, ColormapNotify, ClientMessage, MappingNotify" 4 +.IX Item "urxvt::KeyPress, KeyRelease, ButtonPress, ButtonRelease, MotionNotify, EnterNotify, LeaveNotify, FocusIn, FocusOut, KeymapNotify, Expose, GraphicsExpose, NoExpose, VisibilityNotify, CreateNotify, DestroyNotify, UnmapNotify, MapNotify, MapRequest, ReparentNotify, ConfigureNotify, ConfigureRequest, GravityNotify, ResizeRequest, CirculateNotify, CirculateRequest, PropertyNotify, SelectionClear, SelectionRequest, SelectionNotify, ColormapNotify, ClientMessage, MappingNotify" .PD Various constants for use in X calls and event processing. .Sh "\s-1RENDITION\s0" @@ -884,6 +894,14 @@ Return the window id of the toplevel window. .el .IP "$windowid = \f(CW$term\fR\->vt" 4 .IX Item "$windowid = $term->vt" Return the window id of the terminal window. +.IP "$term\->vt_emask_add ($x_event_mask)" 4 +.IX Item "$term->vt_emask_add ($x_event_mask)" +Adds the specified events to the vt event mask. Useful e.g. when you want +to receive pointer events all the times: +.Sp +.Vb 1 +\& $term->vt_emask_add (urxvt::PointerMotionMask); +.Ve .ie n .IP "$window_width = $term\->width" 4 .el .IP "$window_width = \f(CW$term\fR\->width" 4 .IX Item "$window_width = $term->width" diff --git a/doc/rxvtperl.3.txt b/doc/rxvtperl.3.txt index 9adc7990..137eea04 100644 --- a/doc/rxvtperl.3.txt +++ b/doc/rxvtperl.3.txt @@ -1,5 +1,5 @@ NAME - rxvtperl - rxvt-unicode's embedded perl interpreter + urxvtperl - rxvt-unicode's embedded perl interpreter SYNOPSIS # create a file grab_test in $HOME: @@ -9,9 +9,9 @@ SYNOPSIS () } - # start a rxvt using it: + # start a urxvt using it: - rxvt --perl-lib $HOME -pe grab_test + urxvt --perl-lib $HOME -pe grab_test DESCRIPTION Everytime a terminal object gets created, extension scripts specified @@ -20,16 +20,16 @@ DESCRIPTION Scripts are compiled in a 'use strict' and 'use utf8' environment, and thus must be encoded as UTF-8. - Each script will only ever be loaded once, even in rxvtd, where scripts + Each script will only ever be loaded once, even in urxvtd, where scripts will be shared (but not enabled) for all terminals. PREPACKAGED EXTENSIONS This section describes the extensions delivered with this release. You - can find them in /opt/rxvt/lib/urxvt/perl/. + can find them in /usr/local/lib/urxvt/perl/. You can activate them like this: - rxvt -pe + urxvt -pe selection (enabled by default) (More) intelligent selection. This extension tries to be more @@ -105,12 +105,12 @@ PREPACKAGED EXTENSIONS "filename:number", often seen in compiler messages, into "vi +$filename $word": - URxvt.selection-autotransform.0: s/^(\\S+):(\\d+):?$/vi +$2 \\Q$1\\E\\x0d/ + URxvt.selection-autotransform.0: s/^([^:[:space:]]+):(\\d+):?$/vi +$2 \\Q$1\\E\\x0d/ And this example matches the same,but replaces it with vi-commands you can paste directly into your (vi :) editor: - URxvt.selection-autotransform.0: s/^(S+):(d+):?$/\\x1b:e \\Q$1\\E\\x0d:$2\\x0d/ + URxvt.selection-autotransform.0: s/^([^:[:space:]]+(\\d+):?$/\\x1b:e \\Q$1\\E\\x0d:$2\\x0d/ Of course, this can be modified to suit your needs and your editor :) @@ -320,7 +320,12 @@ API DOCUMENTATION on_keyboard_command $term, $string Called whenever the user presses a key combination that has a "perl:string" action bound to it (see description of the keysym - resource in the rxvt(1) manpage). + resource in the urxvt(1) manpage). + + on_x_event $term, $event + Called on every X event received on the vt window (and possibly + other windows). Should only be used as a last resort. Most event + structure members are not passed. on_focus_in $term Called whenever the window gets the keyboard focus, before @@ -394,6 +399,21 @@ API DOCUMENTATION urxvt::ShiftMask, LockMask, ControlMask, Mod1Mask, Mod2Mask, Mod3Mask, Mod4Mask, Mod5Mask, Button1Mask, Button2Mask, Button3Mask, Button4Mask, Button5Mask, AnyModifier + urxvt::NoEventMask, KeyPressMask, KeyReleaseMask, ButtonPressMask, + ButtonReleaseMask, EnterWindowMask, LeaveWindowMask, PointerMotionMask, + PointerMotionHintMask, Button1MotionMask, Button2MotionMask, + Button3MotionMask, Button4MotionMask, Button5MotionMask, + ButtonMotionMask, KeymapStateMask, ExposureMask, VisibilityChangeMask, + StructureNotifyMask, ResizeRedirectMask, SubstructureNotifyMask, + SubstructureRedirectMask, FocusChangeMask, PropertyChangeMask, + ColormapChangeMask, OwnerGrabButtonMask + urxvt::KeyPress, KeyRelease, ButtonPress, ButtonRelease, MotionNotify, + EnterNotify, LeaveNotify, FocusIn, FocusOut, KeymapNotify, Expose, + GraphicsExpose, NoExpose, VisibilityNotify, CreateNotify, DestroyNotify, + UnmapNotify, MapNotify, MapRequest, ReparentNotify, ConfigureNotify, + ConfigureRequest, GravityNotify, ResizeRequest, CirculateNotify, + CirculateRequest, PropertyNotify, SelectionClear, SelectionRequest, + SelectionNotify, ColormapNotify, ClientMessage, MappingNotify Various constants for use in X calls and event processing. RENDITION @@ -456,7 +476,7 @@ API DOCUMENTATION $term->destroy Destroy the terminal object (close the window, free resources etc.). - Please note that rxvt will not exit as long as any event watchers + Please note that urxvt will not exit as long as any event watchers (timers, io watchers) are still active. $isset = $term->option ($optval[, $set]) @@ -521,7 +541,7 @@ API DOCUMENTATION $success = $term->parse_keysym ($keysym_spec, $command_string) Adds a keymap translation exactly as specified via a resource. See - the "keysym" resource in the rxvt(1) manpage. + the "keysym" resource in the urxvt(1) manpage. $rend = $term->rstyle ([$new_rstyle]) Return and optionally change the current rendition. Text that is @@ -651,6 +671,12 @@ API DOCUMENTATION $windowid = $term->vt Return the window id of the terminal window. + $term->vt_emask_add ($x_event_mask) + Adds the specified events to the vt event mask. Useful e.g. when you + want to receive pointer events all the times: + + $term->vt_emask_add (urxvt::PointerMotionMask); + $window_width = $term->width $window_height = $term->height $font_width = $term->fwidth -- 2.34.1
@@ -3048,7 +3048,7 @@ in combination with other switches) is:

--enable-iso14755 (default: on)
-Enable extended ISO 14755 support (see rxvt(1), or +Enable extended ISO 14755 support (see urxvt(1), or doc/rxvt.1.txt). Basic support (section 5.1) is enabled by --enable-frills, while support for 5.2, 5.3 and 5.4 is enabled with this switch. @@ -3118,7 +3118,7 @@ Add support to have the pointer disappear when typing or inactive.
--enable-perl (default: off)
-Enable an embedded perl interpreter. See the rxvtperl(3) +Enable an embedded perl interpreter. See the urxvtperl(3) manpage (doc/rxvtperl.txt) for more info on this feature, or the files in src/perl-ext/ for the extensions that are installed by default. The perl interpreter that is used can be specified via the PERL environment diff --git a/doc/rxvt.7.man.in b/doc/rxvt.7.man.in index aa3184d0..3f666b16 100644 --- a/doc/rxvt.7.man.in +++ b/doc/rxvt.7.man.in @@ -829,7 +829,7 @@ Make sure that mouse reporting is actually turned off since killing some editors prematurely may leave the mouse in mouse report mode. I've heard that tcsh may use mouse reporting unless it otherwise specified. A quick check is to see if cut/paste works when the Alt or Shift keys are -depressed. See @@RXVT_NAME@@(7) +depressed. .IP "What's with this bold/blink stuff?" 4 .IX Item "What's with this bold/blink stuff?" If no bold colour is set via \f(CW\*(C`colorBD:\*(C'\fR, bold will invert text using the @@ -934,7 +934,7 @@ For starting a new rxvt\-unicode: \& $ @@RXVT_NAME@@ .Ve .Sp -Toggle with \f(CW\*(C`ESC [ 36 h\*(C'\fR / \f(CW\*(C`ESC [ 36 l\*(C'\fR as documented in @@RXVT_NAME@@(7). +Toggle with \f(CW\*(C`ESC [ 36 h\*(C'\fR / \f(CW\*(C`ESC [ 36 l\*(C'\fR. .Sp For an existing rxvt\-unicode: .Sp diff --git a/doc/rxvt.7.pod b/doc/rxvt.7.pod index fa93928d..0c4b8fec 100644 --- a/doc/rxvt.7.pod +++ b/doc/rxvt.7.pod @@ -674,7 +674,7 @@ Make sure that mouse reporting is actually turned off since killing some editors prematurely may leave the mouse in mouse report mode. I've heard that tcsh may use mouse reporting unless it otherwise specified. A quick check is to see if cut/paste works when the Alt or Shift keys are -depressed. See @@RXVT_NAME@@(7) +depressed. =item What's with this bold/blink stuff? @@ -773,7 +773,7 @@ For starting a new rxvt-unicode: $ stty erase ^? $ @@RXVT_NAME@@ -Toggle with C / C as documented in @@RXVT_NAME@@(7). +Toggle with C / C. For an existing rxvt-unicode: diff --git a/doc/rxvt.7.txt b/doc/rxvt.7.txt index 5bfa0648..8cbd8e12 100644 --- a/doc/rxvt.7.txt +++ b/doc/rxvt.7.txt @@ -46,7 +46,7 @@ FREQUENTLY ASKED QUESTIONS If you only want to disable specific features, you first have to identify which perl extension is responsible. For this, read the - section PREPACKAGED EXTENSIONS in the rxvtperl(3) manpage. For + section PREPACKAGED EXTENSIONS in the urxvtperl(3) manpage. For example, to disable the selection-popup and option-popup, specify this perl-ext-common resource: @@ -146,7 +146,7 @@ FREQUENTLY ASKED QUESTIONS How do I know which rxvt-unicode version I'm using? The version number is displayed with the usage (-h). Also the escape sequence "ESC [ 8 n" sets the window title to the version number. - When using the rxvtc client, the version displayed is that of the + When using the urxvtc client, the version displayed is that of the daemon. I am using Debian GNU/Linux and have a problem... @@ -240,7 +240,7 @@ FREQUENTLY ASKED QUESTIONS Most likely it's the empty definition for "enacs=". Just replace it by "enacs=\E[0@" and try again. - "bash"'s readline does not work correctly under rxvt. + "bash"'s readline does not work correctly under urxvt. I need a termcap file entry. One reason you might want this is that some distributions or operating systems still compile some programs using the @@ -361,7 +361,7 @@ FREQUENTLY ASKED QUESTIONS In that case, select a font of your taste and add it to the font list, e.g.: - rxvt -fn basefont,font2,font3... + urxvt -fn basefont,font2,font3... When rxvt-unicode sees a character, it will first look at the base font. If the base font does not contain the character, it will go to @@ -656,7 +656,7 @@ FREQUENTLY ASKED QUESTIONS some editors prematurely may leave the mouse in mouse report mode. I've heard that tcsh may use mouse reporting unless it otherwise specified. A quick check is to see if cut/paste works when the Alt - or Shift keys are depressed. See rxvt(7) + or Shift keys are depressed. What's with this bold/blink stuff? If no bold colour is set via "colorBD:", bold will invert text using @@ -721,9 +721,9 @@ FREQUENTLY ASKED QUESTIONS URxvt.color7: #e1dddd URxvt.color15: #e1dddd - How can I start rxvtd in a race-free way? - Try "rxvtd -f -o", which tells rxvtd to open the display, create the - listening socket and then fork. + How can I start urxvtd in a race-free way? + Try "urxvtd -f -o", which tells urxvtd to open the display, create + the listening socket and then fork. What's with the strange Backspace/Delete key behaviour? Assuming that the physical Backspace key corresponds to the @@ -746,13 +746,13 @@ FREQUENTLY ASKED QUESTIONS # use Backspace = ^H $ stty erase ^H - $ rxvt + $ urxvt # use Backspace = ^? $ stty erase ^? - $ rxvt + $ urxvt - Toggle with "ESC [ 36 h" / "ESC [ 36 l" as documented in rxvt(7). + Toggle with "ESC [ 36 h" / "ESC [ 36 l". For an existing rxvt-unicode: @@ -788,7 +788,7 @@ FREQUENTLY ASKED QUESTIONS option you can use the `keysym' resource to alter the keystrings associated with keysyms. - Here's an example for a URxvt session started using "rxvt -name + Here's an example for a URxvt session started using "urxvt -name URxvt" URxvt.keysym.Home: \033[1~ @@ -2042,7 +2042,7 @@ CONFIGURE OPTIONS sgr modes 90..97 and 100..107 --enable-iso14755 (default: on) - Enable extended ISO 14755 support (see rxvt(1), or doc/rxvt.1.txt). + Enable extended ISO 14755 support (see urxvt(1), or doc/rxvt.1.txt). Basic support (section 5.1) is enabled by "--enable-frills", while support for 5.2, 5.3 and 5.4 is enabled with this switch. @@ -2083,7 +2083,7 @@ CONFIGURE OPTIONS Add support to have the pointer disappear when typing or inactive. --enable-perl (default: off) - Enable an embedded perl interpreter. See the rxvtperl(3) manpage + Enable an embedded perl interpreter. See the urxvtperl(3) manpage (doc/rxvtperl.txt) for more info on this feature, or the files in src/perl-ext/ for the extensions that are installed by default. The perl interpreter that is used can be specified via the "PERL" diff --git a/doc/rxvtperl.3.html b/doc/rxvtperl.3.html index 88b9905a..841984cb 100644 --- a/doc/rxvtperl.3.html +++ b/doc/rxvtperl.3.html @@ -1,7 +1,7 @@ -rxvtperl - rxvt-unicode's embedded perl interpreter +urxvtperl - rxvt-unicode's embedded perl interpreter @@ -47,7 +47,7 @@


NAME

-

rxvtperl - rxvt-unicode's embedded perl interpreter

+

urxvtperl - rxvt-unicode's embedded perl interpreter


@@ -60,9 +60,9 @@ () }
-   # start a rxvt using it:
+ # start a urxvt using it:
-   rxvt --perl-lib $HOME -pe grab_test
+ urxvt --perl-lib $HOME -pe grab_test


@@ -71,17 +71,17 @@ the perl resource are loaded and associated with it.

Scripts are compiled in a 'use strict' and 'use utf8' environment, and thus must be encoded as UTF-8.

-

Each script will only ever be loaded once, even in rxvtd, where +

Each script will only ever be loaded once, even in urxvtd, where scripts will be shared (but not enabled) for all terminals.


PREPACKAGED EXTENSIONS

This section describes the extensions delivered with this release. You can -find them in /opt/rxvt/lib/urxvt/perl/.

+find them in /usr/local/lib/urxvt/perl/.

You can activate them like this:

-  rxvt -pe <extensionname>
+ urxvt -pe <extensionname>
selection (enabled by default)
@@ -191,7 +191,7 @@ $word
: