Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

I haven't lost my mind -- it's backed up on tape somewhere.


devel / comp.unix.programmer / Re: C and Make

SubjectAuthor
* Re: C and Makevallor
`* Re: C and Makebart
 `* Re: C and MakeScott Lurndal
  +* Re: C and MakeLew Pitcher
  |`* Re: C and MakeKeith Thompson
  | `* Re: C and MakeLew Pitcher
  |  `* Re: C and MakeKeith Thompson
  |   +- Re: C and MakeLew Pitcher
  |   +* Re: C and MakeScott Lurndal
  |   |`- Re: C and MakeGary R. Schmidt
  |   `- Re: C and MakeLawrence D'Oliveiro
  `* Re: C and MakeLawrence D'Oliveiro
   `* Re: C and MakeScott Lurndal
    `* Re: C and MakeLawrence D'Oliveiro
     +* Re: C and MakeScott Lurndal
     |`* Re: C and MakeLawrence D'Oliveiro
     | `* Re: C and MakeScott Lurndal
     |  +* Re: C and MakeLawrence D'Oliveiro
     |  |`* Re: C and MakeScott Lurndal
     |  | `- Re: C and MakeKeith Thompson
     |  `* PDF viewer ( was Re: C and Make)Janis Papanagnou
     |   +* Re: PDF viewerJulieta Shem
     |   |`* Re: PDF viewerKaz Kylheku
     |   | `- Re: PDF viewerJulieta Shem
     |   +* One bad PDF don't spoil the whole bunch... (Was: PDF viewer ( was Re: C and MakeKenny McCormack
     |   |`* Re: One bad PDF don't spoil the whole bunch... (Was: PDF viewer ( wasJanis Papanagnou
     |   | `- Re: One bad PDF don't spoil the whole bunch... (Was: PDF viewer ( was Re: C and Scott Lurndal
     |   +* Re: PDF viewer ( was Re: C and Make)Scott Lurndal
     |   |`* Re: PDF viewer ( was Re: C and Make)Janis Papanagnou
     |   | `- Re: PDF viewer ( was Re: C and Make)Scott Lurndal
     |   +- Re: PDF viewer ( was Re: C and Make)Keith Thompson
     |   `* Re: PDF viewer ( was Re: C and Make)Lawrence D'Oliveiro
     |    `- Re: PDF viewer ( was Re: C and Make)Andreas Kempe
     `* Re: C and MakeLew Pitcher
      `- Re: C and MakeLew Pitcher

Pages:12
Re: C and Make

<uo47qu$12l9o$3@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=10917&group=comp.unix.programmer#10917

  copy link   Newsgroups: comp.lang.c comp.unix.programmer
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: val...@cultnix.org (vallor)
Newsgroups: comp.lang.c,comp.unix.programmer
Subject: Re: C and Make
Date: Mon, 15 Jan 2024 21:24:46 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 108
Message-ID: <uo47qu$12l9o$3@dont-email.me>
References: <uo1dbu$img2$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 15 Jan 2024 21:24:46 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="32cef619020e1b0dadc1caa5a7639021";
logging-data="1135928"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+GqpP5GwnI/NYnsd15zvVt"
User-Agent: Pan/0.155 (Kherson; fc5a80b gitlab.gnome.org/GNOME/pan.git;
x86_64-pc-linux-gnu)
Cancel-Lock: sha1:bC6WWhYb6QDohgb8ZW0Irz/YI48=
X-Face: \}2`P"_@pS86<'EM:'b.Ml}8IuMK"pV"?FReF$'c.S%u9<Q#U*4QO)$l81M`{Q/n
XL'`91kd%N::LG:=*\35JS0prp\VJN^<s"b#bff@fA7]5lJA.jn,x_d%Md$,{.EZ
 by: vallor - Mon, 15 Jan 2024 21:24 UTC

On Sun, 14 Jan 2024 19:40:46 +0000, bart <bc@freeuk.com> wrote in
<uo1dbu$img2$1@dont-email.me>:

