[GRASS5] Monitor Bug? (Mac OS X)
glynn.clements at virgin.net
Fri Jul 6 23:27:22 EDT 2001
Eric G. Miller wrote:
> > I have been testing Grass5 pre1's GUI and I have uncovered an (apparent)
> > bug, both in the new rootless and tried and true full screen mode. I
> > started a monitor, choose "Quit", with the option "save config", and hit
> > "OK". The GUI will no longer start for this user, I tried deleting the
> > .grassrc5 file and still no go.
> The tcltkgrass GUI has its own resource configuration file ~/.tcltkgrass
> > When I launch grass5, the location chooser works, then the menu bar
> > appears and states that it is "Loading...", I am prompted to position
> > the monitor location, after I click I get the error (I created a new
> > user and all is well - with the new user):
> > Error in startup script: Warning: locale not supported by C library,
> > locale unchanged
> > while executing
> Does "xterm" work otherwise? Seems the problem is with xterm not liking
> the locale setting.
> > I am pretty sure the problem has to do with (re)creating the Monitor.
> > Any idea how to zap the "preference" that starts the monitor?
> Yes, but it looks like it's with the xterm and your locale setting.
> Looks like using "xterm" is pretty hard-wired into tcltkgrass. It
> should probably be using $TERM first.
No; $TERM is the current terminal's type, for the purpose of locating
the correct termcap or terminfo entry. It isn't the name of the user's
preferred terminal emulator program.
It may well be a good idea to provide an environment variable for this
purpose (analogous to EDITOR), but it shouldn't be TERM, or use $TERM
as its default.
Glynn Clements <glynn.clements at virgin.net>
More information about the grass-dev