*** empty log message ***
authorroot <root>
Wed, 11 Jan 2006 23:08:54 +0000 (23:08 +0000)
committerroot <root>
Wed, 11 Jan 2006 23:08:54 +0000 (23:08 +0000)
16 files changed:
Changes
README.configure
autoconf/config.h.in
autoconf/configure.in
configure
doc/rxvt-unicode.spec
doc/rxvt.1.html
doc/rxvt.1.man.in
doc/rxvt.1.pod
doc/rxvt.1.txt
doc/rxvt.7.html
doc/rxvt.7.man.in
doc/rxvt.7.pod
doc/rxvt.7.txt
reconf
src/ptytty.C

diff --git a/Changes b/Changes
index b1bf6fd..d6d8d48 100644 (file)
--- a/Changes
+++ b/Changes
@@ -14,6 +14,7 @@ WISH: support tex fonts
 7.0
 TODO: run external commands more sytematically (using $self->env etc.)
 TODO: document searchable-scorllback hotkey
+TODO: double-click and right-extend
        - added sections for DISTRIBUTION MAINTAINERS and about
           SETUID/SETGID to the FAQ.
         - selection, searchable-scrollback, selection-popup and
@@ -33,7 +34,8 @@ TODO: document searchable-scorllback hotkey
         - free one of the cursors, fixes a small memory leak.
         - built-in (as opposed to terminfos) visual bell was broken/too fast.
         - applied minor cleanups by Ladislav Michnovic.
-        - applied better configure support for openpty by Emanuele Giaquinta.
+        - applied better configure support for openpty and other pty stuff
+          (Emanuele Giaquinta).
         - mark-urls launch-on-click by jepler.
         - removed "small" resource parsing function, as it wasn't really
           compatible, and not really small either.
@@ -44,6 +46,7 @@ TODO: document searchable-scorllback hotkey
         - limit colour changing to the standard 88 palette instead of all
           colours.
         - XTerm_Color01 sequence returned wrong results in query mode.
+        - iom.C now checks against destructed io_manager when unregistering.
 
 6.3  Wed Jan  4 22:37:10 CET 2006
         - SECURITY FIX: on systems using openpty, permissions were
index d80cb0c..e6d6af1 100644 (file)
@@ -159,15 +159,6 @@ CONFIGURE OPTIONS
     --disable-resources
         Removes any support for resource checking.
 
-    --enable-xgetdefault
-        Make resources checking via XGetDefault() instead of our small
-        version which only checks ~/.Xdefaults, or if that doesn't exist
-        then ~/.Xresources.
-
-        Please note that nowadays, things like XIM will automatically pull
-        in and use the full X resource manager, so the overhead of using it
-        might be very small, if nonexistant.
-
     --enable-strings (default: off)
         Add support for our possibly faster memset() function and other
         various routines, overriding your system's versions which may have
index a15cdee..e8db91b 100644 (file)
@@ -73,6 +73,9 @@
 /* Define if you have the on_exit function.  */
 #undef HAVE_ON_EXIT
 
+/* Define if you have the posix_openpt function.  */
+#undef HAVE_POSIX_OPENPT
+
 /* Define if you have the revoke function.  */
 #undef HAVE_REVOKE
 
 #undef XIMCB_PROTO_BROKEN
 
 /* Define for this pty type */
+#undef PTYS_ARE_POSIX
+
+/* Define for this pty type */
 #undef PTYS_ARE_OPENPTY
 
 /* Define for this pty type */
 #undef PTYS_ARE__GETPTY
 
 /* Define for this pty type */
-#undef PTYS_ARE_GETPTY
-
-/* Define for this pty type */
 #undef PTYS_ARE_GETPT
 
 /* Define for this pty type */