> Started a new thread as the last one went somewhat off-topic regarding
> 'CPP tags'.
>
> Everyone is getting tired of me mouthing off about Make and friends, and
> I'm fed up of not being believed when I talk about the problems it
> introduces.
>
> I thought I'd try one more attempt at finding a small C project that
> used make to see if it really was as bad as I was saying.
>
> There is a small test file I have called piet.c, an esoteric language
> interpreter. I couldn't find the original project but there is one
> called npiet.c (https://www.bertnase.de/npiet/).
>
> It contains these files:
>
> c:\xxx\npiet-1.3f>dir 09/08/2020 12:41 5,574 ChangeLog
> 26/06/2004 16:53 461 config.h.in 09/08/2020 13:18
> 140,516 configure 05/08/2011 19:19 584
> configure.in 06/06/2004 17:48 17,984 COPYING 09/08/2020
> 12:41 <DIR> examples 09/08/2020 12:17 <DIR>
> foo 06/06/2004 12:25 4,771 install-sh 09/08/2020
> 13:18 44 Makefile 04/12/2014 20:59
> 2,743 Makefile.in 05/08/2011 21:26 2,116
> npiet-foogol.1 09/08/2020 13:18 98,071 npiet-foogol.c
> 19/11/2014 19:17 45,555 npiet-foogol.y 04/08/2011
> 21:14 4,446 npiet.1 09/08/2020 12:35 68,150
> npiet.c 29/01/2005 19:29 17,801 npietedit 26/09/2004
> 21:53 1,064 npietedit.1 27/01/2014 17:24
> 1,436 README.npiet
>
> There is a makefile (which only contains the message to run ./configure)
> and a configure script.
>
> If try and do make under Windows, it actually does some tests,
> concluding that I don't have gcc, cc or cl installed, and fails on 'No C
> Compiler'.
>
> If I run this 4800-line script under WSL, it produces a 140-line
> makefile. The makefile tries to build 3 programs, the main 'npiet', and
> two more, but those have dependencies that will fail even under WSL.
>
> Actually, 'npiet' is successfully created, but that fact is lost amongst
> all the errors.
>
> Now that I have a makefile, could it work under Windows for building
> 'npiet.exe'? Apparently not, because the makefile is Linux-specific.
>
> So, under actual Windows, both 'make' and './configure' were useless.
>
> But you will say, This is obviously for Linux, what did you expect?
>
> ===============================
>
> Here I will reveal a secret: as soon as I saw that list of files, and
> saw that make required configure, I tried this anyway:
>
> c:\xxx\npiet-1.3f> mcc npiet Compiling npiet.c to npiet.exe
>
> It just worked! And it seems to run:
>
> c:\xxx\npiet-1.3f> npiet examples\nfib.ppm 0
> 1
> 1
> 2
> 3
> 5
> 8
> 13 21 34 55 89 144 233 377 610 987
>
> (The nfib.ppm file is a block of coloured pixels. You can see examples
> at the link. I've no idea how it works; I just use these as test
> programs.)
>
> Apparently it works on Windows just fine, no thanks to the Readme,
> makefile and configure files.
>
> ===============================
>
> So, I ask again, why this obsession that C developers have with make and
> configure files? It's taken a simple, one-file program and made it
> impossible to build on my favoured OS, if you were to follow the make
> route.
>
> Actually, if I look inside npiet.c, it does explain how to build the
> program with a bare compiler. This is also where I put build info when I
> distribute C programs. To hell with make.

Take a look in your Makefile for other make rules. You
missed another couple of files in the directory, which appear
to be related: npiet-foogol.c and npiet-foogol.y.

The .y is for lex(1) and yacc(1), for which GNU
has flex and bison. What does your all-inclusive
C compiler do with .y files?

Also, if you don't know what it does, try running "man npiet.1" or
"man npiet-foogol.1" in your WSL instance -- the *.1 files are
the man pages.

Finally, it's possible the developer just wanted to try out
autoconf. Can't really know what they were thinking...

--
-v

Re: C and Make

<uo4ght$14are$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=10918&group=comp.unix.programmer#10918

  copy link   Newsgroups: comp.lang.c comp.unix.programmer
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: bc...@freeuk.com (bart)
Newsgroups: comp.lang.c,comp.unix.programmer
Subject: Re: C and Make
Date: Mon, 15 Jan 2024 23:53:34 +0000
Organization: A noiseless patient Spider
Lines: 185
Message-ID: <uo4ght$14are$1@dont-email.me>
References: <uo1dbu$img2$1@dont-email.me> <uo47qu$12l9o$3@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 15 Jan 2024 23:53:33 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="fcbb89fd40114758fadb19769f6fd3cc";
logging-data="1190766"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+2DWlgJZ/xybW03qiWOHMhYYbBto+nyYA="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:xNtuSaZQwTlJHVW2xZEvHv2MfHs=
In-Reply-To: <uo47qu$12l9o$3@dont-email.me>
Content-Language: en-GB
 by: bart - Mon, 15 Jan 2024 23:53 UTC

On 15/01/2024 21:24, vallor wrote:
> On Sun, 14 Jan 2024 19:40:46 +0000, bart <bc@freeuk.com> wrote in
> <uo1dbu$img2$1@dont-email.me>:
>
>> Started a new thread as the last one went somewhat off-topic regarding
>> 'CPP tags'.
>>
>> Everyone is getting tired of me mouthing off about Make and friends, and
>> I'm fed up of not being believed when I talk about the problems it
>> introduces.
>>
>> I thought I'd try one more attempt at finding a small C project that
>> used make to see if it really was as bad as I was saying.
>>
>> There is a small test file I have called piet.c, an esoteric language
>> interpreter. I couldn't find the original project but there is one
>> called npiet.c (https://www.bertnase.de/npiet/).
>>
>> It contains these files:
>>
>> c:\xxx\npiet-1.3f>dir 09/08/2020 12:41 5,574 ChangeLog
>> 26/06/2004 16:53 461 config.h.in 09/08/2020 13:18
>> 140,516 configure 05/08/2011 19:19 584
>> configure.in 06/06/2004 17:48 17,984 COPYING 09/08/2020
>> 12:41 <DIR> examples 09/08/2020 12:17 <DIR>
>> foo 06/06/2004 12:25 4,771 install-sh 09/08/2020
>> 13:18 44 Makefile 04/12/2014 20:59
>> 2,743 Makefile.in 05/08/2011 21:26 2,116
>> npiet-foogol.1 09/08/2020 13:18 98,071 npiet-foogol.c
>> 19/11/2014 19:17 45,555 npiet-foogol.y 04/08/2011
>> 21:14 4,446 npiet.1 09/08/2020 12:35 68,150
>> npiet.c 29/01/2005 19:29 17,801 npietedit 26/09/2004
>> 21:53 1,064 npietedit.1 27/01/2014 17:24
>> 1,436 README.npiet
>>
>> There is a makefile (which only contains the message to run ./configure)
>> and a configure script.
>>
>> If try and do make under Windows, it actually does some tests,
>> concluding that I don't have gcc, cc or cl installed, and fails on 'No C
>> Compiler'.
>>
>> If I run this 4800-line script under WSL, it produces a 140-line
>> makefile. The makefile tries to build 3 programs, the main 'npiet', and
>> two more, but those have dependencies that will fail even under WSL.
>>
>> Actually, 'npiet' is successfully created, but that fact is lost amongst
>> all the errors.
>>
>> Now that I have a makefile, could it work under Windows for building
>> 'npiet.exe'? Apparently not, because the makefile is Linux-specific.
>>
>> So, under actual Windows, both 'make' and './configure' were useless.
>>
>> But you will say, This is obviously for Linux, what did you expect?
>>
>> ===============================
>>
>> Here I will reveal a secret: as soon as I saw that list of files, and
>> saw that make required configure, I tried this anyway:
>>
>> c:\xxx\npiet-1.3f> mcc npiet Compiling npiet.c to npiet.exe
>>
>> It just worked! And it seems to run:
>>
>> c:\xxx\npiet-1.3f> npiet examples\nfib.ppm 0
>> 1
>> 1
>> 2
>> 3
>> 5
>> 8
>> 13 21 34 55 89 144 233 377 610 987
>>
>> (The nfib.ppm file is a block of coloured pixels. You can see examples
>> at the link. I've no idea how it works; I just use these as test
>> programs.)
>>
>> Apparently it works on Windows just fine, no thanks to the Readme,
>> makefile and configure files.
>>
>> ===============================
>>
>> So, I ask again, why this obsession that C developers have with make and
>> configure files? It's taken a simple, one-file program and made it
>> impossible to build on my favoured OS, if you were to follow the make
>> route.
>>
>> Actually, if I look inside npiet.c, it does explain how to build the
>> program with a bare compiler. This is also where I put build info when I
>> distribute C programs. To hell with make.
>
> Take a look in your Makefile for other make rules.

Note: I work on Windows. This stuff only works on systems like Linux.

The makefile doesn't even exist until I go through the configure step.

> You
> missed another couple of files in the directory, which appear
> to be related: npiet-foogol.c and npiet-foogol.y.
>
> The .y is for lex(1) and yacc(1), for which GNU
> has flex and bison. What does your all-inclusive
> C compiler do with .y files?

The project comprises 3 programs:

npiet.c This is a standalone program with no dependencies. It
is the one I want to run.

npietedit.c This needs TCL/TK, which I don't have on my WSL, and
I'm not interested in getting

npiet-foogol.c This one depends on a library called 'GD' which I
don't have.

This last one I believe is generated from the .y file. If I hide it, it
needs to generate it using 'bison'. I don't have that either.

The 'man' stuff is another Linux thing. (groff looks to turn .1 files
into PostScript. Manually using the invocation in the makefile, it
reports that 'html' is an invalid device).

So the configure/make stuff tries to do too much, with two many points
of failure. It means it will fail on two of those three programs because
of dependencies which it does not attempt to fix.

The error reporting however is chaotic: there is no summary of what
worked and what didn't.

So, it is attempting to build multiple applications with assorted
dependencies and processing help files or whatever.

My C compiler ... compiles .c files into a .exe or .dll file. It is
focused on that task.

It will not attempt to install anything. Or generate documentation. That
would be done at another level.

This is a clear demarcation between basic compilation and everything
else, that is missing from the make solution.

At the very least, the makefile could have used sub-makefiles to build
each of the three programs with its own dedicated script.

That could have allowed me to directly invoke the script for the main
npiet.c program, even on Windows.

Of course, any such files would actually need to exist, but they are
synthesised by the configure script, which only works on Unix-like systems.

> Also, if you don't know what it does, try running "man npiet.1" or
> "man npiet-foogol.1" in your WSL instance -- the *.1 files are
> the man pages.

> Finally, it's possible the developer just wanted to try out
> autoconf. Can't really know what they were thinking...
>

I've seen two many examples for this to be just a one-off.

I come across makefiles and the associated stuff in two main situations:

(1) There's a C library I want to build, but it's guarded by this and
mostly it doesn't workk. Even if works under WSL, I need EXE and DLL
files that work on real Windows.

(2) When I need test programs to try out my C compiler on. (Or maybe I
want to use my compiler for (1), but it's the same obstacle.)

Even if 'make' worked on Windows, my compiler is unconventional: it
doesn't use intermediate object files for example, nor a normal linker.
So I couldn't use 'make' with my compiler.

In most cases where I can finally get at the necessary information, it
turns that all that was needed was a LIST OF C SOURCE FILES. That's all.

In some cases however it is complicated by there being some essential
header, even if it only consists of 3 lines, being synthesised by the
build process. It is very frustrating.

Re: C and Make

<QWxpN.207477$PuZ9.188607@fx11.iad>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=10919&group=comp.unix.programmer#10919

  copy link   Newsgroups: comp.lang.c comp.unix.programmer
Path: i2pn2.org!i2pn.org!news.samoylyk.net!tncsrv06.tnetconsulting.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx11.iad.POSTED!not-for-mail
X-newsreader: xrn 9.03-beta-14-64bit
Sender: scott@dragon.sl.home (Scott Lurndal)
From: sco...@slp53.sl.home (Scott Lurndal)
Reply-To: slp53@pacbell.net
Subject: Re: C and Make
Newsgroups: comp.lang.c,comp.unix.programmer
References: <uo1dbu$img2$1@dont-email.me> <uo47qu$12l9o$3@dont-email.me> <uo4ght$14are$1@dont-email.me>
Lines: 17
Message-ID: <QWxpN.207477$PuZ9.188607@fx11.iad>
X-Complaints-To: abuse@usenetserver.com
NNTP-Posting-Date: Tue, 16 Jan 2024 16:13:36 UTC
Organization: UsenetServer - www.usenetserver.com
Date: Tue, 16 Jan 2024 16:13:36 GMT
X-Received-Bytes: 1019
 by: Scott Lurndal - Tue, 16 Jan 2024 16:13 UTC

bart <bc@freeuk.com> writes:
>On 15/01/2024 21:24, vallor wrote:

>The 'man' stuff is another Linux thing.

It predates linux by a quarter century.

$ man manpage.man

formats and displays the nroff document.

The makefile rule to build a PDF version of a man page:

%.pdf: %.man
@$(QUIET) || echo " BUILDPDF $@"
$(HUSHCOMPILE)groff -t -man $< | ps2pdf - > $@

Re: C and Make

<uo6bv7$1g4ih$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=10920&group=comp.unix.programmer#10920

  copy link   Newsgroups: comp.lang.c comp.unix.programmer
Path: i2pn2.org!i2pn.org!news.chmurka.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: lew.pitc...@digitalfreehold.ca (Lew Pitcher)
Newsgroups: comp.lang.c,comp.unix.programmer
Subject: Re: C and Make
Date: Tue, 16 Jan 2024 16:47:35 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 47
Message-ID: <uo6bv7$1g4ih$1@dont-email.me>
References: <uo1dbu$img2$1@dont-email.me> <uo47qu$12l9o$3@dont-email.me>
<uo4ght$14are$1@dont-email.me> <QWxpN.207477$PuZ9.188607@fx11.iad>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 16 Jan 2024 16:47:35 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="0febfcce99679da10a5ff9a2d789486d";
logging-data="1577553"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/jLRpQYUNLt2WhK6YmbHUFlvYqmK5ASj0="
User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508
git://git.gnome.org/pan2)
Cancel-Lock: sha1:ooRxyJwiVEpMyVBBhLIDtfKsfNE=
 by: Lew Pitcher - Tue, 16 Jan 2024 16:47 UTC

On Tue, 16 Jan 2024 16:13:36 +0000, Scott Lurndal wrote:

> bart <bc@freeuk.com> writes:
>>On 15/01/2024 21:24, vallor wrote:
>
>>The 'man' stuff is another Linux thing.
>
> It predates linux by a quarter century.

In 1978, S. R. Bourne, of Bell Labs, wrote a paper called
"An Introduction to the UNIX shell". Section 2.10 of this
document gives a brief overview of how to access the online
version of the UNIX manual, concluding with a short shell
script that implemented the man(1) command.

> $ man manpage.man

Or, if you want to specify the section (given that some
sections have man pages with names that you might find
in other sections):

man section manpage

as in
man 1 mktemp
which describes the program "mktemp", vs
man 3 mktemp
which describes the library function "mktemp()"

The standard sections of the manual include
1 User Commands
2 System Calls
3 C Library Functions
4 Devices and Special Files
5 File Formats and Conventions
6 Games et. Al.
7 Miscellanea
8 System Administration tools and Deamons

>
> formats and displays the nroff document.
[snip]

--
Lew Pitcher
"In Skills We Trust"

Re: C and Make

<87ply1drya.fsf@nosuchdomain.example.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=10921&group=comp.unix.programmer#10921

  copy link   Newsgroups: comp.lang.c comp.unix.programmer
Path: i2pn2.org!i2pn.org!news.samoylyk.net!newsfeed.xs3.de!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Keith.S....@gmail.com (Keith Thompson)
Newsgroups: comp.lang.c,comp.unix.programmer
Subject: Re: C and Make
Date: Tue, 16 Jan 2024 11:00:13 -0800
Organization: None to speak of
Lines: 23
Message-ID: <87ply1drya.fsf@nosuchdomain.example.com>
References: <uo1dbu$img2$1@dont-email.me> <uo47qu$12l9o$3@dont-email.me>
<uo4ght$14are$1@dont-email.me> <QWxpN.207477$PuZ9.188607@fx11.iad>
<uo6bv7$1g4ih$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: dont-email.me; posting-host="b236ba6cb45317426292c3059fdb0a3e";
logging-data="1661846"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19UwqukETDyE1p7hceZm+Pc"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
Cancel-Lock: sha1:FdOJ8ZB9J+TnL5gQI/Z8bFLxPkI=
sha1:+Bcb0DNIEkuljO/53RX/id2TkI8=
 by: Keith Thompson - Tue, 16 Jan 2024 19:00 UTC

Lew Pitcher <lew.pitcher@digitalfreehold.ca> writes:
[...]
> Or, if you want to specify the section (given that some
> sections have man pages with names that you might find
> in other sections):
>
> man section manpage
>
> as in
> man 1 mktemp
> which describes the program "mktemp", vs
> man 3 mktemp
> which describes the library function "mktemp()"

You can also type
man mktemp.1
or
man mktemp.3

--
Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com
Working, but not speaking, for Medtronic
void Void(void) { Void(); } /* The recursive call of the void */

Re: C and Make

<uo6knh$1g4ih$2@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=10922&group=comp.unix.programmer#10922

  copy link   Newsgroups: comp.lang.c comp.unix.programmer
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: lew.pitc...@digitalfreehold.ca (Lew Pitcher)
Newsgroups: comp.lang.c,comp.unix.programmer
Subject: Re: C and Make
Date: Tue, 16 Jan 2024 19:17:06 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 50
Message-ID: <uo6knh$1g4ih$2@dont-email.me>
References: <uo1dbu$img2$1@dont-email.me> <uo47qu$12l9o$3@dont-email.me>
<uo4ght$14are$1@dont-email.me> <QWxpN.207477$PuZ9.188607@fx11.iad>
<uo6bv7$1g4ih$1@dont-email.me> <87ply1drya.fsf@nosuchdomain.example.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 16 Jan 2024 19:17:06 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="0febfcce99679da10a5ff9a2d789486d";
logging-data="1577553"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18j+5CWAGufqPjmGNWg62D7URuD+o/qFig="
User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508
git://git.gnome.org/pan2)
Cancel-Lock: sha1:LSWj6gNOg161RSz9Q6FdxukD3N8=
 by: Lew Pitcher - Tue, 16 Jan 2024 19:17 UTC

On Tue, 16 Jan 2024 11:00:13 -0800, Keith Thompson wrote:

> Lew Pitcher <lew.pitcher@digitalfreehold.ca> writes:
> [...]
>> Or, if you want to specify the section (given that some
>> sections have man pages with names that you might find
>> in other sections):
>>
>> man section manpage
>>
>> as in
>> man 1 mktemp
>> which describes the program "mktemp", vs
>> man 3 mktemp
>> which describes the library function "mktemp()"
>
> You can also type
> man mktemp.1
> or
> man mktemp.3

That only works if there's a file called "mktemp.1"
(or "mktemp.3") in your local directory, at least
for the version of man(1) that I have available.

14:15 $ pwd
/home/lpitcher/tmp

14:15 $ ls -la
total 84
drwxr-xr-x 2 lpitcher users 69632 Jan 11 14:33 .
drwxr-xr-x 114 lpitcher users 12288 Jan 16 11:07 ..

14:15 $ man mktemp.3
No manual entry for mktemp.3

14:15 $ man mktemp.1
No manual entry for mktemp.1

14:15 $ man 1 mktemp | wc -l
135

14:15 $ man 3 mktemp | wc -l
74

:-)

--
Lew Pitcher
"In Skills We Trust"

Re: C and Make

<87le8pdquv.fsf@nosuchdomain.example.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=10923&group=comp.unix.programmer#10923

  copy link   Newsgroups: comp.lang.c comp.unix.programmer
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Keith.S....@gmail.com (Keith Thompson)
Newsgroups: comp.lang.c,comp.unix.programmer
Subject: Re: C and Make
Date: Tue, 16 Jan 2024 11:23:52 -0800
Organization: None to speak of
Lines: 38
Message-ID: <87le8pdquv.fsf@nosuchdomain.example.com>
References: <uo1dbu$img2$1@dont-email.me> <uo47qu$12l9o$3@dont-email.me>
<uo4ght$14are$1@dont-email.me> <QWxpN.207477$PuZ9.188607@fx11.iad>
<uo6bv7$1g4ih$1@dont-email.me>
<87ply1drya.fsf@nosuchdomain.example.com>
<uo6knh$1g4ih$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: dont-email.me; posting-host="b236ba6cb45317426292c3059fdb0a3e";
logging-data="1661846"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/AUn9ejJX6Neb1S8tF6YHn"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
Cancel-Lock: sha1:IBGaK8+BW5krIZxFj25ozz3JD8I=
sha1:H1dl8Uz1M+pTcHTaOjiafAGSDcc=
 by: Keith Thompson - Tue, 16 Jan 2024 19:23 UTC

Lew Pitcher <lew.pitcher@digitalfreehold.ca> writes:
> On Tue, 16 Jan 2024 11:00:13 -0800, Keith Thompson wrote:
>> Lew Pitcher <lew.pitcher@digitalfreehold.ca> writes:
>> [...]
>>> Or, if you want to specify the section (given that some
>>> sections have man pages with names that you might find
>>> in other sections):
>>>
>>> man section manpage
>>>
>>> as in
>>> man 1 mktemp
>>> which describes the program "mktemp", vs
>>> man 3 mktemp
>>> which describes the library function "mktemp()"
>>
>> You can also type
>> man mktemp.1
>> or
>> man mktemp.3
>
> That only works if there's a file called "mktemp.1"
> (or "mktemp.3") in your local directory, at least
> for the version of man(1) that I have available.

Interesting.

I have man 2.20.1 on Ubuntu, provided by the "man-db" package.
"man mktemp.1" will look up the corresponding man page in $MANPATH.
If I want to use a local file, I can use an absolute or relative path
with a '/' in it, such as "man ./mktemp.1".

[...]

--
Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com
Working, but not speaking, for Medtronic
void Void(void) { Void(); } /* The recursive call of the void */

Re: C and Make

<uo6lva$1g4ih$3@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=10924&group=comp.unix.programmer#10924

  copy link   Newsgroups: comp.lang.c comp.unix.programmer
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: lew.pitc...@digitalfreehold.ca (Lew Pitcher)
Newsgroups: comp.lang.c,comp.unix.programmer
Subject: Re: C and Make
Date: Tue, 16 Jan 2024 19:38:18 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 66
Message-ID: <uo6lva$1g4ih$3@dont-email.me>
References: <uo1dbu$img2$1@dont-email.me> <uo47qu$12l9o$3@dont-email.me>
<uo4ght$14are$1@dont-email.me> <QWxpN.207477$PuZ9.188607@fx11.iad>
<uo6bv7$1g4ih$1@dont-email.me> <87ply1drya.fsf@nosuchdomain.example.com>
<uo6knh$1g4ih$2@dont-email.me> <87le8pdquv.fsf@nosuchdomain.example.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 16 Jan 2024 19:38:18 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="0febfcce99679da10a5ff9a2d789486d";
logging-data="1577553"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18VhOlAiXAgjPQ843j24oP/J274S/5s9mo="
User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508
git://git.gnome.org/pan2)
Cancel-Lock: sha1:13BcJ4+Sq6yJJW/NSFwuU0tl30g=
 by: Lew Pitcher - Tue, 16 Jan 2024 19:38 UTC

On Tue, 16 Jan 2024 11:23:52 -0800, Keith Thompson wrote:

> Lew Pitcher <lew.pitcher@digitalfreehold.ca> writes:
>> On Tue, 16 Jan 2024 11:00:13 -0800, Keith Thompson wrote:
>>> Lew Pitcher <lew.pitcher@digitalfreehold.ca> writes:
>>> [...]
>>>> Or, if you want to specify the section (given that some
>>>> sections have man pages with names that you might find
>>>> in other sections):
>>>>
>>>> man section manpage
>>>>
>>>> as in
>>>> man 1 mktemp
>>>> which describes the program "mktemp", vs
>>>> man 3 mktemp
>>>> which describes the library function "mktemp()"
>>>
>>> You can also type
>>> man mktemp.1
>>> or
>>> man mktemp.3
>>
>> That only works if there's a file called "mktemp.1"
>> (or "mktemp.3") in your local directory, at least
>> for the version of man(1) that I have available.
>
> Interesting.

Indeed. Perhaps my environment is out of whack.

> I have man 2.20.1 on Ubuntu, provided by the "man-db" package.
> "man mktemp.1" will look up the corresponding man page in $MANPATH.
> If I want to use a local file, I can use an absolute or relative path
> with a '/' in it, such as "man ./mktemp.1".

Here's what my man(1) manual says:
DESCRIPTION
man formats and displays the on-line manual pages. If you specify sec-
tion, man only looks in that section of the manual. name is normally
the name of the manual page, which is typically the name of a command,
function, or file.

However, if name contains a slash (/) then man interprets it as
a file specification, so that you can do man ./foo.5 or even man
/cd/foo/bar.1.gz.

It's that last sentence that catches my eye.

My man(1) is
14:33 $ man -h
man, version 1.6g
distributed as part of Slackware 14.2, from the source maintained by
Federico Lucifredi (flucifredi@acm.org).

It appears to explicitly /not/ be part of the man-db package, stating in
it's README that
There is a very different man program, also derived from
John Eaton's original version (by Graeme W. Wilford)
distributed under the name man_db, with version numbers
like man_db-2.3.10. Do not confuse the two, they are
mutually incompatible, although they perform nearly the same job.

--
Lew Pitcher
"In Skills We Trust"

Re: C and Make

<yjBpN.26872$SyNd.3740@fx33.iad>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=10925&group=comp.unix.programmer#10925

  copy link   Newsgroups: comp.lang.c comp.unix.programmer
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx33.iad.POSTED!not-for-mail
X-newsreader: xrn 9.03-beta-14-64bit
Sender: scott@dragon.sl.home (Scott Lurndal)
From: sco...@slp53.sl.home (Scott Lurndal)
Reply-To: slp53@pacbell.net
Subject: Re: C and Make
Newsgroups: comp.lang.c,comp.unix.programmer
References: <uo1dbu$img2$1@dont-email.me> <uo47qu$12l9o$3@dont-email.me> <uo4ght$14are$1@dont-email.me> <QWxpN.207477$PuZ9.188607@fx11.iad> <uo6bv7$1g4ih$1@dont-email.me> <87ply1drya.fsf@nosuchdomain.example.com> <uo6knh$1g4ih$2@dont-email.me> <87le8pdquv.fsf@nosuchdomain.example.com>
Lines: 34
Message-ID: <yjBpN.26872$SyNd.3740@fx33.iad>
X-Complaints-To: abuse@usenetserver.com
NNTP-Posting-Date: Tue, 16 Jan 2024 20:04:46 UTC
Organization: UsenetServer - www.usenetserver.com
Date: Tue, 16 Jan 2024 20:04:46 GMT
X-Received-Bytes: 1865
 by: Scott Lurndal - Tue, 16 Jan 2024 20:04 UTC

Keith Thompson <Keith.S.Thompson+u@gmail.com> writes:
>Lew Pitcher <lew.pitcher@digitalfreehold.ca> writes:
>> On Tue, 16 Jan 2024 11:00:13 -0800, Keith Thompson wrote:
>>> Lew Pitcher <lew.pitcher@digitalfreehold.ca> writes:
>>> [...]
>>>> Or, if you want to specify the section (given that some
>>>> sections have man pages with names that you might find
>>>> in other sections):
>>>>
>>>> man section manpage
>>>>
>>>> as in
>>>> man 1 mktemp
>>>> which describes the program "mktemp", vs
>>>> man 3 mktemp
>>>> which describes the library function "mktemp()"
>>>
>>> You can also type
>>> man mktemp.1
>>> or
>>> man mktemp.3
>>
>> That only works if there's a file called "mktemp.1"
>> (or "mktemp.3") in your local directory, at least
>> for the version of man(1) that I have available.
>
>Interesting.
>
>I have man 2.20.1 on Ubuntu, provided by the "man-db" package.

It doesn't work that way on my ancient Fedora 20 install (mandb-2.6.5-6)

It does work that way on my Ubuntu 18 install (man-db-2.8.3)

Re: C and Make

<uo709b$1ksuv$2@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=10926&group=comp.unix.programmer#10926

  copy link   Newsgroups: comp.lang.c comp.unix.programmer
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo...@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.lang.c,comp.unix.programmer
Subject: Re: C and Make
Date: Tue, 16 Jan 2024 22:34:19 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 5
Message-ID: <uo709b$1ksuv$2@dont-email.me>
References: <uo1dbu$img2$1@dont-email.me> <uo47qu$12l9o$3@dont-email.me>
<uo4ght$14are$1@dont-email.me> <QWxpN.207477$PuZ9.188607@fx11.iad>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 16 Jan 2024 22:34:19 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="ca75c4ad8a1ef3af6a8bb895abab775c";
logging-data="1733599"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX196hM0YMJMxRQIGalMopYGg"
User-Agent: Pan/0.155 (Kherson; fc5a80b8)
Cancel-Lock: sha1:S3bwocOh+IC5KQpzL9Lvi+s2ISc=
 by: Lawrence D'Oliv - Tue, 16 Jan 2024 22:34 UTC

On Tue, 16 Jan 2024 16:13:36 GMT, Scott Lurndal wrote:

> @$(QUIET) || echo " BUILDPDF $@" $(HUSHCOMPILE)groff -t -man $< | ps2pdf - > $@

Why, can’t your groff installation generate PDF directly?

Re: C and Make

<uo70e7$1ksuv$3@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=10927&group=comp.unix.programmer#10927

  copy link   Newsgroups: comp.lang.c comp.unix.programmer
Path: i2pn2.org!i2pn.org!news.swapon.de!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo...@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.lang.c,comp.unix.programmer
Subject: Re: C and Make
Date: Tue, 16 Jan 2024 22:36:55 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 11
Message-ID: <uo70e7$1ksuv$3@dont-email.me>
References: <uo1dbu$img2$1@dont-email.me> <uo47qu$12l9o$3@dont-email.me>
<uo4ght$14are$1@dont-email.me> <QWxpN.207477$PuZ9.188607@fx11.iad>
<uo6bv7$1g4ih$1@dont-email.me> <87ply1drya.fsf@nosuchdomain.example.com>
<uo6knh$1g4ih$2@dont-email.me> <87le8pdquv.fsf@nosuchdomain.example.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 16 Jan 2024 22:36:55 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="ca75c4ad8a1ef3af6a8bb895abab775c";
logging-data="1733599"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18EKD7rIRAyyTShBOwy4YQY"
User-Agent: Pan/0.155 (Kherson; fc5a80b8)
Cancel-Lock: sha1:Uqs65bhcft4DLoD31Am9KD/TTWY=
 by: Lawrence D'Oliv - Tue, 16 Jan 2024 22:36 UTC

On Tue, 16 Jan 2024 11:23:52 -0800, Keith Thompson wrote:

> I have man 2.20.1 on Ubuntu, provided by the "man-db" package.
> "man mktemp.1" will look up the corresponding man page in $MANPATH.

It also works if the file is mktemp.1.gz.

> If I want to use a local file, I can use an absolute or relative path
> with a '/' in it, such as "man ./mktemp.1".

Yup. Or the “-l” option.

Re: C and Make

<%PDpN.125107$yEgf.91020@fx09.iad>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=10928&group=comp.unix.programmer#10928

  copy link   Newsgroups: comp.lang.c comp.unix.programmer
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx09.iad.POSTED!not-for-mail
X-newsreader: xrn 9.03-beta-14-64bit
Sender: scott@dragon.sl.home (Scott Lurndal)
From: sco...@slp53.sl.home (Scott Lurndal)
Reply-To: slp53@pacbell.net
Subject: Re: C and Make
Newsgroups: comp.lang.c,comp.unix.programmer
References: <uo1dbu$img2$1@dont-email.me> <uo47qu$12l9o$3@dont-email.me> <uo4ght$14are$1@dont-email.me> <QWxpN.207477$PuZ9.188607@fx11.iad> <uo709b$1ksuv$2@dont-email.me>
Lines: 8
Message-ID: <%PDpN.125107$yEgf.91020@fx09.iad>
X-Complaints-To: abuse@usenetserver.com
NNTP-Posting-Date: Tue, 16 Jan 2024 22:55:55 UTC
Organization: UsenetServer - www.usenetserver.com
Date: Tue, 16 Jan 2024 22:55:55 GMT
X-Received-Bytes: 1021
 by: Scott Lurndal - Tue, 16 Jan 2024 22:55 UTC

Lawrence D'Oliveiro <ldo@nz.invalid> writes:
>On Tue, 16 Jan 2024 16:13:36 GMT, Scott Lurndal wrote:
>
>> @$(QUIET) || echo " BUILDPDF $@" $(HUSHCOMPILE)groff -t -man $< | ps2pdf - > $@
>
>Why, can’t your groff installation generate PDF directly?

It couldn't when I first wrote this rule a couple of decades ago.

Re: C and Make

<uo7802$1m0or$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=10929&group=comp.unix.programmer#10929

  copy link   Newsgroups: comp.lang.c comp.unix.programmer
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!weretis.net!feeder8.news.weretis.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo...@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.lang.c,comp.unix.programmer
Subject: Re: C and Make
Date: Wed, 17 Jan 2024 00:45:54 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 11
Message-ID: <uo7802$1m0or$1@dont-email.me>
References: <uo1dbu$img2$1@dont-email.me> <uo47qu$12l9o$3@dont-email.me>
<uo4ght$14are$1@dont-email.me> <QWxpN.207477$PuZ9.188607@fx11.iad>
<uo709b$1ksuv$2@dont-email.me> <%PDpN.125107$yEgf.91020@fx09.iad>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 17 Jan 2024 00:45:54 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="71e924a53864396a82a319f1f0d5bb71";
logging-data="1770267"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX181TWKvQ9k0rqP1vng6xXeN"
User-Agent: Pan/0.155 (Kherson; fc5a80b8)
Cancel-Lock: sha1:XuNRuSsDSBSJIZAtLcwMq9iDvHQ=
 by: Lawrence D'Oliv - Wed, 17 Jan 2024 00:45 UTC

On Tue, 16 Jan 2024 22:55:55 GMT, Scott Lurndal wrote:

> Lawrence D'Oliveiro <ldo@nz.invalid> writes:
>
>>Why, can’t your groff installation generate PDF directly?
>
> It couldn't when I first wrote this rule a couple of decades ago.

Here’s how I get a nicely typeset view of one of my own man pages:

groff -ktman -Tpdf «troff-file» | okular - &

Re: C and Make

<mu2k7k-4ci.ln1@paranoia.mcleod-schmidt.id.au>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=10930&group=comp.unix.programmer#10930

  copy link   Newsgroups: comp.lang.c comp.unix.programmer
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: grschm...@acm.org (Gary R. Schmidt)
Newsgroups: comp.lang.c,comp.unix.programmer
Subject: Re: C and Make
Date: Wed, 17 Jan 2024 15:51:01 +1100
Lines: 57
Message-ID: <mu2k7k-4ci.ln1@paranoia.mcleod-schmidt.id.au>
References: <uo1dbu$img2$1@dont-email.me> <uo47qu$12l9o$3@dont-email.me>
<uo4ght$14are$1@dont-email.me> <QWxpN.207477$PuZ9.188607@fx11.iad>
<uo6bv7$1g4ih$1@dont-email.me> <87ply1drya.fsf@nosuchdomain.example.com>
<uo6knh$1g4ih$2@dont-email.me> <87le8pdquv.fsf@nosuchdomain.example.com>
<yjBpN.26872$SyNd.3740@fx33.iad>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net mOvImCVq5uAQ7dTGTH7hdgRrl6CrzrgAopMBD53kH3fuexd6c=
X-Orig-Path: paranoia.mcleod-schmidt.id.au!not-for-mail
Cancel-Lock: sha1:zmk7MP/AKWEGFssz75nM8qiI9Ws= sha256:pI0bNYa53Wxw5Ad8BzT60ocs6Sksop9iIKNkXGlvRTM=
User-Agent: Betterbird (Windows)
Content-Language: en-AU
In-Reply-To: <yjBpN.26872$SyNd.3740@fx33.iad>
X-Clacks-Overhead: GNU Terry Pratchett
 by: Gary R. Schmidt - Wed, 17 Jan 2024 04:51 UTC

On 17/01/2024 07:04, Scott Lurndal wrote:
> Keith Thompson <Keith.S.Thompson+u@gmail.com> writes:
>> Lew Pitcher <lew.pitcher@digitalfreehold.ca> writes:
>>> On Tue, 16 Jan 2024 11:00:13 -0800, Keith Thompson wrote:
>>>> Lew Pitcher <lew.pitcher@digitalfreehold.ca> writes:
>>>> [...]
>>>>> Or, if you want to specify the section (given that some
>>>>> sections have man pages with names that you might find
>>>>> in other sections):
>>>>>
>>>>> man section manpage
>>>>>
>>>>> as in
>>>>> man 1 mktemp
>>>>> which describes the program "mktemp", vs
>>>>> man 3 mktemp
>>>>> which describes the library function "mktemp()"
>>>>
>>>> You can also type
>>>> man mktemp.1
>>>> or
>>>> man mktemp.3
>>>
>>> That only works if there's a file called "mktemp.1"
>>> (or "mktemp.3") in your local directory, at least
>>> for the version of man(1) that I have available.
>>
>> Interesting.
>>
>> I have man 2.20.1 on Ubuntu, provided by the "man-db" package.
>
> It doesn't work that way on my ancient Fedora 20 install (mandb-2.6.5-6)
>
> It does work that way on my Ubuntu 18 install (man-db-2.8.3)
>
Hmm, Solaris 11.4, the first few lines of "man man":

NAME
man - find and display reference manual pages

SYNOPSIS
man [-] [-adFlrt] [-M path] [-T macro-package] [-s section] name...

man [-M path] [-s section] -k query...

man [-M path] -f file...

man [-M path] [-s section] -K query...

Still very SysV, but it does use groff now. :-)

For those who want to see the full version:
<https://docs.oracle.com/cd/E88353_01/html/E37839/man-1.html>

Cheers,
Gary B-)

