NetBSD Problem Report #52989
From www@NetBSD.org Thu Feb 8 01:40:48 2018
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id 9A6297A18A
for <gnats-bugs@gnats.NetBSD.org>; Thu, 8 Feb 2018 01:40:48 +0000 (UTC)
Message-Id: <20180208014047.849627A231@mollari.NetBSD.org>
Date: Thu, 8 Feb 2018 01:40:47 +0000 (UTC)
From: lists@eitanadler.com
Reply-To: lists@eitanadler.com
To: gnats-bugs@NetBSD.org
Subject: [misc] use standard names for ascii table
X-Send-Pr-Version: www-1.0
>Number: 52989
>Category: misc
>Synopsis: [misc] use standard names for ascii table
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pgoyette
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Feb 08 01:45:00 +0000 2018
>Closed-Date: Thu Feb 08 02:31:06 +0000 2018
>Last-Modified: Thu Feb 08 04:55:00 +0000 2018
>Originator: Eitan Adler
>Release: HEAD
>Organization:
>Environment:
>Description:
>How-To-Repeat:
>Fix:
Index: share/misc/ascii
===================================================================
RCS file: /cvsroot/src/share/misc/ascii,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 ascii
--- share/misc/ascii 21 Mar 1993 09:45:37 -0000 1.1.1.1
+++ share/misc/ascii 8 Feb 2018 01:39:07 -0000
@@ -1,5 +1,5 @@
|000 nul|001 soh|002 stx|003 etx|004 eot|005 enq|006 ack|007 bel|
-|010 bs |011 ht |012 nl |013 vt |014 np |015 cr |016 so |017 si |
+|010 bs |011 ht |012 lf |013 vt |014 ff |015 cr |016 so |017 si |
|020 dle|021 dc1|022 dc2|023 dc3|024 dc4|025 nak|026 syn|027 etb|
|030 can|031 em |032 sub|033 esc|034 fs |035 gs |036 rs |037 us |
|040 sp |041 ! |042 " |043 # |044 $ |045 % |046 & |047 ' |
@@ -16,7 +16,7 @@
|170 x |171 y |172 z |173 { |174 | |175 } |176 ~ |177 del|
| 00 nul| 01 soh| 02 stx| 03 etx| 04 eot| 05 enq| 06 ack| 07 bel|
-| 08 bs | 09 ht | 0a nl | 0b vt | 0c np | 0d cr | 0e so | 0f si |
+| 08 bs | 09 ht | 0a lf | 0b vt | 0c ff | 0d cr | 0e so | 0f si |
| 10 dle| 11 dc1| 12 dc2| 13 dc3| 14 dc4| 15 nak| 16 syn| 17 etb|
| 18 can| 19 em | 1a sub| 1b esc| 1c fs | 1d gs | 1e rs | 1f us |
| 20 sp | 21 ! | 22 " | 23 # | 24 $ | 25 % | 26 & | 27 ' |
@@ -33,7 +33,7 @@
| 78 x | 79 y | 7a z | 7b { | 7c | | 7d } | 7e ~ | 7f del|
| 0 nul| 1 soh| 2 stx| 3 etx| 4 eot| 5 enq| 6 ack| 7 bel|
-| 8 bs | 9 ht | 10 nl | 11 vt | 12 np | 13 cr | 14 so | 15 si |
+| 8 bs | 9 ht | 10 lf | 11 vt | 12 ff | 13 cr | 14 so | 15 si |
| 16 dle| 17 dc1| 18 dc2| 19 dc3| 20 dc4| 21 nak| 22 syn| 23 etb|
| 24 can| 25 em | 26 sub| 27 esc| 28 fs | 29 gs | 30 rs | 31 us |
| 32 sp | 33 ! | 34 " | 35 # | 36 $ | 37 % | 38 & | 39 ' |
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: misc-bug-people->pgoyette
Responsible-Changed-By: pgoyette@NetBSD.org
Responsible-Changed-When: Thu, 08 Feb 2018 01:59:27 +0000
Responsible-Changed-Why:
take
From: Paul Goyette <paul@whooppee.com>
To: gnats-bugs@NetBSD.org
Cc: misc-bug-people@netbsd.org, gnats-admin@netbsd.org, netbsd-bugs@netbsd.org
Subject: Re: misc/52989: [misc] use standard names for ascii table
Date: Thu, 8 Feb 2018 09:58:11 +0800 (+08)
Do you have a definitive/authoritative reference that the ASCII name for
012 is "cr" (carriage return) vs "nl (newline)? I find conflicting
references, but nothing authoritative. (wikipedia comes close, and does
agree with you.)
From: Eitan Adler <lists@eitanadler.com>
To: gnats-bugs@netbsd.org
Cc: pgoyette@netbsd.org, gnats-admin@netbsd.org, netbsd-bugs@netbsd.org
Subject: Re: misc/52989: [misc] use standard names for ascii table
Date: Wed, 7 Feb 2018 18:03:04 -0800
On 7 February 2018 at 18:00, Paul Goyette <paul@whooppee.com> wrote:
> The following reply was made to PR misc/52989; it has been noted by GNATS.
>
> From: Paul Goyette <paul@whooppee.com>
> To: gnats-bugs@NetBSD.org
> Cc: misc-bug-people@netbsd.org, gnats-admin@netbsd.org, netbsd-bugs@netbsd.org
> Subject: Re: misc/52989: [misc] use standard names for ascii table
> Date: Thu, 8 Feb 2018 09:58:11 +0800 (+08)
>
> Do you have a definitive/authoritative reference that the ASCII name for
> 012 is "cr" (carriage return) vs "nl (newline)? I find conflicting
> references, but nothing authoritative. (wikipedia comes close, and does
> agree with you.)
https://www.unicode.org/charts/PDF/U0000.pdf additionally uses CR
instead of NL. I can't find a source for ascii now, but do recall
seeing such in the past.
--
Eitan Adler
From: "Paul Goyette" <pgoyette@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/52989 CVS commit: src/share/man/man7
Date: Thu, 8 Feb 2018 02:29:37 +0000
Module Name: src
Committed By: pgoyette
Date: Thu Feb 8 02:29:37 UTC 2018
Modified Files:
src/share/man/man7: ascii.7
Log Message:
Since this is describing the ASCII character set, use the correct
ASCII abbreviation for character 012. All references I can find
which seem to be even remotely authoritative and/or definitive use
"lf" (for "line feed") rather than "nl" (for "new line").
See https://www.ascii-code.com and https://en.wikipedia.org/wiki/ASCII
From Eitan Adler in PR misc/52989
To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/share/man/man7/ascii.7
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->closed
State-Changed-By: pgoyette@NetBSD.org
State-Changed-When: Thu, 08 Feb 2018 02:31:06 +0000
State-Changed-Why:
Change committed
From: "Paul Goyette" <pgoyette@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/52989 CVS commit: src/share/misc
Date: Thu, 8 Feb 2018 02:37:43 +0000
Module Name: src
Committed By: pgoyette
Date: Thu Feb 8 02:37:43 UTC 2018
Modified Files:
src/share/misc: ascii
Log Message:
Since this is the ASCII charactger set, use the ASCII name for the
012 character - "lf" for "line feed", not "nl" for "new line".
Follow-on from PR misc/52989 (from Eitab Adler)
To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 src/share/misc/ascii
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
From: John Nemeth <jnemeth@cue.bc.ca>
To: gnats-bugs@NetBSD.org, pgoyette@NetBSD.org, netbsd-bugs@netbsd.org,
gnats-admin@netbsd.org, lists@eitanadler.com
Cc:
Subject: Re: misc/52989 ([misc] use standard names for ascii table)
Date: Wed, 7 Feb 2018 20:23:26 -0800
On Feb 8, 2:31am, pgoyette@NetBSD.org wrote:
}
} Synopsis: [misc] use standard names for ascii table
}
} State-Changed-From-To: open->closed
} State-Changed-By: pgoyette@NetBSD.org
} State-Changed-When: Thu, 08 Feb 2018 02:31:06 +0000
} State-Changed-Why:
} Change committed
Actually only have the change requested was committed. The
other half was to change the entry for 014 from "np" to "ff". The
latter is what I have always known it as.
}-- End of excerpt from pgoyette@NetBSD.org
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.