From bef0e8e295b5ec6cad64ad113b51e982b43e9cc5 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 6 Feb 2006 05:55:33 +0000 Subject: [PATCH] *** empty log message *** --- Changes | 4 ++-- doc/rxvt.1.html | 7 +++++++ doc/rxvt.1.man.in | 13 +++++++++++-- doc/rxvt.1.pod | 9 +++++++++ doc/rxvt.1.txt | 9 +++++++++ doc/rxvtperl.3.html | 30 ++++++++++++++++++++++++++++++ doc/rxvtperl.3.man.in | 34 ++++++++++++++++++++++++++++++++-- doc/rxvtperl.3.txt | 18 ++++++++++++++++++ 8 files changed, 118 insertions(+), 6 deletions(-) diff --git a/Changes b/Changes index cc0d9e3e..8d82e9cd 100644 --- a/Changes +++ b/Changes @@ -22,6 +22,8 @@ TODO: option popup hook, make some exts switchable relevant tab window. - tab colours are now configurable and have sensible defaults (initial patch by hednod). + - forcing a configure event to tabbed subwindows with -pe tabbed, for + the benefit of automove-background. - the automove-background extension added a wrong constant offset. - force refresh of XA_RESOURCE_STRING on virtual reconnect. - return exit status 2 in urxvtc when urxvtd couldn't be contacted. @@ -34,8 +36,6 @@ TODO: option popup hook, make some exts switchable - more colour rtt optimisations. - properly(?) free colours on window close. - reorganised the FAQ into multiple sections. - - forcing a configure event to tabbed subwindows with -pe tabbed, for - the benefit of automove-background. - add ISO646.1991-IRV to the list of supported codesets. 7.5 Tue Jan 31 15:15:43 CET 2006 diff --git a/doc/rxvt.1.html b/doc/rxvt.1.html index aecf9b74..78f14f59 100644 --- a/doc/rxvt.1.html +++ b/doc/rxvt.1.html @@ -1741,6 +1741,13 @@ colours with their names.

background, cursorColor, cursorColor2, colorBD, colorUL as a number 0-15, as a convenient shorthand to reference the colour name of color0-color15.

+

In addition to the colours defined above, rxvt offers an +additional 72 colours. The first 64 of those (with indices 16 to 79) +consist of a 4*4*4 RGB colour cube (i.e. index = r * 16 + g * 4 + b + +16), followed by 8 additional shades of gray (with indices 80 to 87).

+

Together, all those colours implement the 88 colour xterm colours. Only +the first 16 can be changed using resources currently, the rest can only +be changed via command sequences (``escape codes'').