Re: C and Make

<xTSpN.168165$vFZa.18232@fx13.iad>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=10931&group=comp.unix.programmer#10931

  copy link   Newsgroups: comp.lang.c comp.unix.programmer
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!weretis.net!feeder6.news.weretis.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx13.iad.POSTED!not-for-mail
X-newsreader: xrn 9.03-beta-14-64bit
Sender: scott@dragon.sl.home (Scott Lurndal)
From: sco...@slp53.sl.home (Scott Lurndal)
Reply-To: slp53@pacbell.net
Subject: Re: C and Make
Newsgroups: comp.lang.c,comp.unix.programmer
References: <uo1dbu$img2$1@dont-email.me> <uo47qu$12l9o$3@dont-email.me> <uo4ght$14are$1@dont-email.me> <QWxpN.207477$PuZ9.188607@fx11.iad> <uo709b$1ksuv$2@dont-email.me> <%PDpN.125107$yEgf.91020@fx09.iad> <uo7802$1m0or$1@dont-email.me>
Lines: 15
Message-ID: <xTSpN.168165$vFZa.18232@fx13.iad>
X-Complaints-To: abuse@usenetserver.com
NNTP-Posting-Date: Wed, 17 Jan 2024 16:03:41 UTC
Organization: UsenetServer - www.usenetserver.com
Date: Wed, 17 Jan 2024 16:03:41 GMT
X-Received-Bytes: 1235
 by: Scott Lurndal - Wed, 17 Jan 2024 16:03 UTC

