Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Date: Wed, 31 Dec 2003 09:42:58 -0500 From: "Shaffer, Kenneth" X-X-Sender: shaffek AT Crunch DOT bcgssbd DOT sciatl DOT com Reply-To: kenneth DOT shaffer AT sciatl DOT com To: cygwin AT cygwin DOT com Subject: questions on signals Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" How do I get trap to get back to the default settings after entering 'trap "echo hi" DEBUG'? 'trap -' doesn't seem to work. How can I get ctrl-C to quit this cpu-intensive loop? echo | awk '{while(1){} }' cygcheck shows: bash 2.05b-16 OK gawk 3.1.3-4 OK type awk: awk is /bin/awk ls -l /bin/awk: lrwxrwxrwx 1 shaffek Users 19 Oct 29 15:44 /bin/awk -> gawk.exe type gawk: gawk is /bin/gawk stty -a: speed 38400 baud; rows 40; columns 120; line = 0; intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = ; eol2 = ; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W; lnext = ^V; flush = ^O; min = 1; time = 0; -parenb -parodd cs8 -hupcl -cstopb cread -clocal -crtscts -ignbrk brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon -ixoff -iuclc -ixany -imaxbel opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0 isig icanon iexten echo -echoe -echok -echonl -noflsh -tostop -echoctl -echoke -- Ken Shaffer - - - - - - - Appended by Scientific-Atlanta, Inc. - - - - - - - This e-mail and any attachments may contain information which is confidential, proprietary, privileged or otherwise protected by law. The information is solely intended for the named addressee (or a person responsible for delivering it to the addressee). If you are not the intended recipient of this message, you are not authorized to read, print, retain, copy or disseminate this message or any part of it. If you have received this e-mail in error, please notify the sender immediately by return e-mail and delete it from your computer. -- 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/