]> git.pld-linux.org Git - packages/mc.git/blobdiff - slang-8bit_xterm.patch
- outdated
[packages/mc.git] / slang-8bit_xterm.patch
index ff8ba8473ac6185806fb8ecc984bd1e53bf7e5e8..674708de8e11f2c2fc793cf55c4dd1e12bcc052a 100644 (file)
@@ -1,12 +1,12 @@
-diff -urNp mc-4.7.0-pre4.orig/src/tty/tty-slang.c mc-4.7.0-pre4/src/tty/tty-slang.c
---- mc-4.7.0-pre4.orig/src/tty/tty-slang.c     2009-11-07 16:29:08.000000000 +0100
-+++ mc-4.7.0-pre4/src/tty/tty-slang.c  2009-11-07 16:28:50.000000000 +0100
-@@ -499,7 +499,7 @@ tty_set_alt_charset (gboolean alt_charse
- void
- tty_display_8bit (gboolean what)
- {
--    SLsmg_Display_Eight_Bit = what ? 128 : 160;
-+    SLsmg_Display_Eight_Bit = what & xterm_flag ? 128 : 160;
- }
+--- mc-4.7.5/src/filemanager/midnight.c.orig   2010-12-28 10:30:45.000000000 +0100
++++ mc-4.7.5/src/filemanager/midnight.c        2010-12-29 00:10:55.000000000 +0100
+@@ -750,6 +750,9 @@ init_xterm_support (void)
+         || strcmp (termvalue, "Eterm") == 0 || strcmp (termvalue, "dtterm") == 0)
+     {
+         xterm_flag = 1;
++#ifdef HAVE_SLANG
++      tty_display_8bit (0);
++#endif  
  
- void
+         /* Default to the standard xterm sequence */
+         if (!xmouse_seq)
This page took 0.051062 seconds and 4 git commands to generate.