Compatibility Test: Rational Rose (Rational Test) set up system environment variables which confuse Cygwin.

Weichang Yang weichang.yang@metera.com
Mon May 7 12:51:00 GMT 2001


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


More information about the Cygwin mailing list

AltStyle によって変換されたページ (->オリジナル) /