To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.dev.org.ldrawOpen lugnet.cad.dev.org.ldraw in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Development / Organizations / LDraw / 4659
4658  |  4660
Subject: 
Re: Issue with new LDConfig.ldr
Newsgroups: 
lugnet.cad.dev.org.ldraw
Date: 
Wed, 6 Jan 2010 20:48:59 GMT
Viewed: 
15932 times
  
In lugnet.cad.dev.org.ldraw, Tore Eriksson wrote:
In lugnet.cad.dev.org.ldraw, Steve Bliss wrote:
I just realized that LDConfig.ldr has a problem -- it does not have DOS line
breaks.  Each line should be terminated by CR/LF.  Instead, this file just has
LF characters.

This format breaks some functionality (maybe unreleased...) of LDAO.

I thought the LDraw file format specified CR/LF linebreaks, maybe I'm
misremembering.  Or maybe that requirement was dropped?  At any rate,
LDConfig.ldr should use the same formatting as the other files in the library
distribution.

Steve

So I've noticed, too. But I've quit pointing those problems out. My latest
method to fix line breaks is simply to load and save the file in question in
Windows WordPad. That's all it takes to fix it, and WordPad is always installed
in Windows PC's.

/Tore

The 1.0 LDraw File Format specification itself is silent on the matter of line
endings, but indeed the "File Format Restrictions for Official Parts" requires
DOS line endings (http://ldraw.org/Article512.html#termination).

My opinion is that while well-behaved software should output files in adherence
with the specification (including the requirements for official parts,
generally), it should also be able handle minor discrepancies in the input (like
line endings). Perhaps that's another item for the to-do list, then!

Cheers,
Jim



Message has 1 Reply:
  Re: Issue with new LDConfig.ldr
 
(...) for the DOS line ending requirement, I conducted a relatively comprehensive compatibility inventory. (URL) nearly twenty programs tested (see the post for repetitive screenshots), only James J's LDRAW and LEDIT (and perhaps LDAO, although I (...) (14 years ago, 8-Jan-10, to lugnet.cad.dev.org.ldraw, lugnet.cad)

Message is in Reply To:
  Re: Issue with new LDConfig.ldr
 
(...) So I've noticed, too. But I've quit pointing those problems out. My latest method to fix line breaks is simply to load and save the file in question in Windows WordPad. That's all it takes to fix it, and WordPad is always installed in Windows (...) (14 years ago, 6-Jan-10, to lugnet.cad.dev.org.ldraw)

8 Messages in This Thread:



Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

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