Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #14161

Re: Why does bash bundles readline instead of use a shared one?

Path csiph.com!goblin3!goblin1!goblin.stu.neva.ru!usenet.stanford.edu!not-for-mail
From Chet Ramey <chet.ramey@case.edu>
Newsgroups gnu.bash.bug
Subject Re: Why does bash bundles readline instead of use a shared one?
Date Mon, 28 May 2018 20:09:06 -0400
Organization ITS, Case Western Reserve University
Lines 31
Approved bug-bash@gnu.org
Message-ID <mailman.671.1527552559.1292.bug-bash@gnu.org> (permalink)
References <7uuhf2c79ejn.7zf.xxuns.g6.gal@galex-713.eu> <0efeac50-9657-ead0-a353-20a385f2a676@case.edu> <27g1ycj3zdjn.fzp.xxuns.g6.gal@galex-713.eu>
Reply-To chet.ramey@case.edu
NNTP-Posting-Host lists.gnu.org
Mime-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding 8bit
X-Trace usenet.stanford.edu 1527552560 24866 208.118.235.17 (29 May 2018 00:09:20 GMT)
X-Complaints-To action@cs.stanford.edu
Cc chet.ramey@case.edu, bug-bash@gnu.org
To "Garreau, Alexandre" <galex-713@galex-713.eu>
Envelope-to bug-bash@gnu.org
User-Agent Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.8.0
In-Reply-To <27g1ycj3zdjn.fzp.xxuns.g6.gal@galex-713.eu>
Content-Language en-US
X-Junkmail-Status score=8/90, host=mpv1-2015.case.edu
X-Junkmail-PrAS-Raw score=8/90, refid=2.7.2:2018.5.28.231216:17:8.317, ip=, rules=__HAS_REPLYTO, __HAS_CC_HDR, __MULTIPLE_RCPTS_CC_X2, __SUBJ_REPLY, __BOUNCE_CHALLENGE_SUBJ, __BOUNCE_NDR_SUBJ_EXEMPT, __TO_MALFORMED_2, __TO_NAME, __TO_NAME_DIFF_FROM_ACC, __REFERENCES, __HAS_FROM, FROM_EDU_TLD, __HAS_MSGID, __SANE_MSGID, DATE_TZ_NA, __USER_AGENT, __MOZILLA_USER_AGENT, __MIME_VERSION, __IN_REP_TO, __CT, __CT_TEXT_PLAIN, __CTE, __REPLYTO_SAMEAS_FROM_ADDY, __REPLYTO_SAMEAS_FROM_ACC, __FROM_DOMAIN_IN_ANY_CC2, __REPLYTO_SAMEAS_FROM_DOMAIN, __ANY_URI, __URI_WITH_PATH, __URI_NO_WWW, __CP_URI_IN_BODY, __SUBJ_ALPHA_NEGATE, __URI_IN_BODY, __URI_NOT_IMG, __FORWARDED_MSG, __NO_HTML_TAG_RAW, BODYTEXTP_SIZE_3000_LESS, BODY_SIZE_1200_1299, __MIME_TEXT_P1, __MIME_TEXT_ONLY, __URI_NS, HTML_00_01, HTML_00_10, BODY_SIZE_5000_LESS, IN_REP_TO, MSG_THREAD, __FROM_DOMAIN_IN_RCPT, __TO_REAL_NAMES, MULTIPLE_REAL_RCPTS, LEGITIMATE_SIGNS, __SINGLE_URI_TEXT, [TRUNCATED], so=2010-03-03 19:42:08, dmn=2016-08-03-0138
X-detected-operating-system by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] [fuzzy]
X-Received-From 129.22.103.226
X-BeenThere bug-bash@gnu.org
X-Mailman-Version 2.1.21
Precedence list
List-Id Bug reports for the GNU Bourne Again SHell <bug-bash.gnu.org>
List-Unsubscribe <https://lists.gnu.org/mailman/options/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=unsubscribe>
List-Archive <http://lists.gnu.org/archive/html/bug-bash/>
List-Post <mailto:bug-bash@gnu.org>
List-Help <mailto:bug-bash-request@gnu.org?subject=help>
List-Subscribe <https://lists.gnu.org/mailman/listinfo/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=subscribe>
Xref csiph.com gnu.bash.bug:14161

Show key headers only | View raw


On 5/28/18 7:50 PM, Garreau, Alexandre wrote:
> On 2018-05-28 at 19:41, Chet Ramey wrote:
>> On 5/28/18 12:27 PM, Garreau, Alexandre wrote:
>> 1. Bash has always had readline, even before there was a separate readline
>>    distribution. There's no compelling reason to change this.
> 
> Oh okay!
> 
>> 3. Bash ships with as few external dependencies as possible. Many systems
>>    do not ship a separate readline, and do not ship it as part of the base
>>    system.
> 
> Wouldn’t then ask to build it separately, while still requiring it as a
> mandatory dependency encourage more systems to ship readline, making it
> more available to other programs and more likely to be embeded by them?

All the world isn't Linux, and even within the Linux ecosystem there are
multiple completing software distribution and packaging systems. I have
no desire to wade into that; I leave it up to the distributions.

> Also wouldn’t that save space by default on
> embeded systems if they also may ship a separate readline?

There is an easy way for them to do that if they want.

Chet
-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
		 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/

Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread


Thread

Re: Why does bash bundles readline instead of use a shared one? Chet Ramey <chet.ramey@case.edu> - 2018-05-28 20:09 -0400

csiph-web