-- Leo's gemini proxy

-- Connecting to git.thebackupbox.net:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini

repo: rxvt-unicode-sixel
action: commit
revision:
path_from:
revision_from: 3461479d42a71d333b61a5c6e08e887ecd7179b7:
path_to:
revision_to:

git.thebackupbox.net

rxvt-unicode-sixel

git://git.thebackupbox.net/rxvt-unicode-sixel

commit 3461479d42a71d333b61a5c6e08e887ecd7179b7
Author: Marc Lehmann <schmorp@schmorp.de>
Date:   Sun Apr 27 20:26:28 2014 +0000

    *** empty log message ***

diff --git a/doc/rxvt.1.pod b/doc/rxvt.1.pod

index 0af12c16e3d929641b6ae27bc477684cca6665f5..

index ..2c6ade1c578e9e55501f40df15026490321e5d9d 100644

--- a/doc/rxvt.1.pod
+++ b/doc/rxvt.1.pod
@@ -1151,6 +1151,33 @@ The first line defines a mapping for C<Insert> and I<any> combination
 of modifiers. The second line re-establishes the default mapping for
 C<Shift-Insert>.

+=item builtin-string:
+
+This action is mainly useful to restore string mappings for keys that
+have predefined actions in @@RXVT_NAME@@. The exact semantics are a bit
+difficult to explain - basically, this action will send the string to the
+application that would be sent if @@RXVT_NAME@@ wouldn't have a built-in
+action for it.
+
+An example might make it clearer: @@RXVT_NAME@@ normally pastes the
+selection when you press C<Shift-Insert>. With the following bindings, it
+would instead emit the (undocumented, but what applications running in the
+terminal might expect) sequence C<ESC [ 2 $> instead:
+
+   URxvt.keysym.S-Insert: builtin-string:
+   URxvt.keysym.C-S-Insert: builtin:
+
+The first line disables the paste functionality for that key
+combination, and the second reinstates the default behaviour for
+C<Control-Shift-Insert>, which would otherwise be overridden.
+
+Similarly, to let applications gain access to the C<C-M-c> (copy to
+clipboard) and C<C-M-v> (paste clipboard) key combination, you cna do
+this:
+
+   URxvt.keysym.C-S-c: builtin-string:
+   URxvt.keysym.C-S-v: builtin-string:
+
 =item EXTENSION:STRING

 An action of this form passes the B<STRING> to the @@RXVT_NAME@@perl(3)
diff --git a/src/urxvt.pm b/src/urxvt.pm

index a78c8bdc17f2948d2a8f4bff4fc477fa5a91b042..

index ..67b73dbe747f619523486c10d0c601c4dcc7970b 100644

--- a/src/urxvt.pm
+++ b/src/urxvt.pm
@@ -353,8 +353,6 @@ manpage), with the additional members C<row> and C<col>, which are the
 C<on_key_press> additionally receives the string rxvt-unicode would
 output, if any, in locale-specific encoding.

-subwindow.
-
 =item on_client_message $term, $event

 =item on_wm_protocols $term, $event

-----END OF PAGE-----

-- Response ended

-- Page fetched on Sun Jun 2 12:03:17 2024