delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/08/28/17:49:15

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>,
<http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-Id: <199908282148.OAA00564@pacific.net>
X-Sender: jbuff AT mail DOT pacific DOT net
X-Mailer: QUALCOMM Windows Eudora Pro Version 4.0
Date: Sat, 28 Aug 1999 14:48:14 -0700
To: cygwin AT sourceware DOT cygnus DOT com
From: John Buffington <jbuff AT pacific DOT net>
Subject: Fwd: Re: CYGWIN environment variable setup
Mime-Version: 1.0

>Date: Sat, 28 Aug 1999 14:03:39 -0700
>To: "Larry Hall (RFK Partners, Inc)" <lhall AT rfk DOT com>
>From: John Buffington <jbuff AT pacific DOT 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 AT sourceware DOT cygnus DOT com

- Raw text -


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