[Bug 194627] New: misc/mc 4.8.13 does not save/restore the sub-shell's screen on Ctrl+O and/or command execution
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Oct 27 11:16:53 UTC 2014
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194627
Bug ID: 194627
Summary: misc/mc 4.8.13 does not save/restore the sub-shell's
screen on Ctrl+O and/or command execution
Product: Ports Tree
Version: Latest
Hardware: Any
OS: Any
Status: Needs Triage
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: freebsd-ports-bugs at FreeBSD.org
Reporter: andriys at gmail.com
CC: nemysis at FreeBSD.org
CC: nemysis at FreeBSD.org
This happens due to rev 369133 incorrectly updates the
files/patch-lib__tty__win patch. Commit message says this patch file is changed
by upstream, but the truth is removed part is actually vital for sub-shell
screen save/restore to work properly.
The following patch reverts the change and fixes the problem for me:
Index: misc/mc/files/patch-lib__tty__win.c
===================================================================
--- misc/mc/files/patch-lib__tty__win.c (revision 370042)
+++ misc/mc/files/patch-lib__tty__win.c (working copy)
@@ -1,5 +1,14 @@
--- lib/tty/win.c.orig 2014-09-02 09:23:58 UTC
+++ lib/tty/win.c
+@@ -95,7 +95,7 @@
+ void
+ do_enter_ca_mode (void)
+ {
+- if (mc_global.tty.xterm_flag && smcup != NULL)
++ if (mc_global.tty.xterm_flag)
+ {
+ fprintf (stdout, /* ESC_STR ")0" */ ESC_STR "7" ESC_STR "[?47h");
+ fflush (stdout);
@@ -107,7 +107,7 @@
void
do_exit_ca_mode (void)
--- Comment #1 from Bugzilla Automation <bugzilla at FreeBSD.org> ---
Maintainers CC'd
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list