Package: bsdutils Version: 1:2.12p-4 Severity: normal Hi, when using script with a command sometimes script fails to capture the first chars. This came up when i replaced my "telnet" and "ssh" commands with script extended functions like this:
function telnet { script -c "telnet $*" ~/log/telnet.`date +%Y%m%d%H%M%S`.$$; } function ssh { script -c "ssh $*" ~/log/ssh.`date +%Y%m%d%H%M%S`.$$; } Here is some example - telnet on a non existant host quickly produces a unable to connect to remote host which sometimes gets lost: [EMAIL PROTECTED]:~$ script -c 'telnet localhost 3223' Script started, file is typescript Script done, file is typescript [EMAIL PROTECTED]:~$ script -c 'sleep 1; telnet localhost 3223' Script started, file is typescript Trying 127.0.0.1... telnet: Unable to connect to remote host: Connection refused Script done, file is typescript [EMAIL PROTECTED]:~$ script -c 'telnet localhost 3223' Script started, file is typescript Trying 127.0.0.1... telnet: Unable to connect to remote host: Connection refused Script done, file is typescript Flo -- System Information: Debian Release: 3.1 APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing') Architecture: i386 (i686) Kernel: Linux 2.6.11.6-touch Locale: LANG=C, [EMAIL PROTECTED] (charmap=ISO-8859-15) Versions of packages bsdutils depends on: ii libc6 2.3.2.ds1-20 GNU C Library: Shared libraries an -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]