Hello,
after updating rxvt-unicode from 2008.01.29 HEAD sources to today's
HEAD sources on a NetBSD/i386 system, the urxvt terminal window remains
visible after its shell has exited, but only when using urxvtd and
urxvtc; I don't see this behaviour when using urxvt. I also don't see
this behaviour when calling urxvtc and then sending EOF (by hitting ^D)
without issuing any command. However, typing `exit' instead of sending
EOF causes urxvt to remain visible.
Tracing urxvtd while issuing urxvtc shows:
[...]
9386 1 urxvtd CALL open(0xbbae88b4,2,0)
9386 1 urxvtd NAMI "/dev/ptmx"
9386 1 urxvtd RET open 9
9386 1 urxvtd CALL ioctl(9,TIOCGRANTPT,0)
9386 1 urxvtd RET ioctl 0
9386 1 urxvtd CALL ioctl(9,TIOCPTSNAME,0xbbafbe60)
9386 1 urxvtd GIO fd 9 read 40 bytes
"\^C\0\0\0\^C\0\0\0/dev/null\0\0\0\0\0\0\0/dev/pts/3\0\0\0\0\0\0"
9386 1 urxvtd RET ioctl 0
9386 1 urxvtd CALL fcntl(9,4,4)
9386 1 urxvtd RET fcntl 0
9386 1 urxvtd CALL open(0xbb9019c0,0x8002,0)
9386 1 urxvtd NAMI "/dev/pts/3"
9386 1 urxvtd RET open 10/0xa
9386 1 urxvtd CALL ioctl(0,TIOCGETA,0xbb936820)
9386 1 urxvtd RET ioctl -1 errno 45 Operation not supported
9386 1 urxvtd CALL ioctl(0xa,TIOCSETA,0xbb936820)
9386 1 urxvtd GIO fd 10 wrote 44 bytes
"\^F#\0\0\^C\0\0\0\0\v\0\0\M-O\^E\0\0\^D\M^?\M^?\^?\^W\^U\^R\0\^C\^\\^Z\^Y\^Q\^S\^V\^O\^A\0\0\0\0\M^V\0\0\0\M^V\0\0"
9386 1 urxvtd RET ioctl 0
9386 1 urxvtd CALL ioctl(9,TIOCSWINSZ,0xbfbfe850)
9386 1 urxvtd GIO fd 9 wrote 8 bytes
"[EMAIL PROTECTED]"
9386 1 urxvtd RET ioctl 0
[...]
28448 1 urxvtd CALL execve(0xbb925446,0xbfbfe814,0xbb92c100)
28448 1 urxvtd NAMI "/usr/pkg/bin/bash"
28448 1 urxvtd NAMI "/usr/libexec/ld.elf_so"
28448 1 bash EMUL "netbsd"
28448 1 bash RET syscall JUSTRETURN
[...]
28448 1 bash CALL exit(0)
9386 1 urxvtd RET kevent -1 errno 4 Interrupted system call
9386 1 urxvtd PSIG SIGCHLD caught handler=0x806b8a8 mask=())
9386 1 urxvtd CALL setcontext(0xbfbfe5d4)
9386 1 urxvtd RET write JUSTRETURN
9386 1 urxvtd CALL gettimeofday(0xbfbfe938,0)
9386 1 urxvtd RET gettimeofday 0
9386 1 urxvtd CALL gettimeofday(0xbfbfe938,0)
9386 1 urxvtd RET gettimeofday 0
9386 1 urxvtd CALL kevent(3,0xbb93d110,0,0xbb902800,0x40,0xbfbfe930)
9386 1 urxvtd RET kevent 0
[...]
9386 1 urxvtd CALL write(9,0xbfbfe58c,1)
9386 1 urxvtd RET write -1 errno 5 Input/output error
[...]
9386 1 urxvtd CALL open(0x80776ca,0x221,0x1a4)
9386 1 urxvtd NAMI "/var/log/wtmpx"
9386 1 urxvtd RET open -1 errno 13 Permission denied
9386 1 urxvtd CALL fork
9386 1 urxvtd RET fork 9227/0x240b
9386 1 urxvtd CALL wait4(0x240b,0xbfbfde60,0,0)
9227 1 urxvtd EMUL "netbsd"
9227 1 urxvtd RET fork 0
9227 1 urxvtd CALL execve(0xbbaec8ee,0xbfbfde44,0xbb928160)
9227 1 urxvtd NAMI "/usr/libexec/utmp_update"
9227 1 urxvtd NAMI "/usr/libexec/ld.elf_so"
9386 1 urxvtd RET wait4 RESTART
9386 1 urxvtd PSIG SIGCHLD caught handler=0x806b8a8 mask=())
9386 1 urxvtd CALL setcontext(0xbfbfdb14)
9386 1 urxvtd RET wait4 JUSTRETURN
9386 1 urxvtd CALL wait4(0x240b,0xbfbfde60,0,0)
9386 1 urxvtd RET wait4 9227/0x240b
9386 1 urxvtd CALL close(8)
9386 1 urxvtd RET close 0
9386 1 urxvtd CALL chmod(0xbb9019c0,0x1b6)
9386 1 urxvtd NAMI "/dev/pts/3"
9386 1 urxvtd RET chmod 0
9386 1 urxvtd CALL chown(0xbb9019c0,0,0)
9386 1 urxvtd NAMI "/dev/pts/3"
9386 1 urxvtd RET chown -1 errno 1 Operation not permitted
9386 1 urxvtd CALL close(9)
9386 1 urxvtd RET close 0
9386 1 urxvtd CALL shmdt(0xbb832000)
9386 1 urxvtd RET shmdt 0
[...]
Not sure any of this is relevant...
Help is appreciated!
Regards, Jukka
--
bashian roulette:
$ ((RANDOM%6)) || rm -rf ~
_______________________________________________
rxvt-unicode mailing list
[email protected]
http://lists.schmorp.de/cgi-bin/mailman/listinfo/rxvt-unicode