delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/05/07/15:54:39

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
From: "Weichang Yang" <weichang DOT yang AT metera DOT com>
To: <cygwin AT cygwin DOT com>
Subject: Compatibility Test: Rational Rose (Rational Test) set up system environment variables which confuse Cygwin.
Date: Mon, 7 May 2001 15:51:22 -0400
Message-ID: <FBEDIDPFBPBGJDLMCANPCEBMCDAA.weichang.yang@metera.com>
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)
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400

OS: Windows 2000 ver5.00.2195
Cygwin: 1.3.1  (uname -r)
Software: Rational Rose 2001

How do reproduce the problem:
   1. On a fresh setup of Windows 2000, install cygwin. In order to make
sure everything works fine, test it with the following commands:
	(1)cd;pwd   (should be /home/<user_name)
	(2)man ls   (should correctly display man page for ls)
	(3)vi       (should start up vim that's shipped with cygwin)

   2. Now install Rational Rose 2001 Enterprise Edition. Then launch a new
cygwin session, try with the above commands again:
	(1)cd;pwd   (it shows /cygdrive/c)
	(2)man ls
		WARNING: terminal is not fully functional
		-  (press RETURN)
	(3)vi
		Terminal entry not found in termcap
		'nutc' not known. Available builtin terminals are:
		    builtin_riscos
		    builtin_amiga
		    builtin_beos-ansi
		    builtin_ansi
		    builtin_pcansi
		    builtin_win32
		    builtin_vt320
		    builtin_vt52
		    builtin_xterm
		    builtin_iris-ansi
		    builtin_debug
		    builtin_dumb
		defaulting to 'ansi'

Analysis:
     During installation, Rational Rose (or Rational Test?) sets a bunch of
system environment variables including the following four:
	TERM=nutc
	TERMCAP=C:\PROGRA~1\RATIONAL\RATION~1\NUTCROOT\etc\termcap
	TERMINFO=C:\PROGRA~1\RATIONAL\RATION~1\NUTCROOT\usr\lib\terminfo
	HOME=C:\
Cygwin is very sensitive to these four values. And apprently Rational's
termcap setting is not compatible with cygwin's.

How to fix it:
	One of the quick solutions is to add the following lines into
c:\cygwin\cygwin.bat:
		set TERM=
	 	set TERMINFO=
		set TERMCAP=
		set HOME=
		rem Now it's safe to launch bash shell.


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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