To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cadOpen lugnet.cad in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / 16548
    Re: ldlister 0.1 —Travis Cobbs
   (...) If there's a Linux version, the best thing to do is to open the file as a binary file and continue using \r\n as the line ending in the source code. In other words, leave your text output code alone, but change the file open call to use binary (...) (15 years ago, 19-Oct-09, to lugnet.cad)
   
        Re: ldlister 0.1 —Santeri Piippo
   (...) Heh, that was it. Thanks for reminding me :-) In lugnet.cad, Travis Cobbs wrote: (...) Maybe, but this is Tcl in which case the right answer is to use [fconfigure $fp -translation auto crlf] and remove the \r from the output string (it makes (...) (15 years ago, 20-Oct-09, to lugnet.cad)
 

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR