From patchwork Sun Jan 6 13:44:55 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Lindner X-Patchwork-Id: 2677 Return-Path: Received: from nm6.bullet.mail.sg3.yahoo.com (nm6.bullet.mail.sg3.yahoo.com [106.10.148.85]) by open-mesh.org (Postfix) with ESMTPS id 5361B601A74 for ; Sun, 6 Jan 2013 14:45:04 +0100 (CET) Received: from [106.10.166.123] by nm6.bullet.mail.sg3.yahoo.com with NNFMP; 06 Jan 2013 13:45:02 -0000 Received: from [106.10.167.205] by tm12.bullet.mail.sg3.yahoo.com with NNFMP; 06 Jan 2013 13:45:01 -0000 Received: from [127.0.0.1] by smtp178.mail.sg3.yahoo.com with NNFMP; 06 Jan 2013 13:45:01 -0000 X-Yahoo-Newman-Id: 959863.32708.bm@smtp178.mail.sg3.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: 9grP_GAVM1lU8.OcEL.ztmdNJFIMLyfJyVPd_b3jk57l4k1 FxzgIHyQi5.rrPFKKiE96YmsUFH05I5riPchqYRz8zlYmxaEUP_t9h_8OvpL QUyHcdpurflgIdTJ7Fe0nnH_TLIx6pIvXjtobm2K7PGrUFce3PfOkmvlFXQi UV4THnRJT5olK6O5RNfJx_GSoCccezL9.XjRGUBIesbt2vhoo2MWCnRq9zbo GZUsIWvAqAyreeQS1h6PVHTe8fB1EHXufnO9.4R08hYb3J21ZaWmasEWgB6E yieOixj0CMw5zc1VDwVDwJdt0WO1xfRlR94AiIdqjnVT.yxYourg7jeGsOcT efrqw88cKu_ocNQ3sYNh_xPWJngzVZgea2TrrVxIDWGUBbkgYsCS0CVF3R9d 6MT4H25F6ZCmLGZnv0jCCNoN9xPagJh4TdQy_THkURvq8DOdnVW4V5b90vEU 5TEEerl0J66.EUoZLmUi8.yZc X-Yahoo-SMTP: tW.h3tiswBBMXO2coYcbPigGD5Lt6zY_.Zc- Received: from localhost (lindner_marek@42.98.197.144 with plain) by smtp178.mail.sg3.yahoo.com with SMTP; 06 Jan 2013 05:45:01 -0800 PST From: Marek Lindner To: b.a.t.m.a.n@lists.open-mesh.org Date: Sun, 6 Jan 2013 21:44:55 +0800 Message-Id: <1357479895-12659-1-git-send-email-lindner_marek@yahoo.de> X-Mailer: git-send-email 1.7.10.4 Cc: Marek Lindner Subject: [B.A.T.M.A.N.] [PATCHv2] batctl: man page - fix undefined macro warning X-BeenThere: b.a.t.m.a.n@lists.open-mesh.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: The list for a Better Approach To Mobile Ad-hoc Networking List-Id: The list for a Better Approach To Mobile Ad-hoc Networking List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Jan 2013 13:45:06 -0000 A line beginning with ' or . in a groff file has a special meaning and cannot be used for literal text. Instead the interpreter will try to execute it and fail doing so. A zero-width space or reformatting the paragraph can be used as simple workaround. This problem was detected using: LC_ALL=en_US.UTF-8 MANROFFSEQ='' MANWIDTH=80 man --warnings -E UTF-8 -l -Tutf8 -Z man/batctl.8 >/dev/null Reported-by: Pau Koning Signed-off-by: Marek Lindner --- v2: * Use different approach to solve issue as first attempt was too obscure. man/batctl.8 | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/man/batctl.8 b/man/batctl.8 index 62e9de2..7af78e9 100644 --- a/man/batctl.8 +++ b/man/batctl.8 @@ -2,7 +2,7 @@ .\" First parameter, NAME, should be all caps .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection .\" other parameters are allowed: see man(7), man(1) -.TH "BATCTL" "8" "Jan 04, 2010" "Linux" "B.A.T.M.A.N. Advanced Control Tool" +.TH "BATCTL" "8" "Jan 06, 2013" "Linux" "B.A.T.M.A.N. Advanced Control Tool" .\" Please adjust this date whenever revising the manpage. .\" .\" Some roff macros, for reference: @@ -18,6 +18,8 @@ .\" -------------------------------------------------------------------------- .\" Process this file with .\" groff -man batctl.8 -Tutf8 +.\" Retrieve format warnings with +.\" man --warnings batctl.8 > /dev/null .\" -------------------------------------------------------------------------- .ad l .SH NAME @@ -100,8 +102,8 @@ replace the MAC addresses with bat\-host names in the output. .br .IP "\fBgw_mode|gw\fP [\fBoff\fP|\fBclient\fP|\fBserver\fP] [\fBsel_class|bandwidth\fP]\fP" If no parameter is given the current gateway mode is displayed otherwise the parameter is used to set the gateway mode. The -second (optional) argument specifies the selection class (if 'client' was the first argument) or the gateway bandwidth (if -'server' was the first argument). If the node is a server this parameter is used to inform other nodes in the network about +second (optional) argument specifies the selection class (if 'client' was the first argument) or the gateway bandwidth (if 'server' +was the first argument). If the node is a server this parameter is used to inform other nodes in the network about this node's internet connection bandwidth. Just enter any number (optionally followed by "kbit" or "mbit") and the batman-adv module will guess your appropriate gateway class. Use "/" to separate the down\(hy and upload rates. You can omit the upload rate and the module will assume an upload of download / 5.