GNU logs - #21571, boring messages


Message sent to bug-coreutils@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#21571: [patches] some small message improvements
Resent-From: Benno Schulenberg <bensberg@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-coreutils@HIDDEN
Resent-Date: Sun, 27 Sep 2015 07:59:01 +0000
Resent-Message-ID: <handler.21571.B.144334070121334 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 21571
X-GNU-PR-Package: coreutils
X-GNU-PR-Keywords: patch
To: 21571 <at> debbugs.gnu.org
X-Debbugs-Original-To: Coreutils <bug-coreutils@HIDDEN>
Received: via spool by submit <at> debbugs.gnu.org id=B.144334070121334
          (code B ref -1); Sun, 27 Sep 2015 07:59:01 +0000
Received: (at submit) by debbugs.gnu.org; 27 Sep 2015 07:58:21 +0000
Received: from localhost ([127.0.0.1]:45488 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1Zg6qi-0005Y2-TQ
	for submit <at> debbugs.gnu.org; Sun, 27 Sep 2015 03:58:21 -0400
Received: from eggs.gnu.org ([208.118.235.92]:41832)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <bensberg@HIDDEN>) id 1Zg6qg-0005Xs-Pa
 for submit <at> debbugs.gnu.org; Sun, 27 Sep 2015 03:58:19 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <bensberg@HIDDEN>) id 1Zg6qf-0008H5-B2
 for submit <at> debbugs.gnu.org; Sun, 27 Sep 2015 03:58:18 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM,
 T_DKIM_INVALID autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:50951)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <bensberg@HIDDEN>) id 1Zg6qf-0008H0-8O
 for submit <at> debbugs.gnu.org; Sun, 27 Sep 2015 03:58:17 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:51804)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <bensberg@HIDDEN>) id 1Zg6qd-0002YI-QM
 for bug-coreutils@HIDDEN; Sun, 27 Sep 2015 03:58:17 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <bensberg@HIDDEN>) id 1Zg6qZ-0008Dt-Aw
 for bug-coreutils@HIDDEN; Sun, 27 Sep 2015 03:58:15 -0400
Received: from out3-smtp.messagingengine.com ([66.111.4.27]:46769)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <bensberg@HIDDEN>) id 1Zg6qZ-0008Cg-45
 for bug-coreutils@HIDDEN; Sun, 27 Sep 2015 03:58:11 -0400
Received: from compute3.internal (compute3.nyi.internal [10.202.2.43])
 by mailout.nyi.internal (Postfix) with ESMTP id 5AF9C204FD
 for <bug-coreutils@HIDDEN>; Sun, 27 Sep 2015 03:58:09 -0400 (EDT)
Received: from web2 ([10.202.2.212])
 by compute3.internal (MEProxy); Sun, 27 Sep 2015 03:58:09 -0400
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=justemail.net; h=
 content-transfer-encoding:content-type:date:from:message-id
 :mime-version:subject:to:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=ezF
 mFLhfVlwpEKUaA5PDR3WVt3A=; b=EditcAUHkS7T9XmzLqcjRkXhSl9pFlIm7iw
 sNEx3BxNGEfR7uyda3Q4Ftyttq29d3Y1oIEKrKr2Nlqcl7XXU0FSGrU79Pdi6KtM
 We1JVUvY9d97rk0tKueDFi+HJkUZum1/2u3xckh61K8FaGfBwQcSDw+ZeNEuFlmO
 +1TzTufY=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=
 messagingengine.com; h=content-transfer-encoding:content-type
 :date:from:message-id:mime-version:subject:to:x-sasl-enc
 :x-sasl-enc; s=smtpout; bh=ezFmFLhfVlwpEKUaA5PDR3WVt3A=; b=kOr2J
 mlai+C09dwHrZGymT0xqL9BKlN7y2YOjz3qUv237TOcr36QgIR0j+zpGRGxNRzLe
 R63/cED2a2ZT7st9WApb1idF3+0LoNsM72lD6VJEgLs8bNEYPVJngNi8zhv9z1Jd
 q0jsKtwqWkktK4JsTq0M9YqlSYvVyWX1a9FlLI=
Received: by web2.nyi.internal (Postfix, from userid 99)
 id 2A685540075; Sun, 27 Sep 2015 03:58:09 -0400 (EDT)
Message-Id: <1443340689.860523.394560545.226172C1@HIDDEN>
X-Sasl-Enc: ptEPPzVVSwlySDjc34w8FA5aWYN/O4e6eEulDN/qQAiE 1443340689
From: Benno Schulenberg <bensberg@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: multipart/mixed; boundary="_----------=_14433406898605230";
 charset="utf-8"
X-Mailer: MessagingEngine.com Webmail Interface - html
Date: Sun, 27 Sep 2015 09:58:09 +0200
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.3 (----)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.3 (----)

This is a multi-part message in MIME format.

--_----------=_14433406898605230
Content-Transfer-Encoding: 7bit
Content-Type: text/plain


Hi,

Attached three patches (sorry, I can't do 'git send-email' from here)
make some small changes to error messages and option descriptions.

The first patch puts the words "carriage return" and "newline" a bit
wider apart, instead of gluing them together with a hyphen -- this
had confused me up to now.  And it makes the wording for the onlret
option the same as for the ocrnl and onlcr options.  If the latter
change is not correct, please suggest another wording that makes
clear how this option differs from ocrnl and onlcr.

Benno

-- 
http://www.fastmail.com - Email service worth paying for. Try it for free


--_----------=_14433406898605230
Content-Disposition: attachment; filename="0001-stty-improve-the-wording-of-the-CR-LF-translation-op.patch"
Content-Id: <1443340617.860504.01e66fee792b9bc2a7ef0cd649d1e428ef6e7e65.49F6D5CF@HIDDEN>
Content-Transfer-Encoding: base64
Content-Type: text/x-diff; name="0001-stty-improve-the-wording-of-the-CR-LF-translation-op.patch"

RnJvbSBjOGZhM2M4ZGJmYTU4NTEyYWI3ZWZlMGFhMTYyY2I4ZGE3ZmZkYzA5
IE1vbiBTZXAgMTcgMDA6MDA6MDAgMjAwMQpGcm9tOiBCZW5ubyBTY2h1bGVu
YmVyZyA8YmVuc2JlcmdAanVzdGVtYWlsLm5ldD4KRGF0ZTogU3VuLCAyNyBT
ZXAgMjAxNSAwODo1NDowMiArMDIwMApTdWJqZWN0OiBbUEFUQ0ggMS8zXSBz
dHR5OiBpbXByb3ZlIHRoZSB3b3JkaW5nIG9mIHRoZSBDUi1MRiB0cmFuc2xh
dGlvbiBvcHRpb25zCgoqIHNyYy9zdHR5LmM6IE1ha2UgdGhlIGRlc2NyaXB0
aW9uIG9mIHRoZSBvbmxjciBvcHRpb24gc2xpZ2h0bHkgY2xlYXJlciwKYW5k
IGhhcm1vbml6ZSB0aGUgZGVzY3JpcHRpb24gb2Ygb25scmV0IHdpdGggdGhv
c2Ugb2Ygb2NybmwgYW5kIG9ubGNyLgoqIGRvYy9jb3JldXRpbHMudGV4aTog
TGlrZXdpc2UuCi0tLQogZG9jL2NvcmV1dGlscy50ZXhpIHwgICAgNCArKy0t
CiBzcmMvc3R0eS5jICAgICAgICAgfCAgICA0ICsrLS0KIDIgZmlsZXMgY2hh
bmdlZCwgNCBpbnNlcnRpb25zKCspLCA0IGRlbGV0aW9ucygtKQoKZGlmZiAt
LWdpdCBhL2RvYy9jb3JldXRpbHMudGV4aSBiL2RvYy9jb3JldXRpbHMudGV4
aQppbmRleCBhMDI5ZWM2Li5mZjY1YjJlIDEwMDY0NAotLS0gYS9kb2MvY29y
ZXV0aWxzLnRleGkKKysrIGIvZG9jL2NvcmV1dGlscy50ZXhpCkBAIC0xMzkw
OCw3ICsxMzkwOCw3IEBAIFRyYW5zbGF0ZSBjYXJyaWFnZSByZXR1cm4gdG8g
bmV3bGluZS4gIE5vbi1QT1NJWEAuICBNYXkgYmUgbmVnYXRlZC4KIEBpdGVt
IG9ubGNyCiBAb3BpbmRleCBvbmxjcgogQGNpbmRleCBuZXdsaW5lLCB0cmFu
c2xhdGluZyB0byBjcmxmCi1UcmFuc2xhdGUgbmV3bGluZSB0byBjYXJyaWFn
ZSByZXR1cm4tbmV3bGluZS4gIE5vbi1QT1NJWEAuICBNYXkgYmUKK1RyYW5z
bGF0ZSBuZXdsaW5lIHRvIGNhcnJpYWdlIHJldHVybiArIG5ld2xpbmUuICBO
b24tUE9TSVhALiAgTWF5IGJlCiBuZWdhdGVkLgogCiBAaXRlbSBvbm9jcgpA
QCAtMTM5MTgsNyArMTM5MTgsNyBAQCBNYXkgYmUgbmVnYXRlZC4KIAogQGl0
ZW0gb25scmV0CiBAb3BpbmRleCBvbmxyZXQKLU5ld2xpbmUgcGVyZm9ybXMg
YSBjYXJyaWFnZSByZXR1cm4uICBOb24tUE9TSVhALiAgTWF5IGJlIG5lZ2F0
ZWQuCitUcmFuc2xhdGUgbmV3bGluZSB0byBjYXJyaWFnZSByZXR1cm4uICBO
b24tUE9TSVhALiAgTWF5IGJlIG5lZ2F0ZWQuCiAKIEBpdGVtIG9maWxsCiBA
b3BpbmRleCBvZmlsbApkaWZmIC0tZ2l0IGEvc3JjL3N0dHkuYyBiL3NyYy9z
dHR5LmMKaW5kZXggYzAwNTdmMi4uMDgzMzQ3NSAxMDA2NDQKLS0tIGEvc3Jj
L3N0dHkuYworKysgYi9zcmMvc3R0eS5jCkBAIC03NTUsMTIgKzc1NSwxMiBA
QCBPdXRwdXQgc2V0dGluZ3M6XG5cCiAjZW5kaWYKICNpZmRlZiBPTkxDUgog
ICAgICAgZnB1dHMgKF8oIlwKLSAqIFstXW9ubGNyICAgICAgdHJhbnNsYXRl
IG5ld2xpbmUgdG8gY2FycmlhZ2UgcmV0dXJuLW5ld2xpbmVcblwKKyAqIFst
XW9ubGNyICAgICAgdHJhbnNsYXRlIG5ld2xpbmUgdG8gY2FycmlhZ2UgcmV0
dXJuICsgbmV3bGluZVxuXAogIiksIHN0ZG91dCk7CiAjZW5kaWYKICNpZmRl
ZiBPTkxSRVQKICAgICAgIGZwdXRzIChfKCJcCi0gKiBbLV1vbmxyZXQgICAg
IG5ld2xpbmUgcGVyZm9ybXMgYSBjYXJyaWFnZSByZXR1cm5cblwKKyAqIFst
XW9ubHJldCAgICAgdHJhbnNsYXRlIG5ld2xpbmUgdG8gY2FycmlhZ2UgcmV0
dXJuXG5cCiAiKSwgc3Rkb3V0KTsKICNlbmRpZgogI2lmZGVmIE9OT0NSCi0t
IAoxLjcuMC40Cgo=

--_----------=_14433406898605230
Content-Disposition: attachment; filename="0002-stty-remove-an-inconsistent-newline-from-an-error-me.patch"
Content-Id: <1443340624.860511.7209ac92a0f8b34b057114bb6c087cc90724e796.0933D64E@HIDDEN>
Content-Transfer-Encoding: base64
Content-Type: text/x-diff; name="0002-stty-remove-an-inconsistent-newline-from-an-error-me.patch"

RnJvbSA0NGQxMjJiOTIxM2E3YzA4OTU5ZjVkNmMxNjJiZjE2ODdmOWU3NDc4
IE1vbiBTZXAgMTcgMDA6MDA6MDAgMjAwMQpGcm9tOiBCZW5ubyBTY2h1bGVu
YmVyZyA8YmVuc2JlcmdAanVzdGVtYWlsLm5ldD4KRGF0ZTogU3VuLCAyNyBT
ZXAgMjAxNSAwOTowMTo0MiArMDIwMApTdWJqZWN0OiBbUEFUQ0ggMi8zXSBz
dHR5OiByZW1vdmUgYW4gaW5jb25zaXN0ZW50IG5ld2xpbmUgZnJvbSBhbiBl
cnJvciBtZXNzYWdlCgoqIHNyYy9zdHR5LmM6IFJlbW92ZSBhbiBpbmFwcHJv
cHJpYXRlIFxuIGZyb20gd2l0aGluIGFuIGVycm9yIG1lc3NhZ2UuCi0tLQog
c3JjL3N0dHkuYyB8ICAgIDIgKy0KIDEgZmlsZXMgY2hhbmdlZCwgMSBpbnNl
cnRpb25zKCspLCAxIGRlbGV0aW9ucygtKQoKZGlmZiAtLWdpdCBhL3NyYy9z
dHR5LmMgYi9zcmMvc3R0eS5jCmluZGV4IDA4MzM0NzUuLmQ4Y2Q3MzkgMTAw
NjQ0Ci0tLSBhL3NyYy9zdHR5LmMKKysrIGIvc3JjL3N0dHkuYwpAQCAtMTE1
MSw3ICsxMTUxLDcgQEAgbWFpbiAoaW50IGFyZ2MsIGNoYXIgKiphcmd2KQog
ICAvKiBTcGVjaWZ5aW5nIGJvdGggLWEgYW5kIC1nIGdldHMgYW4gZXJyb3Iu
ICAqLwogICBpZiAodmVyYm9zZV9vdXRwdXQgJiYgcmVjb3ZlcmFibGVfb3V0
cHV0KQogICAgIGVycm9yIChFWElUX0ZBSUxVUkUsIDAsCi0gICAgICAgICAg
IF8oInRoZSBvcHRpb25zIGZvciB2ZXJib3NlIGFuZCBzdHR5LXJlYWRhYmxl
IG91dHB1dCBzdHlsZXMgYXJlXG4iCisgICAgICAgICAgIF8oInRoZSBvcHRp
b25zIGZvciB2ZXJib3NlIGFuZCBzdHR5LXJlYWRhYmxlIG91dHB1dCBzdHls
ZXMgYXJlICIKICAgICAgICAgICAgICAibXV0dWFsbHkgZXhjbHVzaXZlIikp
OwogCiAgIC8qIFNwZWNpZnlpbmcgYW55IG90aGVyIGFyZ3VtZW50cyB3aXRo
IC1hIG9yIC1nIGdldHMgYW4gZXJyb3IuICAqLwotLSAKMS43LjAuNAoK

--_----------=_14433406898605230
Content-Disposition: attachment; filename="0003-sync-slightly-improve-the-usage-text.patch"
Content-Id: <1443340628.860521.bd86c5e4df664538868de7dd07babdde4b2c8a48.189DD0EF@HIDDEN>
Content-Transfer-Encoding: base64
Content-Type: text/x-diff; name="0003-sync-slightly-improve-the-usage-text.patch"

RnJvbSA1ZmNhZDc3MDZhZjNhODRhNjZiMmIzYTdhYTM3ZmE2YmI2YzU1MjVh
IE1vbiBTZXAgMTcgMDA6MDA6MDAgMjAwMQpGcm9tOiBCZW5ubyBTY2h1bGVu
YmVyZyA8YmVuc2JlcmdAanVzdGVtYWlsLm5ldD4KRGF0ZTogU3VuLCAyNyBT
ZXAgMjAxNSAwOToxOTo1MiArMDIwMApTdWJqZWN0OiBbUEFUQ0ggMy8zXSBz
eW5jOiBzbGlnaHRseSBpbXByb3ZlIHRoZSB1c2FnZSB0ZXh0CgoqIHNyYy9z
eW5jLmM6IEluZGljYXRlIHRoYXQgbW9yZSB0aGFuIG9uZSBvcHRpb24gaXMg
cG9zc2libGUsIGFuZAphZGQgYSBwZXJpb2QgYXQgdGhlIGVuZCBvZiB0aGUg
ZG9jc3RyaW5nLgotLS0KIHNyYy9zeW5jLmMgfCAgICA0ICsrLS0KIDEgZmls
ZXMgY2hhbmdlZCwgMiBpbnNlcnRpb25zKCspLCAyIGRlbGV0aW9ucygtKQoK
ZGlmZiAtLWdpdCBhL3NyYy9zeW5jLmMgYi9zcmMvc3luYy5jCmluZGV4IDVl
MWRiYjguLjkxMGJhYWQgMTAwNjQ0Ci0tLSBhL3NyYy9zeW5jLmMKKysrIGIv
c3JjL3N5bmMuYwpAQCAtNjEsOSArNjEsOSBAQCB1c2FnZSAoaW50IHN0YXR1
cykKICAgICBlbWl0X3RyeV9oZWxwICgpOwogICBlbHNlCiAgICAgewotICAg
ICAgcHJpbnRmIChfKCJVc2FnZTogJXMgW09QVElPTl0gW0ZJTEVdLi4uXG4i
KSwgcHJvZ3JhbV9uYW1lKTsKKyAgICAgIHByaW50ZiAoXygiVXNhZ2U6ICVz
IFtPUFRJT05dLi4uIFtGSUxFXS4uLlxuIiksIHByb2dyYW1fbmFtZSk7CiAg
ICAgICBmcHV0cyAoXygiXAotU3luY2hyb25pemUgY2FjaGVkIHdyaXRlcyB0
byBwZXJzaXN0ZW50IHN0b3JhZ2VcblwKK1N5bmNocm9uaXplIGNhY2hlZCB3
cml0ZXMgdG8gcGVyc2lzdGVudCBzdG9yYWdlLlxuXAogXG5cCiBJZiBvbmUg
b3IgbW9yZSBmaWxlcyBhcmUgc3BlY2lmaWVkLCBzeW5jIG9ubHkgdGhlbSxc
blwKIG9yIHRoZWlyIGNvbnRhaW5pbmcgZmlsZSBzeXN0ZW1zLlxuXAotLSAK
MS43LjAuNAoK

--_----------=_14433406898605230--





Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.503 (Entity 5.503)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Benno Schulenberg <bensberg@HIDDEN>
Subject: bug#21571: Acknowledgement ([patches] some small message
 improvements)
