Bug 2688 - zsh sometimes stops displaying the command-line
zsh sometimes stops displaying the command-line
Product: Red Hat Linux
Classification: Retired
Component: zsh (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jay Turner
Depends On:
  Show dependency treegraph
Reported: 1999-05-09 15:52 EDT by espel
Modified: 2015-01-07 18:37 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 1999-05-09 16:10:17 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description espel 1999-05-09 15:52:18 EDT
zsh gets mighty confused when you type quickly, and the
select() system call happens to trash the timeout value
(as the manpage says, "consider timeout to be undefined
after select returns").

this happens rarely, but I've seen it happen on a redhat
box (5.1, with a recompiled 2.0.35 kernel).

fix: add "tv.tv_sec = 0;"  in Src/zle_main.c, line 479
(around FD_SET(SHTTY, &foofd); if ((tv.tv_usec = cost *
costmult) > 500000) ...

as far as I can see, the bug is still there in the rh6.0
srpm for zsh.
Comment 1 Jeff Johnson 1999-05-09 16:10:59 EDT
Fixed in zsh-3.0.5-11.src.rpm. Thanks for the patch.

Note You need to log in before you can comment on or make changes to this bug.