This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Fwd: Re: CYGWIN environment variable setup


>Date: Sat, 28 Aug 1999 14:03:39 -0700
>To: "Larry Hall (RFK Partners, Inc)" <lhall@rfk.com>
>From: John Buffington <jbuff@pacific.net>
>Subject: Re: CYGWIN environment variable setup
>
>At 04:42 PM 8/28/99 -0400, you wrote:
>>At 11:45 AM 8/28/99 -0700, you wrote:
>>>Hi, 
>>>   I'm a cygwin newbie, and so far I'm having good luck setting up my
paths,
>>>mounts,
>>>and bash startup files, but I'm puzzled by the following excerpt from the
>>>cygwin online
>>>documents
>>>
>>>:quote:
>>>The CYGWIN variable is used to configure many global settings for the
Cygwin
>>>runtime system. Initially you can leave CYGWIN unset or set it to tty
using a
>>>syntax like this in the DOS shell, before launching bash.
>>>C:\Cygnus\> set CYGWIN=tty notitle strace=0x1
>>>:unquote:
>>>
>>>If I put the above line in my cygnus.bat, I get a syntax error from
>>>command.com
>>>because of the second equals sign, and the CYGWIN environment variable
is not
>>>set.
>>>
>>>If I put  "CYGWIN=tty notitle strace=0x1"  in my .profile, I end up with an
>>>enviroment
>>>variable strace=0x1, but no CYGWIN variable. This seems to give bash a
>>>seizure.
>>>
>>>I've searched the archives for info, but all I've come up with is the
>>>indication that
>>>
>>>set CYGWIN=tty
>>>
>>>is all that's required.
>>>
>>>Can anyone enlighten me?
>>>
>>>
>>
>>
>>Try quotes around everything to the right of the first equals sign.  That
>>should clarify things for DOS.  Don't put the CYGWIN settings in your
>>bash startup files, since many of the settings won't have any effect and
>>can even cause problems if they aren't set BEFORE any Cygwin program runs
>>(like bash).  Don't use strace unless you want to create debugging log
>>files because of problems you see.  It will just slow things down otherwise.
>>Also, don't get too attached to the strace setting.  It will be changing for
>>B21 anyway...
>>
>
>Nope, same thing, DOS complains "syntax error" and CYGWIN environment
variable
>remains unset.
>
>Incidentally, when I use set CYGWIN="tty notitle"
>it appears in the printenv output as
>CYGWIN="tty notitle"
>
>BTW in my .profile, I do the following to force .bashrc to execute after
.profile.
>(I've modified cygnus.bat to execute bash as a login shell)
>
>exec bash -s .bashrc
>
>is this appropriate?
> 


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]