FreeBSD Bugzilla – Attachment 183733 Details for
Bug 217758
misc/mc weird subshell behaviour after 4.8.15
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
mc-subshell-slang.patch (text/plain), 1.51 KB, created by
Alexander Moisseev
on 2017-06-23 07:49:03 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Alexander Moisseev
Created:
2017-06-23 07:49:03 UTC
Size:
1.51 KB
patch
obsolete
>diff -ruN mc.orig/files/patch-lib_tty_tty-slang.c mc/files/patch-lib_tty_tty-slang.c >--- mc.orig/files/patch-lib_tty_tty-slang.c 1970-01-01 03:00:00.000000000 +0300 >+++ mc/files/patch-lib_tty_tty-slang.c 2017-06-23 10:28:32.606606000 +0300 >@@ -0,0 +1,28 @@ >+--- lib/tty/tty-slang.c.orig 2017-06-23 07:25:32 UTC >++++ lib/tty/tty-slang.c >+@@ -373,7 +373,11 @@ tty_shutdown (void) >+ void >+ tty_enter_ca_mode (void) >+ { >+- /* S-Lang handles alternate screen switching and cursor position saving */ >++ if (mc_global.tty.xterm_flag) >++ { >++ fprintf (stdout, /* ESC_STR ")0" */ ESC_STR "7" ESC_STR "[?47h"); >++ fflush (stdout); >++ } >+ } >+ >+ /* --------------------------------------------------------------------------------------------- */ >+@@ -381,7 +385,11 @@ tty_enter_ca_mode (void) >+ void >+ tty_exit_ca_mode (void) >+ { >+- /* S-Lang handles alternate screen switching and cursor position restoring */ >++ if (mc_global.tty.xterm_flag) >++ { >++ fprintf (stdout, ESC_STR "[?47l" ESC_STR "8" ESC_STR "[m"); >++ fflush (stdout); >++ } >+ } >+ >+ /* --------------------------------------------------------------------------------------------- */ >diff -ruN mc.orig/Makefile mc/Makefile >--- mc.orig/Makefile 2017-05-29 16:50:20.000000000 +0300 >+++ mc/Makefile 2017-06-23 10:29:53.148770000 +0300 >@@ -3,7 +3,7 @@ > > PORTNAME= mc > PORTVERSION= 4.8.19 >-PORTREVISION= 2 >+PORTREVISION= 3 > CATEGORIES= misc shells > MASTER_SITES= http://ftp.midnight-commander.org/ \ > http://ftp.osuosl.org/pub/midnightcommander/
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
moiseev
:
maintainer-approval?
Actions:
View
|
Diff
Attachments on
bug 217758
: 183733