|
From: Petr M. <mi...@ph...> - 2005-05-25 07:27:41
|
> > But if you want gnuplot_x11 always to run in a specific locale, > > you can make a wrapper script: > > > > gnuplot_x11: > > #!/bin/csh > > setenv LC_TYPE C > > real_gnuplot_x11 $@ > > setenv LC_NUMERIC C That's an ugly solution. I don't see any reason why gnuplot should insist on having its resources in .Xdefaults written in a non-C locales. It's just gnuplot's choice. Also, docs says: gnuplot> help x11 color_resources ... For example, `blue, 0.5` means a half intensity blue. .. Thus, gnuplot should not expect "blue,0,5" on some other systems -- that's not portable. Consequently, I propose that gnuplot always reads .Xdefaults resources in C-locale. PS: I came to this issue because on my system there is by default LANG=cs_CZ.UTF-8 but I run Midnight Commander as LANG=en_US.UTF-8 mc_lastdir so that its menus are always in English. That's not funny if hotkeys change. Gnuplot behaves differently if I run it from plain Konsole or from mc, i.e. its .Xdefault resources are not portable. --- PM |