From 1600a3ffed96b502bb6cc2e84506e945f621228e Mon Sep 17 00:00:00 2001
From: root
Date: Wed, 25 Jan 2006 21:48:46 +0000
Subject: [PATCH] *** empty log message ***
---
Changes | 2 +-
README.configure | 1 +
doc/rxvt.1.html | 30 +++++++++++++++++++++++++---
doc/rxvt.1.man.in | 22 ++++++++++++++++++---
doc/rxvt.1.txt | 23 +++++++++++++++++++---
doc/rxvt.7.html | 1 +
doc/rxvt.7.man.in | 5 +++--
doc/rxvt.7.txt | 1 +
doc/rxvtperl.3.html | 45 +++++++++++++++++++++++++++++++++++-------
doc/rxvtperl.3.man.in | 46 ++++++++++++++++++++++++++++++++-----------
doc/rxvtperl.3.txt | 38 +++++++++++++++++++++++++++--------
src/Makefile.in | 6 ++++++
src/version.h | 2 +-
13 files changed, 183 insertions(+), 39 deletions(-)
diff --git a/Changes b/Changes
index 03c29d5b..d3a1139d 100644
--- a/Changes
+++ b/Changes
@@ -13,7 +13,7 @@ WISH: just for fun, do shade and tint with XRender.
WISH: http://www120.pair.com/mccarthy/nextstep/intro.htmld/Workspace.html is the correct nextstep look.
DUMB: support tex fonts
-7.3
+7.3 Wed Jan 25 22:47:35 CET 2006
- don't let iso14755 or mouse reporting get into the way of perl
(could lead to global grabs never being cleared).
- experimental OnTheSpot editing support (-pe xim-onthespot).
diff --git a/README.configure b/README.configure
index 5397ab6a..a4290157 100644
--- a/README.configure
+++ b/README.configure
@@ -166,6 +166,7 @@ CONFIGURE OPTIONS
EWMH-hints (pid, utf8 names) and protocols (ping)
seperate underline colour (-underlineColor)
settable border widths and borderless switch (-w, -b, -bl)
+ visual selection (-depth)
settable extra linespacing /-lsp)
iso-14755-2 and -3, and visual feedback
backindex and forwardindex escape sequence
diff --git a/doc/rxvt.1.html b/doc/rxvt.1.html
index daea813f..f6d0a41b 100644
--- a/doc/rxvt.1.html
+++ b/doc/rxvt.1.html
@@ -48,7 +48,7 @@
-rxvt-unicode, version 7.2, is a colour vt102 terminal
+
rxvt-unicode, version 7.3, is a colour vt102 terminal
emulator intended as an xterm(1) replacement for users who do not
require features such as Tektronix 4014 emulation and toolkit-style
configurability. As a result, rxvt-unicode uses much less swap space --
@@ -133,6 +133,13 @@ respected). In the absence of this option, the display specified by the
DISPLAY environment variable is used.
+-depth bitdepth
+
+
+Compile frills: Attempt to find a visual with the given bit depth;
+resource depth.
+
+
-geometry geom
@@ -683,6 +690,13 @@ settings. The following resources are supported (you might want to
check the rxvtperl(3)
manpage for additional settings by perl
extensions not documented here):
+- depth: bitdepth
+
+-
+Compile frills: Attempt to find a visual with the given bit depth;
+option -depth.
+
+
- geometry: geom
-
@@ -1210,8 +1224,18 @@ with the Execute key.
- cutchars: string
-
-The characters used as delimiters for double-click word selection. The
-built-in default:
+The characters used as delimiters for double-click word selection
+(whitespace delimiting is added automatically if resource is given).
+
+-
+
When the selection extension is in use (the default if compiled in, see
+the rxvtperl(3)
manpage), a suitable regex using these characters
+will be created (if the resource exists, otherwise, no regex will be
+created). In this mode, characters outside ISO-8859-1 can be used.
+
+-
+
When the selection extension is not used, only ISO-8859-1 characters can
+be used. If not specified, the built-in default is used:
-
BACKSLASH ```'&()*,;<=?@[]{|} >>
diff --git a/doc/rxvt.1.man.in b/doc/rxvt.1.man.in
index 14a9646c..76621713 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-25" "7.2" "RXVT-UNICODE"
+.TH rxvt 1 "2006-01-25" "7.3" "RXVT-UNICODE"
.SH "NAME"
rxvt\-unicode (ouR XVT, unicode) \- (a VT102 emulator for the X window system)
.SH "SYNOPSIS"
@@ -216,6 +216,10 @@ Print out a message describing available options.
Attempt to open a window on the named X display (\fB\-d\fR still
respected). In the absence of this option, the display specified by the
\&\fB\s-1DISPLAY\s0\fR environment variable is used.
+.IP "\fB\-depth\fR \fIbitdepth\fR" 4
+.IX Item "-depth bitdepth"
+Compile \fIfrills\fR: Attempt to find a visual with the given bit depth;
+resource \fBdepth\fR.
.IP "\fB\-geometry\fR \fIgeom\fR" 4
.IX Item "-geometry geom"
Window geometry (\fB\-g\fR still respected); resource \fBgeometry\fR.
@@ -580,6 +584,10 @@ be used. Command-line arguments can be used to override resource
settings. The following resources are supported (you might want to
check the @@RXVT_NAME@@\fIperl\fR\|(3) manpage for additional settings by perl
extensions not documented here):
+.IP "\fBdepth:\fR \fIbitdepth\fR" 4
+.IX Item "depth: bitdepth"
+Compile \fIfrills\fR: Attempt to find a visual with the given bit depth;
+option \fB\-depth\fR.
.IP "\fBgeometry:\fR \fIgeom\fR" 4
.IX Item "geometry: geom"
Create the window with the specified X window geometry [default 80x24];
@@ -921,8 +929,16 @@ pressed. If unset it will send the sequence traditionally associated
with the \fBExecute\fR key.
.IP "\fBcutchars:\fR \fIstring\fR" 4
.IX Item "cutchars: string"
-The characters used as delimiters for double-click word selection. The
-built-in default:
+The characters used as delimiters for double-click word selection
+(whitespace delimiting is added automatically if resource is given).
+.Sp
+When the selection extension is in use (the default if compiled in, see
+the @@RXVT_NAME@@\fIperl\fR\|(3) manpage), a suitable regex using these characters
+will be created (if the resource exists, otherwise, no regex will be
+created). In this mode, characters outside \s-1ISO\-8859\-1\s0 can be used.
+.Sp
+When the selection extension is not used, only \s-1ISO\-8859\-1\s0 characters can
+be used. If not specified, the built-in default is used:
.Sp
\&\fB\s-1BACKSLASH\s0 `"'&()*,;<=>?@[]{|}\fR
.IP "\fBpreeditType:\fR \fIstyle\fR" 4
diff --git a/doc/rxvt.1.txt b/doc/rxvt.1.txt
index 0de6a620..1650ef06 100644
--- a/doc/rxvt.1.txt
+++ b/doc/rxvt.1.txt
@@ -6,7 +6,7 @@ SYNOPSIS
rxvt [options] [-e command [ args ]]
DESCRIPTION
- rxvt-unicode, version 7.2, is a colour vt102 terminal emulator intended
+ rxvt-unicode, version 7.3, is a colour vt102 terminal emulator intended
as an *xterm*(1) replacement for users who do not require features such
as Tektronix 4014 emulation and toolkit-style configurability. As a
result, rxvt-unicode uses much less swap space -- a significant
@@ -86,6 +86,10 @@ OPTIONS
respected). In the absence of this option, the display specified by
the DISPLAY environment variable is used.
+ -depth *bitdepth*
+ Compile *frills*: Attempt to find a visual with the given bit depth;
+ resource depth.
+
-geometry *geom*
Window geometry (-g still respected); resource geometry.
@@ -434,6 +438,10 @@ RESOURCES (available also as long-options)
the rxvtperl(3) manpage for additional settings by perl extensions not
documented here):
+ depth: *bitdepth*
+ Compile *frills*: Attempt to find a visual with the given bit depth;
+ option -depth.
+
geometry: *geom*
Create the window with the specified X window geometry [default
80x24]; option -geometry.
@@ -771,8 +779,17 @@ RESOURCES (available also as long-options)
associated with the Execute key.
cutchars: *string*
- The characters used as delimiters for double-click word selection.
- The built-in default:
+ The characters used as delimiters for double-click word selection
+ (whitespace delimiting is added automatically if resource is given).
+
+ When the selection extension is in use (the default if compiled in,
+ see the rxvtperl(3) manpage), a suitable regex using these
+ characters will be created (if the resource exists, otherwise, no
+ regex will be created). In this mode, characters outside ISO-8859-1
+ can be used.
+
+ When the selection extension is not used, only ISO-8859-1 characters
+ can be used. If not specified, the built-in default is used:
BACKSLASH `"'&()*,;<=>?@[]{|}
diff --git a/doc/rxvt.7.html b/doc/rxvt.7.html
index b5d4eb5b..95b8804f 100644
--- a/doc/rxvt.7.html
+++ b/doc/rxvt.7.html
@@ -2413,6 +2413,7 @@ in combination with other switches) is:
EWMH-hints (pid, utf8 names) and protocols (ping)
seperate underline colour (-underlineColor)
settable border widths and borderless switch (-w, -b, -bl)
+ visual selection (-depth)
settable extra linespacing /-lsp)
iso-14755-2 and -3, and visual feedback
backindex and forwardindex escape sequence
diff --git a/doc/rxvt.7.man.in b/doc/rxvt.7.man.in
index c0fc929f..a34b9a4b 100644
--- a/doc/rxvt.7.man.in
+++ b/doc/rxvt.7.man.in
@@ -129,7 +129,7 @@
.\" ========================================================================
.\"
.IX Title "rxvt 7"
-.TH rxvt 7 "2006-01-25" "7.2" "RXVT-UNICODE"
+.TH rxvt 7 "2006-01-25" "7.3" "RXVT-UNICODE"
.SH "NAME"
RXVT REFERENCE \- FAQ, command sequences and other background information
.SH "SYNOPSIS"
@@ -2155,11 +2155,12 @@ disable this.
A non-exhaustive list of features enabled by \f(CW\*(C`\-\-enable\-frills\*(C'\fR (possibly
in combination with other switches) is:
.Sp
-.Vb 17
+.Vb 18
\& MWM-hints
\& EWMH-hints (pid, utf8 names) and protocols (ping)
\& seperate underline colour (-underlineColor)
\& settable border widths and borderless switch (-w, -b, -bl)
+\& visual selection (-depth)
\& settable extra linespacing /-lsp)
\& iso-14755-2 and -3, and visual feedback
\& backindex and forwardindex escape sequence
diff --git a/doc/rxvt.7.txt b/doc/rxvt.7.txt
index 76882136..b5f0e3e1 100644
--- a/doc/rxvt.7.txt
+++ b/doc/rxvt.7.txt
@@ -1677,6 +1677,7 @@ CONFIGURE OPTIONS
EWMH-hints (pid, utf8 names) and protocols (ping)
seperate underline colour (-underlineColor)
settable border widths and borderless switch (-w, -b, -bl)
+ visual selection (-depth)
settable extra linespacing /-lsp)
iso-14755-2 and -3, and visual feedback
backindex and forwardindex escape sequence
diff --git a/doc/rxvtperl.3.html b/doc/rxvtperl.3.html
index b79392dc..295cbd31 100644
--- a/doc/rxvtperl.3.html
+++ b/doc/rxvtperl.3.html
@@ -348,12 +348,31 @@ similar-looking ascii character.
Displays a digital clock using the built-in overlay.
-- example-refresh-hooks
+- remote-clipboard
-
-Displays a very simple digital clock in the upper right corner of the
-window. Illustrates overwriting the refresh callbacks to create your own
-overlays or changes.
+Somewhat of a misnomer, this extension adds two menu entries to the
+selection popup that allows one ti run external commands to store the
+selection somewhere and fetch it again.
+
+-
+
We use it to implement a ``distributed selection mechanism'', which just
+means that one command uploads the file to a remote server, and another
+reads it.
+
+-
+
The commands can be set using the URxvt.remote-selection.store
and
+URxvt.remote-selection.fetch
resources. The first should read the
+selection to store from STDIN (always in UTF-8), the second should provide
+the selection data on STDOUT (also in UTF-8).
+
+-
+
The defaults (which are likely useless to you) use rsh and cat:
+
+-
+
+ URxvt.remote-selection.store: rsh ruth 'cat >/tmp/distributed-selection'
+ URxvt.remote-selection.fetch: rsh ruth 'cat /tmp/distributed-selection'
- selection-pastebin
@@ -397,6 +416,14 @@ for the filename):
URxvt.selection-pastebin.url: http://www.ta-sa.org/files/txt/%
+
+example-refresh-hooks
+
+
+Displays a very simple digital clock in the upper right corner of the
+window. Illustrates overwriting the refresh callbacks to create your own
+overlays or changes.
+
@@ -655,13 +682,17 @@ code is run after this hook, and takes precedence.
Called just after the screen gets redrawn. See on_refresh_begin
.
-on_keyboard_command $term, $string
+on_user_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
+Called whenever the a user-configured event is being activated (e.g. via
+a perl:string
action bound to a key, see description of the keysym
resource in the rxvt(1)
manpage).
+
+The event is simply the action string. This interface is assumed to change
+slightly in the future.
+
on_x_event $term, $event
diff --git a/doc/rxvtperl.3.man.in b/doc/rxvtperl.3.man.in
index 77b88af6..b9fc478e 100644
--- a/doc/rxvtperl.3.man.in
+++ b/doc/rxvtperl.3.man.in
@@ -129,7 +129,7 @@
.\" ========================================================================
.\"
.IX Title "rxvt 3"
-.TH rxvt 3 "2006-01-25" "7.2" "RXVT-UNICODE"
+.TH rxvt 3 "2006-01-25" "7.3" "RXVT-UNICODE"
.SH "NAME"
@@RXVT_NAME@@perl \- rxvt\-unicode's embedded perl interpreter
.SH "SYNOPSIS"
@@ -390,11 +390,27 @@ similar-looking ascii character.
.IP "digital-clock" 4
.IX Item "digital-clock"
Displays a digital clock using the built-in overlay.
-.IP "example-refresh-hooks" 4
-.IX Item "example-refresh-hooks"
-Displays a very simple digital clock in the upper right corner of the
-window. Illustrates overwriting the refresh callbacks to create your own
-overlays or changes.
+.IP "remote-clipboard" 4
+.IX Item "remote-clipboard"
+Somewhat of a misnomer, this extension adds two menu entries to the
+selection popup that allows one ti run external commands to store the
+selection somewhere and fetch it again.
+.Sp
+We use it to implement a \*(L"distributed selection mechanism\*(R", which just
+means that one command uploads the file to a remote server, and another
+reads it.
+.Sp
+The commands can be set using the \f(CW\*(C`URxvt.remote\-selection.store\*(C'\fR and
+\&\f(CW\*(C`URxvt.remote\-selection.fetch\*(C'\fR resources. The first should read the
+selection to store from \s-1STDIN\s0 (always in \s-1UTF\-8\s0), the second should provide
+the selection data on \s-1STDOUT\s0 (also in \s-1UTF\-8\s0).
+.Sp
+The defaults (which are likely useless to you) use rsh and cat:
+.Sp
+.Vb 2
+\& URxvt.remote-selection.store: rsh ruth 'cat >/tmp/distributed-selection'
+\& URxvt.remote-selection.fetch: rsh ruth 'cat /tmp/distributed-selection'
+.Ve
.IP "selection-pastebin" 4
.IX Item "selection-pastebin"
This is a little rarely useful extension that Uploads the selection as
@@ -429,6 +445,11 @@ for the filename):
.Vb 1
\& URxvt.selection-pastebin.url: http://www.ta-sa.org/files/txt/%
.Ve
+.IP "example-refresh-hooks" 4
+.IX Item "example-refresh-hooks"
+Displays a very simple digital clock in the upper right corner of the
+window. Illustrates overwriting the refresh callbacks to create your own
+overlays or changes.
.SH "API DOCUMENTATION"
.IX Header "API DOCUMENTATION"
.Sh "General \s-1API\s0 Considerations"
@@ -629,12 +650,15 @@ code is run after this hook, and takes precedence.
.el .IP "on_refresh_end \f(CW$term\fR" 4
.IX Item "on_refresh_end $term"
Called just after the screen gets redrawn. See \f(CW\*(C`on_refresh_begin\*(C'\fR.
-.ie n .IP "on_keyboard_command $term\fR, \f(CW$string" 4
-.el .IP "on_keyboard_command \f(CW$term\fR, \f(CW$string\fR" 4
-.IX Item "on_keyboard_command $term, $string"
-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
+.ie n .IP "on_user_command $term\fR, \f(CW$string" 4
+.el .IP "on_user_command \f(CW$term\fR, \f(CW$string\fR" 4
+.IX Item "on_user_command $term, $string"
+Called whenever the a user-configured event is being activated (e.g. via
+a \f(CW\*(C`perl:string\*(C'\fR action bound to a key, see description of the \fBkeysym\fR
resource in the @@RXVT_NAME@@(1) manpage).
+.Sp
+The event is simply the action string. This interface is assumed to change
+slightly in the future.
.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"
diff --git a/doc/rxvtperl.3.txt b/doc/rxvtperl.3.txt
index 1348750c..9e11351e 100644
--- a/doc/rxvtperl.3.txt
+++ b/doc/rxvtperl.3.txt
@@ -218,10 +218,24 @@ PREPACKAGED EXTENSIONS
digital-clock
Displays a digital clock using the built-in overlay.
- example-refresh-hooks
- Displays a very simple digital clock in the upper right corner of
- the window. Illustrates overwriting the refresh callbacks to create
- your own overlays or changes.
+ remote-clipboard
+ Somewhat of a misnomer, this extension adds two menu entries to the
+ selection popup that allows one ti run external commands to store
+ the selection somewhere and fetch it again.
+
+ We use it to implement a "distributed selection mechanism", which
+ just means that one command uploads the file to a remote server, and
+ another reads it.
+
+ The commands can be set using the "URxvt.remote-selection.store" and
+ "URxvt.remote-selection.fetch" resources. The first should read the
+ selection to store from STDIN (always in UTF-8), the second should
+ provide the selection data on STDOUT (also in UTF-8).
+
+ The defaults (which are likely useless to you) use rsh and cat:
+
+ URxvt.remote-selection.store: rsh ruth 'cat >/tmp/distributed-selection'
+ URxvt.remote-selection.fetch: rsh ruth 'cat /tmp/distributed-selection'
selection-pastebin
This is a little rarely useful extension that Uploads the selection
@@ -251,6 +265,11 @@ PREPACKAGED EXTENSIONS
URxvt.selection-pastebin.url: http://www.ta-sa.org/files/txt/%
+ example-refresh-hooks
+ Displays a very simple digital clock in the upper right corner of
+ the window. Illustrates overwriting the refresh callbacks to create
+ your own overlays or changes.
+
API DOCUMENTATION
General API Considerations
All objects (such as terminals, time watchers etc.) are typical
@@ -436,10 +455,13 @@ API DOCUMENTATION
on_refresh_end $term
Called just after the screen gets redrawn. See "on_refresh_begin".
- 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).
+ on_user_command $term, $string
+ Called whenever the a user-configured event is being activated (e.g.
+ via a "perl:string" action bound to a key, see description of the
+ keysym resource in the rxvt(1) manpage).
+
+ The event is simply the action string. This interface is assumed to
+ change slightly in the future.
on_x_event $term, $event
Called on every X event received on the vt window (and possibly
diff --git a/src/Makefile.in b/src/Makefile.in
index 5cc53e3b..80537b32 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -188,6 +188,9 @@ misc.o: libptytty.h rxvtperl.h hookinc.h rsinc.h
netdisp.o: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h
netdisp.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
netdisp.o: salloc.h libptytty.h rxvtperl.h hookinc.h rsinc.h
+proxy.o: ../config.h ptytty.h libptytty.h ptytty_conf.h rxvt.h rxvtlib.h
+proxy.o: optinc.h feature.h encoding.h rxvtfont.h rxvtutil.h rxvttoolkit.h
+proxy.o: iom.h iom_conf.h callback.h salloc.h rxvtperl.h hookinc.h rsinc.h
ptytty.o: ../config.h ptytty.h libptytty.h ptytty_conf.h rxvt.h rxvtlib.h
ptytty.o: optinc.h feature.h encoding.h rxvtfont.h rxvtutil.h rxvttoolkit.h
ptytty.o: iom.h iom_conf.h callback.h salloc.h rxvtperl.h hookinc.h rsinc.h
@@ -284,6 +287,9 @@ misc.lo: salloc.h libptytty.h rxvtperl.h hookinc.h rsinc.h
netdisp.lo: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h
netdisp.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
netdisp.lo: salloc.h libptytty.h rxvtperl.h hookinc.h rsinc.h
+proxy.lo: ../config.h ptytty.h libptytty.h ptytty_conf.h rxvt.h rxvtlib.h
+proxy.lo: optinc.h feature.h encoding.h rxvtfont.h rxvtutil.h rxvttoolkit.h
+proxy.lo: iom.h iom_conf.h callback.h salloc.h rxvtperl.h hookinc.h rsinc.h
ptytty.lo: ../config.h ptytty.h libptytty.h ptytty_conf.h rxvt.h rxvtlib.h
ptytty.lo: optinc.h feature.h encoding.h rxvtfont.h rxvtutil.h rxvttoolkit.h
ptytty.lo: iom.h iom_conf.h callback.h salloc.h rxvtperl.h hookinc.h rsinc.h
diff --git a/src/version.h b/src/version.h
index c762763f..2fad28f7 100644
--- a/src/version.h
+++ b/src/version.h
@@ -1,3 +1,3 @@
// VERSION _must_ be \d.\d+
#define VERSION "7.3"
-#define DATE "2006-01-22"
+#define DATE "2006-01-25"
--
2.34.1