Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com From: "Robert Mark Bram" To: "Andrew Markebo" , "Cygwin" Subject: RE: terminal is not fully functional ***Rootdir problems*** Date: Mon, 18 Mar 2002 23:17:55 +1100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 In-Reply-To: Importance: Normal Hi again Andrew! I have Cygwin DLL version 1.3.10 - I downloaded it only last week! > | I have changed ROOTDIR so it is now "C:\cygwin" but I am still getting these > | problems: > > BTW My rootdir isn't set to anything, try and not setting it. Tried this and it had no effect! >| When I run Cygwin it is putting me in a home directory of "/cygdrive/c" (not >| my user directory) and some of my commands are not working. For example: >| Robert Mark Bram AT DIJONG ~ >| $ pwd >| /cygdrive/c > Check the cygwin.bat file, I think you will see a cd there or > something.. I think that you have to tell it to cd to your > homedrive.. cygwin.bat contents as follows: @echo off C: chdir \cygwin\bin bash --login -i But that bash login should change me to my home directory shouldn't it? > Where is your 'homedrive'? From the output of set: HOME=/cygdrive/c HOMEDRIVE=C: HOMEPATH='\' HOSTNAME=DIJONG I found out that I am already beginning from the 'HOMEDRIVE'. I started a new prompt and got this output: Robert Mark Bram AT DIJONG ~ $ PWD /cygdrive/c Robert Mark Bram AT DIJONG ~ $ echo $HOMEDRIVE C: Robert Mark Bram AT DIJONG ~ $ cd $HOMEDRIVE Robert Mark Bram AT DIJONG ~ $ pwd /cygdrive/c Robert Mark Bram AT DIJONG ~ $ > | Robert Mark Bram AT DIJONG ~ > | $ man ls | less > | WARNING: terminal is not fully functional > | - (press RETURN) > Hmm do a echo $TERM and see what it says.. *** Here is something intereseting: Robert Mark Bram AT DIJONG ~ $ echo $TERM nutc Robert Mark Bram AT DIJONG ~ $ set | grep TERM TERM=nutc TERMCAP='C:\PROGRA~1\RATIONAL\RATION~1\NUTCROOT\etc\termcap' TERMINFO='C:\PROGRA~1\RATIONAL\RATION~1\NUTCROOT\usr\lib\terminfo' Robert Mark Bram AT DIJONG ~ "nutc" is something Rational Rose changed - it installed a directory called "nutc" for itself. What should term be? Thank you once again for your help! Rob -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/