--- freem/src/service.c	2025/03/24 02:00:30	1.11
+++ freem/src/service.c	2025/03/24 04:05:36	1.12
@@ -1,5 +1,5 @@
 /*
- *   $Id: service.c,v 1.11 2025/03/24 02:00:30 snw Exp $
+ *   $Id: service.c,v 1.12 2025/03/24 04:05:36 snw Exp $
  *    terminal and sequential I/O handling,
  *    file and global locking
  *
@@ -25,6 +25,9 @@
  *   along with FreeM.  If not, see <https://www.gnu.org/licenses/>.
  *
  *   $Log: service.c,v $
+ *   Revision 1.12  2025/03/24 04:05:36  snw
+ *   Replace crlf with frm_crlf to avoid symbol conflict with readline on OS/2
+ *
  *   Revision 1.11  2025/03/24 02:00:30  snw
  *   Work around some OS/2 incompatibilities in service.c
  *
@@ -3319,7 +3322,7 @@ void write_m (char *text)
         
             ypos[io]++;
         
-            if (crlf[io]) xpos[io] = 0;
+            if (frm_crlf[io]) xpos[io] = 0;
         
             continue;
 
@@ -4150,7 +4153,7 @@ void read_m (char *stuff, long read_time
 
     if (single) break;
     
-    if (ch == LF && crlf[io]) {
+    if (ch == LF && frm_crlf[io]) {
         i--;
         continue;
     }