Re: [hatari-devel] Most suitable GEMDOS path character replacement?

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


Hi,

On sunnuntai 01 kesäkuu 2014, Thomas Huth wrote:
> schrieb Eero Tamminen <oak@xxxxxxxxxxxxxx>:
> > > > Any sugggestions on what character I should use as replacement
> > > > instead of '@'?
> > > > 
> > > > It should be rarely used in Atari file names (to avoid file
> > > > name conflicts), valid for GEMDOS file names & paths, and
> > > > not cause problems in INF files or e.g. in GEM file selectors.
> > > 
> > > Maybe '§' (just a blind guess)?
> > 
> > It's not a valid character.  See str.c Str_Filename2TOSname().
> 
> At least it was possible in old TOS versions to use this character in
> the GEM dialogs for filenames.
> 
> > > Do you have a list of what characters are valid in GEMDOS?
> > 
> > Valid characters are ones with codes 33 -> 126, except for:
> > 	*, /, :, ?, \, {, }
> > 
> > So it could be e.g. one of these:
> > 	!, #, $, %, &, +, =, |
> 
> Most of these characters have special meaning in shells, so I'd rather
> avoid them.

Good point.  Several of the other valid non-letter/digit characters
(which I didn't list) would also be problematic for shell.


> So maybe use + or = ? Or ^ ?

I changed it to '+'.

Thanks for the comments!


	- Eero



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/