Note that -rv (``reverseVideo: True'') simulates reverse video by always swapping the foreground/background colours. This is in contrast to xterm(1) where the colours are only swapped if they have not otherwise diff --git a/doc/rxvt.1.man.in b/doc/rxvt.1.man.in index 16af8662..3d37291b 100644 --- a/doc/rxvt.1.man.in +++ b/doc/rxvt.1.man.in @@ -1,4 +1,4 @@ -.\" Automatically generated by Pod::Man v1.37, Pod::Parser v1.14 +.\" Automatically generated by Pod::Man v1.37, Pod::Parser v1.3 .\" .\" Standard preamble: .\" ======================================================================== @@ -129,7 +129,7 @@ .\" ======================================================================== .\" .IX Title "rxvt 1" -.TH rxvt 1 "2006-01-31" "7.5" "RXVT-UNICODE" +.TH rxvt 1 "2006-02-06" "7.5" "RXVT-UNICODE" .SH "NAME" rxvt\-unicode (ouR XVT, unicode) \- (a VT102 emulator for the X window system) .SH "SYNOPSIS" @@ -1344,6 +1344,15 @@ It is also possible to specify the colour values of \fBforeground\fR, a number 0\-15, as a convenient shorthand to reference the colour name of color0\-color15. .PP +In addition to the colours defined above, @@RXVT_NAME@@ offers an +additional 72 colours. The first 64 of those (with indices 16 to 79) +consist of a 4*4*4 \s-1RGB\s0 colour cube (i.e. \fIindex = r * 16 + g * 4 + b + +16\fR), followed by 8 additional shades of gray (with indices 80 to 87). +.PP +Together, all those colours implement the 88 colour xterm colours. Only +the first 16 can be changed using resources currently, the rest can only +be changed via command sequences (\*(L"escape codes\*(R"). +.PP Note that \fB\-rv\fR (\fB\*(L"reverseVideo: True\*(R"\fR) simulates reverse video by always swapping the foreground/background colours. This is in contrast to \&\fIxterm\fR(1) where the colours are only swapped if they have not otherwise diff --git a/doc/rxvt.1.pod b/doc/rxvt.1.pod index e725d002..4054c482 100644 --- a/doc/rxvt.1.pod +++ b/doc/rxvt.1.pod @@ -1348,6 +1348,15 @@ B, B, B, B, B as a number 0-15, as a convenient shorthand to reference the colour name of color0-color15. +In addition to the colours defined above, @@RXVT_NAME@@ offers an +additional 72 colours. The first 64 of those (with indices 16 to 79) +consist of a 4*4*4 RGB colour cube (i.e. I), followed by 8 additional shades of gray (with indices 80 to 87). + +Together, all those colours implement the 88 colour xterm colours. Only +the first 16 can be changed using resources currently, the rest can only +be changed via command sequences ("escape codes"). + Note that B<-rv> (B<"reverseVideo: True">) simulates reverse video by always swapping the foreground/background colours. This is in contrast to I(1) where the colours are only swapped if they have not otherwise diff --git a/doc/rxvt.1.txt b/doc/rxvt.1.txt index 36d09e91..3acebbde 100644 --- a/doc/rxvt.1.txt +++ b/doc/rxvt.1.txt @@ -1177,6 +1177,15 @@ COLORS AND GRAPHICS 0-15, as a convenient shorthand to reference the colour name of color0-color15. + In addition to the colours defined above, rxvt offers an additional 72 + colours. The first 64 of those (with indices 16 to 79) consist of a + 4*4*4 RGB colour cube (i.e. *index = r * 16 + g * 4 + b + 16*), followed + by 8 additional shades of gray (with indices 80 to 87). + + Together, all those colours implement the 88 colour xterm colours. Only + the first 16 can be changed using resources currently, the rest can only + be changed via command sequences ("escape codes"). + Note that -rv ("reverseVideo: True") simulates reverse video by always swapping the foreground/background colours. This is in contrast to *xterm*(1) where the colours are only swapped if they have not otherwise diff --git a/doc/rxvtperl.3.html b/doc/rxvtperl.3.html index efca8e1d..2facb2ee 100644 --- a/doc/rxvtperl.3.html +++ b/doc/rxvtperl.3.html @@ -295,6 +295,22 @@ button per tab. Shift-Right will switch to the tab left or right of the current one, while Shift-Down creates a new tab.

+
+

The tabbar itself can be configured similarly to a normal terminal, but +with a resource class of URxvt.tabbed. In addition, it supports the +following four resources (shown with defaults):

+
+
+
+   URxvt.tabbed.tabbar-fg: <colour-index, default 3>
+   URxvt.tabbed.tabbar-bg: <colour-index, default 0>
+   URxvt.tabbed.tab-fg:    <colour-index, default 0>
+   URxvt.tabbed.tab-bg:    <colour-index, default 1>
+
+
+

See COLOR AND GRAPHICS in the rxvt(1) manpage for valid +indices.

+

mark-urls
@@ -924,6 +940,8 @@ Return the foreground/background colour index, respectively.
$rend = urxvt::SET_BGCOLOR $rend, $new_colour
+
$rend = urxvt::SET_COLOR $rend, $new_fg, $new_bg
+
Replace the foreground/background colour in the rendition mask with the specified one. @@ -1298,6 +1316,18 @@ to receive pointer events all the times: $term->vt_emask_add (urxvt::PointerMotionMask);

+
$term->focus_in
+
+
$term->focus_out
+
+
$term->key_press ($state, $keycode[, $time])
+
+
$term->key_release ($state, $keycode[, $time])
+
+
+Deliver various fake events to to terminal. +
+

$window_width = $term->width
$window_height = $term->height
diff --git a/doc/rxvtperl.3.man.in b/doc/rxvtperl.3.man.in index d6364718..9e752301 100644 --- a/doc/rxvtperl.3.man.in +++ b/doc/rxvtperl.3.man.in @@ -1,4 +1,4 @@ -.\" Automatically generated by Pod::Man v1.37, Pod::Parser v1.14 +.\" Automatically generated by Pod::Man v1.37, Pod::Parser v1.3 .\" .\" Standard preamble: .\" ======================================================================== @@ -129,7 +129,7 @@ .\" ======================================================================== .\" .IX Title "rxvt 3" -.TH rxvt 3 "2006-01-29" "7.4" "RXVT-UNICODE" +.TH rxvt 3 "2006-02-06" "7.5" "RXVT-UNICODE" .SH "NAME" @@RXVT_NAME@@perl \- rxvt\-unicode's embedded perl interpreter .SH "SYNOPSIS" @@ -354,6 +354,20 @@ button per tab. Clicking a button will activate that tab. Pressing \fBShift-Left\fR and \&\fBShift-Right\fR will switch to the tab left or right of the current one, while \fBShift-Down\fR creates a new tab. +.Sp +The tabbar itself can be configured similarly to a normal terminal, but +with a resource class of \f(CW\*(C`URxvt.tabbed\*(C'\fR. In addition, it supports the +following four resources (shown with defaults): +.Sp +.Vb 4 +\& URxvt.tabbed.tabbar-fg: +\& URxvt.tabbed.tabbar-bg: +\& URxvt.tabbed.tab-fg: +\& URxvt.tabbed.tab-bg: +.Ve +.Sp +See \fI\s-1COLOR\s0 \s-1AND\s0 \s-1GRAPHICS\s0\fR in the @@RXVT_NAME@@(1) manpage for valid +indices. .IP "mark-urls" 4 .IX Item "mark-urls" Uses per-line display filtering (\f(CW\*(C`on_line_update\*(C'\fR) to underline urls and @@ -837,6 +851,9 @@ Return the foreground/background colour index, respectively. .ie n .IP "$rend = urxvt::SET_BGCOLOR $rend\fR, \f(CW$new_colour" 4 .el .IP "$rend = urxvt::SET_BGCOLOR \f(CW$rend\fR, \f(CW$new_colour\fR" 4 .IX Item "$rend = urxvt::SET_BGCOLOR $rend, $new_colour" +.ie n .IP "$rend = urxvt::SET_COLOR $rend\fR, \f(CW$new_fg\fR, \f(CW$new_bg" 4 +.el .IP "$rend = urxvt::SET_COLOR \f(CW$rend\fR, \f(CW$new_fg\fR, \f(CW$new_bg\fR" 4 +.IX Item "$rend = urxvt::SET_COLOR $rend, $new_fg, $new_bg" .PD Replace the foreground/background colour in the rendition mask with the specified one. @@ -1122,6 +1139,19 @@ to receive pointer events all the times: .Vb 1 \& $term->vt_emask_add (urxvt::PointerMotionMask); .Ve +.IP "$term\->focus_in" 4 +.IX Item "$term->focus_in" +.PD 0 +.IP "$term\->focus_out" 4 +.IX Item "$term->focus_out" +.ie n .IP "$term\->key_press ($state, $keycode\fR[, \f(CW$time])" 4 +.el .IP "$term\->key_press ($state, \f(CW$keycode\fR[, \f(CW$time\fR])" 4 +.IX Item "$term->key_press ($state, $keycode[, $time])" +.ie n .IP "$term\->key_release ($state, $keycode\fR[, \f(CW$time])" 4 +.el .IP "$term\->key_release ($state, \f(CW$keycode\fR[, \f(CW$time\fR])" 4 +.IX Item "$term->key_release ($state, $keycode[, $time])" +.PD +Deliver various fake events to to terminal. .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 e2f034f3..10f69910 100644 --- a/doc/rxvtperl.3.txt +++ b/doc/rxvtperl.3.txt @@ -185,6 +185,17 @@ PREPACKAGED EXTENSIONS Shift-Right will switch to the tab left or right of the current one, while Shift-Down creates a new tab. + The tabbar itself can be configured similarly to a normal terminal, + but with a resource class of "URxvt.tabbed". In addition, it + supports the following four resources (shown with defaults): + + URxvt.tabbed.tabbar-fg: + URxvt.tabbed.tabbar-bg: + URxvt.tabbed.tab-fg: + URxvt.tabbed.tab-bg: + + See *COLOR AND GRAPHICS* in the rxvt(1) manpage for valid indices. + mark-urls Uses per-line display filtering ("on_line_update") to underline urls and make them clickable. When middle-clicked, the program specified @@ -612,6 +623,7 @@ API DOCUMENTATION $rend = urxvt::SET_FGCOLOR $rend, $new_colour $rend = urxvt::SET_BGCOLOR $rend, $new_colour + $rend = urxvt::SET_COLOR $rend, $new_fg, $new_bg Replace the foreground/background colour in the rendition mask with the specified one. @@ -863,6 +875,12 @@ API DOCUMENTATION $term->vt_emask_add (urxvt::PointerMotionMask); + $term->focus_in + $term->focus_out + $term->key_press ($state, $keycode[, $time]) + $term->key_release ($state, $keycode[, $time]) + Deliver various fake events to to terminal. + $window_width = $term->width $window_height = $term->height $font_width = $term->fwidth -- 2.34.1