delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/03/02/14:32:16

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=BAYES_00,SARE_MSGID_LONG40,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <49AC13A4.5070507@smart.net>
References: <49AC13A4 DOT 5070507 AT smart DOT net>
Date: Mon, 2 Mar 2009 19:31:54 +0000
Message-ID: <416096c60903021131t6955fb6dme775b9853804e41e@mail.gmail.com>
Subject: Re: job control: "set CYGWIN=tty" but ^Z doesn't work
From: Andy Koppe <andy DOT koppe AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

2009/3/2 Daniel S. <dsb AT smart DOT net>:
> What setup is need to get ^Z to suspend the current process?
>
> The CygWin manual Environment Variables section at
> http://cygwin.com/cygwin-ug-net/setup-env.html says:
>
> =A0The CYGWIN variable is used ... [Y]ou can ... set it to tty (e.g. to
> support
> =A0job control with ^Z etc...) using a syntax like this in the DOS shell,
> before
> =A0launching bash.

You have to make sure that the CYGWIN variable is set before any
Cygwin programs are run, because it is read when the Cygwin DLL is
first loaded. Exiting all Cygwin processes before invoking cygwin.bat
again should do the trick.

Andy

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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