Re: X11 tends to misbehave under bash
Re: X11 tends to misbehave under bash
- Subject: Re: X11 tends to misbehave under bash
- From: Rich Cook <email@hidden>
- Date: Wed, 25 Aug 2004 15:22:54 -0700
I have never had the problems you describe and I use /bin/bash.
gnuplot works fine for me.
You can set your PATH in your .profile.
~/.xinitrc works fine for me and does not hang xterm or crash X11
I think your problems are not with bash. :-)
On Aug 25, 2004, at 3:00 PM, Wilson Cheung wrote:
After struggling for over a month trying to get X11 applications such
as gnuplot and Matlab to work properly, I've now determined that the
problems seem to occur when you have /bin/bash as your default shell.
For owners of newer Macs you will probably have /bin/bash as your
default shell and things will almost work for you but not quite. For
example you will be frustrated with how to set the PATH environment
variable other than inside /etc/x11/xinit/xinitrc. You will find
that creating ~/.xinitrc will tend to hang the xterm application and
crash X11. The environment.plist file won't work for you, the
.bash_profile file won't work for you, even though .bash_profile will
be read by the OS X Terminal application.
If you do buy Matlab, which runs with X11, you will find that shells
that Matlab spawns won't have the right PATH.
If you build and install gnuplot you will find that it can't define
the X11 terminal type.
HOWEVER, once you go into NetInfo Manager and change the default shell
of the current account to /bin/tcsh things will begin to change
dramatically. Once you do this and reboot your Mac suddenly X11
recognizes .tcshrc. So any path you set inside .tcshrc gets set.
Suddenly Matlab which runs under X11 has the right PATH. Suddenly
gnuplot knows about the X11 terminal and can plot.
If you go back and change to the /bin/bash shell again and reboot.
Things are broken once again.
I suspect much of the shareware, freeware software out their has been
tested for tcsh but not so much for bash.
Wilson Cheung
DuPont
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/x11-users
Do not post admin requests to the list. They will be ignored.
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/x11-users
Do not post admin requests to the list. They will be ignored.