There is a line breaking feature in "writeInputLines":

it tries to break input lines to less than 72 chars,
see variable "breakChars".


This feature never worked.  Following patch fixes it,
however I wonder if this "feature" is worth keeping.

- Qian

diff --git a/src/interp/i-syscmd.boot b/src/interp/i-syscmd.boot
index df862af8..3013bd3d 100644
--- a/src/interp/i-syscmd.boot
+++ b/src/interp/i-syscmd.boot
@@ -1380,7 +1380,7 @@ writeInputLines(fn,initial) ==
   null fn =>
     throwKeyedMsg("S2IH0038", nil)          -- missing file name
   maxn := 72
-  breakChars := [" ","+"]
+  breakChars := [char '" ", char '"+"]
   for i in initial..$IOindex - 1 repeat
     vecl := first readHiFi i
     if STRINGP vecl then vecl := [vecl]

--
You received this message because you are subscribed to the Google Groups "FriCAS - 
computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/fricas-devel/ff4199a3-6ed3-42bb-a529-3914ade93330%40gmail.com.

Reply via email to