- the non-terminfo visual bell is now done asynchronously, so
continous ASCI BELs in one terminal do no longer monopolise the
while urxvt[d] process.
+ - support some bsd makes (for the time being, gnu make is a safe bet).
+ - work around bugs in FreeBSDs gcc.
+ - implemented some *bsd fixes in configure.
- removed support for obsolete offix dnd protocol.
7.1 Thu Jan 19 20:25:34 CET 2006
fi
-
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
+ac_ext=cc
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-LINKER="$CXX"
if test x$GCC = xyes && test x$GXX = xyes; then
- echo "$as_me:$LINENO: checking for main in -lsupc++" >&5
-echo $ECHO_N "checking for main in -lsupc++... $ECHO_C" >&6
-if test "${ac_cv_lib_supcpp_main+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- ac_check_lib_save_LIBS=$LIBS
-LIBS="-lsupc++ $LIBS"
+ echo "$as_me:$LINENO: checking for working libsupc++" >&5
+echo $ECHO_N "checking for working libsupc++... $ECHO_C" >&6
+ save_CXX="$CXX"
+ save_LIBS="$LIBS"
+ CXX="$CC"
+ LIBS="$LIBS -lsupc++"
+ LINKER="$CC"
+
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
-
-
+struct test { }; void f() try { throw new test; } catch (...) { throw; }
int
main ()
{
-main ();
+
;
return 0;
}
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } &&
- { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
- ac_cv_lib_supcpp_main=yes
+ echo "$as_me:$LINENO: result: ok" >&5
+echo "${ECHO_T}ok" >&6
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
-ac_cv_lib_supcpp_main=no
-fi
-rm -f conftest.err conftest.$ac_objext \
- conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_check_lib_save_LIBS
-fi
-echo "$as_me:$LINENO: result: $ac_cv_lib_supcpp_main" >&5
-echo "${ECHO_T}$ac_cv_lib_supcpp_main" >&6
-if test $ac_cv_lib_supcpp_main = yes; then
- LINKER="$CC"
- LIBS="$LIBS -lsupc++"
+ echo "$as_me:$LINENO: result: no, make everything bigger and slower" >&5
+echo "${ECHO_T}no, make everything bigger and slower" >&6
+ CXX="$save_CXX"
+ LIBS="$save_LIBS"
+ LINKER="$CXX"
-fi
+fi
+rm -f conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
fi
LINKER=$LINKER
if test -z "$orig_CXXFLAGS"; then
if test x$GCC = xyes && test "x$GXX" = xyes; then
CXXFLAGS="-g -O3 -fno-threadsafe-statics -fno-enforce-eh-specs"
-
-cat >conftest.$ac_ext <<_ACEOF
+ cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
+#include <cstddef> // broken bsds (is that redundant) need this
#include <sys/types.h>
#include <sys/socket.h>
+#include <sys/uio.h>
int
main ()
AC_AIX
AC_ISC_POSIX
+AC_LANG(C++)
-AC_LANG(C)
-
-dnl check wetehr we can link with gcc -lsupc++
-LINKER="$CXX"
+dnl check wether we can link with gcc -lsupc++
if test x$GCC = xyes && test x$GXX = xyes; then
- AC_CHECK_LIB(supc++, main, [
- LINKER="$CC"
- LIBS="$LIBS -lsupc++"
- ])
+ dnl FreeBSD (at least up to 5.3) has a broken GCC, workaround it
+ AC_MSG_CHECKING([for working libsupc++])
+ save_CXX="$CXX"
+ save_LIBS="$LIBS"
+ CXX="$CC"
+ LIBS="$LIBS -lsupc++"
+ LINKER="$CC"
+ AC_LINK_IFELSE(
+ [AC_LANG_PROGRAM([struct test { }; void f() try { throw new test; } catch (...) { throw; }])],
+ [AC_MSG_RESULT(ok)],
+ [
+ AC_MSG_RESULT([no, make everything bigger and slower])
+ CXX="$save_CXX"
+ LIBS="$save_LIBS"
+ LINKER="$CXX"
+ ]
+ )
fi
AC_SUBST(LINKER,[$LINKER])
AC_CACHE_CHECK(for unix-compliant filehandle passing ability, rxvt_can_pass_fds,
[AC_TRY_LINK([
+#include <cstddef> // broken bsds (is that redundant) need this
#include <sys/types.h>
#include <sys/socket.h>
+#include <sys/uio.h>
],[
{
msghdr msg;
selection.</p>
</dd>
<p></p>
+<dt><strong><a name="item_readline">readline (enabled by default)</a></strong><br />
+</dt>
+<dd>
+A support package that tries to make editing with readline easier. At the
+moment, it reacts to clicking with the left mouse button by trying to
+move the text cursor to this position. It does so by generating as many
+cursor-left or cursor-right keypresses as required (the this only works
+for programs that correctly support wide characters).
+</dd>
+<dd>
+<p>To avoid too many false positives, this is only done when:</p>
+</dd>
+<dl>
+<dt><strong><a name="item_same">- the mouse is on the same (multi-row-) line as the text cursor.</a></strong><br />
+</dt>
+<dt><strong><a name="item__2d_the_primary_screen_is_currently_being_displaye">- the primary screen is currently being displayed.</a></strong><br />
+</dt>
+<dt><strong><a name="item__2d_the_text_cursor_is_visible_2e">- the text cursor is visible.</a></strong><br />
+</dt>
+</dl>
+<p>The normal selection mechanism isn't disabled, so quick successive clicks
+might interfere with selection creation in harmless ways.</p>
<dt><strong><a name="item_selection_2dautotransform">selection-autotransform</a></strong><br />
</dt>
<dd>
the message into vi commands to load the file.</p>
</dd>
<p></p>
-<dt><strong><a name="item_readline">readline</a></strong><br />
-</dt>
-<dd>
-A support package that tries to make editing with readline easier. At the
-moment, it reacts to clicking with the left mouse button by trying to
-move the text cursor to this position. It does so by generating as many
-cursor-left or cursor-right keypresses as required (the this only works
-for programs that correctly support wide characters).
-</dd>
-<dd>
-<p>It only works when clicking into the same line (possibly extended over
-multiple rows) as the text cursor and on the primary screen, to reduce the
-risk of misinterpreting. The normal selection isn't disabled, so quick
-successive clicks might interfere with selection creation in harmless
-ways.</p>
-</dd>
-<p></p>
<dt><strong><a name="item_tabbed">tabbed</a></strong><br />
</dt>
<dd>
Returns the currently displayed screen (0 primary, 1 secondary).
</dd>
<p></p>
+<dt><strong><a name="item_hidden_cursor">$cursor_is_hidden = $term->hidden_cursor</a></strong><br />
+</dt>
+<dd>
+Returns wether the cursor is currently hidden or not.
+</dd>
+<p></p>
<dt><strong><a name="item_view_start">$view_start = $term->view_start ([$newvalue])</a></strong><br />
</dt>
<dd>
-.\" Automatically generated by Pod::Man v1.37, Pod::Parser v1.3
+.\" Automatically generated by Pod::Man v1.37, Pod::Parser v1.14
.\"
.\" Standard preamble:
.\" ========================================================================
.\" ========================================================================
.\"
.IX Title "rxvt 3"
-.TH rxvt 3 "2006-01-20" "7.1" "RXVT-UNICODE"
+.TH rxvt 3 "2006-01-21" "7.2" "RXVT-UNICODE"
.SH "NAME"
@@RXVT_NAME@@perl \- rxvt\-unicode's embedded perl interpreter
.SH "SYNOPSIS"
was started, while \f(CW\*(C`Enter\*(C'\fR or \f(CW\*(C`Return\*(C'\fR stay at the current position and
additionally stores the first match in the current line into the primary
selection.
+.IP "readline (enabled by default)" 4
+.IX Item "readline (enabled by default)"
+A support package that tries to make editing with readline easier. At the
+moment, it reacts to clicking with the left mouse button by trying to
+move the text cursor to this position. It does so by generating as many
+cursor-left or cursor-right keypresses as required (the this only works
+for programs that correctly support wide characters).
+.Sp
+To avoid too many false positives, this is only done when:
+.RS 4
+.IP "\- the mouse is on the same (multi\-row\-) line as the text cursor." 4
+.IX Item "- the mouse is on the same (multi-row-) line as the text cursor."
+.PD 0
+.IP "\- the primary screen is currently being displayed." 4
+.IX Item "- the primary screen is currently being displayed."
+.IP "\- the text cursor is visible." 4
+.IX Item "- the text cursor is visible."
+.RE
+.RS 4
+.PD
+.Sp
+The normal selection mechanism isn't disabled, so quick successive clicks
+might interfere with selection creation in harmless ways.
+.RE
.IP "selection-autotransform" 4
.IX Item "selection-autotransform"
This selection allows you to do automatic transforms on a selection
The first line tells the selection code to treat the unchanging part of
every error message as a selection pattern, and the second line transforms
the message into vi commands to load the file.
-.IP "readline" 4
-.IX Item "readline"
-A support package that tries to make editing with readline easier. At the
-moment, it reacts to clicking with the left mouse button by trying to
-move the text cursor to this position. It does so by generating as many
-cursor-left or cursor-right keypresses as required (the this only works
-for programs that correctly support wide characters).
-.Sp
-It only works when clicking into the same line (possibly extended over
-multiple rows) as the text cursor and on the primary screen, to reduce the
-risk of misinterpreting. The normal selection isn't disabled, so quick
-successive clicks might interfere with selection creation in harmless
-ways.
.IP "tabbed" 4
.IX Item "tabbed"
This transforms the terminal into a tabbar with additional terminals, that
.el .IP "$screen = \f(CW$term\fR\->current_screen" 4
.IX Item "$screen = $term->current_screen"
Returns the currently displayed screen (0 primary, 1 secondary).
+.ie n .IP "$cursor_is_hidden = $term\->hidden_cursor" 4
+.el .IP "$cursor_is_hidden = \f(CW$term\fR\->hidden_cursor" 4
+.IX Item "$cursor_is_hidden = $term->hidden_cursor"
+Returns wether the cursor is currently hidden or not.
.ie n .IP "$view_start = $term\->view_start ([$newvalue])" 4
.el .IP "$view_start = \f(CW$term\fR\->view_start ([$newvalue])" 4
.IX Item "$view_start = $term->view_start ([$newvalue])"
stay at the current position and additionally stores the first match
in the current line into the primary selection.
+ readline (enabled by default)
+ A support package that tries to make editing with readline easier.
+ At the moment, it reacts to clicking with the left mouse button by
+ trying to move the text cursor to this position. It does so by
+ generating as many cursor-left or cursor-right keypresses as
+ required (the this only works for programs that correctly support
+ wide characters).
+
+ To avoid too many false positives, this is only done when:
+
+ - the mouse is on the same (multi-row-) line as the text cursor.
+ - the primary screen is currently being displayed.
+ - the text cursor is visible.
+
+ The normal selection mechanism isn't disabled, so quick successive
+ clicks might interfere with selection creation in harmless ways.
+
selection-autotransform
This selection allows you to do automatic transforms on a selection
whenever a selection is made.
of every error message as a selection pattern, and the second line
transforms the message into vi commands to load the file.
- readline
- A support package that tries to make editing with readline easier.
- At the moment, it reacts to clicking with the left mouse button by
- trying to move the text cursor to this position. It does so by
- generating as many cursor-left or cursor-right keypresses as
- required (the this only works for programs that correctly support
- wide characters).
-
- It only works when clicking into the same line (possibly extended
- over multiple rows) as the text cursor and on the primary screen, to
- reduce the risk of misinterpreting. The normal selection isn't
- disabled, so quick successive clicks might interfere with selection
- creation in harmless ways.
-
tabbed
This transforms the terminal into a tabbar with additional
terminals, that is, it implements what is commonly refered to as
$screen = $term->current_screen
Returns the currently displayed screen (0 primary, 1 secondary).
+ $cursor_is_hidden = $term->hidden_cursor
+ Returns wether the cursor is currently hidden or not.
+
$view_start = $term->view_start ([$newvalue])
Returns the row number of the topmost displayed line. Maximum value
is 0, which displays the normal terminal contents. Lower values
all: allbin
rxvt: rxvt.o $(COMMON)
- $(LINK) -o $@ $^ $(LIBS) $(XLIB) $(DLIB) @PERLLIB@
+ $(LINK) -o $@ rxvt.o $(COMMON) $(LIBS) $(XLIB) $(DLIB) @PERLLIB@
# $(LIBTOOL) --mode=link $(LINK) rxvt.o librxvt.la $(LIBS) $(XLIB) $(DLIB) -o $@
rxvtd: rxvtd.o $(COMMON) $(COMMON_DAEMON)
- $(LINK) -o $@ $^ $(LIBS) $(XLIB) $(DLIB) @PERLLIB@
+ $(LINK) -o $@ rxvtd.o $(COMMON) $(COMMON_DAEMON) $(LIBS) $(XLIB) $(DLIB) @PERLLIB@
# $(LIBTOOL) --mode=link $(LINK) rxvtd.o rxvtdaemon.o librxvt.la $(LIBS) $(XLIB) $(DLIB) -o $@
rxvtc: rxvtc.o $(COMMON_DAEMON) fdpass.o
- $(LINK) -o $@ $^ $(LIBS) $(DLIB)
+ $(LINK) -o $@ rxvtc.o $(COMMON_DAEMON) fdpass.o $(LIBS) $(DLIB)
# $(LIBTOOL) --mode=link $(LINK) rxvtc.o rxvtdaemon.o $(LIBS) $(DLIB) -o $@
#librxvt.la: $(LIBOBJS)