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 10:06:41 -0700 Message-ID: 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 1352307869 16232 80.91.229.3 (7 Nov 2012 17:04:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 7 Nov 2012 17:04:29 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Barry Margolin Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Nov 07 18:04:38 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 1TW93O-0002YN-Jh for geh-help-gnu-emacs@m.gmane.org; Wed, 07 Nov 2012 18:04:38 +0100 Original-Received: from localhost ([::1]:53489 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TW93F-0003CR-Hi for geh-help-gnu-emacs@m.gmane.org; Wed, 07 Nov 2012 12:04:29 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:55611) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TW93A-0003CK-Ex for help-gnu-emacs@gnu.org; Wed, 07 Nov 2012 12:04:25 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TW935-000072-G9 for help-gnu-emacs@gnu.org; Wed, 07 Nov 2012 12:04:24 -0500 Original-Received: from nk11p04mm-asmtp006.mac.com ([17.158.236.241]:58631) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TW935-0008VR-9s for help-gnu-emacs@gnu.org; Wed, 07 Nov 2012 12:04:19 -0500 Original-Received: from munkey.nr.usu.edu (munkey.nr.usu.edu [129.123.87.59]) by nk11p04mm-asmtp006.mac.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Jan 3 2012)) with ESMTPSA id <0MD400CUSNEXJO80@nk11p04mm-asmtp006.mac.com> for help-gnu-emacs@gnu.org; Wed, 07 Nov 2012 17:04:17 +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-1211070154 In-reply-to: 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.241 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:87572 Archived-At: On Nov 7, 2012, at 9:47 AM, Barry Margolin wrote: > In article , > Wes James wrote: > >> Hi, >> >> On Nov 6, 2012, at 5:03 PM, Peter Dyballa wrote: >> >>> >>> Am 07.11.2012 um 00:53 schrieb Wes James: >>> >>>> ctrl-g means cancel the ctrl commands typed in, but how do you send a >>>> ctrl-g to a bash shell inside emacs? >>> >>> Have you tried that very simple and basic C-q C-g? >>> >> >> I tried that and it just puts ^G on the screen > > And when you press Return, it will be sent, just like anything else you > type. I did press return and it just brought the command line back without doing anything. I'm running erlang inside of emacs. I.e., I type in erl and it takes me in to an erlang command-line. It accepts certain ctrl command to do things. In erlang, when you press ctrl-g it should bring up a line that says: User switch command --> so I can do other commands. wes