|
#1
| ||||
| ||||
| TERM_PROGRAM: Undefined variable. When I ssh into my box (since the 10.2.x upgrade) I get the following message upon login: Last login: Wed Sep 18 15:08:57 2002 Welcome to Darwin! TERM_PROGRAM: Undefined variable. And...my PATH ends up being this: PATH=/bin:/sbin:/usr/bin:/usr/sbin instead of what it normally is...this: PATH=~/bin/powerpc-apple-darwin:/Users/username/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin Can somebody help me with this? I don't really care about the message: TERM_PROGRAM: Undefined variable., but I can't help thinking that the two may be related.
__________________ holmBrew =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Great Web Hosting: www.elfon.com PowerBook(Prismo) 400Mhz G3 266Mhz G3 MT Gossamar 400Mhz G3 Yosemite 800Mhz G4 Quicksilver (my work box) All running Mac OS X 10.2.4 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= |
|
#2
| ||||
| ||||
| You can edit the file /etc/csh.login to change your path. FWIW, my path is /bin:/sbin:/usr/bin:/usr/sbin and I don't get the same error as you.
__________________ MacBook Pro 2.16GHz Core2Duo 3GB RAM, G4 1.4GHz OSX Tiger 1.25GB RAM, Dual 2GHz G5 OSX Tiger 2GB RAM (freakin shweet) Athlon 64 Windoze XP for school work (programming) 1GB RAM dferns@macosx.com |
|
#3
| ||||
| ||||
| I guess my real problem is that I need to have those other paths available for remote sessions. I need this PATH for remote sessions: PATH=~/bin/powerpc-apple-darwin:/Users/username/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin
__________________ holmBrew =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Great Web Hosting: www.elfon.com PowerBook(Prismo) 400Mhz G3 266Mhz G3 MT Gossamar 400Mhz G3 Yosemite 800Mhz G4 Quicksilver (my work box) All running Mac OS X 10.2.4 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= |
|
#4
| ||||
| ||||
| Do you mean for remote SSH login? I login to my Mac with SSH all the time without problems. Even so, you can change your PATH to whatever you want by editing the /etc/csh.login file
__________________ MacBook Pro 2.16GHz Core2Duo 3GB RAM, G4 1.4GHz OSX Tiger 1.25GB RAM, Dual 2GHz G5 OSX Tiger 2GB RAM (freakin shweet) Athlon 64 Windoze XP for school work (programming) 1GB RAM dferns@macosx.com |
|
#5
| ||||
| ||||
| Some how I hosed the /etc/csh.cshrc, /etc/csh.login, and /etc/csh.logout Those are fixed now. Still getting that funky TERM_PROGRAM: Undefined variable. Thanks for the help.
__________________ holmBrew =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Great Web Hosting: www.elfon.com PowerBook(Prismo) 400Mhz G3 266Mhz G3 MT Gossamar 400Mhz G3 Yosemite 800Mhz G4 Quicksilver (my work box) All running Mac OS X 10.2.4 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= |
|
#6
| ||||
| ||||
| I also get TERM_PROGRAM when i log on to all my 10.2 boxes.
__________________ G4 500 MP 1024 MB RAM LaCie Electron 22" Display OS X 10.3.9 iMacDV MacMini iSight iPod + iPod Mini Sony PC100E FireWire Cam Static IP via a FreeBSD server/gateway a lot of other Mac's running Macos 7.5 to 9.1 and NetBSD. A Few Wintel's on the side (I only use them when I get paid by the hour) |
|
#7
| |||
| |||
| holmBrew, 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 Cheers...
__________________ Somewhere, over the rainbow, way up high... |
|
#8
| ||||
| ||||
| what's the added '?' do?
__________________ holmBrew =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Great Web Hosting: www.elfon.com PowerBook(Prismo) 400Mhz G3 266Mhz G3 MT Gossamar 400Mhz G3 Yosemite 800Mhz G4 Quicksilver (my work box) All running Mac OS X 10.2.4 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= |
![]() |
| Thread Tools | |
|
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| glib errors when compiling libIDL-0.6.8 | kilowatt | Software Programming & Web Scripting | 3 | January 10th, 2005 04:34 PM |
| Why does DVD2oneX 1.1.1 offer 'variable' ratio? | d54321k | Design & Media | 0 | September 16th, 2003 09:22 AM |
| Shell script to rip form variable names to a file? | michaelsanford | Bob's Place | 2 | November 15th, 2002 07:41 PM |
| troubles installing Perl modules with CPAN.pm | yogi | Mac OS X System & Mac Software | 7 | April 26th, 2002 11:38 AM |
| Errors compiling pthread (for mysql) on Mac OS X Server | Someone Else | Mac OS X System & Mac Software | 0 | June 12th, 2001 11:26 AM |