repo: rxvt-unicode-sixel
action: commit
revision: 
path_from: 
revision_from: 305542040509fe681ed11482bf6f59adceb2351c:
path_to: 
revision_to: 
git.thebackupbox.net
rxvt-unicode-sixel
git clone git://git.thebackupbox.net/rxvt-unicode-sixel
commit 305542040509fe681ed11482bf6f59adceb2351c
Author: Marc Lehmann 
Date:   Fri Jan 13 07:03:48 2006 +0000

    *** empty log message ***

diff --git a/src/fdpass.C b/src/fdpass.C
index 99cd3d8ba1943f2b0c0b6cae5af9a6f0b2cdc612..
index ..69cb0ad0f36670c5a15caf9518621e131438cb37 100644
--- a/src/fdpass.C
+++ b/src/fdpass.C
@@ -20,7 +20,8 @@
  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  *----------------------------------------------------------------------*/

-#include "../config.h"		/* NECESSARY */
+#include "../config.h"
+#include "rxvt.h"

 #if ENABLE_FRILLS && HAVE_UNIX_FDPASS

diff --git a/src/fdpass.h b/src/fdpass.h
index 6b02c570926f43f4ad043bdea3a5b4644c0ab02b..
index ..2c3c3905c2b2dedc5c12b1496db605f7ba508363 100644
--- a/src/fdpass.h
+++ b/src/fdpass.h
@@ -20,7 +20,8 @@
  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  *----------------------------------------------------------------------*/

-#include "../config.h"		/* NECESSARY */
+#include "../config.h"
+#include "rxvt.h"

 #if ENABLE_FRILLS && HAVE_UNIX_FDPASS

diff --git a/src/logging.C b/src/logging.C
index ca280b4ec410144ab7890daea87ab8ae6a1497f0..
index ..6950f6472433ab9bf93e3784c01ec180abe170fe 100644
--- a/src/logging.C
+++ b/src/logging.C
@@ -39,9 +39,10 @@
  *	rxvt_update_wtmp ();
  *----------------------------------------------------------------------*/

-#include "../config.h"		/* NECESSARY */
-#include "rxvt.h"		/* NECESSARY */
+#include "../config.h"
+#include "rxvt.h"
 #include "logging.h"
+
 #ifdef UTMP_SUPPORT

 #if HAVE_STRUCT_UTMP
diff --git a/src/rxvt.h b/src/rxvt.h
index 37392ad0b4b42d522f8b18dd4ddd223d801e3b19..
index ..4faded65641da9cd7aea5abfc24ac00a7a40ae06 100644
--- a/src/rxvt.h
+++ b/src/rxvt.h
@@ -5,6 +5,21 @@

 #include "feature.h"

+#if defined (ISO_14755) || defined (ENABLE_PERL)
+# define ENABLE_OVERLAY 1
+#endif
+
+#if ENABLE_PERL
+# define ENABLE_FRILLS 1
+# define ENABLE_COMBINING 1
+#endif
+
+#if ENABLE_FRILLS
+# define ENABLE_XEMBED 1
+# define ENABLE_EWMH   1
+# define CURSOR_BLINK  1
+#endif
+
 #include 

 #include 
@@ -23,20 +38,6 @@

 #include "rxvtperl.h"

-#if defined (ISO_14755) || defined (ENABLE_PERL)
-# define ENABLE_OVERLAY 1
-#endif
-
-#if ENABLE_PERL
-# define ENABLE_FRILLS
-#endif
-
-#if ENABLE_FRILLS
-# define ENABLE_XEMBED 1
-# define ENABLE_EWMH   1
-# define CURSOR_BLINK  1
-#endif
-
 /*
  *****************************************************************************
  * SYSTEM HACKS
diff --git a/src/urxvt.pm b/src/urxvt.pm
index e8f046c0d574df06fc5c8eb5b21bdbb710ae2420..
index ..054f90295958f87834424776ea5b8ecca3328ef4 100644
--- a/src/urxvt.pm
+++ b/src/urxvt.pm
@@ -122,12 +122,12 @@ For example, the following will transform selections of the form
 C, often seen in compiler messages, into C:

-   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 :)

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