delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/03/18/07:21:57

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
From: "Robert Mark Bram" <relaxedrob AT optushome DOT com DOT au>
To: "Andrew Markebo" <flognat AT flognat DOT myip DOT org>, "Cygwin" <cygwin AT cygwin DOT com>
Subject: RE: terminal is not fully functional ***Rootdir problems***
Date: Mon, 18 Mar 2002 23:17:55 +1100
Message-ID: <AHENJAAPGAHKCFPLDPOJMEEMCBAA.relaxedrob@optushome.com.au>
MIME-Version: 1.0
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: <m3663ukxvb.fsf@localhost.localdomain>
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019