From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Alex Vong Newsgroups: gmane.lisp.guile.user Subject: Re: C-c in guile Date: Sun, 22 Jan 2017 14:54:31 +0800 Message-ID: <87lgu3h9eg.fsf@gmail.com> References: <877f5ovd85.fsf@gmail.com> <1B6562AF-4DDE-4B20-9547-2878426DEF0E@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Trace: blaine.gmane.org 1485068133 26457 195.159.176.226 (22 Jan 2017 06:55:33 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 22 Jan 2017 06:55:33 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) Cc: guile-user@gnu.org To: Matt Wette Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Sun Jan 22 07:55:26 2017 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cVC3Z-0005MV-LS for guile-user@m.gmane.org; Sun, 22 Jan 2017 07:55:17 +0100 Original-Received: from localhost ([::1]:34649 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cVC3b-0008Np-OZ for guile-user@m.gmane.org; Sun, 22 Jan 2017 01:55:19 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35700) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cVC3A-0008NZ-VT for guile-user@gnu.org; Sun, 22 Jan 2017 01:54:53 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cVC37-00084p-S6 for guile-user@gnu.org; Sun, 22 Jan 2017 01:54:52 -0500 Original-Received: from mail-pg0-x243.google.com ([2607:f8b0:400e:c05::243]:34978) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cVC37-00084l-MP for guile-user@gnu.org; Sun, 22 Jan 2017 01:54:49 -0500 Original-Received: by mail-pg0-x243.google.com with SMTP id 204so10721087pge.2 for ; Sat, 21 Jan 2017 22:54:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=0VDK2Ao4QJP/gU/Jvutnl9TVhg3NR3R0l1Lsh4DvpyA=; b=FEbYGtRrE4E+A2NF6J9bJBe4nlRG9tGSdHK1XT17d6o1g4uqgc3GOTVJqPA8qzjqPN Ir1AqYH8GjYVlrtP2G0jzHTpCWpVKOtWSoOJX0s6OtcnWAEa8k3GPSy60hpBbjzh1qRI yy1cXaTBLkWkF/7T8Kmw6kdOYwJj4PR7kXQHaX6aQV6k+QvGEeId3l8KjG5yT2tyr+Mo 8dxnMJUSamcIahdE9zhxUVCaGjVuIF7RkzmSqq2pdCxIljonvshdzzlqLO2FnUhaScIj koIgz6e2TGVfTKALWjFYzPjIGYYTlctxGHOwLKR41M+c55EvAB0Onzy+/zLohgvgeFlo n86g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=0VDK2Ao4QJP/gU/Jvutnl9TVhg3NR3R0l1Lsh4DvpyA=; b=K9bABoe3nEw4w2l0Rcig3TjI8QpAqVTL3xwrwvDFilrqu8+YAEp/1KTLQ6HnamlJWw 5iE5aJi+DnRBAo/MgyxoVceNHhDgq9zAvp3thI8JHg4lY4QJm9ftv2MSK6TGdIqZ6tr6 ZvNIm1HQUFu82T7Ka84E0zmJPchVaGhW8BBEXcbIX9KgkD81rqkrvwH+PBnLk5+gc0tX n6WessGwLqg4XRcCQVCkQSzfhA6qTfaMmsqlT1t5QW9mZ2UT5qYJCVw7mR3znu6k/SSd MwAxv44GbOFrI+Oww0xQnMy5o+huB9eSnPatmnhL6bsCwr6iYOqYCvzc5fKDu95oBxGd zbBA== X-Gm-Message-State: AIkVDXJwQ4Jz5Gj0Q/1uEWNU7Ib7cNa9QHxYPNo8N79cGS7uF28JrtViB7Nt9pQChkmgjQ== X-Received: by 10.84.225.133 with SMTP id u5mr33570664plj.76.1485068088458; Sat, 21 Jan 2017 22:54:48 -0800 (PST) Original-Received: from debian (1-64-81-136.static.netvigator.com. [1.64.81.136]) by smtp.gmail.com with ESMTPSA id g28sm28032971pgn.3.2017.01.21.22.54.46 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 21 Jan 2017 22:54:47 -0800 (PST) In-Reply-To: <1B6562AF-4DDE-4B20-9547-2878426DEF0E@gmail.com> (Matt Wette's message of "Sat, 21 Jan 2017 06:53:46 -0800") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400e:c05::243 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.org gmane.lisp.guile.user:13123 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Matt Wette writes: >> On Jan 21, 2017, at 3:55 AM, Alex Vong wrote: >>=20 >> Hello, >>=20 >> When running the external program "yes" in shell, >>=20 >> $ yes >>=20 >> We can terminate the process by pressing C-c. >>=20 >> However, when running the external program "yes" in guile, >>=20 >> $ guile -c '(system* "yes")' >>=20 >> We cannot terminate the process by pressing C-c, >> but we can suspend it by pressing C-z. >>=20 >> Why is that? Is there any way I can terminate the process by pressing >> C-c? >>=20 >> Thanks, >> Alex > > C-c works on your guile example for me on my Mac. Try `C-\=E2=80=99. 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 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEdZDkzSn0Cycogr9IxYq4eRf1Ea4FAliEVycACgkQxYq4eRf1 Ea7aAQ/+IVbJp3UQVq2eDCAA6lGVQ4uI5Dke0Yj1Ry4OEwdn/xExMCXIqQOddrBX nisfq29hFMXEq3rGEHWrKPNYsxFzkJiEehmIG0wc/EOMzt1HVp5h6kTtfQKogpfu KJHp4dOkZhyTmr7Zw+J7hczdTrJeVRTKi/ea/AWuNObNIQIywxGVkC1lTX/x/ZoZ fnO929qMHEXDoOUHPt1qTfTKVBMjSt2z0flXSb/l4Szg0VOtAcemlcv1xsFePK3V BaSKPL/b3TdBCz+AlMXTVZ9cp8TCMdJJX4HKZCKxZmL9IrLaxaIODWm8MZguKM7F FFFFjrIKdKNWpQVyBnpAOnYWT9/h6ouDqEbR8xklL60YRJ19qA4jdsEsyrgYv0uG DVTB5QmLUd10e06ikk9lY37SDTPnqbMmwoWaAJrR/CFWqLRxhlx9YjebPF8IYdxk rJiwNt+2Ddpve44QofcyzY14+kDXbJZYFtYDIUWq87tDtibcDOo8rnwiHY4m2O8F AarAhkIpvCWUs1DZ/mSKd5Cs4jzhOjgI78cd9Thb94bztENc5ACvL8/dNsDhMV3z wSD9H+47LTrwuMCkcXfmKgdPoUwSOAjlda/T/m7ukc1Z9A98mVX1xW5t/zA5oFWX fnyUd8wH94EgR+fuKFy+AaOMWYT23+9/4XYYSgKUtrC/QzTERiY= =WBT6 -----END PGP SIGNATURE----- --=-=-=--