Message-ID: <handler.21571.B.144334070121334.ack <at> debbugs.gnu.org>
References: <1443340689.860523.394560545.226172C1@HIDDEN>
X-Gnu-PR-Message: ack 21571
X-Gnu-PR-Package: coreutils
X-Gnu-PR-Keywords: patch
Reply-To: 21571 <at> debbugs.gnu.org
Date: Sun, 27 Sep 2015 07:59:02 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-coreutils@HIDDEN

If you wish to submit further information on this problem, please
send it to 21571 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
21571: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D21571
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to bug-coreutils@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#21571: [patches] some small message improvements
Resent-From: =?UTF-8?Q?P=C3=A1draig?= Brady <P@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-coreutils@HIDDEN
Resent-Date: Sun, 27 Sep 2015 10:11:01 +0000
Resent-Message-ID: <handler.21571.B21571.1443348638389 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 21571
X-GNU-PR-Package: coreutils
X-GNU-PR-Keywords: patch
To: Benno Schulenberg <bensberg@HIDDEN>, 21571 <at> debbugs.gnu.org
Received: via spool by 21571-submit <at> debbugs.gnu.org id=B21571.1443348638389
          (code B ref 21571); Sun, 27 Sep 2015 10:11:01 +0000
Received: (at 21571) by debbugs.gnu.org; 27 Sep 2015 10:10:38 +0000
Received: from localhost ([127.0.0.1]:45527 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1Zg8uk-00006D-5l
	for submit <at> debbugs.gnu.org; Sun, 27 Sep 2015 06:10:38 -0400
Received: from mail1.vodafone.ie ([213.233.128.43]:5362)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <P@HIDDEN>) id 1Zg8ug-00005z-Ke
 for 21571 <at> debbugs.gnu.org; Sun, 27 Sep 2015 06:10:35 -0400
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AigFAFy/B1ZtTz88/2dsb2JhbABdglJSgwTBH4JWAoEaTAEBAQEBAYELhCUBAQQyATQiCw0BCgkWDwkDAgECAUUGAQwIAQGILgG8fo4nASuFeIV4hRSELAEEkkKDLpYrkiNjhAI9iVQBAQE
Received: from unknown (HELO localhost.localdomain) ([109.79.63.60])
 by mail1.vodafone.ie with ESMTP; 27 Sep 2015 11:10:32 +0100
