Re: Help tracking down a shell problem

2011-10-20 Thread Pete
Here's what I discovered. If I put "en_US.UTF-8" into $LANG before executing the locale LC_NUMERIC command, I get the correct output, at least for my computer. Same for LC_MONETARY and LC_TIME. The question is, how do I get the correct setting for $LANG from the OS without hard coding it, as I'm

Re: Help tracking down a shell problem

2011-10-20 Thread Pete
Thanks Mark. None of the files Andre mentioned show up with this command, lots of other .xxx files though. The fact that you get back sensible results when using shell in LC makes me think this has something to do with shell commands on OS X, especially that weird 127 thing. Hopefully the suppor

Re: Help tracking down a shell problem

2011-10-20 Thread Mark Wieder
Pete- Thursday, October 20, 2011, 2:22:55 PM, you wrote: > Hi Andre, > Where are these files located? If I just run Terminal, I'm in my home group > but more doesn't find any of them. Sorry, not much knowledge of Unix! type "ls -al" in a terminal window and it'll display the hidden files --

Re: Help tracking down a shell problem

2011-10-20 Thread Mark Wieder
Pete- Thursday, October 20, 2011, 1:02:53 PM, you wrote: > If you could let me know the OS X and LC versions too, that would be great. > I'm on OS X 10.6.8 and LC 4.6.3 If it helps any (it probably doesn't) on Fedora Core 15 I get exactly the same results whether I do this from the message box o

Re: Help tracking down a shell problem

2011-10-20 Thread Pete
Hi Andre, Where are these files located? If I just run Terminal, I'm in my home group but more doesn't find any of them. Sorry, not much knowledge of Unix! Pete Molly's Revenge On Thu, Oct 20, 2011 at 1:12 PM, Andre Garzia wrote: > Pete, > > The terminal and t

Re: Help tracking down a shell problem

2011-10-20 Thread Pete
Thanks for the quick responses everyone. I should probably explain that I'm trying to set initial values for some application preferences, which the user can then change if necessary, so this is not a show stopper, just something that would be nice to do. Andre - I'll check out the files you ment

Re: Help tracking down a shell problem

2011-10-20 Thread Warren Samples
On 10/20/2011 03:12 PM, Andre Garzia wrote: Pete, The terminal and the shell command are different beasts. On your mac, you can check some hidden files: .profile .bash_profile .bashrc For example, my .profile changes my locale $LANG var. I think that .profile always load but .bash_profile and

Re: Help tracking down a shell problem

2011-10-20 Thread Andre Garzia
Pete, The terminal and the shell command are different beasts. On your mac, you can check some hidden files: .profile .bash_profile .bashrc For example, my .profile changes my locale $LANG var. I think that .profile always load but .bash_profile and .bashrc only loads then you launch a terminal

Re: Help tracking down a shell problem

2011-10-20 Thread Mark Schonewille
Hi Pete, I get decimal_point="," thousands_sep= grouping="127" and it is the same in the terminal and in Revolution 4.0 running on Mac OS X 10.6.8. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter

Help tracking down a shell problem

2011-10-20 Thread Pete
Posted this a couple of days ago and have also been working with LC support on it but no joy. If you have a few minutes and are on a Mac, could you execute the following code and let me know the results: *put* line 1 of shell("defaults read .GlobalPreferences AppleLocale") into $LANG *put* uniDe