delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/05/21/01:34:42

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Date: Fri, 21 May 1999 01:32:16 -0400
From: Kevin Low <low AT megsinet DOT net>
Subject: Ctrl-c in bash causes background processes to exit
To: cygwin AT sourceware DOT cygnus DOT com
Message-id: <002b01bea34b$4a88b320$b6ac51d1@ekwqq>
MIME-version: 1.0
X-Mailer: Microsoft Outlook Express 4.72.3110.1
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
X-Priority: 3

------=_NextPart_000_0028_01BEA329.C2C79940
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi,

I am using bash from cygwin b20. How do I prevent all background jobs =
from exiting whenever I press ctrl-c in bash? For example, if I run =
telnet in the background, pressing ctrl-c will kill telnet.=20

Thanks,
Kevin.

------=_NextPart_000_0028_01BEA329.C2C79940
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>

<META content=3Dtext/html;charset=3Diso-8859-1 =
http-equiv=3DContent-Type>
<META content=3D'"MSHTML 4.72.3110.7"' name=3DGENERATOR>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT color=3D#000000 size=3D2>Hi,</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>I am using bash from cygwin b20. How do I prevent =
all=20
background jobs from exiting whenever I press ctrl-c in bash? For =
example, if I=20
run telnet in the background, pressing ctrl-c will kill telnet. =
</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2>Thanks,</FONT></DIV>
<DIV><FONT size=3D2>Kevin.</FONT></DIV></BODY></HTML>


------=_NextPart_000_0028_01BEA329.C2C79940
Content-Type: text/plain; charset=us-ascii

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
------=_NextPart_000_0028_01BEA329.C2C79940--

- Raw text -


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