Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'TERM_PROGRAM: Undefined variable?' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
TERM_PROGRAM: Undefined variable?
Authored by: Robert on Aug 26, '02 02:02:33PM

I followed the instructions, but now I get a message \"TERM_PROGRAM: Undefined variable.\" when I log in by SSH. This did not happen in 10.1.



[ Reply to This | # ]
TERM_PROGRAM: Undefined variable?
Authored by: vajonez on Aug 26, '02 02:29:35PM
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


[ Reply to This | # ]
TERM_PROGRAM: Undefined variable?
Authored by: Robert on Aug 26, '02 05:34:51PM

Thanks a lot! I hope someone at Apple reads this...



[ Reply to This | # ]
TERM_PROGRAM: Undefined variable?
Authored by: area51 on Sep 21, '02 01:23:14PM

It seems like this typo has been fixed in 10.2.1. I don't get an error when I open a terminal using Terminal but I still get the error message if I use XDarwin.



[ Reply to This | # ]
TERM_PROGRAM: Undefined variable?
Authored by: JohnAlbin on Sep 24, '02 02:03:36AM

I just installed a fresh 10.2.1 onto a new hard drive and this typo was not fixed like you said it was.

Perhaps you changed it before the upgrade and forgot?



[ Reply to This | # ]
TERM_PROGRAM: Undefined variable?
Authored by: jaacob on Mar 05, '03 01:56:47PM

So anyway, I'm running 10.2.4 and this typo still isn't fixed by default.

-J



[ Reply to This | # ]
TERM_PROGRAM: Undefined variable?
Authored by: cilly on Aug 11, '03 01:29:12AM

This typo is not fixed in 10.2.6, too. You only get this error while logging in via ssh or X11. Not in a regular Terminal window.

---
Michael C. Haller



[ Reply to This | # ]