A late reply, but was satisfied with 2.6.2 until it started segfaulting
on some strange large window/whatever combinations...
On Sat 30 Sep 2000, Geoff Wing wrote:
> if you've got rxvt-2.7.5 working on SunOS/Solaris without any problems
> and your OS is set up to use ptmx (instead of BSD ttys) I'll be
> interested to hear what OS version. For other people, you may want
> to try this patch:
This is Solaris 2.6, with gcc. I checked out CVS this morning, and
ran ./.prebuild on a linux system before putting the tree on solaris
(don't have autoconf et.al. on solaris, and shouldn't matter, right?)
Firstly a problem with configure:
checking for getpt... no
checking for pty/tty type... ./configure: test: argument expected
With set -x added before the relevant section:
checking for getpt... no
+ echo checking for pty/tty type... \c
checking for pty/tty type... + echo configure:8820: checking for pty/tty type
+ echo ${rxvt_cv_ptys+set}
+ eval test "${rxvt_cv_ptys+set}" = set
+ test = set
+ test xno = xyes
+ test xno = xyes
+ test -c /dev/ttyp20
+ test -e /dev/ptym/clone
./configure: test: argument expected
It appears that "test -e" isn't standard; "-c" might be a better choice
(I'm guessing /dev/ptym/clone is a character special device).
After fixing this, it reports
pty/tty type: GLIBC
which makes me wonder a bit, I don't think solaris uses glibc...
When running the compiled rxvt, with DEBUG_TTY defined:
$ src/rxvt
rxvt_run_child(): operating on slave: /dev/pts/15 (fd: 6), pid: 14889, pgrp: 14887
rxvt_run_child(): Voiding tty associations: previous=no
rxvt_run_child(): /dev/tty has controlling tty? no (good)
rxvt_run_child(): do we have controlling tty now: no (fatal)
rxvt_run_child(): errno=6: No such device or address [ I added this ]
rxvt: could not obtain control of tty
The patch in the email I'm replying to doesn't make any difference.
I've tried looking into this, but I get a bit lost in the maze of
ifdefs, and not knowing what the expected results should be.
So, I'm basically lost at this point.
Let me know if you want me to try anything.
Paul Slootman
--
home: [EMAIL PROTECTED] http://www.wurtel.demon.nl/
work: [EMAIL PROTECTED] http://www.murphy.nl/
debian: [EMAIL PROTECTED] http://www.debian.org/
isdn4linux: [EMAIL PROTECTED] http://www.isdn4linux.org/