delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/08/13/05:23:05

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.4 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <4C650EE2.4080201@ece.cmu.edu>
Date: Fri, 13 Aug 2010 11:22:42 +0200
From: Ryan Johnson <ryanjohn AT ece DOT cmu DOT edu>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.8) Gecko/20100802 Lightning/1.0b2 Thunderbird/3.1.2
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Change to gnuplot's handling of ^Z and ^C
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

  Hi all,

Recenty I noticed that gnuplot no longer responds instantly to control 
characters. You have to hit an additional key before they take effect.

So, for example, if I type "^Zdfg\n" I get the following:
> gnuplot> ^Z
> [1]+  Stopped(SIGTSTP)        gnuplot
>
> [Ryan AT scovich] ~/experiments
> $ fg
> gnuplot
> d
Notice that gnuplot, not bash, got the 'd'...

I've also managed to close my terminal on accident once or twice, but I 
don't know what exact key sequence did it (it may have had something to 
do with ^S enabling flow control instead of starting a search in emacs, 
because the latter failed to come to fg when gnuplot slurped up the 'f').

Maybe it's some strange interaction between bash's readline and 
gnuplot's? The shell isn't affected, nor are non-readline utilities like 
cat and emacs.

Thoughts?
Ryan




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

- Raw text -


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