Package: expect
Version: 5.43.0-8
Severity: normal

(I'm sorry if this is a duplicate)

The following script has erroneous behaviour:

----------------------------------------------------------------
#!/usr/bin/expect -d
spawn gdb
interact
----------------------------------------------------------------

The last things it prints are:

----------------------------------------------------------------
(gdb) spawn id exp0 sent <\u0004>
spawn id exp6 sent <quit\r\n>
quit
interact: received eof from spawn_id exp6
write() failed to write anything - will sleep(1) and retry...
                                                             tty_set: raw = 0, 
echo = 1
tty_set: raw = 5, echo = 0
----------------------------------------------------------------

There is about a 1 second delay as it exits. I think there should be
no delay.

-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-2-686
Locale: LANG=, LC_CTYPE= (charmap=ANSI_X3.4-1968)

Versions of packages expect depends on:
ii  libc6                         2.5-1      GNU C Library: Shared libraries
ii  tcl8.4                        8.4.12-1.1 Tcl (the Tool Command Language) v8

expect recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to