Re: Why "setenv" command is not recognised in this bash version.
From:
Paul Jarc
Subject:
Re: Why "setenv" command is not recognised in this bash version.
Date:
23 Feb 2001 13:21:50 -0500
User-agent:
Gnus/5.090001 (Oort Gnus v0.01) Emacs/20.7
Nagunuri Sridhar <nsridhar@trillium.com> writes:
> Description: When I do "eval `resize`" command on the command line,
> it gives error saying that setenv command not found. The previous
> versions of bash did not give this error. Can u please tell me the
> reason for this.
Try `resize -u` instead of plain `resize`. AFAIK, setenv has never
been a builtin command for bash. More likely, resize became confused
about what shell you're using; when it worked before, it was probably
outputting sh commands, not setenv, which would be appropriate for
csh.
paul