|
In lugnet.cad.dat.parts.primitives, Don Heyse wrote:
> I could update the mklist sources to work handle filenames with 25 chars
That would be good, I think.
> I was going to add a quietmode commandline option this weekend anyhow.
Can you have two levels? Level One that still shows the warnings, but doesn't
stop, and Level Two suppresses all warnings.
> Should I allow 25 chars as the default, and perhaps include an optional
> command line arg to force/truncate it to 12 chars for backwards compatibility
> with old programs?
I'd keep the current line-format for all parts conforming to the 8.3 format, but
for longer names, print the entire filename, a space, and the description. Like
this:
3001.dat Brick 2 x 4
3001c01p01.dat Brick 2 x 4 Some Variation with Pattern
3002.dat Brick 2 x 3
A backwards-compatibility switch is good -- maybe with option to truncate (or
not) the description to fit 80 bytes per line?
Steve
|
|
Message has 2 Replies: | | Re: 11-16 primitives?
|
| (...) If it's running in Windows, I think a backwards-compatible switch should use the Win32 API to get the short filename (with the ~1 at the end, usually, determined using PathGetShortPath) and use that in place of the long filename. --Travis (15 years ago, 27-Sep-09, to lugnet.cad.dat.parts.primitives)
| | | Re: 11-16 primitives?
|
| (...) Yeah, I was actually planning a -f to force it to finish and -q for quiet. (...) For now I've added a -8 to make it use the 8.3 format. As per Travis' suggestion it converts to the canonical short form under Windows. The function uppercases (...) (15 years ago, 28-Sep-09, to lugnet.cad.dat.parts.primitives)
|
Message is in Reply To:
| | Re: 11-16 primitives?
|
| (...) I could update the mklist sources to work handle filenames with 25 chars I was going to add a quietmode commandline option this weekend anyhow. Should I allow 25 chars as the default, and perhaps include an optional command line arg to (...) (15 years ago, 25-Sep-09, to lugnet.cad.dat.parts.primitives)
|
22 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
|
|
|
|