On Fri, Dec 28, 2012 at 10:13 PM, Christian Weisgerber
<na...@mips.inka.de> wrote:
> David Coppa <dco...@gmail.com> wrote:
>
>> >> Seems fine to me so far (amd64 and macppc);
>> >>
>> > OK here - amd64.
>>
>> Ok for me too.
>
> CONFIGURE_ARGS =        --enable-utmp
>
> From this I take it that rxvt is supposed to write entries to
> utmp(5), visible with w(1).  And as an xterm replacement it should.
>
> In reality, it doesn't write utmp entries.  It can't.  It would
> need to be setgid utmp for this.  The code seems to be there, so I
> simply made it setgid utmp.  Surprisingly, this causes urxvt to
> fail completely:
>
> urxvt: protocol error while reading pty/tty fds from helper process,
> aborting.
>
> I've looked a bit over the code and ktrace'd a run, but there is
> no obvious reason for the error.  I suspect there is a problem with
> the IPC, probably the file descriptor passing.

I'll have a look, thanks for reporting this problem.

Btw, '--enable-utmp' and '--enable-wtmp' were *not* in the original
patch Levai sent to ports@.

ciao,
David

Reply via email to