References: <1443340689.860523.394560545.226172C1@HIDDEN>
From: =?UTF-8?Q?P=C3=A1draig?= Brady <P@HIDDEN>
X-Enigmail-Draft-Status: N1110
Message-ID: <5607C098.8090103@HIDDEN>
Date: Sun, 27 Sep 2015 11:10:32 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101
 Thunderbird/38.2.0
MIME-Version: 1.0
In-Reply-To: <1443340689.860523.394560545.226172C1@HIDDEN>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.0 (/)

On 27/09/15 08:58, Benno Schulenberg wrote:
> @item onlcr
> @opindex onlcr
> @cindex newline, translating to crlf
> -Translate newline to carriage return-newline.  Non-POSIX@.  May be
> +Translate newline to carriage return + newline.  Non-POSIX@.  May be
>  negated.

Better thanks.

>  @item onocr
> @@ -13918,7 +13918,7 @@ May be negated.
>  
>  @item onlret
>  @opindex onlret
> -Newline performs a carriage return.  Non-POSIX@.  May be negated.
> +Translate newline to carriage return.  Non-POSIX@.  May be negated.

While this new wording doesn't overlaps with other descriptions,
the original wording comes from POSIX.  I don't know that the distinction
here is TBH. Perhaps onlret relates to input while onlcr relates to output?

