[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[leafnode-list] Re: FQDN and systemd



(reposted because of the size limitation ... really? 40kB?)

On 16/12/14 06:46, MatÄj Cepl wrote:
>> Can I declare the man8/fetchnews.8 charset inline in the roff 
>> sources, or is that charset stuff still out-of-band in the man(1) 
>> configuration? (I haven't looked at F21 yet, and don't have Rawhide 
>> handy.)
> 
> http://lists.freebsd.org/pipermail/freebsd-questions/2011-July/232239.html
> is 2011 (and I would guess our cousins at FreeBSD tend to be a little
> bit behind with GNU programs), and read groff(1) and preconv(1) for
> explanation of -k option for groff and how to mark the encoding of the
> text (either BOM, coding tag, or locale should work), but given you use
> Emacs coding tag anyway, I donât see a problem with marking encoding
> there (see attached patch).
> 
> Even on RHEL-7 (more or less Fedora 18-19) the modified file makes
> 
> $ man -l fetchnews.8.in
> 
> do the right thing (or even man -Tps -l fetchnews.8.in ... see attached;
> even without doing anything else the pipeline was
> /usr/bin/zsoelim | preconv -e UTF-8 | tbl | groff -mandoc -Tps)

Hi, Matthias,

did this patch got lost in the around-Christmas craziness, or there is
something wrong with it? I have also made a merge request
https://gitorious.org/leafnode-2/leafnode-2/merge_requests/5

Best,

MatÄj
-- 
http://www.ceplovi.cz/matej/, Jabber: mcepl@xxxxxxxxxx
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC

Two things fill the heart with renewed and increasing awe and
reverence the more often and the more steadily that they are
meditated on: the starry skies above me and the moral law inside
me.
    -- Immanuel Kant: Critique of Practical Reason


-- 
http://www.ceplovi.cz/matej/, Jabber: mcepl@xxxxxxxxxx
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC

Do not long for the night, when people vanish in their place.
Be careful, do not turn to evil; for you have preferred this to
affliction.
      -- Job 36:20f (NASB)

>From a0fdc735749306d69100826778b858c1f2c36fdf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Mat=C4=9Bj=20Cepl?= <mcepl@xxxxxxx>
Date: Mon, 29 Dec 2014 13:08:49 +0100
Subject: [PATCH] Convert manpages to UTF8 and mark them a ssuch.

---
 applyfilter.8.in      | 3 ++-
 arc4random.3          | 1 +
 checkgroups.8.in      | 3 ++-
 fetchnews.8.in        | 7 ++++---
 filterfile.5.in       | 3 ++-
 leafnode-version.1.in | 2 +-
 leafnode.8.in         | 3 ++-
 mergesort.3           | 1 +
 moderators.5.in       | 3 ++-
 newsq.1.in            | 3 ++-
 rbinit.3              | 1 +
 rbopenlist.3          | 1 +
 rnews.8.in            | 3 ++-
 sendbatch.1.in        | 2 +-
 strlcpy.3             | 1 +
 texpire.8.in          | 3 ++-
 16 files changed, 27 insertions(+), 13 deletions(-)

diff --git a/applyfilter.8.in b/applyfilter.8.in
index 52aaad1..ae70516 100644
--- a/applyfilter.8.in
+++ b/applyfilter.8.in
@@ -1,4 +1,5 @@
-.TH applyfilter 8 "@VERSION@" leafnode Leafnode \" -*- nroff -*-
+.TH applyfilter 8 "@VERSION@" leafnode Leafnode
+.\" -*- mode: troff; coding: utf-8 -*-
 .\"
 .\" Written and copyright 1999 by Cornelius Krasel
 .\" <krasel@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
diff --git a/arc4random.3 b/arc4random.3
index 6b2d4e0..7c16adc 100644
--- a/arc4random.3
+++ b/arc4random.3
@@ -1,4 +1,5 @@
 .\" $OpenBSD: arc4random.3,v 1.2 1997/04/27 22:40:25 angelos Exp $
+.\" -*- mode: troff; coding: utf-8 -*-
 .\" Copyright 1997 Niels Provos <provos@xxxxxxxxxxxxxxxxxxxxxx>
 .\" All rights reserved.
 .\"
diff --git a/checkgroups.8.in b/checkgroups.8.in
index aa50861..1100225 100644
--- a/checkgroups.8.in
+++ b/checkgroups.8.in
@@ -1,4 +1,5 @@
-.TH checkgroups 8 @VERSION@ leafnode Leafnode \" -*- nroff -*-
+.TH checkgroups 8 @VERSION@ leafnode Leafnode
+.\" -*- mode: troff; coding: utf-8 -*-
 .\"
 .\" Written by Arnt Gulbrandsen <agulbra@xxxxxxxx> and copyright 1995-96 Troll
 .\" Tech AS, Postboks 6133 Etterstad, 0602 Oslo, Norway, fax +47 22646949.
diff --git a/fetchnews.8.in b/fetchnews.8.in
index 83fced0..883ecb3 100644
--- a/fetchnews.8.in
+++ b/fetchnews.8.in
@@ -1,4 +1,5 @@
-.TH fetchnews 8 @VERSION@ leafnode Leafnode \" -*- nroff -*-
+.TH fetchnews 8 @VERSION@ leafnode Leafnode
+.\" -*- mode: troff; coding: utf-8 -*-
 .\"
 .\" Written by Arnt Gulbrandsen <agulbra@xxxxxxxx> and copyright 1995-96 Troll
 .\" Tech AS, Postboks 6133 Etterstad, 0602 Oslo, Norway, fax +47 22646949.
@@ -250,9 +251,9 @@ Troll Tech AS, Postboks 6133 Etterstad, 0602 Oslo, Norway, fax +47
 Modified and Copyright 1997 - 2003 by Cornelius Krasel <krasel@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
 Markus Enzenberger <enz@xxxxxxxxxxxxxxxxxxxxxxxxxx>, Randolf Skerka
 <Randolf.Skerka@xxxxxx> and
-Jörg Lüders.
+Jörg Lüders.
 .br
-Written and Copyright 2002 by Jörg Dietrich <joerg@xxxxxxxxxxxx>.
+Written and Copyright 2002 by Jörg Dietrich <joerg@xxxxxxxxxxxx>.
 .br
 Written and Copyright 2002 - 2004 by Ralf Wildenhues <ralf.wildenhues@xxxxxx>.
 .br
diff --git a/filterfile.5.in b/filterfile.5.in
index c24df7c..5ca1ea5 100644
--- a/filterfile.5.in
+++ b/filterfile.5.in
@@ -1,4 +1,5 @@
-.TH filterfile 5 @VERSION@ leafnode Leafnode \" -*- nroff -*-
+.\" -*- mode: troff; coding: utf-8 -*-
+.TH filterfile 5 @VERSION@ leafnode Leafnode
 .SH NAME
 filterfile \- filter configuration file for fetchnews(8)
 
diff --git a/leafnode-version.1.in b/leafnode-version.1.in
index 388821e..da2527d 100644
--- a/leafnode-version.1.in
+++ b/leafnode-version.1.in
@@ -1,4 +1,4 @@
-.\"                                      Hey, EMACS: -*- nroff -*-
+.\" -*- mode: troff; coding: utf-8 -*-
 .\" 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)
diff --git a/leafnode.8.in b/leafnode.8.in
index 9079aa6..12e8d98 100644
--- a/leafnode.8.in
+++ b/leafnode.8.in
@@ -1,4 +1,5 @@
-.TH leafnode 8 @VERSION@ leafnode Leafnode \" -*- nroff -*-
+.TH leafnode 8 @VERSION@ leafnode Leafnode
+.\" -*- mode: troff; coding: utf-8 -*-
 .\"
 .\" Written by Arnt Gulbrandsen <agulbra@xxxxxxxx> and copyright 1995 Troll
 .\" Tech AS, Postboks 6133 Etterstad, 0602 Oslo, Norway, fax +47 22646949.
diff --git a/mergesort.3 b/mergesort.3
index 8ed215b..2ca7210 100644
--- a/mergesort.3
+++ b/mergesort.3
@@ -1,4 +1,5 @@
 .\" Copyright (c) 1990, 1991, 1993
+.\" -*- mode: troff; coding: utf-8 -*-
 .\"	The Regents of the University of California.  All rights reserved.
 .\"
 .\" This code is derived from software contributed to Berkeley by
diff --git a/moderators.5.in b/moderators.5.in
index 04811e8..ec7cd41 100644
--- a/moderators.5.in
+++ b/moderators.5.in
@@ -1,4 +1,5 @@
-.TH moderators 5 @VERSION@ leafnode Leafnode \" -*- nroff -*-
+.TH moderators 5 @VERSION@ leafnode Leafnode
+.\" -*- mode: troff; coding: utf-8 -*-
 .SH NAME
 moderators \- moderator configuration file for fetchnews(8)
 
diff --git a/newsq.1.in b/newsq.1.in
index 289ecae..c72279d 100644
--- a/newsq.1.in
+++ b/newsq.1.in
@@ -1,4 +1,5 @@
-.TH newsq 1 "@VERSION@" leafnode Leafnode \" -*-nroff-*-
+.TH newsq 1 "@VERSION@" leafnode Leafnode
+.\" -*- mode: troff; coding: utf-8 -*-
 .SH NAME
 newsq \- view the leafnode news queue
 .SH SYNOPSIS
diff --git a/rbinit.3 b/rbinit.3
index 8f09a78..aacea3a 100644
--- a/rbinit.3
+++ b/rbinit.3
@@ -1,3 +1,4 @@
+.\" -*- mode: troff; coding: utf-8 -*-
 .\" Copyright 2000 by Damian Ivereigh <damian@xxxxxxxxx>
 .\"
 .\" Permission is granted to make and distribute verbatim copies of this
diff --git a/rbopenlist.3 b/rbopenlist.3
index 782f1c6..d682082 100644
--- a/rbopenlist.3
+++ b/rbopenlist.3
@@ -1,3 +1,4 @@
+.\" -*- mode: troff; coding: utf-8 -*-
 .\" Copyright 2000 by Damian Ivereigh <damian@xxxxxxxxx>
 .\"
 .\" Permission is granted to make and distribute verbatim copies of this
diff --git a/rnews.8.in b/rnews.8.in
index fdda9fc..04dad27 100644
--- a/rnews.8.in
+++ b/rnews.8.in
@@ -1,4 +1,5 @@
-.TH rnews 8 2.0b8_ma10post3.3-CVS leafnode Leafnode \" -*- nroff -*-
+.TH rnews 8 2.0b8_ma10post3.3-CVS leafnode Leafnode
+.\" -*- mode: troff; coding: utf-8 -*-
 .\"
 .\" Written and copyright 1999 by Cornelius Krasel
 .\" <krasel@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
diff --git a/sendbatch.1.in b/sendbatch.1.in
index 38daf39..3bd0e54 100644
--- a/sendbatch.1.in
+++ b/sendbatch.1.in
@@ -1,4 +1,4 @@
-.\"                                      Hey, EMACS: -*- nroff -*-
+.\" -*- mode: troff; coding: utf-8 -*-
 .\" 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)
diff --git a/strlcpy.3 b/strlcpy.3
index b9de708..b38bc56 100644
--- a/strlcpy.3
+++ b/strlcpy.3
@@ -1,4 +1,5 @@
 .\" $OpenBSD: strlcpy.3,v 1.5 1999/06/06 15:17:32 aaron Exp $
+.\" -*- mode: troff; coding: utf-8 -*-
 .\"
 .\" Copyright (c) 1998 Todd C. Miller <Todd.Miller@xxxxxxxxxxxxx>
 .\" All rights reserved.
diff --git a/texpire.8.in b/texpire.8.in
index 222f5b1..9eb92db 100644
--- a/texpire.8.in
+++ b/texpire.8.in
@@ -1,4 +1,5 @@
-.TH texpire 8 "@VERSION@" leafnode Leafnode \" -*- nroff -*-
+.TH texpire 8 "@VERSION@" leafnode Leafnode
+.\" -*- mode: troff; coding: utf-8 -*-
 .\"
 .\" Written by Arnt Gulbrandsen <agulbra@xxxxxxxx> and copyright 1995 Troll
 .\" Tech AS, Postboks 6133 Etterstad, 0602 Oslo, Norway, fax +47 22646949.
-- 
1.8.3.1


-- 
_______________________________________________
leafnode-list mailing list
leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
https://www.dt.e-technik.uni-dortmund.de/mailman/listinfo/leafnode-list
http://leafnode.sourceforge.net/