Bug#281124: marked as done (vim: Various very very minor things regarding xxd's manpage)

Debian Bug Tracking System owner@bugs.debian.org
Sun, 20 Mar 2005 09:33:59 -0800


Your message dated Sun, 20 Mar 2005 12:18:10 -0500
with message-id <E1DD442-0004ZX-00@newraff.debian.org>
and subject line Bug#281124: fixed in vim 1:6.3-067+1
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 13 Nov 2004 22:00:05 +0000
>From nicolas.francois@centraliens.net Sat Nov 13 14:00:05 2004
Return-path: <nicolas.francois@centraliens.net>
Received: from relay-4v.club-internet.fr [194.158.96.115] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1CT5wD-000556-00; Sat, 13 Nov 2004 14:00:05 -0800
Received: from nekral.homelinux.net (f09v-11-228.d1.club-internet.fr [212.194.190.228])
	by relay-4v.club-internet.fr (Postfix) with ESMTP id 6B0425D2D;
	Sat, 13 Nov 2004 23:00:01 +0100 (CET)
Received: by nekral.homelinux.net (Postfix, from userid 1000)
	id 6E162A715F; Sat, 13 Nov 2004 23:00:01 +0100 (CET)
Date: Sat, 13 Nov 2004 23:00:01 +0100
From: Nicolas =?iso-8859-1?Q?Fran=E7ois?= <nicolas.francois@centraliens.net>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: vim: Various very very minor things regarding xxd's manpage
Message-ID: <20041113220001.GA17303@nekral.homelinux.net>
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="ikeVEW9yuYc//A+q"
Content-Disposition: inline
X-Reportbug-Version: 3.2
User-Agent: Mutt/1.5.6+20040907i
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 


--ikeVEW9yuYc//A+q
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Package: vim
Version: 1:6.3-025+1
Severity: minor
File: /usr/bin/xxd
Tags: patch

Hello,

I'm commenting the attached patch:
(every type of correction is commented only once)


< .BR uuencode(1)
> .BR uuencode (1)
I think .BR was used to alternate bold and regular. This way, uuencode is
in bold, and (1) in the regular font.

< .RB \` \- '
> .RB ` \- '
\` is the grave accent. ` will make a very cute single quote.
(This only makes a difference on UTF-8 terminals)

< This option writes octets as eight digits "1"s and "0"s instead of a normal
> This option writes bytes as eight digits "1"s and "0"s instead of a normal
s/octet/byte/

< .I \-r
< : revert with
> .IR \-r :
> revert with
This permits to avoid the extra space between -r and the colon.

< .I \-s [\+][\-]seek
> .I \-s [+][\-]seek
No need to escape plus signs

< \fI \+ \fR: before the current stdin file position).
> \fI+\fR: before the current stdin file position).
Idem, and remove an extra space, which tells groff not to continue on the
same line.

< \fI% xxd \-i \< file\fR
> \fI% xxd \-i < file\fR
No need to escape <

< .I xxd \-s seek
< , as lseek(2) is used to "rewind" input.  A '+'
> .IR "xxd \-s seek" ,
> as lseek(2) is used to "rewind" input.  A '+'
This avoid an extra space between the coma and "seek".

< \fI% sh \-c 'cat > plain_copy; xxd \-s 0 > hex_copy' < file
> \fI% sh \-c "cat > plain_copy; xxd \-s 0 > hex_copy" < file
' is a "cute" single quote. It will annoy users with UTF-8 terminals if
they want to cut & paste this command.

< Hexdump from file position 0x100 ( = 1024-768) on.
> Hexdump from file position 0x100 ( = 1024\-768) on.
minus signs need to be escaped (- is an hyphen, not convenient for cut &
paste on UTF-8 terminals)

< .B file
< \.
> .BR file .
Otherwise, the dot is not displayed

As you can see, all these are very minor.
hth,
-- 
Nekral

--ikeVEW9yuYc//A+q
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="xxd.1.patch"

--- xxd.1.orig	2004-11-13 21:40:07.000000000 +0100
+++ xxd.1	2004-11-13 22:25:51.000000000 +0100
@@ -21,9 +21,9 @@
 creates a hex dump of a given file or standard input.
 It can also convert a hex dump back to its original binary form.
 Like
-.BR uuencode(1)
+.BR uuencode (1)
 and
