unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: Alex Vong <alexvong1995@gmail.com>
To: guile-user@gnu.org
Subject: C-c in guile
Date: Sat, 21 Jan 2017 19:55:54 +0800	[thread overview]
Message-ID: <877f5ovd85.fsf@gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 385 bytes --]

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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

             reply	other threads:[~2017-01-21 11:55 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-21 11:55 Alex Vong [this message]
2017-01-21 14:53 ` C-c in guile Matt Wette
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=877f5ovd85.fsf@gmail.com \
    --to=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).