thanks,
Pįdraig.




Message sent to bug-coreutils@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#21571: [patches] some small message improvements
Resent-From: Andreas Schwab <schwab@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-coreutils@HIDDEN
Resent-Date: Sun, 27 Sep 2015 11:27:02 +0000
Resent-Message-ID: <handler.21571.B21571.14433531817489 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 21571
X-GNU-PR-Package: coreutils
X-GNU-PR-Keywords: patch
To: =?UTF-8?Q?P=C3=A1draig?= Brady <P@HIDDEN>
Cc: 21571 <at> debbugs.gnu.org, Benno Schulenberg <bensberg@HIDDEN>
Received: via spool by 21571-submit <at> debbugs.gnu.org id=B21571.14433531817489
          (code B ref 21571); Sun, 27 Sep 2015 11:27:02 +0000
Received: (at 21571) by debbugs.gnu.org; 27 Sep 2015 11:26:21 +0000
Received: from localhost ([127.0.0.1]:45552 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ZgA60-0001wi-Su
	for submit <at> debbugs.gnu.org; Sun, 27 Sep 2015 07:26:21 -0400
Received: from mail-out.m-online.net ([212.18.0.10]:39602)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <whitebox@HIDDEN>) id 1ZgA5y-0001wa-Tp
 for 21571 <at> debbugs.gnu.org; Sun, 27 Sep 2015 07:26:19 -0400
Received: from frontend01.mail.m-online.net (unknown [192.168.8.182])
 by mail-out.m-online.net (Postfix) with ESMTP id 3nP4Rs2NBhz3hhpT;
 Sun, 27 Sep 2015 13:26:17 +0200 (CEST)
Received: from localhost (dynscan1.mnet-online.de [192.168.6.68])
 by mail.m-online.net (Postfix) with ESMTP id 3nP4Rs0rxmzvh2H;
 Sun, 27 Sep 2015 13:26:17 +0200 (CEST)
X-Virus-Scanned: amavisd-new at mnet-online.de
Received: from mail.mnet-online.de ([192.168.8.182])
 by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavisd-new,
 port 10024)
 with ESMTP id qu5m4qo_ZiUQ; Sun, 27 Sep 2015 13:26:15 +0200 (CEST)
X-Auth-Info: uUQXROYqEI+hA5gxasWIh+7u5En98hwcjMXKTkDsriiXO7/CHwb3hIUlJawj7ABG
Received: from igel.home (host-188-174-216-54.customer.m-online.net
 [188.174.216.54]) by mail.mnet-online.de (Postfix) with ESMTPA;
 Sun, 27 Sep 2015 13:26:15 +0200 (CEST)
Received: by igel.home (Postfix, from userid 1000)
 id 84FC92C1386; Sun, 27 Sep 2015 13:26:15 +0200 (CEST)
From: Andreas Schwab <schwab@HIDDEN>
References: <1443340689.860523.394560545.226172C1@HIDDEN>
 <5607C098.8090103@HIDDEN>
X-Yow: I invented skydiving in 1989!
Date: Sun, 27 Sep 2015 13:26:15 +0200
In-Reply-To: <5607C098.8090103@HIDDEN> ("=?UTF-8?Q?P=C3=A1draig?=
 Brady"'s message of "Sun, 27 Sep 2015 11:10:32 +0100")
Message-ID: <87y4fsgl2g.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)

PƔdraig Brady <P@HIDDEN> writes:

> While this new wording doesn't overlaps with other descriptions,
> the original wording comes from POSIX.  I don't know that the distinction
> here is TBH. Perhaps onlret relates to input while onlcr relates to output?

<http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap11.html#tag_11_02_03>

 If ONLCR is set, the NL character shall be transmitted as the CR-NL
 character pair. If OCRNL is set, the CR character shall be transmitted
 as the NL character. If ONOCR is set, no CR character shall be
 transmitted when at column 0 (first position). If ONLRET is set, the NL
 character is assumed to do the carriage-return function; the column
 pointer shall be set to 0 and the delays specified for CR shall be
 used. Otherwise, the NL character is assumed to do just the line-feed
 function; the column pointer remains unchanged. The column pointer
 shall also be set to 0 if the CR character is actually transmitted.

So ONLRET is mostly about properly keeping track of the column.

Andreas.

-- 
Andreas Schwab, schwab@HIDDEN
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




Message sent to bug-coreutils@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#21571: [patches] some small message improvements
Resent-From: Andreas Schwab <schwab@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-coreutils@HIDDEN
Resent-Date: Sun, 27 Sep 2015 11:31:02 +0000
Resent-Message-ID: <handler.21571.B21571.144335345911029 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 21571
X-GNU-PR-Package: coreutils
X-GNU-PR-Keywords: patch
To: =?UTF-8?Q?P=C3=A1draig?= Brady <P@HIDDEN>
Cc: 21571 <at> debbugs.gnu.org, Benno Schulenberg <bensberg@HIDDEN>
Received: via spool by 21571-submit <at> debbugs.gnu.org id=B21571.144335345911029
          (code B ref 21571); Sun, 27 Sep 2015 11:31:02 +0000
Received: (at 21571) by debbugs.gnu.org; 27 Sep 2015 11:30:59 +0000
Received: from localhost ([127.0.0.1]:45560 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ZgAAV-0002rM-7g
	for submit <at> debbugs.gnu.org; Sun, 27 Sep 2015 07:30:59 -0400
Received: from mail-out.m-online.net ([212.18.0.10]:38530)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <whitebox@HIDDEN>) id 1ZgAAT-0002on-AF
 for 21571 <at> debbugs.gnu.org; Sun, 27 Sep 2015 07:30:57 -0400
