delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/03/02/12:13:48

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=BAYES_00,J_CHICKENPOX_63
X-Spam-Check-By: sourceware.org
Message-ID: <49AC13A4.5070507@smart.net>
Date: Mon, 02 Mar 2009 12:13:08 -0500
From: "Daniel S." <dsb AT smart DOT net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.19) Gecko/20081204 SeaMonkey/1.1.14
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: job control: "set CYGWIN=tty" but ^Z doesn't work
X-Feron-FreePass: <dsb AT smart DOT net> is an authorized sender.
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

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:

   The CYGWIN variable is used ... [Y]ou can ... set it to tty (e.g. to support
   job control with ^Z etc...) using a syntax like this in the DOS shell, before
   launching bash.

     C:\> set CYGWIN=tty notitle glob


I've added:

   set CYGWIN=tty

to my Cygwin.bat file, but ^Z doesn't suspend a process.

(E.g., running "for (( i = 1 ; i '<' 100000 ; i = i + 1 )) ; do : ; done "
and pressing control-Z doesn't suspend the process running the loop.

Thanks,

Daniel




--
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