From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id oGqaCk7MoWSv/AAASxT56A (envelope-from ) for ; Sun, 02 Jul 2023 21:13:18 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id qOWoCk7MoWTFegEAauVa8A (envelope-from ) for ; Sun, 02 Jul 2023 21:13:18 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id CE9D42611E for ; Sun, 2 Jul 2023 21:13:17 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=rdklein.fr header.s=zoho header.b=AQrXyklX; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; arc=pass ("zohomail.eu:s=zohoarc:i=1") ARC-Seal: i=2; s=key1; d=yhetil.org; t=1688325197; a=rsa-sha256; cv=pass; b=oXYyJtdZ9+wLkv8OkBjLgu+nyT572gFjdCLLowzFAVI/ESs4C7HOH6oKVS2jUaZIHgZGDc c6FCfVwBykXXBzhIeYxudRCmiErfWhfHzy5kdO5ZuCjD+h0yZSmzcCISoRKFcl5E3DP7IU Q8i1kg2nL0/SiT3lgZO1G7fQz7jOXRaRhS6paIMYcfR5wAmgHnz24UXH+gG9K44C6BD+u4 dWYur56H+g+rrRILUxty1cfUTBBQ/NZ38fDZZut+imZkXis0z5eTNrtx5cxMuoH3IZ8BUV kiYVTk7ZAC5GyM1Es5zhojXdMJWzEFo+pU9v4AcBlsP8EXV14cwfaF+potnqOQ== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=rdklein.fr header.s=zoho header.b=AQrXyklX; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; arc=pass ("zohomail.eu:s=zohoarc:i=1") ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1688325197; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=orNAD4hYjhKMgZQ/IjUIkQwpEvb8427056VavGzlmTQ=; b=AqM8+qsBSq3QpFHbZtmgBLMrrApmTrX7/NjQR4d4l+cWq7t2Cb7f9/t4gP/Y2oBdNJuC4v Yje7jxurEWqVhCzgVCF7m4qX65L+UxLfyadekHQNpJd25657CFtm74ygryGJjz2ClN+KcI Cj3CGUgFsoDJjc40QLYP0o8+Sx/ts8izcJHHks32oRL+ievFLao8sLWhMt6AovqrfCVOrk 6zWyqoE/1rkNCqDeSxwvngF+Qt/pz2QG+ZjZ7uOkjZIIrz+3FPsmr71xrzhslSk7szN6CU erTmpRzoIvp/rXpMdAx9yarPWknbh9mMMn/O9+/2utxl3oyZC4d4s9gYBCACtw== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qG2Uy-0002KZ-Gu; Sun, 02 Jul 2023 15:12:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qG2Uw-0002Jy-9A for help-guix@gnu.org; Sun, 02 Jul 2023 15:12:38 -0400 Received: from sender11-op-o11.zoho.eu ([31.186.226.225]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qG2Uu-0008JG-Fb for help-guix@gnu.org; Sun, 02 Jul 2023 15:12:38 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1688325150; cv=none; d=zohomail.eu; s=zohoarc; b=e3a1GNzRGfQvc9U3FT2aqR3/T956zfI4KiD97wU3h7ym/M7jJsbUrLykGBDnRngXOJdpZJrTTsPYpIao695d9QB+Wy/BP+P32KfgtAlMNUpJwen61aKSNe+5wGaprkzGHi+TA1NBxmglXrVEhyHwz4BUjPvJ0OwE699J20qnLw4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.eu; s=zohoarc; t=1688325150; h=Content-Type:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=orNAD4hYjhKMgZQ/IjUIkQwpEvb8427056VavGzlmTQ=; b=GDyjtCxby0OM63uqFkLSiHXe1ZEipZC/OyFOw0Vr4Qt369zqrCw12UuQf/LPWN+ubJrpRA8uopNgbK5Klsjt0R08Mcmy+tvI1yyUs5IMCDcHbKd2smLwo3RniGObTyyP6oFR+it3KQa119Mq2POKEm9fuHLyWJT38ybU4TjPeJs= ARC-Authentication-Results: i=1; mx.zohomail.eu; dkim=pass header.i=rdklein.fr; spf=pass smtp.mailfrom=edou@rdklein.fr; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1688325150; s=zoho; d=rdklein.fr; i=edou@rdklein.fr; h=References:From:From:To:To:Cc:Cc:Subject:Subject:Date:Date:In-reply-to:Message-ID:MIME-Version:Content-Type:Message-Id:Reply-To; bh=orNAD4hYjhKMgZQ/IjUIkQwpEvb8427056VavGzlmTQ=; b=AQrXyklX81eNpKiydnl30i5RufH0gy+Z8k4sdrkJeq3Y1yp1LxygqF9f3FPnQ7yq BSDVkdEPCX2zSBuDHqJXNwoPb8fU8zTAUivyAwmmKL+owo2fxV951P4hGa4CExPmqUm QbreaRnRo7fjjDF04aNSmcFvNGz3DlfO30Kfv2cp7d0vEOhVmQnGtuMIQkW0jA+LGnL zsAgX2jmZiHHnAlYb7hsb9zrG/vhbhH7F1uT9J+n+AEo8wwYgmwCkcHPmC0mH4sFezI 2H5Gm2K77P8isu4+9HDSi6OhrzXa9CAG6RXSu54SSiiskBqGV4+/rksOO6mCUv0giRg PcmC9HfddQ== Received: from schwarzy (lfbn-idf3-1-667-244.w86-252.abo.wanadoo.fr [86.252.237.244]) by mx.zoho.eu with SMTPS id 1688325148739152.22249598687688; Sun, 2 Jul 2023 21:12:28 +0200 (CEST) References: <87lefy2ne6.fsf@posteo.net> User-agent: mu4e 1.10.2; emacs 28.2 From: Edouard Klein To: Kyle Andrews Cc: help-guix@gnu.org Subject: Re: guix shell readline issue with R Date: Sun, 02 Jul 2023 21:09:35 +0200 In-reply-to: <87lefy2ne6.fsf@posteo.net> Message-ID: <87ttumdt63.fsf@rdklein.fr> MIME-Version: 1.0 Content-Type: text/plain X-ZohoMailClient: External Received-SPF: pass client-ip=31.186.226.225; envelope-from=edou@rdklein.fr; helo=sender11-op-o11.zoho.eu X-Spam_score_int: -30 X-Spam_score: -3.1 X-Spam_bar: --- X-Spam_report: (-3.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H5=-1, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -4.76 X-Migadu-Queue-Id: CE9D42611E X-Spam-Score: -4.76 X-TUID: aG+t1zRgEP/E Hi Kyle, Running guix shell r and then R will get you the C-c handling you want. There is indeed readline support with guix shell r -- R: up arrow to get history, c-E, c-A for end of line, start if line, etc. I think maybe the problem lies not with readline but with the way signals are handled. I can't seem to understand exactly how, but I would look into that direction. Cheers, Edouard. Kyle Andrews writes: > Dear Guix, > > When I run `guix install r` and then start an R process I get a readline-enabled > REPL where I can abort commands with C-c C-c while keeping the process alive > afterwards. When I run R from `guix shell r -- R` I don't get any readline > support in R. Pressing C-c immediately aborts the process. This is inconvenient > for interactive exploration. Is there a way to make guix shell work the same way > as if the R command was installed into a profile? > > Thanks for your help, > Kyle