From 45f6f7e592a1e99a5dfa301e2ab8a52b39a4fd8a Mon Sep 17 00:00:00 2001 From: Eric Mullins Date: Sat, 10 Oct 2009 18:34:37 -0600 Subject: [PATCH] Turned off wrap when possible on ICS servers. Turning off line wrap prevents splitting lines up using the continuation sequence "\\ ". This is desirable when using timeseal because timeseal's buffer is sometimes too small, causing it to break lines itself. These lines can't be joined. --- backend.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/backend.c b/backend.c index 2965507..6f17d9b 100644 --- a/backend.c +++ b/backend.c @@ -2214,6 +2214,7 @@ read_from_ics(isr, closure, data, count, error) sprintf(str, "/set-quietly interface %s\n/set-quietly style 12\n", programVersion); + strcat(str, "/set-quietly wrap 0\n"); } else if (ics_type == ICS_CHESSNET) { sprintf(str, "/style 12\n"); @@ -2224,10 +2225,11 @@ read_from_ics(isr, closure, data, count, error) #ifdef WIN32 strcat(str, "$iset nohighlight 1\n"); #endif + strcat(str, "$iset nowrap 1\n"); strcat(str, "$iset lock 1\n$style 12\n"); - NotifyFrontendLogin(); } SendToICS(str); + NotifyFrontendLogin(); intfSet = TRUE; } -- 1.7.0.4