Woohoo!
export LC_COLLATE=POSIX
does the trick.

I googled before on sorting, alphabetizing, etc, and every thing i could 
pf, but there's just too many hits.  Thanks for the lead Kwan!

I put export LC_COLLATE=POSIX in .bash_profile
so filemanagers (like rox) would get it
and also in .bashrc (after /etc/bashrc gets run, since it sets it back)
so xterms, etc wuld get it.

Whoops: it's a little off. Heres the order:

dot files
numbers
caps
symbols
lower case

In rox, you have to choose either caps 1st (even before dots) or caps/lower 
the same.

If i get inspired i'll poke around and see if there's an ASCII sorting 
setting, but i'm pretty happy with this.

Thanks!
eric

On Sunday 15 June 2003 06:00 pm, eric huff wrote:
> On Sunday 15 June 2003 03:13 pm, Kwan Lowe wrote:
> > On Sun, 2003-06-15 at 17:44, eric huff wrote:
> > > Hi Folks,
> > > Is there any way to set the default linux alphanumeric order?
> > >
> > > I can't remember from my unix days anymore, but the last several
> > > years i have happily placed _ at the beginning of filenames and
> > > directories i wanted to show up first.
> > > But that doesn't work.  I have noticed it even ignores _'s in the
> > > middle of a word.  And didn't files that started with "." show up
> > > first, too?
> > >
> > > I have this "problem" with lots of apps (galeon, rox, xterms, etc).
> >
> > It's probably a function of your LANG variable. What is it set to now?
>
> [EMAIL PROTECTED] huff]$ echo $LANG
> en_US
>
> Since i hadn't thought of that at all, i googled
> LANG sort environment
> and you're on the right track.
>
> I have to run off, but later i will look into a few of these links.
> Hopefully there is a way to change some of these variables.
> It looks like LC_COLLATE might help...
>
> Thanks for the tip.
> eric


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to