packages: mc/slang-8bit_xterm.patch - http://www.midnight-commander.org/tic...

gotar gotar at pld-linux.org
Sat Nov 7 17:26:41 CET 2009


Author: gotar                        Date: Sat Nov  7 16:26:41 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- http://www.midnight-commander.org/ticket/1668#comment:6

---- Files affected:
packages/mc:
   slang-8bit_xterm.patch (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: packages/mc/slang-8bit_xterm.patch
diff -u packages/mc/slang-8bit_xterm.patch:1.1 packages/mc/slang-8bit_xterm.patch:1.2
--- packages/mc/slang-8bit_xterm.patch:1.1	Sat Nov  7 16:49:39 2009
+++ packages/mc/slang-8bit_xterm.patch	Sat Nov  7 17:26:36 2009
@@ -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) {
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/mc/slang-8bit_xterm.patch?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list