Lawrence D'Oliveiro <ldo@nz.invalid> writes:
>On Tue, 16 Jan 2024 22:55:55 GMT, Scott Lurndal wrote:
>
>> Lawrence D'Oliveiro <ldo@nz.invalid> writes:
>>
>>>Why, can’t your groff installation generate PDF directly?
>>
>> It couldn't when I first wrote this rule a couple of decades ago.
>
>Here’s how I get a nicely typeset view of one of my own man pages:
>
> groff -ktman -Tpdf «troff-file» | okular - &

$ type okular
-ksh: whence: okular: not found

Re: C and Make

<uo8u0q$2156m$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=10932&group=comp.unix.programmer#10932

  copy link   Newsgroups: comp.lang.c comp.unix.programmer
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: lew.pitc...@digitalfreehold.ca (Lew Pitcher)
Newsgroups: comp.lang.c,comp.unix.programmer
Subject: Re: C and Make
Date: Wed, 17 Jan 2024 16:07:54 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 20
Message-ID: <uo8u0q$2156m$1@dont-email.me>
References: <uo1dbu$img2$1@dont-email.me> <uo47qu$12l9o$3@dont-email.me>
<uo4ght$14are$1@dont-email.me> <QWxpN.207477$PuZ9.188607@fx11.iad>
<uo709b$1ksuv$2@dont-email.me> <%PDpN.125107$yEgf.91020@fx09.iad>
<uo7802$1m0or$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 17 Jan 2024 16:07:54 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="97ff3109ae3dc249d961201b6c1680c8";
logging-data="2135254"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19bApkUwf2CYs5XOVxrxnCrbJLIaT3Zkz4="
User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508
git://git.gnome.org/pan2)
Cancel-Lock: sha1:wrmK0BkkSWvu4K9CQGHucmgtA10=
 by: Lew Pitcher - Wed, 17 Jan 2024 16:07 UTC

