403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.217.33
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/ports/comms/minicom/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/comms/minicom/files/patch-src-window.c
--- src/window.c.orig	2021-01-01 17:45:55 UTC
+++ src/window.c
@@ -66,6 +66,7 @@ static const char *CE, *Al, *Dl, *AL, *DL;
 static const char *CS, *SF, *SR, *VB, *BL;
 static const char *VE, *VI, *KS, *KE;
 static const char *CD, *CL, *IC, *DC;
+static char *mcBC;
 static const char *CR, *NL;
 #ifdef ST_LINE
 static const char *TS, *FS, *DS;
@@ -320,8 +321,8 @@ static void _gotoxy(int x, int y)
   else if (NL != NULL && x == 0 && x == curx && y == cury + 1)
     outstr(NL);
 #endif
-  else if (BC != NULL && y == cury && x == curx - 1)
-    outstr(BC);
+  else if (mcBC != NULL && y == cury && x == curx - 1)
+    outstr(mcBC);
   else
     outstr(tgoto(CM, x, y));
   curx = x;
@@ -1950,7 +1951,7 @@ int win_init(int fg, int bg, int attr)
   CL = tgetstr("cl", &_tptr);
   IC = tgetstr("ic", &_tptr);
   DC = tgetstr("dc", &_tptr);
-  BC = tgetstr("bc", &_tptr);
+  mcBC = tgetstr("bc", &_tptr);
   CR = tgetstr("cr", &_tptr);
   NL = tgetstr("nl", &_tptr);
   AC = tgetstr("ac", &_tptr);
@@ -2009,11 +2010,11 @@ int win_init(int fg, int bg, int attr)
   _has_am = tgetflag("am");
   _mv_standout = tgetflag("ms");
   if (tgetflag("bs")) {
-    if (BC == NULL)
-      BC = "\b";
+    if (mcBC == NULL)
+      mcBC = "\b";
   }
   else
-    BC = NULL;
+    mcBC = NULL;
 
   /* Special IBM box-drawing characters */
   D_UL  = 201;

Youez - 2016 - github.com/yon3zu
LinuXploit