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: C-c in guile Date: Sat, 21 Jan 2017 19:55:54 +0800 Message-ID: <877f5ovd85.fsf@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 1484999815 30086 195.159.176.226 (21 Jan 2017 11:56:55 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 21 Jan 2017 11:56:55 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Sat Jan 21 12:56:51 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 1cUuHd-0006Ky-4K for guile-user@m.gmane.org; Sat, 21 Jan 2017 12:56:37 +0100 Original-Received: from localhost ([::1]:59694 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cUuHi-0001cU-5i for guile-user@m.gmane.org; Sat, 21 Jan 2017 06:56:42 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33889) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cUuHK-0001cO-KH for guile-user@gnu.org; Sat, 21 Jan 2017 06:56:19 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cUuHE-0003hj-C6 for guile-user@gnu.org; Sat, 21 Jan 2017 06:56:18 -0500 Original-Received: from mail-pg0-x242.google.com ([2607:f8b0:400e:c05::242]:35020) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cUuHE-0003fo-5o for guile-user@gnu.org; Sat, 21 Jan 2017 06:56:12 -0500 Original-Received: by mail-pg0-x242.google.com with SMTP id 204so9154136pge.2 for ; Sat, 21 Jan 2017 03:56:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:user-agent:mime-version; bh=quuJJCfa93sA3P96m9LSyk5WSMWCFRCXE+nR8cNjlyo=; b=LqsOBcs7DDj1yeOXq+dNnQ7a00hyCYzQn6IooJUVWS4qwK7XixpVKUHBhhq+ibM9pP CTtHT17dNQliJtjDhZBQtAxyc98mBZASR5OwAgBRTd90FNVv1QL5R6kIxA38igdp/owp zMv3mnT6Wk+OZFwnGHldSF3mDW+XvDgc2djYh1BzzugY6BioQyr39iFGKBIiVa68yfd0 d6XQ5TWDbUikBdQFWWNvwxubXf/a/t2NrwBtPN99IcFczG8WFJi6xefV22dy+TYbS/49 0mPHcoDSRP7XLmVHDQcYp/hgH8Oi0YEAuuX2nuZPR6jLssdDHyPJMYUKQwh4x4y6kyCF lv3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:user-agent :mime-version; bh=quuJJCfa93sA3P96m9LSyk5WSMWCFRCXE+nR8cNjlyo=; b=qMRcFoAihHZGd/IYQHW6eqZvEhIv/Z/7hZHi+YfDRIcQXk4oVsS0YRhMA3fWSjKaRD A32LNyFG8D6q+Yl0LbOmTbkFT3k2PCoOwLdECVnCfnBpTJ4/EGZtL+GgtCJZ+glaT/vE CpN7fk0qLun9u6sBmHA/TWlQLnKkkiZwVdXuy2GBM78VjinGJCznku4PDJh7fivFlUpz H2brtcgyN7gGGCI6Idl5PiIoPf/1uJXHIgjtu8W8gMbMeDlLe1n2UJCSYjYwy1VKV4bk FBTDa1Zv6z45BlIlMd8FR3xFOjwEFEyXjH/0AFCMgjwDFoyjVEd8xCPqz1KcUOdFjzCR yTdw== X-Gm-Message-State: AIkVDXLOwIIbchKCzPLkmjwcLMvJuz03d3sxTOLJ5u17pFX2VsU2/OtDfLMUblfGg73iIw== X-Received: by 10.98.10.69 with SMTP id s66mr21810882pfi.146.1484999768633; Sat, 21 Jan 2017 03:56:08 -0800 (PST) Original-Received: from debian (pcd372081.netvigator.com. [203.218.162.81]) by smtp.gmail.com with ESMTPSA id n8sm23871861pgc.0.2017.01.21.03.56.07 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 21 Jan 2017 03:56:08 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400e:c05::242 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:13121 Archived-At: --=-=-= Content-Type: text/plain 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 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEdZDkzSn0Cycogr9IxYq4eRf1Ea4FAliDTEoACgkQxYq4eRf1 Ea5Bkg/9EE4bghYSoAjLCQ0vfHrEghuRfnsx81w9ssM1cVgYTmsAv3SitBVK+RSa modWGF8PaI3XpZDo1+eqb7jAOE6XZY2Ayb2+R+wfZIJHs3R5e2mJS7QVkYE+rSjH 0f7RxIsPLJZ4ZO9zQtFtTPfzZzRDW0EUqtVfcY5qDS++gXncR2/J3WMqZOvi0SIz uIlOBfix45YvKYfg9P5nWHgm7JfA1FCgYZwjtEq/g0VRWAGGeIu1gSBYcluuPJZP QtZBJqT2EC9AB9Pe4PnmWI5G2haptlW2d4ZmlrKaKFFcuqaeqb/kU40/99TpiMHV cg/xmMXqqOIR/6WZpfdi4KgCUYkBYIG8msTPVRyFovMkskyJbD+I4Fe3uisK2M1C PsmgOZmS9MWyTViKmPd41yK2HkoScoORt22FYc57bQL9Ag1mQrzHE1Q2TUIT0dsk B6M93MBij/vcHo5Q/KYWKm546gXpfNwjB72WwRPzAf+YxgOdRKOZBc1wurzBz5Ct WqXUC1gUtbERK/rrxazDOllqjdTlNpokvMqiZyJorHV1XCLFHkBpwYW063J7Oy8j hmyjl11I6of3/2cLC8aNH0brw/ISoKXgilfdqoMLqElChu1QU8dREwUowbim6Bt2 cU+9pg+VMiYh6r1g6RZ9xHccwUe8ilP1rVvQMzdMBW4jyet3024= =6S1Q -----END PGP SIGNATURE----- --=-=-=--