On 03/03/15 15:22, Yamaban wrote:
On Tue, 3 Mar 2015 22:57, don fisher
wrote: On 03/03/15 11:23, Yamaban wrote:
On Tue, 3 Mar 2015 18:33, don fisher
wrote: AFAIK there are some deeply ingrained bashisms and some other specific shell dependencies that simply do not work with csh/tcsh/ksh/pdksh, ash/sash/dash/bash are working, bash the best.
Some of this is historic in the depth of SUSE history, some of this is carelessness from the devs in younger times.
For a long time there was no Senior SLE dev member that used something other than bash as root-shell, and such discrepancies have crept in undetected.
I'm not pointing at people, just showing how this was possible without being detected long before.
There are efforts to reduce bashism in simple shell scripts, but not all scriptlets are caught that way. In some areas this is more a tribulations bordering on exertion than a simple endevour.
- Yamaban. I have another problem with tcsh. If I am in a shell under bash and issue the tcsh command, it works as expected. If I change the default shell in /etc/passwd using the chsh command suggested, the shell is changed as a listing of /etc/passwd shows. But when I try and execute anything it says it does not know anything about display:0. This is a fatal mistake, for emacs and many other commands. I tried both /bin/tcsh and /usr/bin/tcsh. I have not tried to examine them but I assume they are the same thing? Any ideas? Is this a bug?
Not a bug per se, but simply the fact that the DISPLAY variable is not set or exported automatically into tcsh from profile script.--
| Don Fisher hdf3@comcast.net | | 865 W. Cresta Loma Dr. VOICE: (520)888-7613 | | Tucson, AZ. 85704-3705 | -----------------------------------------------------------------
There is some "magic" in /etc/profile{,.d/*,.local} that is wonky for (t)csh.
Sorry, the system I'm sitting on ATM has no csh/tcsh intalled, so I cannot do testing on that.
- Yamaban.
Found an error message: invalid MIT-magic-cookie-1 keyxterm Xt error can't open display: :0 I did not know2 I had Kerberos enabled, if I do. Any ideas on how to pursue this one? Don -- ----------------------------------------------------------------- | Don Fisher hdf3@comcast.net | | 865 W. Cresta Loma Dr. VOICE: (520)888-7613 | | Tucson, AZ. 85704-3705 | ----------------------------------------------------------------- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org