[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [StrongED] Printing



On 2017-10-05 16:30, Chris Newman wrote:

Some files show just LF. Some LF + CR. I will have to investigate if that gives different printer outputs. I have BaseMode Choices set Misc-> Defaults
Line Ends LF+CR but how come some files show LF only?

A text file edited from scratch in StrongEd should have whatever line end
you have defined, which should be the RO default.

(Text editors when they read a file commonly strip out whatever the line end character are, and show you just the data inbetween, then when you write the file back to disk insert the configured line end chars. The reason I asked about VRPC in my other post is that if you have that, and edit files on both OSes, you need to be careful to configure - say - the Windows editor you use
to rewrite files with RO line ends not Windows ones.


But data files that might have come from other systems (eg downloaded from websites, or moved by ftp or whatever) will have line ends that made sense
on their OS.  These don't get changed as the file is downloaded.  If you
open one of those then resave it, I can't remember if StrongEd recognises an alien form of line end on the incoming data and then rewrites the file
with the same alien line ends, or rewrites it with RO ones.



There are also some filetypes on RO which don't have RO-style line ends, but unhelpfully I can't quite remember what they are, though I have a vague idea they might be command files of some sort (not Obey). I always assumed the part of the code in the part of the OS that created these things had been
borrowed from unix without anyone taking enough care with the code...


--
Jeremy Nicoll - my opinions are my own

--=20
To unsubscribe send a mail to StrongED+unsubscribe@xxxxxxxxxxx
List archives at http://www.Torrens.org/RO/StrongED/index.html