all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Barry Margolin <barmar@alum.mit.edu>
To: help-gnu-emacs@gnu.org
Subject: Re: send ctrl-g to bash shell in emacs
Date: Wed, 07 Nov 2012 12:52:01 -0500	[thread overview]
Message-ID: <barmar-ECB804.12520107112012@news.eternal-september.org> (raw)
In-Reply-To: mailman.12490.1352307866.855.help-gnu-emacs@gnu.org

In article <mailman.12490.1352307866.855.help-gnu-emacs@gnu.org>,
 Wes James <comptekki@me.com> wrote:

> On Nov 7, 2012, at 9:47 AM, Barry Margolin <barmar@alum.mit.edu> wrote:
> 
> > In article <mailman.12483.1352305663.855.help-gnu-emacs@gnu.org>,
> > Wes James <comptekki@me.com> wrote:
> > 
> >> Hi,
> >> 
> >> On Nov 6, 2012, at 5:03 PM, Peter Dyballa <Peter_Dyballa@Web.DE> 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 ***


  parent reply	other threads:[~2012-11-07 17:52 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-06 23:53 send ctrl-g to bash shell in emacs Wes James
2012-11-07  0:03 ` Peter Dyballa
2012-11-07 16:29   ` Wes James
2012-11-07 16:49     ` Peter Dyballa
     [not found]   ` <mailman.12483.1352305663.855.help-gnu-emacs@gnu.org>
2012-11-07 16:47     ` Barry Margolin
2012-11-07 17:06       ` Wes James
     [not found]       ` <mailman.12490.1352307866.855.help-gnu-emacs@gnu.org>
2012-11-07 17:52         ` Barry Margolin [this message]
2012-11-07 20:50 ` Wes James
2012-11-07 21:42   ` Wes James

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=barmar-ECB804.12520107112012@news.eternal-september.org \
    --to=barmar@alum.mit.edu \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.