On Wed, 17 Jan 2024 00:45:54 +0000, Lawrence D'Oliveiro wrote:

> On Tue, 16 Jan 2024 22:55:55 GMT, Scott Lurndal wrote:
>
>> Lawrence D'Oliveiro <ldo@nz.invalid> writes:
>>
>>>Why, can’t your groff installation generate PDF directly?
>>
>> It couldn't when I first wrote this rule a couple of decades ago.
>
> Here’s how I get a nicely typeset view of one of my own man pages:
>
> groff -ktman -Tpdf «troff-file» | okular - &

man -t 3 mktemp >mktemp.ps

--
Lew Pitcher
"In Skills We Trust"

Re: C and Make

<uo8u2j$2156m$2@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=10933&group=comp.unix.programmer#10933

  copy link   Newsgroups: comp.lang.c comp.unix.programmer
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: lew.pitc...@digitalfreehold.ca (Lew Pitcher)
Newsgroups: comp.lang.c,comp.unix.programmer
Subject: Re: C and Make
Date: Wed, 17 Jan 2024 16:08:51 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 27
Message-ID: <uo8u2j$2156m$2@dont-email.me>
References: <uo1dbu$img2$1@dont-email.me> <uo47qu$12l9o$3@dont-email.me>
<uo4ght$14are$1@dont-email.me> <QWxpN.207477$PuZ9.188607@fx11.iad>
<uo709b$1ksuv$2@dont-email.me> <%PDpN.125107$yEgf.91020@fx09.iad>
<uo7802$1m0or$1@dont-email.me> <uo8u0q$2156m$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 17 Jan 2024 16:08:51 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="97ff3109ae3dc249d961201b6c1680c8";
logging-data="2135254"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19NoRtOLdTNNbOfUqO/lDV3IzijzCFYDAs="
User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508
git://git.gnome.org/pan2)
Cancel-Lock: sha1:IiV+XSOLvP6vExVFHf2+0gdJg1s=
 by: Lew Pitcher - Wed, 17 Jan 2024 16:08 UTC

