public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Ken Brown <kbrown@cornell.edu>
To: cygwin@cygwin.com
Subject: Re: BUG Report: rlwrap + cygwin (dll) + Windows 10
Date: Mon, 14 Dec 2020 09:14:02 -0500	[thread overview]
Message-ID: <c1da36bf-f74d-7e66-5504-4c1def3be7e4@cornell.edu> (raw)
In-Reply-To: <78aecf18-084d-0bcc-0345-3cfbcfa69d10@gmail.com>

On 12/13/2020 9:41 AM, Marco Atzeri via Cygwin wrote:
> On 13.12.2020 13:43, Takashi Yano via Cygwin wrote:
>> On Sat, 12 Dec 2020 20:05:05 +0000 (UTC)
>> Alberto Moral Beneitez via Cygwin  wrote:
>>> Hi, everybody
> 
>> Please try:
>> env CYGWIN=disable_pcon rlwrap cmd
>>
>> Also, you can use alias like:
>> alias rlwrap="env CYGWIN=disable_pcon rlwrap"
> 
> I had the impression the CYGWIN enviroment was used only by the first cygwin 
> process to set global behaviour and following changes were
> uneffective
> 
> Am I missing something ?

If an application changes the CYGWIN environment variable via a call to 
setenv(3) or putenv(3), then that variable is re-parsed and the corresponding 
global variables (like disable_pcon) are changed accordingly.  See the call to 
parse_options() at the end of _addenv() in environ.cc.

Ken

      reply	other threads:[~2020-12-14 14:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1482584461.28600.1607803505447.ref@mail.yahoo.com>
2020-12-12 20:05 ` Alberto Moral Beneitez
2020-12-13 12:43   ` Takashi Yano
2020-12-13 14:41     ` Marco Atzeri
2020-12-14 14:14       ` Ken Brown [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c1da36bf-f74d-7e66-5504-4c1def3be7e4@cornell.edu \
    --to=kbrown@cornell.edu \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).