From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Noah Lavine Newsgroups: gmane.lisp.guile.bugs Subject: bug#15221: provide a mechanism to activate readline systemwide Date: Fri, 30 Aug 2013 11:49:21 -0400 Message-ID: References: <52209859.6080307@kit.edu> <20130830140124.IV49R.155246.root@cdptpa-web09-z01> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b86f296bf596604e52c2b59 X-Trace: ger.gmane.org 1377877816 18402 80.91.229.3 (30 Aug 2013 15:50:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 30 Aug 2013 15:50:16 +0000 (UTC) Cc: 15221@debbugs.gnu.org, arne.babenhauserheide@kit.edu To: dsmich@roadrunner.com Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Fri Aug 30 17:50:17 2013 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VFQxk-0008PX-AU for guile-bugs@m.gmane.org; Fri, 30 Aug 2013 17:50:16 +0200 Original-Received: from localhost ([::1]:51275 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VFQxj-0004pe-VY for guile-bugs@m.gmane.org; Fri, 30 Aug 2013 11:50:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43251) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VFQxb-0004c6-5A for bug-guile@gnu.org; Fri, 30 Aug 2013 11:50:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VFQxW-00087E-AC for bug-guile@gnu.org; Fri, 30 Aug 2013 11:50:07 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:51117) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VFQxW-00086w-7T for bug-guile@gnu.org; Fri, 30 Aug 2013 11:50:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VFQxV-0005xK-M6 for bug-guile@gnu.org; Fri, 30 Aug 2013 11:50:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Noah Lavine Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Fri, 30 Aug 2013 15:50:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15221 X-GNU-PR-Package: guile X-GNU-PR-Keywords: Original-Received: via spool by 15221-submit@debbugs.gnu.org id=B15221.137787779222868 (code B ref 15221); Fri, 30 Aug 2013 15:50:01 +0000 Original-Received: (at 15221) by debbugs.gnu.org; 30 Aug 2013 15:49:52 +0000 Original-Received: from localhost ([127.0.0.1]:59410 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VFQxL-0005wm-Mg for submit@debbugs.gnu.org; Fri, 30 Aug 2013 11:49:52 -0400 Original-Received: from mail-pd0-f173.google.com ([209.85.192.173]:46857) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VFQxI-0005wT-FR for 15221@debbugs.gnu.org; Fri, 30 Aug 2013 11:49:49 -0400 Original-Received: by mail-pd0-f173.google.com with SMTP id p10so2030179pdj.4 for <15221@debbugs.gnu.org>; Fri, 30 Aug 2013 08:49:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=KfxmcukOSu/YA19Dt/0nnMf2M0+OReaBMy1ab1QxIjo=; b=Fh4UouZBPjziJV3xgzFKroyTC4qOi1TmLy/joVmMSO6rczbQa8bsR/Efes+5FM07hc KRJTvOi4A3/TB8UUqI7JI8vWIBP0/it5V/K95Iq1x0dg7ot0Fd/yUKtxt1IEcB3Y/ww1 ahlAB3MyJ1jqYsg9K929dSgl1Fyl5PJQsjkmkyki93CPSrBLAmmdrsAXdanbT4KYDV2x ELTJnJWsrnkI1AkhEyxWfR6kv2FYROSdHyIC8+65qFhGPmZSCtJYD2mAP2CaQFgAA5fS M2qd1jpkWTNpRrwrgRgdrOKv4y2vzOi3v9CPIsZdRBz2OOgUkysrifN9a2NcYeX9CpE7 4iUA== X-Received: by 10.68.93.227 with SMTP id cx3mr10835970pbb.146.1377877782122; Fri, 30 Aug 2013 08:49:42 -0700 (PDT) Original-Received: by 10.68.91.1 with HTTP; Fri, 30 Aug 2013 08:49:21 -0700 (PDT) In-Reply-To: <20130830140124.IV49R.155246.root@cdptpa-web09-z01> X-Google-Sender-Auth: gEJOlPFPW-lIObnyQlOjau6NGoU X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:7268 Archived-At: --047d7b86f296bf596604e52c2b59 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable I am not a lawyer, but it seems to me that libguile could be under LGPL, but guile the executable could be under GPL, and therefore use readline by default. As you say, there would have to be an option to turn it off. Maybe --no-readline? Noah On Fri, Aug 30, 2013 at 10:01 AM, wrote: > > ---- "Arne Babenhauserheide (IMK)" wrote: > > Hi, > > > > Not having readline at the guile interpreter from the get-go in a GNU > > environment was a quite scarring experience for me, so it would be grea= t > > to have a way to enable readline by default. > > > > init.scm could provide that, but: > > > > it seems to search the load path for init.scm > > before loading anything else > > tricky though, apparently that happens even before loading boot= -9 > > > > Ideally there should be either a compileflag or a systemwide config fil= e > > to enable readline support in the whole system. If it is a compile-flag > > it might be useful to not make it default, because developers why > > develop proprietary applications could then by accident compile a > > program with activated readline support. > > > > If such a flag existed, most GNU/Linux distributions could simply > > activate it for guile itself (as long as they do not ship unfree script= s > > using guile which depend on readline support =97 those scripts would > > violate the GPL, but they would not work at all without readline > > support, so this dependency should be pretty clear). > > Sometimes readline gets in the way, for example, when using guile with > emacs. > > If it was enabled by default, then there also must be an option to disabl= e > it when not needed. > > The main reason readline is not enabled by default (IIRC), is the license > differences between readline and guile. (GPL and LGPL) > > -Dale > > > > > --047d7b86f296bf596604e52c2b59 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable
I am not a lawyer, but it seems to me that libguile could = be under LGPL, but guile the executable could be under GPL, and therefore u= se readline by default.

As you say, there would have to be an option= to turn it off. Maybe --no-readline?

Noah


On Fri, Aug 30, 2013 at 10:01 AM, <dsmich@roadrunner.com>= wrote:

---- "Arne Babenhauserheide (IMK)" <arne.babenhauserheide@kit.edu> wrote:
> Hi,
>
> Not having readline at the guile interpreter from the get-go in a GNU<= br> > environment was a quite scarring experience for me, so it would be gre= at
> to have a way to enable readline by default.
>
> init.scm could provide that, but:
>
> <wingo> it seems to search the load path for init.scm
> <wingo> before loading anything else
> <wingo> tricky though, apparently that happens even before loadi= ng boot-9
>
> Ideally there should be either a compileflag or a systemwide config fi= le
> to enable readline support in the whole system. If it is a compile-fla= g
> it might be useful to not make it default, because developers why
> develop proprietary applications could then by accident compile a
> program with activated readline support.
>
> If such a flag existed, most GNU/Linux distributions could simply
> activate it for guile itself (as long as they do not ship unfree scrip= ts
> using guile which depend on readline support =97 those scripts would > violate the GPL, but they would not work at all without readline
> support, so this dependency should be pretty clear).

Sometimes readline gets in the way, for example, when using guile wit= h emacs.

If it was enabled by default, then there also must be an option to disable = it when not needed.

The main reason readline is not enabled by default (IIRC), is the license d= ifferences between readline and guile. (GPL and LGPL)

-Dale





--047d7b86f296bf596604e52c2b59--