On Wed, 17 Jan 2024 16:07:54 +0000, Lew Pitcher wrote:

> On Wed, 17 Jan 2024 00:45:54 +0000, Lawrence D'Oliveiro wrote:
>
>> On Tue, 16 Jan 2024 22:55:55 GMT, Scott Lurndal wrote:
>>
>>> Lawrence D'Oliveiro <ldo@nz.invalid> writes:
>>>
>>>>Why, can’t your groff installation generate PDF directly?
>>>
>>> It couldn't when I first wrote this rule a couple of decades ago.
>>
>> Here’s how I get a nicely typeset view of one of my own man pages:
>>
>> groff -ktman -Tpdf «troff-file» | okular - &
>
>
> man -t 3 mktemp >mktemp.ps

But you wanted a PDF, so
man -t 3 mktemp | ps2pdf - mktemp.pdf

--
Lew Pitcher
"In Skills We Trust"

Re: C and Make

<uo98ol$25juu$2@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=10934&group=comp.unix.programmer#10934

  copy link   Newsgroups: comp.lang.c comp.unix.programmer
Path: i2pn2.org!rocksolid2!news.neodome.net!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo...@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.lang.c,comp.unix.programmer
Subject: Re: C and Make
Date: Wed, 17 Jan 2024 19:11:18 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 22
Message-ID: <uo98ol$25juu$2@dont-email.me>
References: <uo1dbu$img2$1@dont-email.me> <uo47qu$12l9o$3@dont-email.me>
<uo4ght$14are$1@dont-email.me> <QWxpN.207477$PuZ9.188607@fx11.iad>
<uo709b$1ksuv$2@dont-email.me> <%PDpN.125107$yEgf.91020@fx09.iad>
<uo7802$1m0or$1@dont-email.me> <xTSpN.168165$vFZa.18232@fx13.iad>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 17 Jan 2024 19:11:18 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="71e924a53864396a82a319f1f0d5bb71";
logging-data="2281438"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/IoSg4MKS/ajL3g/dUq5CY"
User-Agent: Pan/0.155 (Kherson; fc5a80b8)
Cancel-Lock: sha1:QGAVJPPOwbS2j9XGvQk09+F/j2I=
 by: Lawrence D'Oliv - Wed, 17 Jan 2024 19:11 UTC

On Wed, 17 Jan 2024 16:03:41 GMT, Scott Lurndal wrote:

> Lawrence D'Oliveiro <ldo@nz.invalid> writes:
>
>>Here’s how I get a nicely typeset view of one of my own man pages:
>>
>> groff -ktman -Tpdf «troff-file» | okular - &
>
> $ type okular
> -ksh: whence: okular: not found

ldo@theon:~> apt-cache search okular
okular-backend-odp - Okular backend for ODP documents
okular-backend-odt - Okular backend for ODT documents
libokular5core11 - libraries for the Okular document viewer
okular - universal document viewer
okular-dev - development files for the Okular libraries
okular-extra-backends - additional document format support for Okular
okular-mobile - mobile support for Okular
qml-module-org-kde-okular - mobile support for Okular - QML modules

It helps to try the right command ...

Re: C and Make

