[Adopt] rxvt

Charles Wilson cygwin@cwilson.fastmail.fm
Sat May 6 01:31:00 GMT 2006


rxvt has long been on Corinna's list of orphaned packages (last known 
version here:)
    http://www.cygwin.com/ml/cygwin-apps/2006-02/msg00139.html

The current version, rxvt-2.7.10-6, is over a year old
    http://www.cygwin.com/ml/cygwin-announce/2005-04/msg00011.html

Now, upstream development of rxvt has completely halted as well, so in 
itself that's not a big deal.  However, there are a few changes *I* 
wanted in rxvt, and ... nobody responsive to send them to.  So...unless 
anybody complains, I'll go ahead and upload this over the weekend.  I've 
actually been using (something very similar to) this version for nine or 
ten months now, so it's pretty solid IMO.


ITP-ish stuff:
-----------------------------

http://cygwin.cwilson.fastmail.fm/ITP/rxvt-20050409-1-src.tar.bz2
http://cygwin.cwilson.fastmail.fm/ITP/rxvt-20050409-1.tar.bz2
http://cygwin.cwilson.fastmail.fm/ITP/rxvt.hint

-------------- 8< -----------------
category: Shells
sdesc: "VT102 terminal emulator for both X and Windows"
ldesc: "rxvt is a colour vt102 terminal emulator intended as
an xterm replacement for users who do not require features
such as Tektronix 4014 emulation and toolkit-style configurability.
As a result, rxvt uses much less memory.  And besides, it's
prettier than xterm and much more usable than cmd.exe on MSWin.
There are, however, known issues with native windows stdio; on
windows/cygwin, rxvt is best used when you are using mostly
cygwin tools."
requires: cygwin bash
-------------- 8< -----------------


What's different:
-------------------------
Operationally, nothing.  Just a routine update, from the user 
perspective.  It does have a few new features:

   * it can hide its own console, without requiring run.exe (but there's 
no reason your current shortcut, which uses run, needs to change.  It'll 
be fine).

   * better heuristics for the X11 search: it will find cygX11-*.dll 
even if /usr/X11R6/bin is not in your $PATH.  Soon this won't matter, as 
the modular x.org client libs will be in /usr/bin, but it's nice.

   * /usr/share/man/man1/rxvt.1.gz is actually usable.


Other stuff
------------------
Packaging-wise, there are a LOT of changes.  It's a fully g-b-s style 
build now (no need to edit features.h AFTER configuring, anymore). 
Getting into the technical weeds...

Around rxvt-2.7.6 or so, SteveO's win32-native patches were adopted into 
the rxvt CVS, kinda.  But, his rxvt distribution for cygwin was built by 
overlaying a copy of the xpm source code, building a private static 
library of it, which was then used to link.  But, the -src package 
shipped with cygwin didn't "indicate" that these manipulations occurred: 
SteveO just tarred up his working source directory and shipped THAT.

So it was difficult to see, directly, how "our" source code differed 
from "their" original 2.7.10 code.  (Plus, "our" version was actually 
based off of a snapshot taken from CVS *after* the 2.7.10 release, and 
then modified from that...)

So, my "-src" package actually contains the following:

   rxvt-20050409.tar.bz2      : a direct CVS pull with that date -D)
   rxvt-import-xpm.patch.bz2  : a layover patch that "imports" the xpm
                                source code
   rxvt-20050409-1.patch      : the OTHER cygwin changes needed for a
                                clean build
   rxvt-20050409-1.sh         : heavily doctored generic-build-script

I'm using a date-stamp instead of '2.7.10' because, well, OUR 2.7.10 
never really was 2.7.10 to begin with.  As of 2.7.10-6, it was really 
20050409-CVS + local-steveo-patches.



Here are the options I used to configure (somebody was asking about 256 
color support earlier).  It's enabled -- but the rxvt terminfo entries
do not reflect that (try 'export TERM=xterm-256color' and 
'/usr/lib/ncurses/test/ncurses.exe -d'. You'll see the colors, but rxvt 
is not xterm so other things will break)


   rxvt_cv_struct_utmpx=no \
   DLIB=${objdir}/W11/wrap/rxvt_res.o \
   CFLAGS="${MY_CFLAGS}" LDFLAGS="${MY_LDFLAGS}" \
   ${srcdir}/configure \
   --srcdir=${srcdir} --prefix="${prefix}" \
   --exec-prefix='${prefix}' --sysconfdir="${sysconfdir}" \
   --libdir='${prefix}/lib' --includedir='${prefix}/include' \
   --mandir='${prefix}/share/man' --infodir='${prefix}/share/info' \
   --libexecdir='${sbindir}' --localstatedir="${localstatedir}" \
   --datadir='${prefix}/share' \
   --disable-shared --enable-xpm-background \
   --with-xpm-includes=${objdir}/W11/X11 \
   --with-xpm-library=${objdir}/W11/lib \
   --x-libraries=${objdir}/W11/lib \
   --enable-utmp --enable-wtmp --enable-lastlog --enable-menubar \
   --enable-rxvt-scroll --enable-next-scroll --enable-xterm-scroll \
   --enable-frills --enable-linespace --enable-mousewheel \
   --enable-keepscrolling \
   --enable-old-selection --enable-transparency --enable-256-color \
   --enable-languages --with-encoding=noenc )

-- 
Chuck



More information about the Cygwin-apps mailing list