Red Hat Bugzilla – Bug 147276
strange behavior when using Expect script
Last modified: 2007-11-30 17:10:59 EST
Description of problem:
When a small Expect script (one that SSH's into other machines) is
started from within gnome-terminal, subsequent user (non-script)
commands that produce lots of stdout cause gnome-term to stutter while
producing the output and to never finish.
Version-Release number of selected component (if applicable):
2.73, I think.
Steps to Reproduce:
1. start the Expect script in a gnome-terminal
2. the script SSH's into a remote machine and performs login tasks
3. when the script is finished, run ls -la on a large directory such
as /usr/bin (or cat a large text file or anything else that produces
lots of output)
The output (of the large output task) never finishes. Rather, it gets
"stuck" somewhere in the middle of the output and "stutters". This is
hard to describe. The output will wiggle around on the screen, the
cursor jumps around a bit, and the whole thing is quite hard to read
or follow because of this.
At first I thought there might be something wrong with the Expect
script or maybe the version I run. But then I ran the same thing in
several other terms successfully. Specifically, xterm, eterm, aterm,
and multi-gnome-terminal all run the script flawlessly with none of
the behavior I described above. Only when running my script in
gnome-terminal does this happen. Making this even more mind-bending,
if I take the commands in the script and run them manually in a
gnome-terminal, I get none of this weird behavior.
I contemplated upgrading gnome-terminal when I noticed that there is a
newer stable release, 2.92 I think, but changed my mind when I saw
that it depended upon newer GTK libs and such.
Never mind. Sorry. The problem wasn't with gnome-terminal at all but rather
with Expect itself. A newer version of Expect was released this week which
fixed the problem.
I hope a newer RPM can be built as this was a pretty nasty bug.
Closing based on previous comment since 5.43.0 is in FC4.