<tdYpN.354612$83n7.144246@fx18.iad>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=10935&group=comp.unix.programmer#10935

  copy link   Newsgroups: comp.lang.c comp.unix.programmer
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx18.iad.POSTED!not-for-mail
X-newsreader: xrn 9.03-beta-14-64bit
Sender: scott@dragon.sl.home (Scott Lurndal)
From: sco...@slp53.sl.home (Scott Lurndal)
Reply-To: slp53@pacbell.net
Subject: Re: C and Make
Newsgroups: comp.lang.c,comp.unix.programmer
References: <uo1dbu$img2$1@dont-email.me> <uo47qu$12l9o$3@dont-email.me> <uo4ght$14are$1@dont-email.me> <QWxpN.207477$PuZ9.188607@fx11.iad> <uo709b$1ksuv$2@dont-email.me> <%PDpN.125107$yEgf.91020@fx09.iad> <uo7802$1m0or$1@dont-email.me> <xTSpN.168165$vFZa.18232@fx13.iad> <uo98ol$25juu$2@dont-email.me>
Lines: 30
Message-ID: <tdYpN.354612$83n7.144246@fx18.iad>
X-Complaints-To: abuse@usenetserver.com
NNTP-Posting-Date: Wed, 17 Jan 2024 22:08:25 UTC
Organization: UsenetServer - www.usenetserver.com
Date: Wed, 17 Jan 2024 22:08:25 GMT
X-Received-Bytes: 2019
 by: Scott Lurndal - Wed, 17 Jan 2024 22:08 UTC

Lawrence D'Oliveiro <ldo@nz.invalid> writes:
>On Wed, 17 Jan 2024 16:03:41 GMT, Scott Lurndal wrote:
>
>> Lawrence D'Oliveiro <ldo@nz.invalid> writes:
>>
>>>Here’s how I get a nicely typeset view of one of my own man pages:
>>>
>>> groff -ktman -Tpdf «troff-file» | okular - &
>>
>> $ type okular
>> -ksh: whence: okular: not found
>
> ldo@theon:~> apt-cache search okular
> okular-backend-odp - Okular backend for ODP documents
> okular-backend-odt - Okular backend for ODT documents
> libokular5core11 - libraries for the Okular document viewer
> okular - universal document viewer
> okular-dev - development files for the Okular libraries
> okular-extra-backends - additional document format support for Okular
> okular-mobile - mobile support for Okular
> qml-module-org-kde-okular - mobile support for Okular - QML modules
>
>It helps to try the right command ...

My Fedora install doesn't support apt-cache, apt or dpkg commands.

I'm perfectly aware that one can download pretty much any package
for any distribution, however:

xpdf is the best linux pdf viewer, in my opinion. I detest acroread, evince and similar ilk.

Re: C and Make

<uo9ni1$27uc5$2@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=10936&group=comp.unix.programmer#10936

  copy link   Newsgroups: comp.lang.c comp.unix.programmer
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo...@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.lang.c,comp.unix.programmer
Subject: Re: C and Make
Date: Wed, 17 Jan 2024 23:23:45 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 17
Message-ID: <uo9ni1$27uc5$2@dont-email.me>
References: <uo1dbu$img2$1@dont-email.me> <uo47qu$12l9o$3@dont-email.me>
<uo4ght$14are$1@dont-email.me> <QWxpN.207477$PuZ9.188607@fx11.iad>
<uo709b$1ksuv$2@dont-email.me> <%PDpN.125107$yEgf.91020@fx09.iad>
<uo7802$1m0or$1@dont-email.me> <xTSpN.168165$vFZa.18232@fx13.iad>
<uo98ol$25juu$2@dont-email.me> <tdYpN.354612$83n7.144246@fx18.iad>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 17 Jan 2024 23:23:45 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="7b7eb05269adaf47ad0e7a8103a3b8bb";
logging-data="2357637"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+Waia0ZAooXb0Ksjd9FcPL"
User-Agent: Pan/0.155 (Kherson; fc5a80b8)
Cancel-Lock: sha1:UAjUoG9azIJlHoXpXSz2cIcUUuM=
 by: Lawrence D'Oliv - Wed, 17 Jan 2024 23:23 UTC

On Wed, 17 Jan 2024 22:08:25 GMT, Scott Lurndal wrote:

> Lawrence D'Oliveiro <ldo@nz.invalid> writes:
>
>> ldo@theon:~> apt-cache search okular
>> okular-backend-odp - Okular backend for ODP documents
>> okular-backend-odt - Okular backend for ODT documents
>> libokular5core11 - libraries for the Okular document viewer
>> okular - universal document viewer
>> okular-dev - development files for the Okular libraries
>> okular-extra-backends - additional document format support for Okular
>> okular-mobile - mobile support for Okular
>> qml-module-org-kde-okular - mobile support for Okular - QML modules
>
> My Fedora install doesn't support apt-cache, apt or dpkg commands.

Don’t you know what their equivalents are?

Re: C and Make

<lRZpN.70215$CYpe.44709@fx40.iad>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=10937&group=comp.unix.programmer#10937

  copy link   Newsgroups: comp.lang.c comp.unix.programmer
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx40.iad.POSTED!not-for-mail
X-newsreader: xrn 9.03-beta-14-64bit
Sender: scott@dragon.sl.home (Scott Lurndal)
From: sco...@slp53.sl.home (Scott Lurndal)
Reply-To: slp53@pacbell.net
Subject: Re: C and Make
Newsgroups: comp.lang.c,comp.unix.programmer
References: <uo1dbu$img2$1@dont-email.me> <uo47qu$12l9o$3@dont-email.me> <uo4ght$14are$1@dont-email.me> <QWxpN.207477$PuZ9.188607@fx11.iad> <uo709b$1ksuv$2@dont-email.me> <%PDpN.125107$yEgf.91020@fx09.iad> <uo7802$1m0or$1@dont-email.me> <xTSpN.168165$vFZa.18232@fx13.iad> <uo98ol$25juu$2@dont-email.me> <tdYpN.354612$83n7.144246@fx18.iad> <uo9ni1$27uc5$2@dont-email.me>
Lines: 22
Message-ID: <lRZpN.70215$CYpe.44709@fx40.iad>
X-Complaints-To: abuse@usenetserver.com
NNTP-Posting-Date: Wed, 17 Jan 2024 23:59:13 UTC
Organization: UsenetServer - www.usenetserver.com
Date: Wed, 17 Jan 2024 23:59:13 GMT
X-Received-Bytes: 1890
 by: Scott Lurndal - Wed, 17 Jan 2024 23:59 UTC

Lawrence D'Oliveiro <ldo@nz.invalid> writes:
>On Wed, 17 Jan 2024 22:08:25 GMT, Scott Lurndal wrote:
>
>> Lawrence D'Oliveiro <ldo@nz.invalid> writes:
>>
>>> ldo@theon:~> apt-cache search okular
>>> okular-backend-odp - Okular backend for ODP documents
>>> okular-backend-odt - Okular backend for ODT documents
>>> libokular5core11 - libraries for the Okular document viewer
>>> okular - universal document viewer
>>> okular-dev - development files for the Okular libraries
>>> okular-extra-backends - additional document format support for Okular
>>> okular-mobile - mobile support for Okular
>>> qml-module-org-kde-okular - mobile support for Okular - QML modules
>>
>> My Fedora install doesn't support apt-cache, apt or dpkg commands.
>
>Don’t you know what their equivalents are?

Of course. rpm and/or yum. I'm not interested in changing PDF readers, however.

Ah, a google search shows that Okular is like evince and acroread. No thanks.

Re: C and Make

<87v87rcwoz.fsf@nosuchdomain.example.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=10938&group=comp.unix.programmer#10938

  copy link   Newsgroups: comp.lang.c comp.unix.programmer
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Keith.S....@gmail.com (Keith Thompson)
Newsgroups: comp.lang.c,comp.unix.programmer
Subject: Re: C and Make
Date: Wed, 17 Jan 2024 16:27:40 -0800
Organization: None to speak of
Lines: 30
Message-ID: <87v87rcwoz.fsf@nosuchdomain.example.com>
References: <uo1dbu$img2$1@dont-email.me> <uo47qu$12l9o$3@dont-email.me>
<uo4ght$14are$1@dont-email.me> <QWxpN.207477$PuZ9.188607@fx11.iad>
<uo709b$1ksuv$2@dont-email.me> <%PDpN.125107$yEgf.91020@fx09.iad>
<uo7802$1m0or$1@dont-email.me> <xTSpN.168165$vFZa.18232@fx13.iad>
<uo98ol$25juu$2@dont-email.me> <tdYpN.354612$83n7.144246@fx18.iad>
<uo9ni1$27uc5$2@dont-email.me> <lRZpN.70215$CYpe.44709@fx40.iad>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Info: dont-email.me; posting-host="8dfe176c794f193a384e5e1530412075";
logging-data="2372877"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18hZ4X0pZ2Q6Vim8297kSBt"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
Cancel-Lock: sha1:6AQ/eBbkfdJJ7Uejgf82wST4EWQ=
sha1:4HZEVMF9KqMRb1b3YYJwvU4VV8M=
 by: Keith Thompson - Thu, 18 Jan 2024 00:27 UTC

