public inbox for linux-man@vger.kernel.org
 help / color / mirror / Atom feed
From: Kir Kolyshkin <kir-GEFAQzZX7r8dnm+yROfE0A@public.gmane.org>
To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org,
	linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Cc: Lesya Novaselskaya <shams-GEFAQzZX7r8dnm+yROfE0A@public.gmane.org>
Subject: [PATCH] ascii(7) fix
Date: Wed, 11 Feb 2009 12:39:14 +0300	[thread overview]
Message-ID: <49929CC2.60204@openvz.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 420 bytes --]

Hi Michael,

I just tried to print ascii(7) and found out the tables on the second 
page (compact ascii in hex and dec) are screwed because they do not use 
monospaced font. This is of course can not be seen on the terminal.

Attached patch (against man-pages-3.18) fixes that by adding the proper 
.fn (code copy-pasted from the first table). I checked the result both 
in the terminal and on printer.

Regards,
  Kir.

[-- Attachment #2: man-pages-3.18-ascii.7.patch --]
[-- Type: text/plain, Size: 1163 bytes --]

diff -urN man-pages-3.18/man7/ascii.7 man-pages-3.18-my/man7/ascii.7
--- man-pages-3.18/man7/ascii.7	2009-02-09 05:14:24.000000000 +0300
+++ man-pages-3.18-my/man7/ascii.7	2009-02-11 12:34:35.000000000 +0300
@@ -30,6 +30,7 @@
 .\" Modified 1999-05-31 by Dimitri Papadopoulos (dpo@club-internet.fr)
 .\" Modified 1999-08-08 by Michael Haardt (michael@moria.de)
 .\" Modified 2004-04-01 by aeb
+.\" Modified 2009-02-11 by Kir Kolyshkin (kir@openvz.org)
 .\"
 .TH ASCII 7 2009-02-04 "Linux" "Linux Programmer's Manual"
 .SH NAME
@@ -113,7 +114,7 @@
 072	58	3A	:	172	122	7A	z
 073	59	3B	;	173	123	7B	{
 074	60	3C	<	174	124	7C	|
-075	61	3D	= 	175	125	7D	}
+075	61	3Di	= 	175	125	7D	}
 076	62	3E	>	176	126	7E	~
 077	63	3F	?	177	127	7F	DEL
 .TE
@@ -125,6 +126,10 @@
 For convenience, let us give more compact tables in hex and decimal.
 .sp
 .nf
+.if t \{\
+.in 1i
+.ft CW
+\}
    2 3 4 5 6 7       30 40 50 60 70 80 90 100 110 120
  -------------      ---------------------------------
 0:   0 @ P \` p     0:    (  2  <  F  P  Z  d   n   x
@@ -143,6 +148,10 @@
 D: \- = M ] m }
 E: . > N ^ n ~
 F: / ? O _ o DEL
+.if t \{\
+.in
+.ft P
+\}
 .fi
 .SH NOTES
 .SS History

             reply	other threads:[~2009-02-11  9:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-11  9:39 Kir Kolyshkin [this message]
     [not found] ` <49929CC2.60204-GEFAQzZX7r8dnm+yROfE0A@public.gmane.org>
2009-02-11 19:20   ` [PATCH] ascii(7) fix Michael Kerrisk
     [not found]     ` <cfd18e0f0902111120x29210768i2ec6eff12076e9f8-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-02-12  6:52       ` Kir Kolyshkin
     [not found]         ` <4993C714.5000604-GEFAQzZX7r8dnm+yROfE0A@public.gmane.org>
2009-02-12 10:16           ` Michael Kerrisk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=49929CC2.60204@openvz.org \
    --to=kir-gefaqzzx7r8dnm+yrofe0a@public.gmane.org \
    --cc=linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=shams-GEFAQzZX7r8dnm+yROfE0A@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox