]> git.pld-linux.org Git - packages/mc.git/commitdiff
- http://www.midnight-commander.org/ticket/1668#comment:6
authorTomasz Pala <gotar@pld-linux.org>
Sat, 7 Nov 2009 16:26:36 +0000 (16:26 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    slang-8bit_xterm.patch -> 1.2

slang-8bit_xterm.patch

index ff8ba8473ac6185806fb8ecc984bd1e53bf7e5e8..1c9e85f69cbb2b1d66ffcd2c9d41902d371e837e 100644 (file)
@@ -1,12 +1,13 @@
-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;
- }
+diff -urNp mc-4.7.0-pre4.orig/src/main.c mc-4.7.0-pre4/src/main.c
+--- mc-4.7.0-pre4.orig/src/main.c      2009-10-30 19:44:39.000000000 +0100
++++ mc-4.7.0-pre4/src/main.c   2009-11-07 17:14:39.000000000 +0100
+@@ -1403,6 +1403,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.037969 seconds and 4 git commands to generate.