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 / 4016
4015  |  4017
Subject: 
Re: RACHAL Changeover
Newsgroups: 
lugnet.cad.dev.org.ldraw
Date: 
Tue, 3 Apr 2007 15:58:56 GMT
Viewed: 
3217 times
  
In lugnet.cad.dev.org.ldraw, Don Heyse wrote:
In lugnet.cad.dev.org.ldraw, Willy Tschager wrote:
hi folks,

since no Mac or UNIX was involved in the creation of the mpd file we are trying
to understand what has messed up the end line character.

Maybe it's a downloading problem.  On windows .mpd files are associated
with microsoft project by default.  Perhaps because of this, some sort
of translation occurred on downloading the file?  Or more likely it's an
uploading problem.  If you used ftp to upload it, and did not set ftp
to binary mode, it'll translate the end of line characters automatically
to the destination system default for you.

we uploaded four files
and would like to know how they turn out in notepad. please screenshot:

http://www.ldraw.org/files/BricksDOS.ldr
http://www.ldraw.org/files/BricksMac.ldr
http://www.ldraw.org/files/BricksUNIX.ldr
http://www.ldraw.org/files/Bricks_Willy.ldr

Sorry no screenshots, but Willy and Dos are identical files and
behaved well in notepad.  Bot Mac and Unix showed little boxes where
the linefeeds should be.  The files are different though.  Unix had
\n linefeeds, and Mac had \r return chars.

Have fun,

Don

The upload is via an html form so I'm pretty sure it's not ftp (unless there's a
way for this to be automated from a form?). Willy made the original file in
MLCad by the looks of it, I then edited in MLCad and emacs for WinXP, Willy then
further edited the file (in a text editor?) and I tested it in MLCad (suggesting
it was either UNIX or DOS format) and uploaded it.

Very weird.

Tim



Message has 2 Replies:
  Re: RACHAL Changeover
 
(...) no just MLCad and LDDP on win2000+SP4 (...) it is. the only problem I had with linefeed was when Allen Smith fixed some entries in der MLCad.ini file. w. (18 years ago, 3-Apr-07, to lugnet.cad.dev.org.ldraw)
  Re: RACHAL Changeover
 
(...) Being a vi user, I'm drawn to the natural conclusion that emacs must be the culprit ;-). (On a more serious note, I actually don't know what emacs does with line endings. I know that vi leaves them alone unless you specifically tell it to (...) (18 years ago, 3-Apr-07, to lugnet.cad.dev.org.ldraw)

Message is in Reply To:
  Re: RACHAL Changeover
 
(...) Maybe it's a downloading problem. On windows .mpd files are associated with microsoft project by default. Perhaps because of this, some sort of translation occurred on downloading the file? Or more likely it's an uploading problem. If you used (...) (18 years ago, 3-Apr-07, to lugnet.cad.dev.org.ldraw)

42 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