Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 23888 - nvi sometimes crashes when resizing the window. (ex/vi: Error: tcsetattr: Interrupted system call error)
Summary: nvi sometimes crashes when resizing the window. (ex/vi: Error: tcsetattr: Int...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Aron Griffis (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-02 16:33 UTC by Andy Wang
Modified: 2003-10-30 20:20 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch from FreeBSD developers that fixes the problem. (nvi-tcsetattr.patch,565 bytes, patch)
2003-07-02 16:34 UTC, Andy Wang
Details | Diff
New ebuild using the proposed patch (nvi-1.81.5-r1.ebuild,785 bytes, application/octet-stream)
2003-08-02 10:26 UTC, Adam Jakubek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andy Wang 2003-07-02 16:33:46 UTC
When resizing a window that is running nvi, sometimes nvi crashes and the
following window is displayed:

ex/vi: Error: tcsetattr: Interrupted system call


Reproducible: Sometimes
Steps to Reproduce:
1. use nvi to edit a file.
2. resize the window over and over
Actual Results:  
Sometimes nvi crashes with the following error:
ex/vi: Error: tcsetattr: Interrupted system call

Expected Results:  
Properly resize the window.

http://www.freebsd.org/cgi/query-pr.cgi?pr=8438

known bug with nvi.  FreeBSD developer fixed it.  nvi maintainer has not yet
fixed it.

I've attached the patch to this bug.  It hasn't occurred ever since I patched my
nvi.
Comment 1 Andy Wang 2003-07-02 16:34:39 UTC
Created attachment 14128 [details, diff]
Patch from FreeBSD developers that fixes the problem.
Comment 2 Adam Jakubek 2003-08-02 10:26:35 UTC
Created attachment 15370 [details]
New ebuild using the proposed patch
Comment 3 Aron Griffis (RETIRED) gentoo-dev 2003-10-30 20:20:55 UTC
Thanks!  Committed to cvs as -r2.  Sorry for the wait. :-(