Package: bsdutils
Version: 1:2.12r-8
-anarres:d> script -c true
Script started, file is typescript
[ hangs, uninterruptible by ^C or ^D,
until child `script' process is killed from another terminal ]
Script done, file is typescript
-anarres:d> strace -ou script -c true
Script started, file is typescript
[ hangs, uninterruptible by ^C or ^D,
until child `script' process is killed from another terminal ]
The tail end of the strace is below.
Ian.
...
write(1, "Script started, file is typescri"..., 35) = 35
ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(0, SNDCTL_TMR_CONTINUE or TCSETSF, {B38400 -opost -isig -icanon -echo
...}) = 0
ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 -opost -isig -icanon -echo
...}) = 0
rt_sigaction(SIGCHLD, {0x8048f8f, [CHLD], SA_RESTART}, {SIG_DFL}, 8) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD,
child_tidptr=0xb7dfc708) = 3832
rt_sigaction(SIGWINCH, {0x8048fcf, [WINCH], SA_RESTART}, {SIG_DFL}, 8) = 0
close(3) = 0
read(0, 0xbfd60af8, 8192) = ? ERESTARTSYS (To be restarted)
--- SIGCHLD (Child exited) @ 0 (0) ---
wait4(-1, [{WIFSIGNALED(s) && WTERMSIG(s) == SIGTERM}], WNOHANG, NULL) = 3832
wait4(-1, 0xbfd607e0, WNOHANG, NULL) = -1 ECHILD (No child processes)
ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 -opost -isig -icanon -echo
...}) = 0
ioctl(0, SNDCTL_TMR_CONTINUE or TCSETSF, {B38400 opost isig icanon echo ...}) = 0
ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
write(1, "Script done, file is typescript\n", 32) = 32
munmap(0xb7f4c000, 4096) = 0
exit_group(0) = ?
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]