Re: TERM_PROGRAM: Undefined variable.
Re: TERM_PROGRAM: Undefined variable.
- Subject: Re: TERM_PROGRAM: Undefined variable.
- From: Martin Costabel <email@hidden>
- Date: Tue, 14 Jan 2003 08:00:44 +0100
Dave Schroeder wrote:
In /usr/share/tcsh/examples/aliases, change
if ("$TERM_PROGRAM" == "Apple_Terminal") then
to
if ("$?TERM_PROGRAM" == "Apple_Terminal") then
While this eliminates the error message, it does not fix the bug. You
could just as well remove the 3 lines in question, because the condition
you write is never satisfied: $?TERM_PROGRAM only takes the two values 0
and 1.
Gibbons Burke wrote:
> That's it indeed - thanks. I like Wilfredo Sanchez' setup scripts; this
> seems a minor glitch.
You probably can't blame Fred Sanchez for this one. It was not present
in the pre-Jaguar version of this script in /usr/share/init/tcsh. It is
only when they relegated the tcsh startup scripts to
/usr/share/tcsh/examples and made them inactive by default that this bug
appeared. This was around the time when Fred Sanchez left Apple. Go figure.
--
Martin
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe: http://www.lists.apple.com/mailman/listinfo/x11-users
Do not post admin requests to the list. They will be ignored.