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

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

Matt Wette <matt.wette@gmail.com> writes:

>> 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-\’.

Hmmm... Neither does 'C-\' work on the guile example. It works on the
shell example though.

I am running Debian with 'uname -a' being:
  Linux debian 4.8.0-2-amd64 #1 SMP Debian 4.8.15-2 (2017-01-04) x86_64 GNU/Linux

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

  reply	other threads:[~2017-01-22  6:54 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
2017-01-22  6:54   ` Alex Vong [this message]
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=87lgu3h9eg.fsf@gmail.com \
    --to=alexvong1995@gmail.com \
    --cc=guile-user@gnu.org \
    --cc=matt.wette@gmail.com \
    /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).