-.BR uudecode(1)
+.BR uudecode (1)
 it allows the transmission of binary data in a `mail-safe' ASCII representation,
 but has the advantage of decoding to standard output.
 Moreover, it can be used to perform binary file patching.
@@ -34,12 +34,12 @@
 If
 .I infile
 is specified as a
-.RB \` \- '
+.RB ` \- '
 character, then input is taken from standard input.
 If no
 .I outfile
 is given (or a
-.RB \` \- '
+.RB ` \- '
 character is in its place), results are sent to standard output.
 .PP
 Note that a "lazy" parser is used which does not check for more than the first
@@ -61,7 +61,7 @@
 .TP
 .IR \-b " | " \-bits
 Switch to bits (binary digits) dump, rather than hexdump.
-This option writes octets as eight digits "1"s and "0"s instead of a normal
+This option writes bytes as eight digits "1"s and "0"s instead of a normal
 hexacecimal dump. Each line is preceded by a line number in hexadecimal and
 followed by an ascii (or ebcdic) representation. The command line switches
 \-r, \-p, \-i do not work with this mode.
@@ -70,7 +70,7 @@
 .IR "\-c cols " | " \-cols cols"
 format
 .RI < cols >
-octets per line. Default 16 (\-i: 12, \-ps: 30, \-b: 6). Max 256.
+bytes per line. Default 16 (\-i: 12, \-ps: 30, \-b: 6). Max 256.
 .TP
 .IR \-E " | " \-EBCDIC
 Change the character encoding in the righthand column from ASCII to EBCDIC.
@@ -98,7 +98,7 @@
 .IR "\-l len " | " \-len len"
 stop after writing
 .RI  < len >
-octets.
+bytes.
 .TP
 .IR \-p " | " \-ps " | " \-postscript " | " \-plain
 output in postscript continuous hexdump style. Also known as plain hexdump
@@ -115,19 +115,19 @@
 .TP
 .I \-seek offset
 When used after
-.I \-r
-: revert with
+.IR \-r :
+revert with
 .RI < offset >
 added to file positions found in hexdump.
 .TP
-.I \-s [\+][\-]seek
+.I \-s [+][\-]seek
 start at
 .RI < seek >
 bytes abs. (or rel.) infile offset.
-\fI\+ \fRindicates that the seek is relative to the current stdin file position
+\fI+ \fRindicates that the seek is relative to the current stdin file position
 (meaningless when not reading from stdin).  \fI\- \fRindicates that the seek
 should be that many characters from the end of the input (or if combined with
-\fI \+ \fR: before the current stdin file position).
+\fI+\fR: before the current stdin file position).
 Without \-s option, xxd starts at the current file position.
 .TP
 .I \-u
@@ -160,12 +160,12 @@
 .br
 and
 .br
-\fI% xxd \-i \< file\fR
+\fI% xxd \-i < file\fR
 .PP
-.I xxd \-s \+seek
+.I xxd \-s +seek
 may be different from
-.I xxd \-s seek
-, as lseek(2) is used to "rewind" input.  A '+'
+.IR "xxd \-s seek" ,
+as lseek(2) is used to "rewind" input.  A '+'
 makes a difference if the input source is stdin, and if stdin's file position
 is not at the start of the file by the time xxd is started and given its input.
 The following examples may help to clarify (or further confuse!)...
@@ -173,17 +173,17 @@
 Rewind stdin before reading; needed because the `cat' has already read to the
 end of stdin.
 .br
-\fI% sh \-c 'cat > plain_copy; xxd \-s 0 > hex_copy' < file
+\fI% sh \-c "cat > plain_copy; xxd \-s 0 > hex_copy" < file
 .PP
 Hexdump from file position 0x480 (=1024+128) onwards.
 The `+' sign means "relative to the current position", thus the `128' adds to
 the 1k where dd left off.
 .br
-\fI% sh \-c 'dd of=plain_snippet bs=1k count=1; xxd \-s +128 > hex_snippet' < file
+\fI% sh \-c "dd of=plain_snippet bs=1k count=1; xxd \-s +128 > hex_snippet" < file
 .PP
-Hexdump from file position 0x100 ( = 1024-768) on.
+Hexdump from file position 0x100 ( = 1024\-768) on.
 .br
