[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-tar] [patch v3] Bug / question in tar
From: |
Eric Blake |
Subject: |
Re: [Bug-tar] [patch v3] Bug / question in tar |
Date: |
Thu, 20 Mar 2014 14:01:38 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 |
[adding bug-standards]
On 03/20/2014 11:54 AM, Antonio Diaz Diaz wrote:
> Pavel Raiskup wrote:
>> I hope we came to conclusion that we really should not modify output (or
>> program behavior) based on what the output is (that goes against GNU
>> Coding Guidelines). We can only react on inputs (similarly like in my
>> [v3] patch). So in that regard I am against that patch.
>
> As I understand the GNU Coding Standards[1], they refer to sending text
> output to a device (terminal or otherwise). They say nothing about
> sending binary data to a terminal.
>
> In my opinion, binary data like a tar archive or a compressed file
> should neither be read from nor written to a terminal. In fact writing
> binary data to a terminal can be more destructive (require the use of
> 'reset') than reading binary data from it.
>
> [1] http://www.gnu.org/prep/standards/html_node/User-Interfaces.html
Then let's see if we can get the GNU Coding Standards updated to clarify
that binary output is indeed different from text output with regards to
the restriction on behaving differently based on an fd being a terminal.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
- Re: [Bug-tar] [patch v3] Bug / question in tar, (continued)
- Re: [Bug-tar] [patch v3] Bug / question in tar, Markus Steinborn, 2014/03/13
- Re: [Bug-tar] [patch v3] Bug / question in tar, Sergey Poznyakoff, 2014/03/20
- Re: [Bug-tar] [patch v3] Bug / question in tar, Pavel Raiskup, 2014/03/20
- Re: [Bug-tar] [patch v3] Bug / question in tar, Sergey Poznyakoff, 2014/03/20
- Re: [Bug-tar] [patch v3] Bug / question in tar, Sergey Poznyakoff, 2014/03/20
- Re: [Bug-tar] [patch v3] Bug / question in tar, Antonio Diaz Diaz, 2014/03/20
- Re: [Bug-tar] [patch v3] Bug / question in tar,
Eric Blake <=
- Re: [Bug-tar] [patch v3] Bug / question in tar, Karl Berry, 2014/03/20
- Re: [Bug-tar] [patch v3] Bug / question in tar, Paul Eggert, 2014/03/20
- Re: [Bug-tar] [patch v3] Bug / question in tar, Karl Berry, 2014/03/20
- Re: [Bug-tar] [patch v3] Bug / question in tar, Karl Berry, 2014/03/25
- Re: [Bug-tar] [patch v3] Bug / question in tar, Pavel Raiskup, 2014/03/26
- Re: [Bug-tar] [patch v3] Bug / question in tar, Joerg Schilling, 2014/03/26
- Re: [Bug-tar] [patch v3] Bug / question in tar, Paul Eggert, 2014/03/26
- Re: [Bug-tar] [patch v3] Bug / question in tar, Tim Kientzle, 2014/03/29
- Re: [Bug-tar] [patch v3] Bug / question in tar, Paul Eggert, 2014/03/29
- Re: [Bug-tar] [patch v3] Bug / question in tar, Tim Kientzle, 2014/03/29