* 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
* 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
* 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
#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 <limits.h>
#include <X11/cursorfont.h>
#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
C<filename:number>, often seen in compiler messages, into C<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 :)