Re: TERM_PROGRAM: Undefined variable
Re: TERM_PROGRAM: Undefined variable
- Subject: Re: TERM_PROGRAM: Undefined variable
- From: Martin Costabel <email@hidden>
- Date: Fri, 14 Mar 2003 09:42:59 +0100
Jutta Wrage wrote:
[]
There is a typo in /usr/share/tcsh/examples/aliases. Change the line
that says:
if ("$TERM_PROGRAM" == "Apple_Terminal") then
to:
if ("$?TERM_PROGRAM" == "Apple_Terminal") then
While this makes the error message go away, it is not a fix for the bug.
A true fix would be to enclose the offending line between if and endif,
so that it gives
if ($?TERM_PROGRAM) then
if ("$TERM_PROGRAM" == "Apple_Terminal") then
alias settermtitle 'echo -n "^[]2;\!:1^G"'
endif
endif
The message was from August last year and somene else answerded the bug
seemed to be fixed with OS X 10.2.1. Did it come back?
No, it was never fixed. Apple have known about this from the beginning
of Jaguar (probably introduced it deliberately ;-) ), but refuse to fix it.
As tcsh does not read the .tcshrc due to this bug, it would be fine, if
it was fixed.
--
Martin
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/x11-users
X11 for Mac OS X FAQ: http://developer.apple.com/qa/qa2001/qa1232.html
Report issues, request features, feedback: http://developer.apple.com/bugreporter
Do not post admin requests to the list. They will be ignored.