--- freem/src/xecline.c 2025/03/22 22:52:24 1.7 +++ freem/src/xecline.c 2025/03/24 04:05:36 1.8 @@ -1,5 +1,5 @@ /* - * $Id: xecline.c,v 1.7 2025/03/22 22:52:24 snw Exp $ + * $Id: xecline.c,v 1.8 2025/03/24 04:05:36 snw Exp $ * freem interpreter proper * * @@ -24,6 +24,9 @@ * along with FreeM. If not, see . * * $Log: xecline.c,v $ + * Revision 1.8 2025/03/24 04:05:36 snw + * Replace crlf with frm_crlf to avoid symbol conflict with readline on OS/2 + * * Revision 1.7 2025/03/22 22:52:24 snw * Add STRLEN_GBL macro to manage global string length * @@ -4321,7 +4324,7 @@ use0: /* entry point for proces break; case 2: - crlf[io] = tvexpr (argptr); + frm_crlf[io] = tvexpr (argptr); break; case 3: @@ -4423,7 +4426,7 @@ use_socket: /* need to evaluate the following 6 lines carefully - smw 2023-10-15 */ if (k != HOME) { - crlf[k] = FALSE; + frm_crlf[k] = FALSE; fm_nodelay[k] = FALSE; xpos[k] = 0; ypos[k] = 0; @@ -5539,7 +5542,7 @@ zgo: for (; beg < end; beg += UNSIGN (*beg) + 2) { - if (crlf[io]) { + if (frm_crlf[io]) { write_m ("\012\201"); } else { @@ -5555,7 +5558,7 @@ zgo: rouins = beg; } - if (crlf[io]) { + if (frm_crlf[io]) { write_m ("\012\201"); } else {