urxvtd -f fails with EBADF

Jukka Salmi j+urxvt at 2007.salmi.ch
Mon Nov 19 09:55:40 CET 2007


Marc Lehmann --> rxvt-unicode (2007-11-19 03:45:15 +0100):
[...]
> can you verify wether urxvt indeed uses kqueue (by some strace-like means,

ktrace(1) shows:

[...]
  2264      1 ktrace   CALL  execve(0xbfbfe5b8,0xbfbfea90,0xbfbfea98)
  2264      1 ktrace   NAMI  "/usr/local/bin/urxvt"
  2264      1 ktrace   NAMI  "/usr/libexec/ld.elf_so"
  2264      1 urxvt    EMUL  "netbsd"
[...]
  2264      1 urxvt    CALL  kqueue
  2264      1 urxvt    RET   kqueue 5
  2264      1 urxvt    CALL  fcntl(5,2,1)
  2264      1 urxvt    RET   fcntl 0
  2264      1 urxvt    CALL  kevent(5,0xbfbfe9cc,1,0xbfbfe9b0,1,0)
  2264      1 urxvt    RET   kevent 1
  2264      1 urxvt    CALL  fcntl(3,2,1)
  2264      1 urxvt    RET   fcntl 0
  2264      1 urxvt    CALL  fcntl(3,4,4)
  2264      1 urxvt    RET   fcntl 0
  2264      1 urxvt    CALL  fcntl(4,2,1)
  2264      1 urxvt    RET   fcntl 0
  2264      1 urxvt    CALL  fcntl(4,4,4)
  2264      1 urxvt    RET   fcntl 0
[...]


> or seeing wether urxvt starts when you force it to use kqueue by running
> it like "LIBEV_FLAGS=8 /path/to/urxvt" (doesn't work for setgid))? that
> would be nice.

Works fine, as expected.


Regards, Jukka

-- 
bashian roulette:
$ ((RANDOM%6)) || rm -rf ~




More information about the rxvt-unicode mailing list