[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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-Bernhard Schad    bjoern.schad@gmd.de
GMD First ------------------- privat ------------------------------
 Rudower Chaussee 5            Wolfshagener Str. 79
 D-12489 Berlin                D-13187 Berlin
 fon: +49 30 6392 1844         fon: +49 30 4753150 -4/ -5
	 (finger bjoernb@aragorn.first.gmd.de for PGP key)

TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-REQUEST@lists.debian.org . Trouble? e-mail to Bruce@Pixar.com

Reply to: