www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/10/23/18:20:43

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:to:from:subject:date:message-id:references
:mime-version:content-type:content-transfer-encoding; q=dns; s=
default; b=rUl3JuiXTsRBqPma/zEp8ajy5CcDg2nwdeayVP5q/G5Fd9zZKrDyY
6OiOiUbhtSUg0jTvnpGtnnmgvwZF7SziTU44qewxP+XktAq/HNs6PdEhJpEnR7+M
4+jJoZZpnT6P5/3QVZDbaK6ln1lyfIlEdOA99ZQliJNtQTkfCxgbCs=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:to:from:subject:date:message-id:references
:mime-version:content-type:content-transfer-encoding; s=default;
bh=7aI4Zl1FPYd8cZZcWqevy3OyodY=; b=ttuXbsqb6Ha/rCxm3MBKgx0WiLGE
k/dz6EbWjYwCqkYKaM0P/KbBVXhYKW3Xa+q33t90pTcrya2ZF6Wn6TO4tn8ERtDT
dzE9m8qCUanT1zmSWlgzKbkNyt3UVzKU6V8Lt9Mujdy96te13gxi9J75s/K0JGIL
hC2vFoIP52rotxg=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=1.8 required=5.0 tests=BAYES_50,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2 spammy=fish, H*Ad:D*gov, heck, H*r:Unknown
X-HELO: blaine.gmane.org
To: cygwin AT cygwin DOT com
From: Andrew Schulman <schulman DOT andrew AT epa DOT gov>
Subject: Re: bc version has issue with \r when run from cmd
Date: Sun, 23 Oct 2016 18:19:31 -0400
Lines: 31
Message-ID: <t73p0cdoong63vqs77sghu3c73e3if8bug@4ax.com>
References: <CAKBM6-PHPZ23SqwSLbUL=PZZGuJrNQCBkc7BoatnSG4orijJGw AT mail DOT gmail DOT com>
Mime-Version: 1.0
X-Archive: encrypt
X-IsSubscribed: yes

> >From: "L. A. Walsh" <cygwin at tlinx dot org>
> >Date: Sat, 22 Oct 2016 15:52:42 -0700
> 
> To L.A. Walsh.
> 
> I understand all that but what i'm saying is that version 1.06  (not
> 1.06.95, which cygwin is using, but 1.06, which Gow uses), So, version
> 1.06   Doesn't have a problem with the fact that cmd sends a \r   So,
> if one doesn't want to call it a bug,  then one can call it a lost
> feature, useful feature of 1.06 (allowing bc to conveniently also be
> used from cmd), and that beneficial flexible feature was lost in
> 1.06.95

Hi. I adopted the bc package about a year ago, since fish uses it and I maintain
fish for Cygwin.

I think L.A. is right that because this is an issue of integration between
Cygwin and cmd, it's in the category of a nice-to-have feature. But I get that
it would be useful for you, and maybe for others too.

I haven't looked at the bc source code. It could take some time to find where
the issue is.  A place to start would be to compare the code archives:

http://ftp.gnu.org/gnu/bc/bc-1.06.tar.gz
http://alpha.gnu.org/gnu/bc/bc-1.06.95.tar.bz2

If you were to localize the problem in the source code and even propose a patch,
that would make it a lot more likely to get the problem fixed. Heck, you might
even get a gold star. I maintain the gold star page too :)

Andrew


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019