index c9d7c9a..5611a7b 100644 (file)
@@ -742,6 +742,7 @@ AC_CHECK_FUNCS( \
        setpgrp \
        setpgid \
        _getpty \
+       posix_openpt \
        grantpt \
        unlockpt \
        isastream \
@@ -1180,12 +1181,7 @@ if test x$rxvt_broken_ximcb = xyes; then
    AC_DEFINE(XIMCB_PROTO_BROKEN, 1, Define if your XIMCallback specifies XIC as first type.)
 fi
 
-AC_CACHE_CHECK(for getpt, rxvt_cv_func_getpt,
-[AC_LINK_IFELSE([AC_LANG_PROGRAM([[#define _GNU_SOURCE
-#ifdef HAVE_STDLIB_H
-# include <cstdlib>
-#endif]], [[(void)getpt();]])],[rxvt_cv_func_getpt=yes],[rxvt_cv_func_getpt=no])])
-if test x$rxvt_cv_func_getpt = xno; then
+if test x$rxvt_cv_func_posix_openpt = xno; then
   AC_CHECK_FUNC(openpty, [], [AC_CHECK_LIB(util, openpty, [LIBS="$LIBS -lutil"])])
 fi
 
@@ -1193,14 +1189,14 @@ dnl# if we don't guess right then it's up to the user
 AC_CACHE_CHECK(for pty/tty type, rxvt_cv_ptys,
 [if test x$ac_cv_func_openpty = xyes -o x$ac_cv_lib_util_openpty = xyes; then
     rxvt_cv_ptys=OPENPTY
+ else if test x$ac_cv_func_posix_openpt = xyes; then
+    rxvt_cv_ptys=POSIX
  else if test x$ac_cv_func__getpty = xyes; then
     rxvt_cv_ptys=SGI4
  else if test -c /dev/ttyp20; then
     rxvt_cv_ptys=SCO
  else if test -c /dev/ptym/clone; then
     rxvt_cv_ptys=HPUX
- else if test x$rxvt_cv_func_getpt = xyes; then
-    rxvt_cv_ptys=GLIBC
  else if test -c /dev/ptc -a -c /dev/pts; then
     rxvt_cv_ptys=PTC
  else if test -c /dev/ptc -a -d /dev/pts; then
@@ -1223,6 +1219,9 @@ fi
 fi
 ])
 
+if test x$rxvt_cv_ptys = xPOSIX; then
+  AC_DEFINE(PTYS_ARE_POSIX, 1, Define for this pty type)
+fi
 if test x$rxvt_cv_ptys = xOPENPTY; then
   AC_DEFINE(PTYS_ARE_OPENPTY, 1, Define for this pty type)
 fi
@@ -1238,9 +1237,6 @@ fi
 if test x$rxvt_cv_ptys = xSGI4; then
   AC_DEFINE(PTYS_ARE__GETPTY, 1, Define for this pty type)
 fi
-if test x$rxvt_cv_ptys = xCONVEX; then
-  AC_DEFINE(PTYS_ARE_GETPTY, 1, Define for this pty type)
-fi
 if test x$rxvt_cv_ptys = xGLIBC; then
   AC_DEFINE(PTYS_ARE_GETPT, 1, Define for this pty type)
 fi
index 9ccdf2d..15757b4 100755 (executable)
--- a/configure
+++ b/configure
@@ -10185,6 +10185,7 @@ esac
 
 
 
+
 for ac_func in \
        atexit \
        revoke \
@@ -10196,6 +10197,7 @@ for ac_func in \
        setpgrp \
        setpgid \
        _getpty \
+       posix_openpt \
        grantpt \
        unlockpt \
        isastream \
@@ -11986,63 +11988,7 @@ _ACEOF
 
 fi
 
-echo "$as_me:$LINENO: checking for getpt" >&5
-echo $ECHO_N "checking for getpt... $ECHO_C" >&6
-if test "${rxvt_cv_func_getpt+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
-else
-  cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h.  */
-#define _GNU_SOURCE
-#ifdef HAVE_STDLIB_H
-# include <cstdlib>
-#endif
-int
-main ()
-{
-(void)getpt();
-  ;
-  return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
-  (eval $ac_link) 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } &&
-        { 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=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; } &&
-        { ac_try='test -s conftest$ac_exeext'
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
-  (eval $ac_try) 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; }; then
-  rxvt_cv_func_getpt=yes
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-rxvt_cv_func_getpt=no
-fi
-rm -f conftest.err conftest.$ac_objext \
-      conftest$ac_exeext conftest.$ac_ext
-fi
-echo "$as_me:$LINENO: result: $rxvt_cv_func_getpt" >&5
-echo "${ECHO_T}$rxvt_cv_func_getpt" >&6
-if test x$rxvt_cv_func_getpt = xno; then
+if test x$rxvt_cv_func_posix_openpt = xno; then
   echo "$as_me:$LINENO: checking for openpty" >&5
 echo $ECHO_N "checking for openpty... $ECHO_C" >&6
 if test "${ac_cv_func_openpty+set}" = set; then
@@ -12213,14 +12159,14 @@ if test "${rxvt_cv_ptys+set}" = set; then
 else
   if test x$ac_cv_func_openpty = xyes -o x$ac_cv_lib_util_openpty = xyes; then
     rxvt_cv_ptys=OPENPTY
+ else if test x$ac_cv_func_posix_openpt = xyes; then
+    rxvt_cv_ptys=POSIX
  else if test x$ac_cv_func__getpty = xyes; then
     rxvt_cv_ptys=SGI4
  else if test -c /dev/ttyp20; then
     rxvt_cv_ptys=SCO
  else if test -c /dev/ptym/clone; then
     rxvt_cv_ptys=HPUX
- else if test x$rxvt_cv_func_getpt = xyes; then
-    rxvt_cv_ptys=GLIBC
  else if test -c /dev/ptc -a -c /dev/pts; then
     rxvt_cv_ptys=PTC
  else if test -c /dev/ptc -a -d /dev/pts; then
 echo "$as_me:$LINENO: result: $rxvt_cv_ptys" >&5
 echo "${ECHO_T}$rxvt_cv_ptys" >&6
 
+if test x$rxvt_cv_ptys = xPOSIX; then
+
+cat >>confdefs.h <<\_ACEOF
+#define PTYS_ARE_POSIX 1
+_ACEOF
+
+fi
 if test x$rxvt_cv_ptys = xOPENPTY; then
 
 cat >>confdefs.h <<\_ACEOF
@@ -12280,13 +12233,6 @@ cat >>confdefs.h <<\_ACEOF
 _ACEOF
 
 fi
-if test x$rxvt_cv_ptys = xCONVEX; then
-
-cat >>confdefs.h <<\_ACEOF
-#define PTYS_ARE_GETPTY 1
-_ACEOF
-
-fi
 if test x$rxvt_cv_ptys = xGLIBC; then
 
 cat >>confdefs.h <<\_ACEOF
index 758af4a..5aef0c4 100644 (file)
@@ -22,14 +22,7 @@ Xft fonts.
 %setup -q
 
 %build
-%configure --enable-xft --enable-font-styles --enable-utmp --enable-wtmp \
-  --enable-lastlog --enable-transparency --enable-tinting --enable-fading \
-  --enable-menubar --enable-rxvt-scroll --enable-xterm-scroll \
-  --enable-plain-scroll --enable-half-shadow --enable-xgetdefault \
-  --enable-24bit --enable-keepscrolling --enable-selectionscrolling \
-  --enable-mousewheel --enable-slipwheeling --enable-smart-resize \
-  --enable-pointer-blank --enable-xpm-background --enable-next-scroll \
-  --enable-xim --enable-linespace --with-save-lines=2000 --enable-resources
+%configure
 make
 
 %install
index 6c4ac4b..08fa8a1 100644 (file)
@@ -48,7 +48,7 @@
 </p>
 <hr />
 <h1><a name="description">DESCRIPTION</a></h1>
-<p><strong>rxvt-unicode</strong>, version <strong>6.3</strong>, is a colour vt102 terminal
+<p><strong>rxvt-unicode</strong>, version <strong>7.0</strong>, is a colour vt102 terminal
 emulator intended as an <em>xterm</em>(1) replacement for users who do not
 require features such as Tektronix 4014 emulation and toolkit-style
 configurability. As a result, <strong>rxvt-unicode</strong> uses much less swap space --
@@ -655,34 +655,26 @@ this terminal instance. See resource <strong>perl-ext</strong> for details.
 <h1><a name="resources__available_also_as_longoptions_">RESOURCES (available also as long-options)</a></h1>
 <p>Note: `rxvt --help' gives a list of all resources (long
 options) compiled into your version.</p>
-<p>There are two different methods that rxvt can use to get the
-Xresource data: using the X libraries (Xrm*-functions) or internal
-Xresources reader (<strong>~/.Xdefaults</strong>). For the first method (ie.
-<strong>rxvt -h</strong> lists <strong>XGetDefaults</strong>), you can set and change the
-resources using X11 tools like <strong>xrdb</strong>. Many distribution do also load
-settings from the <strong>~/.Xresources</strong> file when X starts. rxvt
-will consult the following files/resources in order, with later settings
-overwriting earlier ones:</p>
+<p>You can set and change the resources using X11 tools like <strong>xrdb</strong>. Many
+distribution do also load settings from the <strong>~/.Xresources</strong> file when X
+starts. rxvt will consult the following files/resources in order,
+with later settings overwriting earlier ones:</p>
 <pre>
   1. system-wide app-defaults file, either locale-dependent OR global
   2. app-defaults file in $XAPPLRESDIR
   3. RESOURCE_MANAGER property on root-window OR $HOME/.Xdefaults
   4. SCREEN_RESOURCES for the current screen
   5. $XENVIRONMENT file OR $HOME/.Xdefaults-&lt;nodename&gt;</pre>
-<p>If compiled with internal Xresources support (i.e. <strong>rxvt -h</strong>
-lists <strong>.Xdefaults</strong>) then <strong>rxvt</strong> accepts application defaults
-set in XAPPLOADDIR/URxvt (compile-time defined: usually
-<strong>/usr/lib/X11/app-defaults/URxvt</strong>) and resources set in
-<strong>~/.Xdefaults</strong>, or <strong>~/.Xresources</strong> if <strong>~/.Xdefaults</strong> does not exist.
-Note that when reading X resources, <strong>rxvt</strong> recognizes two
-class names: <strong>XTerm</strong> and <strong>URxvt</strong>. The class name <strong>Rxvt</strong> allows
-resources common to both <strong>rxvt</strong> and the original <em>rxvt</em> to be
-easily configured, while the class name <strong>URxvt</strong> allows resources
-unique to <strong>rxvt</strong>, notably colours and key-handling, to be
-shared between different <strong>rxvt</strong> configurations. If no
-resources are specified, suitable defaults will be used. Command-line
-arguments can be used to override resource settings. The following
-resources are allowed:</p>
+<p>Note that when reading X resources, <strong>rxvt</strong> recognizes two class
+names: <strong>Rxvt</strong> and <strong>URxvt</strong>. The class name <strong>Rxvt</strong> allows resources
+common to both <strong>rxvt</strong> and the original <em>rxvt</em> to be easily
+configured, while the class name <strong>URxvt</strong> allows resources unique to
+<strong>rxvt</strong>, to be shared between different <strong>rxvt</strong>
+configurations. If no resources are specified, suitable defaults will
+be used. Command-line arguments can be used to override resource
+settings. The following resources are supported (you might want to
+check the <code>rxvtperl(3)</code> manpage for additional settings by perl
+extensions not documented here):</p>
 <dl>
 <dt><strong><a name="item_geometry_3a_geom"><strong>geometry:</strong> <em>geom</em></a></strong><br />
 </dt>
@@ -1360,10 +1352,10 @@ performed in an exact manner; however, the closest match is assured.</p>
 can start or end with whitespace.</p>
 </dd>
 <dd>
-<p>Please note that you need to double the <code>\</code> when using
-<code>--enable-xgetdefault</code>, as X itself does it's own de-escaping (you can
-use <code>\033</code> instead of <code>\e</code> (and so on), which will work with both Xt and
-rxvt's own processing).</p>
+<p>Please note that you need to double the <code>\</code> in resource files, as
+Xlib itself does it's own de-escaping (you can use <code>\033</code> instead of
+<code>\e</code> (and so on), which will work with both Xt and rxvt's own
+processing).</p>
 </dd>
 <dd>
 <p>You can define a range of keysyms in one shot by providing a <em>string</em>
index c727954..f05c7a9 100644 (file)
 .\" ========================================================================
 .\"
 .IX Title "rxvt 1"
-.TH rxvt 1 "2006-01-11" "6.3" "RXVT-UNICODE"
+.TH rxvt 1 "2006-01-11" "7.0" "RXVT-UNICODE"
 .SH "NAME"
 rxvt\-unicode (ouR XVT, unicode) \- (a VT102 emulator for the X window system)
 .SH "SYNOPSIS"
@@ -553,14 +553,10 @@ this terminal instance. See resource \fBperl-ext\fR for details.
 Note: `@@RXVT_NAME@@ \-\-help' gives a list of all resources (long
 options) compiled into your version.
 .PP
-There are two different methods that @@RXVT_NAME@@ can use to get the
-Xresource data: using the X libraries (Xrm*\-functions) or internal
-Xresources reader (\fB~/.Xdefaults\fR). For the first method (ie.
-\&\fB@@RXVT_NAME@@ \-h\fR lists \fBXGetDefaults\fR), you can set and change the
-resources using X11 tools like \fBxrdb\fR. Many distribution do also load
-settings from the \fB~/.Xresources\fR file when X starts. @@RXVT_NAME@@
-will consult the following files/resources in order, with later settings
-overwriting earlier ones:
+You can set and change the resources using X11 tools like \fBxrdb\fR. Many
+distribution do also load settings from the \fB~/.Xresources\fR file when X
+starts. @@RXVT_NAME@@ will consult the following files/resources in order,
+with later settings overwriting earlier ones:
 .PP
 .Vb 5
 \&  1. system-wide app-defaults file, either locale-dependent OR global
@@ -570,20 +566,16 @@ overwriting earlier ones:
 \&  5. $XENVIRONMENT file OR $HOME/.Xdefaults-<nodename>
 .Ve
 .PP
-If compiled with internal Xresources support (i.e. \fB@@RXVT_NAME@@ \-h\fR
-lists \fB.Xdefaults\fR) then \fB@@RXVT_NAME@@\fR accepts application defaults
-set in XAPPLOADDIR/URxvt (compile\-time defined: usually
-\&\fB/usr/lib/X11/app\-defaults/URxvt\fR) and resources set in
-\&\fB~/.Xdefaults\fR, or \fB~/.Xresources\fR if \fB~/.Xdefaults\fR does not exist.
-Note that when reading X resources, \fB@@RXVT_NAME@@\fR recognizes two
-class names: \fBXTerm\fR and \fBURxvt\fR. The class name \fBRxvt\fR allows
-resources common to both \fB@@RXVT_NAME@@\fR and the original \fIrxvt\fR to be
-easily configured, while the class name \fBURxvt\fR allows resources
-unique to \fB@@RXVT_NAME@@\fR, notably colours and key\-handling, to be
-shared between different \fB@@RXVT_NAME@@\fR configurations. If no
-resources are specified, suitable defaults will be used. Command-line
-arguments can be used to override resource settings. The following
-resources are allowed:
+Note that when reading X resources, \fB@@RXVT_NAME@@\fR recognizes two class
+names: \fBRxvt\fR and \fBURxvt\fR. The class name \fBRxvt\fR allows resources
+common to both \fB@@RXVT_NAME@@\fR and the original \fIrxvt\fR to be easily
+configured, while the class name \fBURxvt\fR allows resources unique to
+\&\fB@@RXVT_NAME@@\fR, to be shared between different \fB@@RXVT_NAME@@\fR
+configurations. If no resources are specified, suitable defaults will
+be used. Command-line arguments can be used to override resource
+settings. The following resources are supported (you might want to
+check the @@RXVT_NAME@@\fIperl\fR\|(3) manpage for additional settings by perl
+extensions not documented here):
 .IP "\fBgeometry:\fR \fIgeom\fR" 4
 .IX Item "geometry: geom"
 Create the window with the specified X window geometry [default 80x24];
@@ -1028,10 +1020,10 @@ performed in an exact manner; however, the closest match is assured.
 \&\f(CW\*(C`^@\*(C'\fR: null, \f(CW\*(C`^A\*(C'\fR ...) and may be enclosed with double quotes so that it
 can start or end with whitespace.
 .Sp
-Please note that you need to double the \f(CW\*(C`\e\*(C'\fR when using
-\&\f(CW\*(C`\-\-enable\-xgetdefault\*(C'\fR, as X itself does it's own de-escaping (you can
-use \f(CW\*(C`\e033\*(C'\fR instead of \f(CW\*(C`\ee\*(C'\fR (and so on), which will work with both Xt and
-@@RXVT_NAME@@'s own processing).
+Please note that you need to double the \f(CW\*(C`\e\*(C'\fR in resource files, as
+Xlib itself does it's own de-escaping (you can use \f(CW\*(C`\e033\*(C'\fR instead of
+\&\f(CW\*(C`\ee\*(C'\fR (and so on), which will work with both Xt and @@RXVT_NAME@@'s own
+processing).
 .Sp
 You can define a range of keysyms in one shot by providing a \fIstring\fR
 with pattern \fBlist/PREFIX/MIDDLE/SUFFIX\fR, where the delimeter `/'
index f89560f..b612d9b 100644 (file)
@@ -478,14 +478,10 @@ this terminal instance. See resource B<perl-ext> for details.
 Note: `@@RXVT_NAME@@ --help' gives a list of all resources (long
 options) compiled into your version.
 
-There are two different methods that @@RXVT_NAME@@ can use to get the
-Xresource data: using the X libraries (Xrm*-functions) or internal
-Xresources reader (B<~/.Xdefaults>). For the first method (ie.
-B<@@RXVT_NAME@@ -h> lists B<XGetDefaults>), you can set and change the
-resources using X11 tools like B<xrdb>. Many distribution do also load
-settings from the B<~/.Xresources> file when X starts. @@RXVT_NAME@@
-will consult the following files/resources in order, with later settings
-overwriting earlier ones:
+You can set and change the resources using X11 tools like B<xrdb>. Many
+distribution do also load settings from the B<~/.Xresources> file when X
+starts. @@RXVT_NAME@@ will consult the following files/resources in order,
+with later settings overwriting earlier ones:
 
   1. system-wide app-defaults file, either locale-dependent OR global
   2. app-defaults file in $XAPPLRESDIR
@@ -493,20 +489,16 @@ overwriting earlier ones:
   4. SCREEN_RESOURCES for the current screen
   5. $XENVIRONMENT file OR $HOME/.Xdefaults-<nodename>
 
-If compiled with internal Xresources support (i.e. B<@@RXVT_NAME@@ -h>
-lists B<.Xdefaults>) then B<@@RXVT_NAME@@> accepts application defaults
-set in XAPPLOADDIR/URxvt (compile-time defined: usually
-B</usr/lib/X11/app-defaults/URxvt>) and resources set in
-B<~/.Xdefaults>, or B<~/.Xresources> if B<~/.Xdefaults> does not exist.
-Note that when reading X resources, B<@@RXVT_NAME@@> recognizes two
-class names: B<XTerm> and B<URxvt>. The class name B<Rxvt> allows
-resources common to both B<@@RXVT_NAME@@> and the original I<rxvt> to be
-easily configured, while the class name B<URxvt> allows resources
-unique to B<@@RXVT_NAME@@>, notably colours and key-handling, to be
-shared between different B<@@RXVT_NAME@@> configurations. If no
-resources are specified, suitable defaults will be used. Command-line
-arguments can be used to override resource settings. The following
-resources are allowed:
+Note that when reading X resources, B<@@RXVT_NAME@@> recognizes two class
+names: B<Rxvt> and B<URxvt>. The class name B<Rxvt> allows resources
+common to both B<@@RXVT_NAME@@> and the original I<rxvt> to be easily
+configured, while the class name B<URxvt> allows resources unique to
+B<@@RXVT_NAME@@>, to be shared between different B<@@RXVT_NAME@@>
+configurations. If no resources are specified, suitable defaults will
+be used. Command-line arguments can be used to override resource
+settings. The following resources are supported (you might want to
+check the @@RXVT_NAME@@perl(3) manpage for additional settings by perl
+extensions not documented here):
 
 =over 4
 
@@ -1017,10 +1009,10 @@ C<\000>: octal number) or verbatim control characters (C<^?>: delete,
 C<^@>: null, C<^A> ...) and may be enclosed with double quotes so that it
 can start or end with whitespace.
 
-Please note that you need to double the C<\> when using
-C<--enable-xgetdefault>, as X itself does it's own de-escaping (you can
-use C<\033> instead of C<\e> (and so on), which will work with both Xt and
-@@RXVT_NAME@@'s own processing).
+Please note that you need to double the C<\> in resource files, as
+Xlib itself does it's own de-escaping (you can use C<\033> instead of
+C<\e> (and so on), which will work with both Xt and @@RXVT_NAME@@'s own
+processing).
 
 You can define a range of keysyms in one shot by providing a I<string>
 with pattern B<list/PREFIX/MIDDLE/SUFFIX>, where the delimeter `/'
index d21bca7..5a87334 100644 (file)
@@ -6,7 +6,7 @@ SYNOPSIS
     rxvt [options] [-e command [ args ]]
 
 DESCRIPTION
-    rxvt-unicode, version 6.3, is a colour vt102 terminal emulator intended
+    rxvt-unicode, version 7.0, is a colour vt102 terminal emulator intended
     as an *xterm*(1) replacement for users who do not require features such
     as Tektronix 4014 emulation and toolkit-style configurability. As a
     result, rxvt-unicode uses much less swap space -- a significant
@@ -409,13 +409,10 @@ RESOURCES (available also as long-options)
     Note: `rxvt --help' gives a list of all resources (long options)
     compiled into your version.
 
-    There are two different methods that rxvt can use to get the Xresource
-    data: using the X libraries (Xrm*-functions) or internal Xresources
-    reader (~/.Xdefaults). For the first method (ie. rxvt -h lists
-    XGetDefaults), you can set and change the resources using X11 tools like
-    xrdb. Many distribution do also load settings from the ~/.Xresources
-    file when X starts. rxvt will consult the following files/resources in
-    order, with later settings overwriting earlier ones:
+    You can set and change the resources using X11 tools like xrdb. Many
+    distribution do also load settings from the ~/.Xresources file when X
+    starts. rxvt will consult the following files/resources in order, with
+    later settings overwriting earlier ones:
 
       1. system-wide app-defaults file, either locale-dependent OR global
       2. app-defaults file in $XAPPLRESDIR
@@ -423,18 +420,15 @@ RESOURCES (available also as long-options)
       4. SCREEN_RESOURCES for the current screen
       5. $XENVIRONMENT file OR $HOME/.Xdefaults-<nodename>
 
-    If compiled with internal Xresources support (i.e. rxvt -h lists
-    .Xdefaults) then rxvt accepts application defaults set in
-    XAPPLOADDIR/URxvt (compile-time defined: usually
-    /usr/lib/X11/app-defaults/URxvt) and resources set in ~/.Xdefaults, or
-    ~/.Xresources if ~/.Xdefaults does not exist. Note that when reading X
-    resources, rxvt recognizes two class names: XTerm and URxvt. The class
-    name Rxvt allows resources common to both rxvt and the original *rxvt*
-    to be easily configured, while the class name URxvt allows resources
-    unique to rxvt, notably colours and key-handling, to be shared between
-    different rxvt configurations. If no resources are specified, suitable
-    defaults will be used. Command-line arguments can be used to override
-    resource settings. The following resources are allowed:
+    Note that when reading X resources, rxvt recognizes two class names:
+    Rxvt and URxvt. The class name Rxvt allows resources common to both rxvt
+    and the original *rxvt* to be easily configured, while the class name
+    URxvt allows resources unique to rxvt, to be shared between different
+    rxvt configurations. If no resources are specified, suitable defaults
+    will be used. Command-line arguments can be used to override resource
+    settings. The following resources are supported (you might want to check
+    the rxvtperl(3) manpage for additional settings by perl extensions not
+    documented here):
 
     geometry: *geom*
         Create the window with the specified X window geometry [default
@@ -876,10 +870,10 @@ RESOURCES (available also as long-options)
         "^@": null, "^A" ...) and may be enclosed with double quotes so that
         it can start or end with whitespace.
 
-        Please note that you need to double the "\" when using
-        "--enable-xgetdefault", as X itself does it's own de-escaping (you
-        can use "\033" instead of "\e" (and so on), which will work with
-        both Xt and rxvt's own processing).
+        Please note that you need to double the "\" in resource files, as
+        Xlib itself does it's own de-escaping (you can use "\033" instead of
+        "\e" (and so on), which will work with both Xt and rxvt's own
+        processing).
 
         You can define a range of keysyms in one shot by providing a
         *string* with pattern list/PREFIX/MIDDLE/SUFFIX, where the delimeter
index bc1e707..479d9b3 100644 (file)
@@ -2940,19 +2940,6 @@ do it.
 Removes any support for resource checking.
 </dd>
 <p></p>
-<dt><strong><a name="item__2d_2denable_2dxgetdefault">--enable-xgetdefault</a></strong><br />
-</dt>
-<dd>
-Make resources checking via <code>XGetDefault()</code> instead of our small
-version which only checks ~/.Xdefaults, or if that doesn't exist then
-~/.Xresources.
-</dd>
-<dd>
-<p>Please note that nowadays, things like XIM will automatically pull in and
-use the full X resource manager, so the overhead of using it might be very
-small, if nonexistant.</p>
-</dd>
-<p></p>
 <dt><strong><a name="item_strings">--enable-strings (default: off)</a></strong><br />
 </dt>
 <dd>
index ad6168b..39b90dc 100644 (file)
 .\" ========================================================================
 .\"
 .IX Title "rxvt 7"
-.TH rxvt 7 "2006-01-11" "6.3" "RXVT-UNICODE"
+.TH rxvt 7 "2006-01-11" "7.0" "RXVT-UNICODE"
 .SH "NAME"
 RXVT REFERENCE \- FAQ, command sequences and other background information
 .SH "SYNOPSIS"
@@ -2491,15 +2491,6 @@ do it.
 .IP "\-\-disable\-resources" 4
 .IX Item "--disable-resources"
 Removes any support for resource checking.
-.IP "\-\-enable\-xgetdefault" 4
-.IX Item "--enable-xgetdefault"
-Make resources checking via \fIXGetDefault()\fR instead of our small
-version which only checks ~/.Xdefaults, or if that doesn't exist then
-~/.Xresources.
-.Sp
-Please note that nowadays, things like \s-1XIM\s0 will automatically pull in and
-use the full X resource manager, so the overhead of using it might be very
-small, if nonexistant.
 .IP "\-\-enable\-strings (default: off)" 4
 .IX Item "--enable-strings (default: off)"
 Add support for our possibly faster \fImemset()\fR function and other
index 696303c..97bbc10 100644 (file)
@@ -2513,16 +2513,6 @@ do it.
 
 Removes any support for resource checking.
 
-=item --enable-xgetdefault
-
-Make resources checking via XGetDefault() instead of our small
-version which only checks ~/.Xdefaults, or if that doesn't exist then
-~/.Xresources.
-
-Please note that nowadays, things like XIM will automatically pull in and
-use the full X resource manager, so the overhead of using it might be very
-small, if nonexistant.
-
 =item --enable-strings (default: off)
 
 Add support for our possibly faster memset() function and other
index 0cddb26..becc43d 100644 (file)
@@ -1965,15 +1965,6 @@ CONFIGURE OPTIONS
     --disable-resources
         Removes any support for resource checking.
 
-    --enable-xgetdefault
-        Make resources checking via XGetDefault() instead of our small
-        version which only checks ~/.Xdefaults, or if that doesn't exist
-        then ~/.Xresources.
-
-        Please note that nowadays, things like XIM will automatically pull
-        in and use the full X resource manager, so the overhead of using it
-        might be very small, if nonexistant.
-
     --enable-strings (default: off)
         Add support for our possibly faster memset() function and other
         various routines, overriding your system's versions which may have
diff --git a/reconf b/reconf
index 357d73d..9a3eec9 100755 (executable)
--- a/reconf
+++ b/reconf
@@ -10,6 +10,5 @@ if [ "x$HOSTNAME" = xcerebro -o "x$HOSTNAME" = xfuji ]; then
    export CC CXX
 fi
 
-./configure --prefix=/opt/rxvt --with-name=rxvt \
-            --enable-menubar --enable-xgetdefault \
+./configure --prefix=/opt/rxvt --with-name=rxvt --enable-menubar \
             "$@"
index a63e2a6..b110892 100644 (file)
@@ -90,11 +90,11 @@ get_pty (int *fd_tty, char **ttydev)
 #endif
 
 #if defined(HAVE_GRANTPT) && defined(HAVE_UNLOCKPT)
-# if defined(PTYS_ARE_GETPT) || defined(PTYS_ARE_PTMX)
+# if defined(PTYS_ARE_POSIX) || defined(PTYS_ARE_PTMX)
 
   {
-#  ifdef PTYS_ARE_GETPT
-    pfd = getpt ();
+#  ifdef PTYS_ARE_POSIX
+    pfd = posix_openpt (O_RDWR);
 #  else
     pfd = open ("/dev/ptmx", O_RDWR | O_NOCTTY, 0);
 #  endif