Bug 1143
Summary: | /usr/bin/reset doesn't reset enough things | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Marc MERLIN <marc_soft> |
Component: | ncurses | Assignee: | Cristian Gafton <gafton> |
Status: | CLOSED NEXTRELEASE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 5.2 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 1999-08-28 00:00:58 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Marc MERLIN
1999-02-13 08:14:07 UTC
I have verified that when mc is killed the xterm display is not restored properly when the reset command is used. Judging from the comments: /* What about rf, rs3, as per terminfo man page? */ /* also might be nice to send rmacs, rmul, rmm */ in the tset.c source file (reset is a link to tset), it looks like the authors of ncurses themselves can't decide what the right thing is to do. I hesitate to copy bug-ncurses in the bugzilla Cc line, but if you would like this fixed long term for everyone I'd suggest contacting bug-ncurses and asking if they have reasons for not doing all the resetting they can; if they change it, we'll naturally pick it up in time. That's better than us making the change unilaterally. Also, they clearly made a decision not to do all the resetting; they may have reasons not to reset everything by default that we haven't thought of. I'll try that. Would you consider in the meantime having a shell script wrapper, and possibly call it resetall or something, if you want to make sure that you don't brake the existing behavior of reset? Fixed in ncurses-4.2-21 and later $RPM_BUILD_ROOT is missing from the install of /usr/bin/resetall in ncurses.spec supplied with ncurses-4.2-25.src.rpm, so it doesn't get installed. The following patch fixes it: --- ncurses.spec.dist Thu Sep 23 18:50:17 1999 +++ ncurses.spec.resetall Mon Jan 3 08:26:02 2000 @@ -70,7 +70,7 @@ make clean -C test # the resetall script -install -m 755 %{SOURCE4} /usr/bin/resetall +install -m 755 %{SOURCE4} $RPM_BUILD_ROOT/usr/bin/resetall %post -p /sbin/ldconfig |