Package: ttyrec Version: 1.0.8-3 Severity: normal When running a command that prints something and immediately exits, with ttyrec -e, it seems to lose what is printed at the end sometimes.
j...@gnu:~>ttyrec -e "perl -le 'print \$x++ for 1..2'" 0 1 j...@gnu:~>ttyrec -e "perl -le 'print \$x++ for 1..2'" j...@gnu:~>ttyrec -e "perl -le 'print \$x++ for 1..2'" 0 1 j...@gnu:~>ttyrec -e "perl -le 'print \$x++ for 1..2'" j...@gnu:~>ttyrec -e "perl -le 'print \$x++ for 1..2'" 0 1 j...@gnu:~>ttyrec -e "perl -le 'print \$x++ for 1..2'" j...@gnu:~>ttyrec -e "perl -le 'print \$x++ for 1..2'" j...@gnu:~>ttyrec -e "perl -le 'print \$x++ for 1..2'" 0 1 j...@gnu:~>ttyrec -e "perl -le 'print \$x++ for 1..2'" 0 1 If the command sleeps a little before exiting, the problem is avoided, thus this must be a race of some kind. j...@gnu:~>ttyrec -e "perl -le 'print \$x++ for 1..2; sleep 1'" 0 1 Note: The ttyrecord file is also empty when the output has been lost. -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable') Architecture: i386 (i686) Kernel: Linux 2.6.31-1-686 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages ttyrec depends on: ii libc6 2.10.2-2 GNU C Library: Shared libraries ttyrec recommends no packages. ttyrec suggests no packages. -- no debconf information -- see shy jo
signature.asc
Description: Digital signature