On Wed, 1 Feb 2017 10:28:06 +0100 Mattias Andrée <[email protected]> wrote:
Hey Matthias, > diff --git a/config.def.h b/config.def.h > new file mode 100644 > index 0000000..14e1440 > --- /dev/null > +++ b/config.def.h > @@ -0,0 +1,19 @@ > +/* See LICENSE file for copyright and license details. */ > + > +#define GROFF "/usr/bin/groff" > + > +#define GUNZIP "exec /usr/bin/gunzip" > +#define UNCOMPRESS "exec /usr/bin/uncompress" > +#define BUNZIP2 "exec /usr/bin/bunzip2" > +#define UNXZ "exec /usr/bin/unxz" > +#define UNLZMA "exec /usr/bin/unlzma" > +#define LUNZIP "exec /usr/bin/lzip -d" > +#define UNLZ4 "exec /usr/bin/unlz4" > + > +#define MANPATHTRANS "/=/usr" > +#define MANPATH "/usr/local/share/man:/usr/share/man" > +#define MANSECT > "3p:3:0:2:1:8:n:l:5:4:6:7:x:9:a:b:c:d:e:f:g:h:i:j:k:l:m:o:p:q:r:s:t:u:v:w:u:y:z" > +#define MANBINSECT "1:8" +#define MANETCSECT "5" > +#define MANCOMP > "gz="GUNZIP":z="GUNZIP":Z="UNCOMPRESS":bz2="BUNZIP2":xz="UNXZ":lzma="UNLZMA":lz="LUNZIP":lz4="UNLZ4 > +#define MANPAGER "exec /usr/bin/less" diff --git a/man.1 b/man.1 isn't adding man(1) a bit of an overkill? I mean, no offense, but you make a lot of assumptions about the environment there (e.g. the PATH, which you just "overwrite" as "/usr/bin"). Maybe you all discussed this IRC, but as I already said Matthias, I really am impressed every time you propose changes like these. Not everybody could churn out such a program. However, in case it is rejected, I fear you are discouraged from working on sbase or other suckless projects, especially given the magnitude of man(1) and other endeavours. Feel free to start a thread here on the ml, asking for the need of such tools before starting work on them. With best regards Laslo -- Laslo Hunhold <[email protected]>