-\fI% sh \-c 'dd of=plain_snippet bs=1k count=1; xxd \-s +-768 > hex_snippet' < file
+\fI% sh \-c "dd of=plain_snippet bs=1k count=1; xxd \-s +\-768 > hex_snippet" < file
 .PP
 However, this is a rare situation and the use of `+' is rarely needed.
 the author prefers to monitor the effect of xxd with strace(1) or truss(1), whenever \-s is used.
@@ -191,20 +191,18 @@
 .PP
 .br
 Print everything but the first three lines (hex 0x30 bytes) of
-.B file
-\.
+.BR file .
 .br
 \fI% xxd \-s 0x30 file
 .PP
 .br
 Print 3 lines (hex 0x30 bytes) from the end of
-.B file
-\.
+.BR file .
 .br
 \fI% xxd \-s \-0x30 file
 .PP
 .br
-Print 120 bytes as continuous hexdump with 40 octets per line.
+Print 120 bytes as continuous hexdump with 40 bytes per line.
 .br
 \fI% xxd \-l 120 \-ps \-c 20 xxd.1\fR
 .br
@@ -222,7 +220,7 @@
 .br
 
 .br
-Hexdump the first 120 bytes of this man page with 12 octets per line.
+Hexdump the first 120 bytes of this man page with 12 bytes per line.
 .br
 \fI% xxd \-l 120 \-c 12 xxd.1\fR
 .br
@@ -260,13 +258,13 @@
 .B output_file
 and prepend 100 bytes of value 0x00.
 .br
-\fI% xxd input_file | xxd \-r \-s 100 \> output_file\fR
+\fI% xxd input_file | xxd \-r \-s 100 > output_file\fR
 .br
 
 .br
 Patch the date in the file xxd.1
 .br
-\fI% echo '0000029: 3574 68' | xxd \-r \- xxd.1\fR
+\fI% echo "0000029: 3574 68" | xxd \-r \- xxd.1\fR
 .br
 \fI% xxd \-s 0x28 \-l 12 \-c 12 xxd.1\fR
 .br
@@ -276,7 +274,7 @@
 Create a 65537 byte file with all bytes 0x00,
 except for the last one which is 'A' (hex 0x41).
 .br
-\fI% echo '010000: 41' | xxd \-r \> file\fR
+\fI% echo "010000: 41" | xxd \-r > file\fR
 .PP
 .br
 Hexdump this file with autoskip.
@@ -293,7 +291,7 @@
 The number after '\-r \-s' adds to the linenumbers found in the file;
 in effect, the leading bytes are suppressed.
 .br
-\fI% echo '010000: 41' | xxd \-r \-s \-0x10000 \> file\fR
+\fI% echo "010000: 41" | xxd \-r \-s \-0x10000 > file\fR
 .PP
 Use xxd as a filter within an editor such as
 .B vim(1)
@@ -356,7 +354,7 @@
 .br
 (c) 1990-1997 by Juergen Weigert
 .br
-<jnweiger@informatik.uni-erlangen.de>
+<jnweiger@informatik.uni\-erlangen.de>
 .LP
 Distribute freely and credit me,
 .br

--ikeVEW9yuYc//A+q--

---------------------------------------
Received: (at 281124-close) by bugs.debian.org; 20 Mar 2005 17:29:34 +0000
>From katie@ftp-master.debian.org Sun Mar 20 09:29:34 2005
Return-path: <katie@ftp-master.debian.org>
Received: from newraff.debian.org [208.185.25.31] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DD4F3-0006NY-00; Sun, 20 Mar 2005 09:29:33 -0800
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1DD442-0004ZX-00; Sun, 20 Mar 2005 12:18:10 -0500
From: Norbert Tretkowski <nobse@debian.org>
To: 281124-close@bugs.debian.org
X-Katie: $Revision: 1.55 $
Subject: Bug#281124: fixed in vim 1:6.3-067+1
Message-Id: <E1DD442-0004ZX-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Sun, 20 Mar 2005 12:18:10 -0500
Delivered-To: 281124-close@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 
X-CrossAssassin-Score: 10

Source: vim
Source-Version: 1:6.3-067+1

We believe that the bug you reported is fixed in the latest version of
vim, which is due to be installed in the Debian FTP archive:

kvim-perl_6.3-067+1_i386.deb
  to pool/main/v/vim/kvim-perl_6.3-067+1_i386.deb
kvim-python_6.3-067+1_i386.deb
  to pool/main/v/vim/kvim-python_6.3-067+1_i386.deb
kvim-ruby_6.3-067+1_i386.deb
  to pool/main/v/vim/kvim-ruby_6.3-067+1_i386.deb
kvim-tcl_6.3-067+1_i386.deb
  to pool/main/v/vim/kvim-tcl_6.3-067+1_i386.deb
kvim_6.3-067+1_i386.deb
  to pool/main/v/vim/kvim_6.3-067+1_i386.deb
vim-common_6.3-067+1_all.deb
  to pool/main/v/vim/vim-common_6.3-067+1_all.deb
vim-doc_6.3-067+1_all.deb
  to pool/main/v/vim/vim-doc_6.3-067+1_all.deb
vim-gnome_6.3-067+1_i386.deb
  to pool/main/v/vim/vim-gnome_6.3-067+1_i386.deb
vim-gtk_6.3-067+1_i386.deb
  to pool/main/v/vim/vim-gtk_6.3-067+1_i386.deb
vim-lesstif_6.3-067+1_i386.deb
  to pool/main/v/vim/vim-lesstif_6.3-067+1_i386.deb
vim-perl_6.3-067+1_i386.deb
  to pool/main/v/vim/vim-perl_6.3-067+1_i386.deb
vim-python_6.3-067+1_i386.deb
  to pool/main/v/vim/vim-python_6.3-067+1_i386.deb
vim-ruby_6.3-067+1_i386.deb
  to pool/main/v/vim/vim-ruby_6.3-067+1_i386.deb
vim-tcl_6.3-067+1_i386.deb
  to pool/main/v/vim/vim-tcl_6.3-067+1_i386.deb
vim_6.3-067+1.diff.gz
  to pool/main/v/vim/vim_6.3-067+1.diff.gz
vim_6.3-067+1.dsc
  to pool/main/v/vim/vim_6.3-067+1.dsc
vim_6.3-067+1_i386.deb
  to pool/main/v/vim/vim_6.3-067+1_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 281124@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Norbert Tretkowski <nobse@debian.org> (supplier of updated vim package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sun, 20 Mar 2005 10:56:11 +0100
Source: vim
Binary: vim-lesstif vim-common vim-doc vim-gnome kvim-ruby vim vim-gtk kvim-perl vim-perl kvim-tcl vim-tiny vim-ruby vim-python vim-tcl kvim-python kvim
Architecture: source i386 all
Version: 1:6.3-067+1
Distribution: unstable
Urgency: low
Maintainer: Debian VIM Maintainers <pkg-vim-maintainers@lists.alioth.debian.org>
Changed-By: Norbert Tretkowski <nobse@debian.org>
Description: 
 kvim       - Vi IMproved - KDE 3.x version
 kvim-perl  - Vi IMproved - KDE 3.x version with Perl scripting support
 kvim-python - Vi IMproved - KDE 3.x version with Python scripting support
 kvim-ruby  - Vi IMproved - KDE 3.x version with Ruby scripting support
 kvim-tcl   - Vi IMproved - KDE 3.x version with TCL scripting support
 vim        - Vi IMproved - enhanced vi editor
 vim-common - Vi IMproved - Common files
 vim-doc    - Vi IMproved - Documentation files
 vim-gnome  - Vi IMproved - GNOME2 Version
 vim-gtk    - Vi IMproved - GTK2 Version
 vim-lesstif - Vi IMproved - LessTif Version
 vim-perl   - Vi IMproved, with perl scripting support
 vim-python - Vi IMproved, with python scripting support
 vim-ruby   - Vi IMproved, with ruby scripting support
 vim-tcl    - Vi IMproved, with tcl scripting support
Closes: 39250 114508 148144 196212 263740 264284 277502 279606 281124 289113 296759 298162 299446 299704
Changes: 
 vim (1:6.3-067+1) unstable; urgency=low
 .
   * New upstream patches (065 to 067), see README.gz for details.
     + 6.3.065: Entering Euro char via digraph doesn't always work.
       (closes: #298162)
 .
   * Norbert Tretkowski <nobse@debian.org>:
     + Added Pierre Habouzit, Torsten Landschoff, Matthijs Mohlmann, Stefano
       Zacchiroli, Alexis Sukrieh and Pepijn de Langen to uploaders.
       (closes: #299446)
     + Added a new patch from Christian Hammers which adds additional keywords
       to /etc/fstab syntax hilighting. (closes: #299704)
     + Modified --with-compiledby value to use $DEBFULLNAME and $DEBEMAIL.
     + Updated tpp syntax file, thanks to Gerfried Fuchs.
     + Changed priority of vim-common package from extra to optional.
 .
   * Pierre Habouzit <pierre.habouzit@m4x.org>:
     + Documented the /etc/vim/{g,}vimrc.local files in README.Debian.
     + Fixed some debcontrol.vim issues:
       - Don't search emails in fields that have not one. (closes: #114508)
       - Fix debcontrolName according to Policy. (closes: #148144)
     + Fixed tutor.vim to use usual locale envvars semantics. (closes: #289113)
     + Added a 16px icon for menu entries too
       (taken from http://www.vim.org/images/vim16x16.xpm). (closes: #39250)
     + Fixed changelog.Debian.gz detection. (closes: #263740)
     + Manpages various fixes:
       - Escape some dashes in vim(1). (closes: #279606)
       - Various fixes for xxd(1). (closes: #281124)
     + Fixed french translation. (closes: #277502)
 .
   * Matthijs Mohlmann <matthijs@cacholong.nl>:
     + Add syntax highlighting for xmodmap. (closes: #296759)
     + Fixed lintian warning unquoted-string-in-menu-item in kvim.menu.
     + Fixed lintian warning spelling-error-in-readme-debian (adviced should
       be advised).
     + Changed current maintainer in copyright file.
     + Fixed lintian warning package-relation-with-self in kvim.
     + Fixed lintian warning binary-has-unneeded-section in vim (added
       dh_strip).
     + Added depends on vim in vim-doc.
 .
   * Alexis Sukrieh <sukria@sukria.net>:
     + Added a note about UTF-8 related issues in README.Debian.
     + Added debian/patches/108_automake.vim.diff (thanks to Alexander Kogan)
       which enables highlighting of _CPPFLAGS in automake files.
       (closes: #196212)
     + Added debian/patches/109_xdefaults.vim.diff (thanks to Peter De Wachter)
       which fixes bad highlighting when putting a FONT directive in xdefaults.
       (closes: #264284)
 .
   * Stefano Zacchiroli <zack@debian.org>:
     + Added #DEBHELPER# tag to debian/vim-{doc,common}.preinst.
     + Minor cleanup of debian/rules so vim-{doc,common} uses dh_install
       instead of dh_movefiles ("binary" target could now be invoked twice
       after a single "install" invocation), let dh_compress compress README.
Files: 
 3c13a447c35b3b04da6241df1158c40e 1439 editors optional vim_6.3-067+1.dsc
 3cb56d980a683066e5d284e1f1879b1d 475711 editors optional vim_6.3-067+1.diff.gz
 b248fde2782b29d6c9140cc329548ed4 1648868 editors optional vim-doc_6.3-067+1_all.deb
 d51164478476db3bcf2cd1b6c3016972 3422106 editors optional vim-common_6.3-067+1_all.deb
 c40ade1bc2a8c7b41a4b24778234aec5 707606 editors optional vim_6.3-067+1_i386.deb
 33c3772708747b7e186a1917acf021a6 852782 editors extra kvim-perl_6.3-067+1_i386.deb
 c2be95068ea93a3a011771a8da896970 729084 editors extra vim-perl_6.3-067+1_i386.deb
 276b675b8560d45c7df38f4080f2243d 845336 editors extra kvim-python_6.3-067+1_i386.deb
 4cc839a8575d0a0cc8ce17bab915c001 721564 editors extra vim-python_6.3-067+1_i386.deb
 c785b80f25ad06f0910e5bf3e9f5c677 841214 editors extra kvim-ruby_6.3-067+1_i386.deb
 c7c007a1bcbd071deb471b481746efc9 717576 editors extra vim-ruby_6.3-067+1_i386.deb
 c658839b403d86f2d64f9ccf29377874 804058 editors extra kvim-tcl_6.3-067+1_i386.deb
 19892b774ddc7bd9220db02ec4707006 721574 editors extra vim-tcl_6.3-067+1_i386.deb
 f91f166ed347bd6608962b69554c2be7 713938 editors extra vim-gtk_6.3-067+1_i386.deb
 c0f4a20c24158a81f6724507b0c7dbed 656316 editors extra vim-lesstif_6.3-067+1_i386.deb
 90e408cc36e108038ed91fd06543950e 716012 editors extra vim-gnome_6.3-067+1_i386.deb
 551d260d32eb74556c05770f363ad5b4 795456 editors extra kvim_6.3-067+1_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCPa0sr/RnCw96jQERAqFQAJ9/Y8YVx/WglJCEL6GydtDDqv4CdwCgsztX
GiTlpIb2NdQYHmocIsll9Ic=
=0t7Y
-----END PGP SIGNATURE-----