On 2015-01-30, Kenneth Brun Nielsen <
kenneth.br...@gmail.com> wrote:
> It can easily be fixed by ... (or using BASH)
That's it then.
tcsh is dumb mistake in the history of OSS. Get rid of it completely from the
target system if you can.
> but this will require me to
> start the program with: 'setenv LANG C && appname'
In the "or using BASH" case, it's just:
LANG=C appname
This sets up the LANG=C environment binding just for that program, not
for the current shell, where LANG retains its previous value, if it has one.
If you have control over the account you're using no that server, maybe you can
just change its login shell to bash, and set up an alias in a .bash_profile.
alias appname='LANG=C appname'
> This is not a big deal,
> but only problem is that I might not
> be able to foresee all consequences.
It would be astonishing if the app cared what shell executable is its parent,
as long as its environment is otherwise identical. You never know in software,
though, so you're right to be paranoid.