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 To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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. : > 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/