Received: from frontend01.mail.m-online.net (unknown [192.168.8.182])
 by mail-out.m-online.net (Postfix) with ESMTP id 3nP4YD6GyDz3hhqC;
 Sun, 27 Sep 2015 13:30:56 +0200 (CEST)
Received: from localhost (dynscan1.mnet-online.de [192.168.6.68])
 by mail.m-online.net (Postfix) with ESMTP id 3nP4YD5fR7zvh29;
 Sun, 27 Sep 2015 13:30:56 +0200 (CEST)
X-Virus-Scanned: amavisd-new at mnet-online.de
Received: from mail.mnet-online.de ([192.168.8.182])
 by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavisd-new,
 port 10024)
 with ESMTP id hgvcIV2myCzj; Sun, 27 Sep 2015 13:30:55 +0200 (CEST)
X-Auth-Info: 9It3whr1DCJ0zbQERwMVY5/GSf5i19w8GJgUqdz+6e86yHuAswspb3fVx/MJLPiM
Received: from igel.home (host-188-174-216-54.customer.m-online.net
 [188.174.216.54]) by mail.mnet-online.de (Postfix) with ESMTPA;
 Sun, 27 Sep 2015 13:30:55 +0200 (CEST)
Received: by igel.home (Postfix, from userid 1000)
 id 46F2B2C1B3D; Sun, 27 Sep 2015 13:30:55 +0200 (CEST)
From: Andreas Schwab <schwab@HIDDEN>
References: <1443340689.860523.394560545.226172C1@HIDDEN>
 <5607C098.8090103@HIDDEN>
X-Yow: ..The TENSION mounts as I MASSAGE your RIGHT ANKLE according to
 ancient Tibetan ACCOUNTING PROCEDURES..are you NEUROTIC yet??
Date: Sun, 27 Sep 2015 13:30:55 +0200
In-Reply-To: <5607C098.8090103@HIDDEN> ("=?UTF-8?Q?P=C3=A1draig?=
 Brady"'s message of "Sun, 27 Sep 2015 11:10:32 +0100")
Message-ID: <87twqggkuo.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)

PƔdraig Brady <P@HIDDEN> writes:

> On 27/09/15 08:58, Benno Schulenberg wrote:
>> @item onlcr
>> @opindex onlcr
>> @cindex newline, translating to crlf
>> -Translate newline to carriage return-newline.  Non-POSIX@.  May be
>> +Translate newline to carriage return + newline.  Non-POSIX@.  May be
>>  negated.
>
> Better thanks.
>
>>  @item onocr
>> @@ -13918,7 +13918,7 @@ May be negated.
>>  
>>  @item onlret
>>  @opindex onlret
>> -Newline performs a carriage return.  Non-POSIX@.  May be negated.
>> +Translate newline to carriage return.  Non-POSIX@.  May be negated.

BTW, non-POSIX is misleading.  Most of those extensions are now part of
POSIX, but XSI shaded.

Andreas.

-- 
Andreas Schwab, schwab@HIDDEN
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




Message sent to bug-coreutils@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#21571: [patches] some small message improvements
Resent-From: Benno Schulenberg <bensberg@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-coreutils@HIDDEN
Resent-Date: Sun, 27 Sep 2015 16:25:01 +0000
Resent-Message-ID: <handler.21571.B21571.14433710878454 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 21571
X-GNU-PR-Package: coreutils
X-GNU-PR-Keywords: patch
To: Andreas Schwab <schwab@HIDDEN>
Cc: 21571 <at> debbugs.gnu.org, =?UTF-8?Q?P=C3=A1draig?= Brady <P@HIDDEN>
Received: via spool by 21571-submit <at> debbugs.gnu.org id=B21571.14433710878454
          (code B ref 21571); Sun, 27 Sep 2015 16:25:01 +0000
Received: (at 21571) by debbugs.gnu.org; 27 Sep 2015 16:24:47 +0000
Received: from localhost ([127.0.0.1]:45809 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ZgEko-0002CI-C4
	for submit <at> debbugs.gnu.org; Sun, 27 Sep 2015 12:24:46 -0400
Received: from out3-smtp.messagingengine.com ([66.111.4.27]:44948)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <bensberg@HIDDEN>) id 1ZgEkm-0002C9-61
 for 21571 <at> debbugs.gnu.org; Sun, 27 Sep 2015 12:24:45 -0400
Received: from compute1.internal (compute1.nyi.internal [10.202.2.41])
 by mailout.nyi.internal (Postfix) with ESMTP id A072B2016B
 for <21571 <at> debbugs.gnu.org>; Sun, 27 Sep 2015 12:24:43 -0400 (EDT)
Received: from web2 ([10.202.2.212])
 by compute1.internal (MEProxy); Sun, 27 Sep 2015 12:24:43 -0400
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=justemail.net; h=
 cc:content-transfer-encoding:content-type:date:from:in-reply-to
 :message-id:mime-version:references:subject:to:x-sasl-enc
 :x-sasl-enc; s=mesmtp; bh=2eAPWsAQ5gn7CjTRq1J+evg78hc=; b=S9Og75
 CZtzT+oHsY6quV2kUHBHh6A5/HfNWeS/aJGthGRnFlW5ijk1+wNuAu+3PpothGX8
 PRW9UsZR1KWQv3cTWSiIMHkfhlaSl1pNv/D+/Huzu5V9avs5R+JAIyiqDh+u6iE5
 kPiUUBKirN0nOZElzktOPtr2OUV3/PK+TTA0o=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:content-transfer-encoding:content-type
 :date:from:in-reply-to:message-id:mime-version:references
 :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=2eAPWsAQ5gn7CjT
 Rq1J+evg78hc=; b=c7L/hsBBVx5DwowOlp8JDMLcu8GqNFmXxztOWZpxB3vVPwB
 HaDu0HmrWruiC0eTyOMJtVhcxKECySwsY/oSAVNrNy88BIt/T/TC0hXdKnc/s1Dc
 6U5aa4/yk6PRDKt/qLL8OV69IVv8kl74CiF9WsjQ731QTk4B7RFlS8OJwpzM=
