I am experiencing some strange login behavior. First, some bachground on my situation. I prefer the putty terminal over the MS cmd window that cygwin.bat uses. So I use putty and ssh into my cygwin account.
Two problems. One, when I ssh into my acct I'm not getting the latest PATH entries I've entered via Windows. I'll show some of my .bashrc: JAVA_HOME=~/java/j2sdk1.4.2_04 ANT_HOME=~/java/apache-ant-1.6.1 CATALINA_HOME=~/java/jakarta-tomcat-5.0.25 MYSQL_HOME=~/mysql PATH=$PATH:/cygdrive/c/Program\ Files/vim/vim61:$JAVA_HOME/bin:$ANT_HOME/bin:$CATALINA_HOME/bin:$MYSQL_HOME/bin When I echo my PATH via a MS cmd window I get: H:\>echo %PATH% C:\java\Sun\AppServer\BIN;C:\java\apache-ant-1.6.1\BIN;c:\mysql\bin;C:\java\j2sd k1.4.2_04\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\PROGRA~ 1\CA\SHARED~1\SCANEN~1;C:\PROGRA~1\CA\ETRUST~1; So I would expect that Sun\AppServer entry to show up in my Putty/Cygwin window. Any ideas on this? Second issue (this might should be a seperate email) is related to the Cygwin shortcut that runs the cygwin.bat. For some reason my .bash_profile/.bashrc aren't getting excuted. And even worse my $HOME is very different. In the MS cmd window (via cygwin shortcut) I get: [EMAIL PROTECTED] [/home/erikweibust] $ cd [EMAIL PROTECTED] [~] $ pwd /cygdrive/c/java/source [EMAIL PROTECTED] [~] $ echo $HOME /cygdrive/c/java/source And then in the putty window I get: [EMAIL PROTECTED] [~] $ cd [EMAIL PROTECTED] [~] $ pwd /home/erikweibust [EMAIL PROTECTED] [~] $ echo $HOME /home/erikweibust [EMAIL PROTECTED] [~] $ Anybody have any ideas? I felt like these might be loosely related. Thanks... ===== Erik Weibust http://erik.weibust.net -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/