Bug 2688 - zsh sometimes stops displaying the command-line
Summary: zsh sometimes stops displaying the command-line
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: zsh   
(Show other bugs)
Version: 6.0
Hardware: All Linux
medium
medium
Target Milestone: ---
Assignee: Jay Turner
QA Contact:
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 1999-05-09 19:52 UTC by espel
Modified: 2015-01-07 23:37 UTC (History)
1 user (show)

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


Attachments (Terms of Use)

Description espel 1999-05-09 19:52:18 UTC
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 20:10:59 UTC
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.