Received: by web2.nyi.internal (Postfix, from userid 99)
 id 6BDCE54016B; Sun, 27 Sep 2015 12:24:43 -0400 (EDT)
Message-Id: <1443371083.945120.394740825.653E5308@HIDDEN>
X-Sasl-Enc: rJcL1F1xcn1yPFObbsP71o3VWh3nxF2NyP869G7HoAtu 1443371083
From: Benno Schulenberg <bensberg@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain
X-Mailer: MessagingEngine.com Webmail Interface - html
Date: Sun, 27 Sep 2015 18:24:43 +0200
In-Reply-To: <87y4fsgl2g.fsf@HIDDEN>
References: <1443340689.860523.394560545.226172C1@HIDDEN>
 <5607C098.8090103@HIDDEN> <87y4fsgl2g.fsf@HIDDEN>
X-Spam-Score: -0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)


On Sun, Sep 27, 2015, at 13:26, Andreas Schwab wrote:
> <http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap11.html#tag_11_02_03>
> 
>  [...]  If ONLRET is set, the NL character is assumed to do the
> carriage-return function; [...] Otherwise, the NL character is
> assumed to do just the line-feed function; [...]

This wording seems to faintly suggest that ONLRET is meant to
cause NL to do /also/ CR besides doing NL.  Is that whjat is
meant?

Or does it just mean that when ONLRET is set that the receiving
end will do also a CR when a LF is received?  The tty doesn't do
any conversion, it just has to be aware that sending a LF causes
also a CR in order to be able to line things up properly?

Benno

-- 
http://www.fastmail.com - Faster than the air-speed velocity of an
                          unladen european swallow





Message sent to bug-coreutils@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#21571: [patches] some small message improvements
Resent-From: Andreas Schwab <schwab@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-coreutils@HIDDEN
Resent-Date: Sun, 27 Sep 2015 18:15:02 +0000
Resent-Message-ID: <handler.21571.B21571.144337765718422 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 21571
X-GNU-PR-Package: coreutils
X-GNU-PR-Keywords: patch
To: Benno Schulenberg <bensberg@HIDDEN>
Cc: 21571 <at> debbugs.gnu.org, =?UTF-8?Q?P=C3=A1draig?= Brady <P@HIDDEN>
Received: via spool by 21571-submit <at> debbugs.gnu.org id=B21571.144337765718422
          (code B ref 21571); Sun, 27 Sep 2015 18:15:02 +0000
Received: (at 21571) by debbugs.gnu.org; 27 Sep 2015 18:14:17 +0000
Received: from localhost ([127.0.0.1]:45825 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ZgGSn-0004n4-Ah
	for submit <at> debbugs.gnu.org; Sun, 27 Sep 2015 14:14:17 -0400
Received: from mail-out.m-online.net ([212.18.0.10]:59031)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <whitebox@HIDDEN>) id 1ZgGSk-0004mr-0y
 for 21571 <at> debbugs.gnu.org; Sun, 27 Sep 2015 14:14:15 -0400
Received: from frontend01.mail.m-online.net (unknown [192.168.8.182])
 by mail-out.m-online.net (Postfix) with ESMTP id 3nPFVX1VYvz3hhvC;
 Sun, 27 Sep 2015 20:14:12 +0200 (CEST)
Received: from localhost (dynscan1.mnet-online.de [192.168.6.68])
 by mail.m-online.net (Postfix) with ESMTP id 3nPFVW6kgmzvh1p;
 Sun, 27 Sep 2015 20:14:11 +0200 (CEST)
X-Virus-Scanned: amavisd-new at mnet-online.de
Received: from mail.mnet-online.de ([192.168.8.182])
 by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavisd-new,
 port 10024)
 with ESMTP id PvMTDIaYPfnQ; Sun, 27 Sep 2015 20:14:10 +0200 (CEST)
X-Auth-Info: I5FZYrDdm7jGksyqXYUxlHROGyOleK93n5Y428HHVq+6QQfq1pG9afD+7xJeiuKC
Received: from igel.home (host-188-174-216-54.customer.m-online.net
 [188.174.216.54]) by mail.mnet-online.de (Postfix) with ESMTPA;
 Sun, 27 Sep 2015 20:14:10 +0200 (CEST)
Received: by igel.home (Postfix, from userid 1000)
 id 89D3E2C3BBD; Sun, 27 Sep 2015 20:14:10 +0200 (CEST)
From: Andreas Schwab <schwab@HIDDEN>
References: <1443340689.860523.394560545.226172C1@HIDDEN>
 <5607C098.8090103@HIDDEN> <87y4fsgl2g.fsf@HIDDEN>
 <1443371083.945120.394740825.653E5308@HIDDEN>
X-Yow: TATTOOED MIDGETS are using ALFREDO in their SALAMI FACTORY!
Date: Sun, 27 Sep 2015 20:14:10 +0200
In-Reply-To: <1443371083.945120.394740825.653E5308@HIDDEN>
 (Benno Schulenberg's message of "Sun, 27 Sep 2015 18:24:43 +0200")
Message-ID: <87pp13hgr1.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)

Benno Schulenberg <bensberg@HIDDEN> writes:

