From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Barry Margolin Newsgroups: gmane.emacs.help Subject: Re: send ctrl-g to bash shell in emacs Date: Wed, 07 Nov 2012 12:52:01 -0500 Organization: A noiseless patient Spider Message-ID: References: <0922EB50-3C0D-454B-BAEE-00096BD7A6F7@me.com> NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1352310913 13467 80.91.229.3 (7 Nov 2012 17:55:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 7 Nov 2012 17:55:13 +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 18:55:23 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 1TW9qS-0007E1-PE for geh-help-gnu-emacs@m.gmane.org; Wed, 07 Nov 2012 18:55:20 +0100 Original-Received: from localhost ([::1]:34372 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TW9qJ-0004Nc-QS for geh-help-gnu-emacs@m.gmane.org; Wed, 07 Nov 2012 12:55:11 -0500 Original-Path: usenet.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!news-1.dfn.de!news.dfn.de!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 49 Injection-Info: barmar.motzarella.org; posting-host="78fb7125a45724f15e21604c94a7d968"; logging-data="29946"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18MuzjupWIcq9bED+884GdI" User-Agent: MT-NewsWatcher/3.5.3b3 (Intel Mac OS X) Cancel-Lock: sha1:3Ey7EwoGOvG5hM2q1cmVauOB0Zw= Original-Xref: usenet.stanford.edu gnu.emacs.help:195246 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:87574 Archived-At: In article , Wes James wrote: > 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 Don't try to run full-screen programs in an Emacs shell buffer. Use M-x terminal-emulator if you must run them inside Emacs. -- Barry Margolin, barmar@alum.mit.edu Arlington, MA *** PLEASE post questions in newsgroups, not directly to me ***