QNX 6.2 patch

Dmitry Alexeyev dmi_a at qnx.org.ru
Wed Mar 12 00:17:13 UTC 2003


Hello!

I have found the problem. It is kinda funny...
Tricky SLsmg_goto_rc() function tries to print '\n' where possible,
and in qasni* terminals that doesn't work correctly.

So, my temporary [and so ugly] hack is:

--- sldisply.c.orig Thu Nov 28 20:35:34 2002
+++ sldisply.c  Wed Mar 12 03:08:21 2003
@@ -759,8 +759,9 @@
 #endif
      }
      }
-   if (s != NULL) tt_write_string(s);
-   else tt_printf(Curs_Pos_Str, r, c);
+//   if (s != NULL) tt_write_string(s);
+//   else 
+   tt_printf(Curs_Pos_Str, r, c);
    Cursor_c = c; Cursor_r = r;
    Cursor_Set = 1;
 }

Maybe this function should exclude qansi* terminals from the list of
"tricky" terminals?

WBR,
Dmitry

<..>
PR> OK, I'll have a look, but I was testing mc on the QNX console yesterday
PR> and didn't see anything wrong.
<..>




More information about the mc-devel mailing list