> Or does it just mean that when ONLRET is set that the receiving
> end will do also a CR when a LF is received?  The tty doesn't do
> any conversion, it just has to be aware that sending a LF causes
> also a CR in order to be able to line things up properly?

Yes.

Andreas.

-- 
Andreas Schwab, schwab@HIDDEN
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




Message sent to bug-coreutils@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#21571: [patches] some small message improvements
Resent-From: Benno Schulenberg <bensberg@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-coreutils@HIDDEN
Resent-Date: Mon, 28 Sep 2015 11:08:01 +0000
Resent-Message-ID: <handler.21571.B21571.144343843931094 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 21571
X-GNU-PR-Package: coreutils
X-GNU-PR-Keywords: patch
To: Andreas Schwab <schwab@HIDDEN>
Cc: 21571 <at> debbugs.gnu.org, =?UTF-8?Q?P=C3=A1draig?= Brady <P@HIDDEN>
Received: via spool by 21571-submit <at> debbugs.gnu.org id=B21571.144343843931094
          (code B ref 21571); Mon, 28 Sep 2015 11:08:01 +0000
Received: (at 21571) by debbugs.gnu.org; 28 Sep 2015 11:07:19 +0000
Received: from localhost ([127.0.0.1]:46257 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ZgWH9-00085S-D5
	for submit <at> debbugs.gnu.org; Mon, 28 Sep 2015 07:07:19 -0400
Received: from out3-smtp.messagingengine.com ([66.111.4.27]:53912)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <bensberg@HIDDEN>) id 1ZgWH7-00085G-BS
 for 21571 <at> debbugs.gnu.org; Mon, 28 Sep 2015 07:07:18 -0400
Received: from compute1.internal (compute1.nyi.internal [10.202.2.41])
 by mailout.nyi.internal (Postfix) with ESMTP id E036820475
 for <21571 <at> debbugs.gnu.org>; Mon, 28 Sep 2015 07:07:16 -0400 (EDT)
Received: from web2 ([10.202.2.212])
 by compute1.internal (MEProxy); Mon, 28 Sep 2015 07:07:16 -0400
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=justemail.net; h=
 cc:content-transfer-encoding:content-type:date:from:in-reply-to
 :message-id:mime-version:references:subject:to:x-sasl-enc
 :x-sasl-enc; s=mesmtp; bh=huNazryTQ8CBDPppvomYdM60gYg=; b=cM/gCk
 GRMw/fDNHlTohOpDku2OLOm1ABXiQXzm8Ui4ONC8reDq/EnWse6rvrBXbvR6Wuak
 wAwJoUm4cB/+WEBi9laPEDpdJMg3nGYssCl9CvOPEzxfsofmxQcbGPKAsHBGjxaY
 cYsmqk9od4BDiWyg+C6lV14AXGNZcgy/Bfmr8=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:content-transfer-encoding:content-type
 :date:from:in-reply-to:message-id:mime-version:references
 :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=huNazryTQ8CBDPp
 pvomYdM60gYg=; b=Doo9d1lE/7AVlmhgzuZVM56MtMAgPSWMVYGP9OrUUNv7RDZ
 Aaez0vsDPeZ57E1L4uuYs0re8EziW3FRcuS7xWuzwLyYIiIb9ReZ0wt103yz2c5B
 lHZ/G4JQ3L9fDJVbhFFXOkorUI+SRxcBJepYA14ZjnxFlKzYoQPDTcrS6LqY=
Received: by web2.nyi.internal (Postfix, from userid 99)
 id AF65F54007F; Mon, 28 Sep 2015 07:07:16 -0400 (EDT)
Message-Id: <1443438436.142433.395300297.3343B916@HIDDEN>
X-Sasl-Enc: cAAKZTDFfjk6AFFymhcieLlm4928J1jNKpa7w4Gb/I2s 1443438436
From: Benno Schulenberg <bensberg@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain
X-Mailer: MessagingEngine.com Webmail Interface - html
Date: Mon, 28 Sep 2015 13:07:16 +0200
In-Reply-To: <87pp13hgr1.fsf@HIDDEN>
References: <1443340689.860523.394560545.226172C1@HIDDEN>
 <5607C098.8090103@HIDDEN> <87y4fsgl2g.fsf@HIDDEN>
 <1443371083.945120.394740825.653E5308@HIDDEN>
 <87pp13hgr1.fsf@HIDDEN>
X-Spam-Score: -0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)


On Sun, Sep 27, 2015, at 20:14, Andreas Schwab wrote:
> Benno Schulenberg <bensberg@HIDDEN> writes:
> > Or does it just mean that when ONLRET is set that the receiving
> > end will do also a CR when a LF is received?  The tty doesn't do
> > any conversion, it just has to be aware that sending a LF causes
> > also a CR in order to be able to line things up properly?
> 
> Yes.

Hm.  But the termios layer cannot know whether the sender is
aware that NL also causes a carriage return, so it cannot take
any compensatory action on the data coming through.  So, ONLRET
by itself does not do anything at all.  Only when combined with
ONOCR does it have an effect: not only after a CR but also after
an NL any subsequent CRs are discarded, until some printable
character moves the cursor out of column zero again.  Right?

Maybe then the documentation should mention that ONLRET
is only useful in combination with ONOCR?  Because otherwise
the introduction of the "Output settings" section is somewhat
misleading: "These settings control operations on data sent to
the terminal."  As ONLRET does not cause anything to be done
with the data unless ONOCR is set.


Glibc only documents ONLCR, not OCRNL nor ONLRET nor ONOCR.
Is that just a lack of documentation?  Or does it mean that
the latter three flags are in effect nonfunctional?

Benno

-- 
http://www.fastmail.com - Access your email from home and the web






Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.