From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Wes James Newsgroups: gmane.emacs.help Subject: Re: send ctrl-g to bash shell in emacs Date: Wed, 07 Nov 2012 13:50:30 -0700 Message-ID: <716A719C-B2AB-4CE5-8F9F-18CC5872F46A@me.com> References: <0922EB50-3C0D-454B-BAEE-00096BD7A6F7@me.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; CHARSET=US-ASCII Content-Transfer-Encoding: 7BIT X-Trace: ger.gmane.org 1352321322 13479 80.91.229.3 (7 Nov 2012 20:48:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 7 Nov 2012 20:48:42 +0000 (UTC) To: "help-gnu-emacs@gnu.org" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Nov 07 21:48:52 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TWCYM-0005oG-7B for geh-help-gnu-emacs@m.gmane.org; Wed, 07 Nov 2012 21:48:50 +0100 Original-Received: from localhost ([::1]:35477 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TWCYD-0001WT-6T for geh-help-gnu-emacs@m.gmane.org; Wed, 07 Nov 2012 15:48:41 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:36384) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TWCY7-0001W7-7g for help-gnu-emacs@gnu.org; Wed, 07 Nov 2012 15:48:36 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TWCY6-0007Co-35 for help-gnu-emacs@gnu.org; Wed, 07 Nov 2012 15:48:35 -0500 Original-Received: from nk11p04mm-asmtp010.mac.com ([17.158.236.119]:41390) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TWCY5-0007Cb-TL for help-gnu-emacs@gnu.org; Wed, 07 Nov 2012 15:48:34 -0500 Original-Received: from munkey.nr.usu.edu (munkey.nr.usu.edu [129.123.87.59]) by nk11p04mm-asmtp010.mac.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Jan 3 2012)) with ESMTPSA id <0MD400MAWXRYXL00@nk11p04mm-asmtp010.mac.com> for help-gnu-emacs@gnu.org; Wed, 07 Nov 2012 20:48:06 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.9.8185,1.0.431,0.0.0000 definitions=2012-11-07_04:2012-11-07, 2012-11-06, 1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 suspectscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=6.0.2-1203120001 definitions=main-1211070224 In-reply-to: <0922EB50-3C0D-454B-BAEE-00096BD7A6F7@me.com> X-Mailer: Apple Mail (2.1499) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 17.158.236.119 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:87576 Archived-At: On Nov 6, 2012, at 4:53 PM, Wes James wrote: > ctrl-g means cancel the ctrl commands typed in, but how do you send a ctrl-g to a bash shell inside emacs? ctrl-c ctrl-c will send a ctrl-c. What about sending other keypress sequences through to a shell? I finally got this working. I have an erlang mode installed and I entered that and did c-c c-z to start an erlang shell and this time when I pressed ctrl-g it put a ^G on the line, but this time when I pressed enter, it did what was expected. Thanks all for your suggestions! wes