scott@slp53.sl.home (Scott Lurndal) writes:
> Lawrence D'Oliveiro <ldo@nz.invalid> writes:
>>On Wed, 17 Jan 2024 22:08:25 GMT, Scott Lurndal wrote:
>>> Lawrence D'Oliveiro <ldo@nz.invalid> writes:
>>>> ldo@theon:~> apt-cache search okular
>>>> okular-backend-odp - Okular backend for ODP documents
>>>> okular-backend-odt - Okular backend for ODT documents
>>>> libokular5core11 - libraries for the Okular document viewer
>>>> okular - universal document viewer
>>>> okular-dev - development files for the Okular libraries
>>>> okular-extra-backends - additional document format support for Okular
>>>> okular-mobile - mobile support for Okular
>>>> qml-module-org-kde-okular - mobile support for Okular - QML modules
>>>
>>> My Fedora install doesn't support apt-cache, apt or dpkg commands.
>>
>>Don’t you know what their equivalents are?
>
> Of course. rpm and/or yum. I'm not interested in changing PDF
> readers, however.

Nobody suggested you should change PDF readers. Lawrence indicted how
he gets a nicely typeset view of one of his own man pages that's all.
You obviously know enough to adapt his method for your own system and
preferences.

--
Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com
Working, but not speaking, for Medtronic
void Void(void) { Void(); } /* The recursive call of the void */

PDF viewer ( was Re: C and Make)

<uodkv0$33q7m$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=10939&group=comp.unix.programmer#10939

  copy link   Newsgroups: comp.unix.programmer
Path: i2pn2.org!i2pn.org!news.samoylyk.net!hugayda.aid.in.ua!weretis.net!feeder8.news.weretis.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: janis_pa...@hotmail.com (Janis Papanagnou)
Newsgroups: comp.unix.programmer
Subject: PDF viewer ( was Re: C and Make)
Date: Fri, 19 Jan 2024 12:03:59 +0100
Organization: A noiseless patient Spider
Lines: 16
Message-ID: <uodkv0$33q7m$1@dont-email.me>
References: <uo1dbu$img2$1@dont-email.me> <uo47qu$12l9o$3@dont-email.me>
<uo4ght$14are$1@dont-email.me> <QWxpN.207477$PuZ9.188607@fx11.iad>
<uo709b$1ksuv$2@dont-email.me> <%PDpN.125107$yEgf.91020@fx09.iad>
<uo7802$1m0or$1@dont-email.me> <xTSpN.168165$vFZa.18232@fx13.iad>
<uo98ol$25juu$2@dont-email.me> <tdYpN.354612$83n7.144246@fx18.iad>
MIME-Version: 1.0
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 19 Jan 2024 11:04:00 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="faee1e0fc08fb4e458e9e22611a73524";
logging-data="3270902"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+QEcPQ1yU19UX4WsPIFRLx"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:cye5kukftPXqgqyWqc60u0csiSk=
In-Reply-To: <tdYpN.354612$83n7.144246@fx18.iad>
X-Enigmail-Draft-Status: N1110
 by: Janis Papanagnou - Fri, 19 Jan 2024 11:03 UTC

On 17.01.2024 23:08, Scott Lurndal wrote:
>
> xpdf is the best linux pdf viewer, in my opinion. I detest acroread,
> evince and similar ilk.

When I call xpdf I get the message "Use evince instead of xpdf!" - not
from the xpdf tool but from a xpdf function I installed. (Not that I'd
particularly like evince, but there obviously had been some deficiency
with xpdf that even evince looked better to me.) So the my question is,
if none of the ones mentioned above, what would a good PDF viewer then
be?

Janis

PS: I just retried xpdf and found the reason for my former aversion...
"Segmentation fault (core dumped)"

Re: PDF viewer

<87a5p1e9vv.fsf_-_@yaxenu.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=10940&group=comp.unix.programmer#10940

  copy link   Newsgroups: comp.unix.programmer
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: jsh...@yaxenu.org (Julieta Shem)
Newsgroups: comp.unix.programmer
Subject: Re: PDF viewer
Date: Fri, 19 Jan 2024 10:21:56 -0300
Organization: A noiseless patient Spider
Lines: 21
Message-ID: <87a5p1e9vv.fsf_-_@yaxenu.org>
References: <uo1dbu$img2$1@dont-email.me> <uo47qu$12l9o$3@dont-email.me>
<uo4ght$14are$1@dont-email.me> <QWxpN.207477$PuZ9.188607@fx11.iad>
<uo709b$1ksuv$2@dont-email.me> <%PDpN.125107$yEgf.91020@fx09.iad>
<uo7802$1m0or$1@dont-email.me> <xTSpN.168165$vFZa.18232@fx13.iad>
<uo98ol$25juu$2@dont-email.me> <tdYpN.354612$83n7.144246@fx18.iad>
<uodkv0$33q7m$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: dont-email.me; posting-host="c5fe725ff71a35acf8c120b4ec82df41";
logging-data="3321007"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18tEwZ5hI87mvdvLSpRmvkj2XIT+acjBd8="
Cancel-Lock: sha1:7gzPrI5IPlCtYvpesyeZRaqIpY4=
sha1:JO/u4CLwCoowcQhokAvVw6XZMQ8=
 by: Julieta Shem - Fri, 19 Jan 2024 13:21 UTC

Janis Papanagnou <janis_papanagnou+ng@hotmail.com> writes:

> On 17.01.2024 23:08, Scott Lurndal wrote:
>>
>> xpdf is the best linux pdf viewer, in my opinion. I detest acroread,
>> evince and similar ilk.
>
> When I call xpdf I get the message "Use evince instead of xpdf!" - not
> from the xpdf tool but from a xpdf function I installed. (Not that I'd
> particularly like evince, but there obviously had been some deficiency
> with xpdf that even evince looked better to me.) So the my question is,
> if none of the ones mentioned above, what would a good PDF viewer then
> be?

On Windows, there's nothing better than Sumatra PDF

https://www.sumatrapdfreader.org/

I confirm all the testimonials. The problem with Sumatra PDF is finding
a way to pronounce the name of the author, Krzysztof Kowalczyk, not to
mention spelling it.

One bad PDF don't spoil the whole bunch... (Was: PDF viewer ( was Re: C and Make))

<uodvd7$7qij$2@news.xmission.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=10941&group=comp.unix.programmer#10941

  copy link   Newsgroups: comp.unix.programmer
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!xmission!nnrp.xmission!.POSTED.shell.xmission.com!not-for-mail
From: gaze...@shell.xmission.com (Kenny McCormack)
Newsgroups: comp.unix.programmer
Subject: One bad PDF don't spoil the whole bunch... (Was: PDF viewer ( was Re: C and Make))
Date: Fri, 19 Jan 2024 14:02:15 -0000 (UTC)
Organization: The official candy of the new Millennium
Message-ID: <uodvd7$7qij$2@news.xmission.com>
References: <uo1dbu$img2$1@dont-email.me> <uo98ol$25juu$2@dont-email.me> <tdYpN.354612$83n7.144246@fx18.iad> <uodkv0$33q7m$1@dont-email.me>
Injection-Date: Fri, 19 Jan 2024 14:02:15 -0000 (UTC)
Injection-Info: news.xmission.com; posting-host="shell.xmission.com:166.70.8.4";
logging-data="256595"; mail-complaints-to="abuse@xmission.com"
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: gazelle@shell.xmission.com (Kenny McCormack)
 by: Kenny McCormack - Fri, 19 Jan 2024 14:02 UTC

In article <uodkv0$33q7m$1@dont-email.me>,
Janis Papanagnou <janis_papanagnou+ng@hotmail.com> wrote:
....
>PS: I just retried xpdf and found the reason for my former aversion...
>"Segmentation fault (core dumped)"

I assume this is just on one particular PDF file of yours, since obviously
xpdf works on other files. It has always worked for me.

Or, your installation of xpdf is broken...

--
After Using Gender Slur Against AOC, GOP Rep. Yoyo Won't Apologize 'For Loving God'.

That's so sweet...

Pages:12
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor