From owner-freebsd-doc@FreeBSD.ORG Sat Feb 13 09:10:03 2010 Return-Path: Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9410F1065696 for ; Sat, 13 Feb 2010 09:10:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 53F968FC0A for ; Sat, 13 Feb 2010 09:10:03 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id o1D9A36Z017013 for ; Sat, 13 Feb 2010 09:10:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id o1D9A3Hv017012; Sat, 13 Feb 2010 09:10:03 GMT (envelope-from gnats) Resent-Date: Sat, 13 Feb 2010 09:10:03 GMT Resent-Message-Id: <201002130910.o1D9A3Hv017012@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-doc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Garrett Cooper Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B98A2106566B for ; Sat, 13 Feb 2010 09:06:05 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id A83EC8FC12 for ; Sat, 13 Feb 2010 09:06:05 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o1D965AF079319 for ; Sat, 13 Feb 2010 09:06:05 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o1D9651P079318; Sat, 13 Feb 2010 09:06:05 GMT (envelope-from nobody) Message-Id: <201002130906.o1D9651P079318@www.freebsd.org> Date: Sat, 13 Feb 2010 09:06:05 GMT From: Garrett Cooper To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: docs/143869: [PATCH] Incorrect char number for del X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Feb 2010 09:10:03 -0000 >Number: 143869 >Category: docs >Synopsis: [PATCH] Incorrect char number for del >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Sat Feb 13 09:10:02 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Garrett Cooper >Release: 9-CURRENT >Organization: Ironport >Environment: FreeBSD optimus.local 9.0-CURRENT FreeBSD 9.0-CURRENT #1: Sat Jan 23 20:43:11 PST 2010 root@optimus.zenmetsuhitotuyaneshita.net:/usr/obj/usr/src/sys/OPTIMUS amd64 >Description: hexdump(1) and od(1) both state that the humanized conversion character for del is 0xff (255), when the ascii value for DEL is actually 0x7f (127). The code in conv.c is correct however (from line 169-171): } else if (*p == 0x7f) { *pr->cchar = 's'; (void)printf(pr->fmt, "del"); >How-To-Repeat: n/a >Fix: See attached patch. Patch attached with submission follows: Index: od.1 =================================================================== --- od.1 (revision 203332) +++ od.1 (working copy) @@ -155,7 +155,7 @@ .It "00c FF 00d CR 00e SO 00f SI 010 DLE 011 DC1" .It "012 DC2 013 DC3 014 DC4 015 NAK 016 SYN 017 ETB" .It "018 CAN 019 EM 01a SUB 01b ESC 01c FS 01d GS" -.It "01e RS 01f US 020 SP 0ff DEL" +.It "01e RS 01f US 020 SP 07f DEL" .El .It Cm c Characters in the default character set. Index: hexdump.1 =================================================================== --- hexdump.1 (revision 203332) +++ hexdump.1 (working copy) @@ -258,7 +258,7 @@ .It "\&00C\ FF\t00D\ CR\t00E\ SO\t00F\ SI\t010\ DLE\t011\ DC1 .It "\&012\ DC2\t013\ DC3\t014\ DC4\t015\ NAK\t016\ SYN\t017\ ETB .It "\&018\ CAN\t019\ EM\t01A\ SUB\t01B\ ESC\t01C\ FS\t01D\ GS -.It "\&01E\ RS\t01F\ US\t0FF\ DEL +.It "\&01E\ RS\t01F\ US\t07F\ DEL .El .El .Pp >Release-Note: >Audit-Trail: >Unformatted: