unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: Matt Wette <matt.wette@gmail.com>
To: Alex Vong <alexvong1995@gmail.com>
Cc: guile-user@gnu.org
Subject: Re: C-c in guile
Date: Sat, 21 Jan 2017 06:53:46 -0800	[thread overview]
Message-ID: <1B6562AF-4DDE-4B20-9547-2878426DEF0E@gmail.com> (raw)
In-Reply-To: <877f5ovd85.fsf@gmail.com>


> On Jan 21, 2017, at 3:55 AM, Alex Vong <alexvong1995@gmail.com> wrote:
> 
> Hello,
> 
> When running the external program "yes" in shell,
> 
>  $ yes
> 
> We can terminate the process by pressing C-c.
> 
> However, when running the external program "yes" in guile,
> 
>  $ guile -c '(system* "yes")'
> 
> We cannot terminate the process by pressing C-c,
> but we can suspend it by pressing C-z.
> 
> Why is that? Is there any way I can terminate the process by pressing
> C-c?
> 
> Thanks,
> Alex

C-c works on your guile example for me on my Mac.  Try `C-\’.




  reply	other threads:[~2017-01-21 14:53 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-21 11:55 C-c in guile Alex Vong
2017-01-21 14:53 ` Matt Wette [this message]
2017-01-22  6:54   ` Alex Vong
2017-01-23 16:05     ` Vladimir Zhbanov
2017-02-27 19:49 ` Andy Wingo
2017-03-01 16:03   ` Alex Vong
2017-05-15 17:46 ` Alex Vong

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

  List information: https://www.gnu.org/software/guile/

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

  git send-email \
    --in-reply-to=1B6562AF-4DDE-4B20-9547-2878426DEF0E@gmail.com \
    --to=matt.wette@gmail.com \
    --cc=alexvong1995@gmail.com \
    --cc=guile-user@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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).