To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.dat.partsOpen lugnet.cad.dat.parts in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / LDraw Files / Parts / 6128
    Re: Getting rif off the 8.3 nomenclature??? —Travis Cobbs
   (...) This suprises me. Can you elaborate on this? If we in the LSC are going to make an informed decision on this issue, understanding why this is the case with LPub/LSynth would help us greatly. I know all Win32 API calls work fine with long (...) (18 years ago, 28-Mar-07, to lugnet.cad.dat.parts)
   
        Re: Getting rif off the 8.3 nomenclature??? —Don Heyse
     (...) Call me paranoid, but long filenames make me nervous because of the other worms packaged along with them (like unicode or UTF-8, blech!). Sure your filenames might look great on Windows, but try to bring them over to another filesystem, or (...) (18 years ago, 28-Mar-07, to lugnet.cad.dat.parts)
    
         Re: Getting rif off the 8.3 nomenclature??? —Timothy Gould
      (...) Couldn't that be dealt with by restricting the filenames to alphanumerics + the usual suspects (_ etc.)? My understanding was those were unchanged in any character set. Tim (18 years ago, 28-Mar-07, to lugnet.cad.dat.parts)
    
         Re: Getting rif off the 8.3 nomenclature??? —Travis Cobbs
     (...) We are talking about official files in the parts library here. They're not going to have Unicode or special characters. If this isn't already explicitly in the spec for library filenames, we can certainly add it. As a side note, UTF-8 and (...) (18 years ago, 28-Mar-07, to lugnet.cad.dat.parts)
   
        Re: Getting rif off the 8.3 nomenclature??? —Kevin L. Clague
   (...) Travis it has to do with parsing. For type 1 lines and 8.3 I can simply use sscanf. Kevin (18 years ago, 28-Mar-07, to lugnet.cad.dat.parts)
   
        Re: Getting rif off the 8.3 nomenclature??? —Kevin L. Clague
   (...) Sorry for posting to my own post. In particular if the "longer file names" cannot have blanks in the names, then there is no problem for LPub or LSynth. 20.3 would require no changes at to LPub or LSynth. Given that sscanf splits things up by (...) (18 years ago, 28-Mar-07, to lugnet.cad.dat.parts)
   
        Re: Getting rif off the 8.3 nomenclature??? —Travis Cobbs
     (...) OK, that makes a lot more sense. LDView had the same problem with whitespace in filenames until I specifically added support for that. (LDView now gives you a warning when it encounters whitespace in a filename.) --Travis (18 years ago, 28-Mar-07, to lugnet.cad.dat.parts)
   
        Re: Getting rif off the 8.3 nomenclature??? (scanf tricks) —Jim DeVona
     (...) misparse file names with blanks or tabs in them. (...) will be backward compatible and not cause problems (at least not for (...) I have no idea whether this could be worked into your sscanf usage, but it is possible to read whitespace into (...) (18 years ago, 29-Mar-07, to lugnet.cad.dat.parts, lugnet.cad.dev, FTX)
    
         Re: Getting rif off the 8.3 nomenclature??? (scanf tricks) —Kevin L. Clague
     (...) <snip> (...) Hi Jim, Thanks! I'll use it. Kevin (18 years ago, 29-Mar-07, to lugnet.cad.dat.parts, lugnet.cad.dev, FTX)
    
         Re: Getting rif off the 8.3 nomenclature??? (scanf tricks) —Don Heyse
     (...) That's a nifty scanf trick. But don't forget, you might still want to (URL) trim leading and trailing whitespace> (tabs and space characters) from the parsed filename (and maybe even surrounding quotes). Don (18 years ago, 29-Mar-07, to lugnet.cad.dat.parts, lugnet.cad.dev, FTX)
   
        Re: Getting rif off the 8.3 nomenclature??? —Allen Smith
   (...) I very strongly support allowing the inclusion of whitespace in LDraw filenames, provided the first character is not whitespace. Bricksmith has always allowed users to do this. When parsing a line, I get all the matrix numbers, skip all (...) (18 years ago, 2-Apr-07, to lugnet.cad.dat.parts, FTX)
   
        Re: Getting rif off the 8.3 nomenclature??? —Don Heyse
   (...) You should also consider stripping trailing whitespace from the end of the filename. I believe MLCad and most of the other programs do this. Whitespace in filenames has been supported by many Ldraw programs for quite a while, but it does not (...) (18 years ago, 2-Apr-07, to lugnet.cad.dat.parts, FTX)
   
        Re: Getting rif off the 8.3 nomenclature??? —Allen Smith
   (...) I just don't want people confusing naming conventions in the part library with naming conventions in Linetype 1 part references. I was mostly replying to Kevin saying his applications choke on spaces in part references, which is something I'd (...) (18 years ago, 4-Apr-07, to lugnet.cad.dat.parts, FTX)
 

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