Re: setenv missing
bash: setenv : command not found setenv is a C-shell builtin. I guess, that you have probably set a C-shell variant as your login in shell, but didn't wrote 'su -'. My suggestion: Change your login shell to bash (chsh -s /bin/bash) and try again. David -- David Frey [EMAIL PROTECTED] |Microsoft isn't the answer...it's the QUESTION. Schlieren, Switzerland |` -- This message was distributed manually by [EMAIL PROTECTED] after the list initially failed to distribute it.
Re: setenv missing
On Fri, 15 Nov 1996, Neil Walker wrote: Can someone kindly point me in the right direction to solve a niggling problem, When I do a `su' command bash comes up with an error message, bash: setenv : command not found That's because setenv is built into csh/tcsh. Apparently, you are trying to run a shell script that is written for csh or tcsh. | This is OFFICIAL WRITTEN notification that I want to be REMOVED | | from ALL commercial mailing lists. EVERY message sent from this | | account has had this request posted. ALL UNSOLICITED ADVERTISEMENTS | | SENT TO THIS ACCOUNT ARE IN VIOLATION OF FEDERAL (U.S.) LAW.| -- This message was distributed manually by [EMAIL PROTECTED] after the list initially failed to distribute it.
Re: setenv missing
Hi Neil, Can someone kindly point me in the right direction to solve a niggling problem, When I do a `su' command bash comes up with an error message, bash: setenv : command not found I have a man page for setenv which refers to stdlib.h, this I have in, `/usr/include/bsd/stdlib.h' and `/usr/include/stdlib.h' but I cannot find setenv etc on my system, and when I am in in a child shell my path is unknown. The kernel is custom 2.0.6 and mostly modular. There is no setenv binary. It is built into (t)csh and for bash you have to use the builtin 'export'. The manpage is about a library function of that name (which you cannot use from your shell). If your su command fails this is an error (in su?). So you should check, what su is (use the 'type' command from bash, 'which' from (t)csh). Hope I could help. Bye, Bjoern. -- Bjoern-Bernhard Schad[EMAIL PROTECTED] GMD First --- privat -- Rudower Chaussee 5Wolfshagener Str. 79 D-12489 BerlinD-13187 Berlin fon: +49 30 6392 1844 fon: +49 30 4753150 -4/ -5 (finger [EMAIL PROTECTED] for PGP key) -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]
Re: setenv missing
Thanks to all who responded, problem solved. Some time ago I had a trouble with with color-ls. I had put bash.rc's and bash_profile's in /etc /root csh.cshrc and so on A clear out and fresh start has worked wonders, Thanks again , Neil -- ~~~+ Neil Walker (+44 626 853306) Learning Debian Linux | ~~~+ -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]