From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on sa.local.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 From: ibeas@gmx.com (=?utf-8?Q?=C3=81lvar?= Ibeas) To: kbd@lists.altlinux.org Date: Wed, 10 Dec 2014 00:42:44 +0100 Message-ID: <87388ojsp7.fsf@gmx.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Provags-ID: V03:K0:IETkIB4NWtnKYrsroyjJT5BrLKKqkXyOgnvbe45WdzYd27wVqNG TOFp6/AXvPzEGNVLOExv87rVP0ubXUuGP8Aa1GHun10wHXmliN53Ars3FOzbCvM74SM8Wn1 VNMysSHIgcznOQkTCqvwcrbWVULjlVbOoLjkLhp3K6bvPPV0y36dM8aO1e9mn+Zgkf0YYot llCZzNKd0UnKN+WqTjNEg== X-UI-Out-Filterresults: notjunk:1; Subject: [kbd] man page keymaps(5) X-BeenThere: kbd@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: Linux console tools development discussion List-Id: Linux console tools development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Dec 2014 23:42:53 -0000 Archived-At: List-Archive: --=-=-= Content-Type: text/plain Hello, In the man page keymaps(5), there is a table with numbers in the second column with an appearance somehow odd. It is due to the macro '.TP' (which I think is commonly used to create indented paragraphs) and the presence of trailing spaces in the first rows (but not in the last two), needed to get the column aligned. The attached patch renders the table with tabs instead. --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=kbd.patch Content-Description: patch diff --git a/docs/man/man5/keymaps.5 b/docs/man/man5/keymaps.5 index 1b28a29..02cf89d 100644 --- a/docs/man/man5/keymaps.5 +++ b/docs/man/man5/keymaps.5 @@ -104,42 +104,34 @@ The keyboard driver supports 9 modifiers. These modifiers are labeled CtrlL, CtrlR and CapsShift. Each of these modifiers has an associated weight of power of two according to the following table: +.ev table .LP .RS -.TP 24 +.TP 20 .I modifier .I weight -.TP 24 -Shift - 1 -.PD 0 -.TP 24 -AltGr - 2 -.TP 24 -Control - 4 -.TP 24 -Alt - 8 -.TP 24 -ShiftL - 16 -.TP 24 -ShiftR - 32 -.TP 24 -CtrlL - 64 -.TP 24 -CtrlR -128 -.TP 24 -CapsShift -256 -.PD +.P +.ta T 24R +Shift 1 +.br +AltGr 2 +.br +Control 4 +.br +Alt 8 +.br +ShiftL 16 +.br +ShiftR 32 +.br +CtrlL 64 +.br +CtrlR 128 +.br +CapsShift 256 .RE .LP +.ev The effective action of a key is found out by adding up the weights of all the modifiers in effect. By default, no modifiers are in effect, so action number zero, i.e. the one in the first column in a key definition --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable -- =C3=81lvar Ibeas --=-=-=--