Re: [patch] man page improvement for sem* family of functions

2021-10-23 Thread Jason McIntyre
On Fri, Oct 22, 2021 at 10:36:55PM +0300, Mikhail wrote: > On Sat, Oct 16, 2021 at 03:13:39PM +0300, Mikhail wrote: > > Hello, I was troubleshooting postgresql not being able to start after > > 'pkill -6 postgres'. The error was: > > > > FATAL: could not create semaphores: No space left on device

Re: [patch] man page improvement for sem* family of functions

2021-10-23 Thread Jason McIntyre
On Fri, Oct 22, 2021 at 10:36:55PM +0300, Mikhail wrote: > On Sat, Oct 16, 2021 at 03:13:39PM +0300, Mikhail wrote: > > Hello, I was troubleshooting postgresql not being able to start after > > 'pkill -6 postgres'. The error was: > > > > FATAL: could not create semaphores: No space left on device

Re: pf.conf(5) & reply-to

2021-09-22 Thread Jason McIntyre
On Wed, Sep 22, 2021 at 10:38:14AM +0100, Stuart Henderson wrote: > On 2021/09/22 11:28, Landry Breuil wrote: > > Le Tue, Sep 21, 2021 at 10:40:12PM +0200, Sebastian Benoit a ?crit : > > > Alexander Bluhm(alexander.bl...@gmx.net) on 2021.09.21 22:34:09 +0200: > > > > On Mon, Sep 20, 2021 at

Re: pf.conf(5) & reply-to

2021-09-22 Thread Jason McIntyre
On Wed, Sep 22, 2021 at 11:28:21AM +0200, Landry Breuil wrote: > Le Tue, Sep 21, 2021 at 10:40:12PM +0200, Sebastian Benoit a ?crit : > > Alexander Bluhm(alexander.bl...@gmx.net) on 2021.09.21 22:34:09 +0200: > > > On Mon, Sep 20, 2021 at 03:54:58PM +0200, Landry Breuil wrote: > > > > did i

Re: Update to pcap-filter.5/tcpdump.8 (was: update to tcpdump(8))

2021-09-05 Thread Jason McIntyre
On Sun, Sep 05, 2021 at 04:43:34PM +0200, Denis Fondras wrote: > Le Sat, Sep 04, 2021 at 09:57:10PM +0100, Jason McIntyre a ?crit : > > the diff looks ok to me. but run any doc changes through "mandoc > > -Tlint", and look at any issues your diff may have introduced. i

Re: update to tcpdump(8)

2021-09-04 Thread Jason McIntyre
On Sat, Sep 04, 2021 at 07:26:21PM +0200, Denis Fondras wrote: > Le Thu, Sep 02, 2021 at 08:36:06AM -0600, Theo de Raadt a ?crit : > > I think the following approach will work. > > > > 1. changes from tcpdump.8 -r1.00 to -rHEAD need merging into pcap-filter.5 > > > > Here is a diff for this

Re: timeout: Prettify man page and usage

2021-09-04 Thread Jason McIntyre
On Sat, Sep 04, 2021 at 02:14:47PM +0200, Ingo Schwarze wrote: > Hi Jason, > > Jason McIntyre wrote on Fri, Sep 03, 2021 at 02:46:47PM +0100: > > On Fri, Sep 03, 2021 at 03:42:21PM +0200, Ingo Schwarze wrote: > >> Theo de Raadt wrote on Thu, Sep 02, 2021 at 09:57:11AM -0

Re: timeout: Prettify man page and usage

2021-09-03 Thread Jason McIntyre
On Fri, Sep 03, 2021 at 03:42:21PM +0200, Ingo Schwarze wrote: > Hi, > > Theo de Raadt wrote on Thu, Sep 02, 2021 at 09:57:11AM -0600: > > > I think we should list shorts, and longs which have no shorts. > > I agree, and i think we arrived at the same conclusion in the past. > > It applies to

Re: mark getsubopt(3) as part of POSIX

2021-09-03 Thread Jason McIntyre
On Fri, Sep 03, 2021 at 02:40:34PM +0200, Theo Buehler wrote: > Found this in my tree. Our version of getsubopt matches NetBSD's up to > some DIAGASSERTs and they do mention POSIX in their manual, so I suspect > we inherited the specified behavior. I copied the phrasing used for > other functions,

Re: rm.1: remove extraneous word

2021-09-03 Thread Jason McIntyre
On Thu, Sep 02, 2021 at 11:10:54PM +0100, Jason McIntyre wrote: > On Thu, Sep 02, 2021 at 02:28:54PM -0700, Evan Silberman wrote: > > Speaking of the first sentence of rm(1): > > > > Remove extraneous word from command description > > > > "non-directory

Re: rm.1: remove extraneous word

2021-09-02 Thread Jason McIntyre
On Thu, Sep 02, 2021 at 02:28:54PM -0700, Evan Silberman wrote: > Speaking of the first sentence of rm(1): > > Remove extraneous word from command description > > "non-directory files" reads more naturally and means the same thing as > "non-directory type files". > true. i wonder if it was

Re: timeout: Prettify man page and usage

2021-09-02 Thread Jason McIntyre
On Thu, Sep 02, 2021 at 10:41:32PM +0200, Leon Fischer wrote: > > > > yes, fair point. i also dislike excess markup. but i think in the first > > sentence it is not excess, it is explanation. i mean "duration"is marked > > up. > > > > so that first sentence should try to talk about all those arg

Re: timeout: Prettify man page and usage

2021-09-02 Thread Jason McIntyre
On Thu, Sep 02, 2021 at 05:47:09PM +0200, Leon Fischer wrote: > > > @@ -34,83 +35,74 @@ > > > .Nd run a command with a time limit > > > .Sh SYNOPSIS > > > .Nm > > > -.Op Fl Fl signal Ar sig | Fl s Ar sig > > > -.Op Fl Fl preserve-status > > > -.Op Fl Fl kill-after Ar time | Fl k Ar time > > >

Re: update to tcpdump(8)

2021-09-02 Thread Jason McIntyre
On Thu, Sep 02, 2021 at 04:27:41PM +0200, Denis Fondras wrote: > Le Thu, Sep 02, 2021 at 07:49:25AM +0100, Jason McIntyre a ?crit : > > why not just paste in the body of pcap-filter in then and we can try and > > keep them in sync thereafter? > > > > OK, I will

Re: update to tcpdump(8)

2021-09-02 Thread Jason McIntyre
On Thu, Sep 02, 2021 at 03:33:17AM -0600, Theo de Raadt wrote: > Jason McIntyre wrote: > > > On Thu, Sep 02, 2021 at 12:44:56AM -0600, Theo de Raadt wrote: > > > Jason McIntyre wrote: > > > > > > > then i guess i would propose doing exactly t

Re: timeout: Prettify man page and usage

2021-09-02 Thread Jason McIntyre
On Thu, Sep 02, 2021 at 08:56:29AM +, Job Snijders wrote: > On Thu, Sep 02, 2021 at 07:23:26AM +0100, Jason McIntyre wrote: > > > .Ar time > > > -can be integer or decimal numbers. > > > +are positive integer or real (decimal) numbers, with an optional > >

Re: update to tcpdump(8)

2021-09-02 Thread Jason McIntyre
On Thu, Sep 02, 2021 at 12:44:56AM -0600, Theo de Raadt wrote: > Jason McIntyre wrote: > > > then i guess i would propose doing exactly that: removing the bulk of > > the text describing primitives and qualifiers and leave a pointer to > > pcap-filter.3. we could l

Re: update to tcpdump(8)

2021-09-02 Thread Jason McIntyre
On Wed, Sep 01, 2021 at 08:28:14PM +0200, Denis Fondras wrote: > Le Wed, Sep 01, 2021 at 06:42:54PM +0100, Jason McIntyre a ?crit : > > On Wed, Sep 01, 2021 at 06:15:04PM +0200, Denis Fondras wrote: > > > I was searching for the sampling command of tcpdump

Re: timeout: Prettify man page and usage

2021-09-02 Thread Jason McIntyre
On Wed, Sep 01, 2021 at 09:29:35PM +0200, Leon Fischer wrote: > Here's my thanks for importing timeout(1). > > P.S. The wording could still be improved, especially the -k description. > hi. > Index: timeout.1 > === > RCS file:

Re: update to tcpdump(8)

2021-09-01 Thread Jason McIntyre
On Wed, Sep 01, 2021 at 06:15:04PM +0200, Denis Fondras wrote: > I was searching for the sampling command of tcpdump but could not find it in > the > manual. In fact it is missing some primitives compared to pcap-filter manual. > hi. it looks like there's a whole heap of duplication going on

Re: acpibtn.4: Mention sleep putton, lid status and machdep.{lid,pwr}action

2021-09-01 Thread Jason McIntyre
On Tue, Aug 31, 2021 at 11:51:37PM +, Klemens Nanni wrote: > landry added the sensor back in 2013 and suspend via sleep button also works > (at least on ThinkPads). > > machdep.*action are super useful and I dislike grepping /etc/examples/ > for to read about them. > > acpibtn(4) is the most

Re: openssl(1): implement naccept

2021-08-29 Thread Jason McIntyre
On Sun, Aug 29, 2021 at 02:00:44PM +0200, Theo Buehler wrote: > Terminate the s_server after n clients connected to it. This is > occasionally useful, matches OpenSSL's behavior and should help > simplifying regress/usr.bin/openssl/x509. > hi. > Index: openssl.1 >

Re: fortune(6): Veni, vidi, vici

2021-08-23 Thread Jason McIntyre
On Mon, Aug 23, 2021 at 08:18:13PM +0200, Alessandro De Laurenzis wrote: > Greetings, > > I was reluctant to submit this patch, since I'm not a native English > speaker and this could be a wordplay joke, but if not, and it is really > citing the Latin phrase popularly attributed to Julius

Re: ucc(4): consumer control keyboard device driver

2021-08-17 Thread Jason McIntyre
On Tue, Aug 17, 2021 at 08:13:41PM +0200, Anton Lindqvist wrote: > Hi, > Here's a new driver for USB HID Consumer Control keyboards. Such > keyboard is a pseudo device which is used to expose audio and > application launch keys. My prime motivation is to get the volume mute, > increment and

Re: cal(1): Clean up mutually exclusive options

2021-08-16 Thread Jason McIntyre
On Mon, Aug 16, 2021 at 01:45:30PM +0200, Ingo Schwarze wrote: > Hi Jason, > > Jason McIntyre wrote on Mon, Aug 16, 2021 at 12:02:13PM +0100: > > > when i wrote my mail, i failed to understand that "overrides earlier" > > was really just another

Re: cal(1): Clean up mutually exclusive options

2021-08-16 Thread Jason McIntyre
On Mon, Aug 16, 2021 at 12:53:38PM +0200, Ingo Schwarze wrote: > Hi Jason, > > Jason McIntyre wrote on Sun, Aug 15, 2021 at 11:30:05PM +0100: > > > can't we take a stance that where options override each other, > > the last one wins? > > Yes, that is possible. >

Re: cal(1): Clean up mutually exclusive options

2021-08-15 Thread Jason McIntyre
the general way of things and it would be enough to have that presumed and not documented, but obviously we would document commands where this does not occur. so for cal(1), i figured it unneccessary to document this fact. i guess if it is a change in behaviour (i'm unsure whether that is the cas

Re: cal(1): Clean up mutually exclusive options

2021-08-15 Thread Jason McIntyre
On 15 August 2021 22:40:49 BST, Martijn van Duren wrote: >To quote schwarze in the jot mutually exclusive thread: >On Fri, 2021-08-13 at 11:48 +0200, Ingo Schwarze wrote: >> In this case, even though this is not a POSIX command, POSIX utility >> convention 12.2.11 is pertinent: >> >> The

Re: dhcpleased(8): ignore servers / parts of lease

2021-08-08 Thread Jason McIntyre
On Sun, Aug 08, 2021 at 12:37:54PM +0200, Florian Obser wrote: > This implements ignoring of nameservers and / or routes in leases as > well as completely ignoring servers (you cannot block rogue DHCP servers > in pf because bpf sees packets before pf). > > Various people voiced the need for

Re: time.3: miscellaneous cleanup and rewrites

2021-07-30 Thread Jason McIntyre
On Fri, Jul 30, 2021 at 01:01:21PM -0500, Scott Cheloha wrote: > Next up, time.3. > > As before, changes by section, with "I don't knows" at the end of the > change list in each section. > hi. comments inline: > NAME > > - get "the" time of day. > > SYNOPSIS > > - Not a fan of the "tloc"

Re: gettimeofday.2: miscellaneous cleanup and rewrites

2021-07-30 Thread Jason McIntyre
On Fri, Jul 30, 2021 at 09:41:38AM -0500, Scott Cheloha wrote: > Hi, > > The Description section in this page has always bugged me. The author > chose to save space by merging the description of two different system > calls into a single paragraph. Then the rules and caveats for >

Re: tpmr manpage add veb reference

2021-07-27 Thread Jason McIntyre
On Tue, Jul 27, 2021 at 10:18:10PM +0200, Sebastian Benoit wrote: > tpmr(4) connects only two ethernet ports with not much functionality, so the > manpage is helpful by telling us bridge(4) as a more complete alternative. > We now also have veb(4), so mention that as well. > > ok? > > diff --git

Re: sleep.3: miscellaneous cleanup and rewrites

2021-07-25 Thread Jason McIntyre
On Sun, Jul 25, 2021 at 02:30:01PM -0500, Scott Cheloha wrote: > On Sun, Jul 25, 2021 at 08:15:34AM +0100, Jason McIntyre wrote: > > On Sat, Jul 24, 2021 at 10:39:49PM -0500, Scott Cheloha wrote: > > > Okay, the nanosleep.2 changes are committed, let's do sleep.3

Re: sleep.3: miscellaneous cleanup and rewrites

2021-07-25 Thread Jason McIntyre
On Sat, Jul 24, 2021 at 10:39:49PM -0500, Scott Cheloha wrote: > Okay, the nanosleep.2 changes are committed, let's do sleep.3 next. > hi. the changes read fine to me. only one comment: > Here's a changelist by section. I have some questions in there at end > of sections where I'm unsure

Re: cron(8): add '@' interval time specifier

2021-07-10 Thread Jason McIntyre
On Sat, Jul 10, 2021 at 02:07:53PM +, Job Snijders wrote: > Hi all, > > The below patch adds a new kind of time specifier: an interval (in > minutes). When used, cron(8) will schedule the next instance of a job > after the previous job has completed and a full interval has passed. > > A

Re: mandoc style warning about text lines > 80 bytes

2021-06-26 Thread Jason McIntyre
On Sat, Jun 26, 2021 at 07:20:52PM +0200, Ingo Schwarze wrote: > Hi Jason and Theo, > > Jason McIntyre wrote on Tue, Jun 22, 2021 at 06:37:27AM +0100: > > On Tue, Jun 22, 2021 at 04:48:39AM +0200, Theo Buehler wrote: > > >> You have two overlong lines as indicated

Re: timeout.9: document kclock timeouts + a bunch of other changes

2021-06-24 Thread Jason McIntyre
On Thu, Jun 24, 2021 at 05:39:56PM -0500, Scott Cheloha wrote: > On Thu, Jun 24, 2021 at 06:51:07AM +0100, Jason McIntyre wrote: > > On Wed, Jun 23, 2021 at 06:57:00PM -0500, Scott Cheloha wrote: > > > Hi, > > > > > > I want to document kclock timeouts so o

Re: timeout.9: document kclock timeouts + a bunch of other changes

2021-06-23 Thread Jason McIntyre
On Wed, Jun 23, 2021 at 06:57:00PM -0500, Scott Cheloha wrote: > Hi, > > I want to document kclock timeouts so others can use them. > morning. reads fine, except one issue: > > Index: share/man/man9/timeout.9 > === > RCS file:

Re: disklabel(8): reduce usage()

2021-06-22 Thread Jason McIntyre
On Tue, Jun 22, 2021 at 12:36:02PM -0600, Todd C. Miller wrote: > On Tue, 22 Jun 2021 13:34:43 +0100, Jason McIntyre wrote: > > > diff to reduce verbosity in disklabel(8) usage. before: > > OK. Should we also remove SEEALSO from sbin/disklabel/Makefile > and distrib/speci

Re: tset(1): reduce usage()

2021-06-22 Thread Jason McIntyre
On Tue, Jun 22, 2021 at 03:22:34PM +, Klemens Nanni wrote: > On Tue, Jun 22, 2021 at 03:57:08PM +0100, Jason McIntyre wrote: > > On Tue, Jun 22, 2021 at 02:19:32PM +, Klemens Nanni wrote: > > > On Tue, Jun 22, 2021 at 01:47:13PM +0100, Jason McIntyre wr

Re: tset(1): reduce usage()

2021-06-22 Thread Jason McIntyre
On Tue, Jun 22, 2021 at 02:19:32PM +, Klemens Nanni wrote: > On Tue, Jun 22, 2021 at 01:47:13PM +0100, Jason McIntyre wrote: > > after: > > > > $ /usr/obj/usr.bin/tset/tset -Z > > tset: unknown option -- Z > > usage: tset [-cIQqrsVw] [-] [-e ch] [-i ch] [-k ch

Re: lex(1): reduce usage()

2021-06-22 Thread Jason McIntyre
On Tue, Jun 22, 2021 at 07:50:10AM -0600, Theo de Raadt wrote: > Jason McIntyre wrote: > > > hi. > > > > diff to reduce verbosity in flex/lex usage. before: > > This seems better. Rather than telling people to run --help, which is > now usage(), just run usa

Re: tls_load_file.3: tls_config_set_*_file() load files into memory

2021-06-22 Thread Jason McIntyre
On Tue, Jun 22, 2021 at 01:29:59PM +, Klemens Nanni wrote: > On Tue, Jun 22, 2021 at 06:35:44AM +0100, Jason McIntyre wrote: > > > -sets the files from which the public certificate, and private key will > > > be read. > > > +loads two files from which the publi

rdist(1): reduce usage()

2021-06-22 Thread Jason McIntyre
hi. diff to reduce verbosity in rdist(1) usage. before: $ /usr/bin/rdist -Z rdist: unknown option -- Z usage: rdist [-DFnV] [-A num] [-a num] [-c mini_distfile] [-d var=value] [-f distfile] [-L remote_logopts] [-l local_logopts] [-M maxproc] [-m host] [-o distopts] [-P rsh-path]

lex(1): reduce usage()

2021-06-22 Thread Jason McIntyre
hi. diff to reduce verbosity in flex/lex usage. before: $ /usr/bin/lex --help Usage: lex [OPTIONS] [FILE]... Generates programs that perform pattern-matching on text. Table Compression: -Ca, --align trade off larger tables for better memory alignment -Ce, --ecsconstruct

locate(1): reduce usage()

2021-06-22 Thread Jason McIntyre
hi. diff to reduce verbosity in locate(1) usage. before: $ /usr/bin/locate -Z locate: unknown option -- Z usage: locate [-bciS] [-d database] [-l limit] pattern ... default database: `/var/db/locate.database' or $LOCATE_PATH after: $ /usr/obj/usr.bin/locate/locate/locate -Z locate: unknown

tset(1): reduce usage()

2021-06-22 Thread Jason McIntyre
hi. diff to reduce verbosity in tset(1) usage. before: $ /usr/bin/tset -Z tset: unknown option -- Z Usage: tset [-cIQqrsVw] [-] [-e ch] [-i ch] [-k ch] [-m mapping] [terminal] Options: -c set control characters -e ch erase character -I no initialization strings

ypmatch(1): reduce usage()

2021-06-22 Thread Jason McIntyre
hi. diff to reduce verbosity in ypmatch(1) usage. before: $ /usr/bin/ypmatch -Z ypmatch: unknown option -- Z usage: ypmatch [-kt] [-d domain] key ... mapname ypmatch -x where mapname may be either a mapname or a nickname for a map. -k prints keys as well as values.

crontab(1): reduce usage()

2021-06-22 Thread Jason McIntyre
hi. diff to reduce verbosity in crontab(1) usage. before: $ /usr/bin/crontab -Z crontab: unknown option -- Z usage: crontab [-u user] file crontab [-e | -l | -r] [-u user] (default operation is replace, per 1003.2) -e (edit user's crontab) -l

mkuboot(8): reduce usage()

2021-06-22 Thread Jason McIntyre
hi. diff to reduce verbosity in mkuboot(8) usage. i don;t have the means to build this one. ok? jmc Index: mkuboot.c === RCS file: /cvs/src/usr.sbin/mkuboot/mkuboot.c,v retrieving revision 1.10 diff -u -p -r1.10 mkuboot.c ---

disklabel(8): reduce usage()

2021-06-22 Thread Jason McIntyre
hi. diff to reduce verbosity in disklabel(8) usage. before: $ /sbin/disklabel -Z disklabel: unknown option -- Z usage: disklabel[-Acdtv] [-h | -p unit] [-T file] disk (read) disklabel -w [-Acdnv] [-T file] disk disktype [packid] (write) disklabel -e [-Acdnv] [-T file]

scsi(8): reduce usage()

2021-06-22 Thread Jason McIntyre
hi. diff to reduce verbosity in scsi(8) usage. before: $ /sbin/scsi -Z scsi: unknown option -- Z Usage: scsi -f device -d debug_level# To set debug level scsi -f device -m page [-P pc] # To read mode pages scsi -f device [-v] [-s seconds] -c cmd_fmt

Re: tls_load_file.3: tls_config_set_*_file() load files into memory

2021-06-21 Thread Jason McIntyre
On Tue, Jun 22, 2021 at 04:48:39AM +0200, Theo Buehler wrote: > > > > Feedback? OK? > > You have two overlong lines as indicated below. I would have thought > that mandoc -Tlint complains about that, but apparently it doesn't have > such a warning... With those wrapped, > yes, there is no

Re: tls_load_file.3: tls_config_set_*_file() load files into memory

2021-06-21 Thread Jason McIntyre
On Mon, Jun 21, 2021 at 11:26:41PM +, Klemens Nanni wrote: > > Thanks. tls_config_add_*_file also load files into memory, but given > this patch I think their usage of "add" in the manual is enough to infer > that files will also be loaded and added, so no need to change those as > well, I

Re: alarm.3: misc. cleanup, rewriting

2021-06-18 Thread Jason McIntyre
On Fri, Jun 18, 2021 at 04:27:36PM -0500, Scott Cheloha wrote: > > I've also added a CAVEATS section. > > I've also tweaked the .Nd summary: > > .Nd schedule SIGALRM delivery > > Thoughts? > reads ok to me. one possible tweak inline: > Index: alarm.3 >

Re: fix isascii(3) manpage

2021-06-12 Thread Jason McIntyre
On Fri, Jun 11, 2021 at 09:56:20AM +, Miod Vallat wrote: > All the is*() ctype.h functions take an int as argument, but valid > values are only EOF, and the range of values of `unsigned char'. > > All, but one: the XPG4 isascii(), which has no such restriction. > Quoting

Re: Very little patch : ref getrtable in rdomain

2021-05-19 Thread Jason McIntyre
On Wed, May 19, 2021 at 10:55:11AM -0400, Sven F. wrote: > Index: rdomain.4 > === > RCS file: /cvs/src/share/man/man4/rdomain.4,v > retrieving revision 1.17 > diff -u -p -r1.17 rdomain.4 > --- rdomain.4 24 Sep 2020 11:05:32 -

Re: mention apmd(8) on afterboot(8)

2021-05-15 Thread Jason McIntyre
ason, > >On Sat, 15 May 2021, Jason McIntyre wrote: > >> On Sat, May 15, 2021 at 12:27:53PM +0200, Paco Esteban wrote: >> > Hi, >> > >> > This adds a mention to apmd(8) on afterboot(8). Original idea is >from >> > kmos@, crappy wording is mine

Re: mention apmd(8) on afterboot(8)

2021-05-15 Thread Jason McIntyre
On Sat, May 15, 2021 at 12:27:53PM +0200, Paco Esteban wrote: > Hi, > > This adds a mention to apmd(8) on afterboot(8). Original idea is from > kmos@, crappy wording is mine (corrections/suggestions welcome). > > ok to commit ? > hi. i guess i don;t object, but i'm not convinced this page

Re: shell manpage tweaks wrt getopt

2021-05-01 Thread Jason McIntyre
On Sat, May 01, 2021 at 04:33:08PM +0200, Christian Weisgerber wrote: > Jason McIntyre: > > > - i'm ok with the getopt.1 and ksh.1 parts > > - i'm not ok with the addition to sh.1 > > > > no one has really given a good reason why they think it should go into &g

Re: shell manpage tweaks wrt getopt

2021-04-30 Thread Jason McIntyre
On Fri, Apr 30, 2021 at 04:42:12PM +0200, Marc Espie wrote: > On Fri, Apr 30, 2021 at 03:28:42PM +0100, Jason McIntyre wrote: > > my argument boils down to: sh(1) is small and has no examples. adding > > them changes the (deliberate) nature of the page. ksh(1) is what you > >

Re: shell manpage tweaks wrt getopt

2021-04-30 Thread Jason McIntyre
On Fri, Apr 30, 2021 at 04:54:57PM +0200, Christian Weisgerber wrote: > Marc Espie: > > > Until a patch from naddy, I wasn't even aware of getopts in sh(1) > > Let's start the discussion with this instead. > > This puts the deprecation notice in getopt.1 in a prominent place, > and uses the

Re: shell manpage tweaks wrt getopt

2021-04-30 Thread Jason McIntyre
On Fri, Apr 30, 2021 at 04:07:55PM +0200, Marc Espie wrote: > On Fri, Apr 30, 2021 at 02:44:01PM +0100, Jason McIntyre wrote: > > On Fri, Apr 30, 2021 at 11:54:16AM +0200, Marc Espie wrote: > > > Until a patch from naddy, I wasn't even aware of getopts in sh(1) > > >

Re: shell manpage tweaks wrt getopt

2021-04-30 Thread Jason McIntyre
On Fri, Apr 30, 2021 at 11:54:16AM +0200, Marc Espie wrote: > Until a patch from naddy, I wasn't even aware of getopts in sh(1) > > Unless I made some mistakes, this translates the example in getopt(1) > manpage. > > It's likely some stronger wording might be adequate, I suspect some > of the

Re: Updates for elf(5)

2021-04-15 Thread Jason McIntyre
On Thu, Apr 01, 2021 at 03:29:54PM +0100, George Brown wrote: > In revision 1.35 EI_BRAND was removed in conjunction with EI_OSABI and > EI_ABIVERSION being added, but it looks like this has not been reflected > in elf(5). The only place EI_BRAND appears in OpenBSD's current source > tree is this

Re: ifconfig(8) add bpe(4)

2021-04-11 Thread Jason McIntyre
On Sun, Apr 11, 2021 at 04:48:40PM +0200, Marcus MERIGHI wrote: > hello! > > the description of bpe(4) is missing from ifconfig(8). > my attempt with what I could gather from bpe(4) below. > > marcus > hi. the sections are ordered alphabetically, so it should go first, immediately before

Re: missing arg in esample renice man command ?

2021-04-06 Thread Jason McIntyre
On Tue, Apr 06, 2021 at 02:41:28PM -0400, Sven F. wrote: > On Tue, Apr 6, 2021 at 2:29 PM Jason McIntyre wrote: > > > > On Tue, Apr 06, 2021 at 01:42:51PM -0400, Sven F. wrote: > > > Line 120 , in renice.8 > > > > > > https://github.com/openbsd/sr

Re: missing arg in esample renice man command ?

2021-04-06 Thread Jason McIntyre
On Tue, Apr 06, 2021 at 01:42:51PM -0400, Sven F. wrote: > Line 120 , in renice.8 > > https://github.com/openbsd/src/blob/master/usr.bin/renice/renice.8#L120 > > # renice -n +1 987 -u daemon root -p 32 > > should be > > # renice -n +1 -g 987 -u daemon root -p 32 ? > > > ---

Re: httpd.conf grammar

2021-04-06 Thread Jason McIntyre
options jmc > Cheers, > > Raf > > On Mon, Mar 22, 2021 at 02:20:42PM GMT, Jason McIntyre wrote: > > On Mon, Mar 22, 2021 at 01:33:34PM +, Raf Czlonka wrote: > > > On Mon, Mar 22, 2021 at 07:08:32AM GMT, Jason McIntyre wrote: > > > > On Su

Re: printf.9: document limited conversion specification syntax

2021-04-04 Thread Jason McIntyre
yep, better than mine. ok jmc On 4 April 2021 14:41:13 BST, Klemens Nanni wrote: >On Sun, Apr 04, 2021 at 07:17:27AM +0100, Jason McIntyre wrote: >> On Sun, Apr 04, 2021 at 01:22:23AM +0200, Klemens Nanni wrote: >> > @@ -119,6 +119,17 @@ send formatted strings to the ddb con

Re: Typos in ssh man pages

2021-04-04 Thread Jason McIntyre
On Sun, Apr 04, 2021 at 11:25:56AM +0200, Matthias Schmidt wrote: > Hi, > > in the recent commits to ssh(d)_config.5 two typos slipped in (looks like > classic "switch vi to edit mode" typo :)). > > Cheers > > Matthias > fixed, thanks. jmc > > diff --git a/usr.bin/ssh/ssh_config.5

Re: mandoc: -Tlint: search /usr/local/man as well

2021-04-04 Thread Jason McIntyre
On Sat, Apr 03, 2021 at 02:33:05AM +0200, Klemens Nanni wrote: > It has always bothered me that linting manuals complained about missing > manuals from packages despite their path being part of the default > MANPATH: > > No local man(1) config: > > $ echo $MANPATH > ksh: MANPATH:

Re: printf.9: document limited conversion specification syntax

2021-04-04 Thread Jason McIntyre
On Sun, Apr 04, 2021 at 01:22:23AM +0200, Klemens Nanni wrote: > print(9) says it only documents differences and points at printf(3) for > identical/shared bits: > >DESCRIPTION > [...] > > Since each of these kernel functions is a variant of its user space > counterpart, this

Re: Mention -N to shutdown(2) network socket after EOF in man nc(1)

2021-03-31 Thread Jason McIntyre
On Tue, Mar 30, 2021 at 02:48:17AM +0200, Robert Scheck wrote: > Jakub Jelen reported at Fedora that "nc -l 8080" (terminal #1) and "echo > XXX | nc localhost 8080" (terminal #2) keeps hanging both client and server > after reading the EOF, even the last sentence of "CLIENT/SERVER MODEL" in > the

Re: httpd.conf grammar

2021-03-22 Thread Jason McIntyre
On Mon, Mar 22, 2021 at 01:33:34PM +, Raf Czlonka wrote: > On Mon, Mar 22, 2021 at 07:08:32AM GMT, Jason McIntyre wrote: > > On Sun, Mar 21, 2021 at 10:58:02PM +, Raf Czlonka wrote: > > > > > > Hi Laurie, > > > > > > I'd simply use the e

Re: httpd.conf grammar

2021-03-22 Thread Jason McIntyre
On Sun, Mar 21, 2021 at 10:58:02PM +, Raf Czlonka wrote: > > Hi Laurie, > > I'd simply use the existing wording, without getting into details. > > While there, "braces" dominate the manual page, with a single > occurrence of "brackets" so let's change that too, for consistency. > >

Re: apm, apmd: ship manual pages on powerpc64

2021-03-21 Thread Jason McIntyre
On Sat, Mar 20, 2021 at 07:29:11PM -0600, Theo de Raadt wrote: > There is a pattern we've followed in the past, that when a manpage applies > to more than 2 (or 3?) architectures, then we simply make it MI. > > So MANSUBDIR would get deleted, and then the sets would be updated. > > People with

Re: wg(4): add history section

2021-03-14 Thread Jason McIntyre
On Sat, Mar 13, 2021 at 10:47:30PM +0200, Maxim Vuets wrote: > Documented in which release wg(4) has been added > (as per ). > > Index: share/man/man4/wg.4 > === > RCS file:

Re: Clarifications about ELF(5)

2021-02-27 Thread Jason McIntyre
On Sat, Feb 27, 2021 at 07:26:42PM +, George Brown wrote: > > hi. diff committed, with one change: we did not add "must" (just removed > > "usually"). > > > > jmc > > Thanks Jason. Though browsing cvsweb it seems the commit did include the > "must" not sure if the decision changed after

Re: Clarifications about ELF(5)

2021-02-27 Thread Jason McIntyre
On Sat, Feb 27, 2021 at 12:24:33PM +, George Brown wrote: > Binaries without a .note.openbsd.ident section fail to execute. This > note section is mentioned in the ELF man page as follows. > > > .note This section holds information in the note section format > >described

Re: ober_get_string.3: s/byte/character

2021-02-22 Thread Jason McIntyre
On Mon, Feb 22, 2021 at 11:12:32PM +0100, Martijn van Duren wrote: > As pointed out by claudio@, it makes more sense to talk about characters > for fmt instead of bytes. > > The .Bl line already was >80 columns, but I don't know how to remedy > this situation, so this diff makes that a little

Re: OpenSMTPD docs: forward.5

2021-02-13 Thread Jason McIntyre
On Sat, Feb 13, 2021 at 09:47:41PM +, Larry Hynes wrote: > Jason McIntyre wrote: > > On Fri, Feb 12, 2021 at 03:15:47PM +, Larry Hynes wrote: > > > > > > Index: forward.5 > > > === >

Re: OpenSMTPD docs: smtp.1

2021-02-13 Thread Jason McIntyre
On Fri, Feb 12, 2021 at 05:35:07PM +, Larry Hynes wrote: > Note: the command 'smtp -h' only returns usage. Usage exits with '1' > (I assume this is to satisfy the default case in switch (ch) in > main()), even when called from the correct use of the '-h' flag, > which I don't think is correct.

Re: OpenSMTPD docs: table.5

2021-02-13 Thread Jason McIntyre
On Fri, Feb 12, 2021 at 03:30:11PM +, Larry Hynes wrote: > > Index: table.5 > === > RCS file: /cvs/src/usr.sbin/smtpd/table.5,v > retrieving revision 1.11 > diff -u -p -r1.11 table.5 > --- table.5 11 Aug 2019 13:00:57 -

Re: OpenSMTPD docs: smtpd.conf.5

2021-02-13 Thread Jason McIntyre
On Fri, Feb 12, 2021 at 03:29:02PM +, Larry Hynes wrote: > > Index: smtpd.conf.5 > === > RCS file: /cvs/src/usr.sbin/smtpd/smtpd.conf.5,v > retrieving revision 1.256 > diff -u -p -r1.256 smtpd.conf.5 > --- smtpd.conf.5 27

Re: OpenSMTPD docs: smtpctl.8

2021-02-12 Thread Jason McIntyre
On Fri, Feb 12, 2021 at 03:23:38PM +, Larry Hynes wrote: > > Index: smtpctl.8 > === > RCS file: /cvs/src/usr.sbin/smtpd/smtpctl.8,v > retrieving revision 1.65 > diff -u -p -r1.65 smtpctl.8 > --- smtpctl.8 14 Sep 2020 09:48:08

Re: OpenSMTPD docs: newaliases.8

2021-02-12 Thread Jason McIntyre
On Fri, Feb 12, 2021 at 03:21:16PM +, Larry Hynes wrote: > > Index: newaliases.8 > === > RCS file: /cvs/src/usr.sbin/smtpd/newaliases.8,v > retrieving revision 1.12 > diff -u -p -r1.12 newaliases.8 > --- newaliases.8 20 Jul

Re: OpenSMTPD docs: makemap.8

2021-02-12 Thread Jason McIntyre
On Fri, Feb 12, 2021 at 03:19:53PM +, Larry Hynes wrote: > Note: DNS is mentioned in this file as a way of accessing maps. Aside > from this mention it appears to be undocumented. > > Index: makemap.8 > === > RCS file:

Re: OpenSMTPD docs: mail.maildir.8

2021-02-12 Thread Jason McIntyre
On Fri, Feb 12, 2021 at 03:16:57PM +, Larry Hynes wrote: > > Index: mail.maildir.8 > === > RCS file: /cvs/src/usr.sbin/smtpd/mail.maildir.8,v > retrieving revision 1.5 > diff -u -p -r1.5 mail.maildir.8 > --- mail.maildir.830

Re: OpenSMTPD docs: forward.5

2021-02-12 Thread Jason McIntyre
On Fri, Feb 12, 2021 at 03:15:47PM +, Larry Hynes wrote: > > Index: forward.5 > === > RCS file: /cvs/src/usr.sbin/smtpd/forward.5,v > retrieving revision 1.9 > diff -u -p -r1.9 forward.5 > --- forward.5 13 Mar 2015 22:41:54 -

Re: OpenSMTPD docs: aliases.5

2021-02-12 Thread Jason McIntyre
On Fri, Feb 12, 2021 at 03:14:26PM +, Larry Hynes wrote: > hi. i've taken the changes in the first sentence - i agree that the comma placement reads better in your version. i'm working my way through your diffs just now, but to be honest most of these changes (like the rest in this diff)

Re: [patch] typos in ldap.1

2021-02-09 Thread Jason McIntyre
On Tue, Feb 09, 2021 at 09:31:10PM -0500, Dave Voutila wrote: > Three small changes: > > 1. product -> produce > 2. remove '.' from sizelimit description > 3. remove linebreaks on statements about {size,time}limit > > -Dave Voutila > fixed, thanks. jmc > Index: usr.bin/ldap/ldap.1 >

Re: ypxfr: ypxfr.8: small grammar fix

2021-02-01 Thread Jason McIntyre
On Tue, Feb 02, 2021 at 06:29:17PM +1100, Eddie Youseph wrote: > Hi, > > A small grammar fix for ypxfr.8 > fixed, thanks. if you have any more small diffs like these, consider bundling them so we can fix them in a single pass. jmc > RCS file: /cvs/src/usr.sbin/ypserv/ypxfr/ypxfr.8,v >

Re: tmux: tmux.1: small grammar fix

2021-02-01 Thread Jason McIntyre
On Tue, Feb 02, 2021 at 06:19:40PM +1100, Eddie Youseph wrote: > Hi, > > A small grammar fix for the tmux manpage. > fixed, thanks. jmc > Index: usr.bin/tmux/tmux.1 > === > RCS file: /cvs/src/usr.bin/tmux/tmux.1,v > retrieving

Re: libmenu: menu_driver.3, menu_post.3: small grammar fixes

2021-02-01 Thread Jason McIntyre
On Tue, Feb 02, 2021 at 06:16:33PM +1100, Eddie Youseph wrote: > Hi, > > Couple of grammar fixes for libmenu menu_driver.3 and menu_post.3 > curses too, so same applies as my libform comments. jmc > Index: lib/libmenu/menu_driver.3 >

Re: libform: form_driver.3, form_fieldtype.3: Small grammar fixes

2021-02-01 Thread Jason McIntyre
On Tue, Feb 02, 2021 at 06:14:01PM +1100, Eddie Youseph wrote: > Hi, > > Some grammar fixes for libform. > these ones come from curses. you should check whether their latest sources still need fixing and mail them direct. jmc > Index: lib/libform/form_driver.3 >

Re: libc: cgetent.3, ungetwc.3: small grammar fixes

2021-02-01 Thread Jason McIntyre
On Tue, Feb 02, 2021 at 06:08:19PM +1100, Eddie Youseph wrote: > Hi, > > A couple of small grammar fixes for cgetent.3 and ungetwc.3 > fixed, thanks. jmc > Index: lib/libc/gen/cgetent.3 > === > RCS file:

Re: libagentx: agentx.3: small grammar fix

2021-02-01 Thread Jason McIntyre
On Tue, Feb 02, 2021 at 06:04:08PM +1100, Eddie Youseph wrote: > Hi, > > A small grammar fix for the agentx.3 manpage. > fixed, thanks. jmc > RCS file: /cvs/src/lib/libagentx/agentx.3,v > retrieving revision 1.5 > diff -u -p -u -p -r1.5 agentx.3 > --- lib/libagentx/agentx.3 3 Dec 2020

Re: bgpd.8 control socket path

2021-01-31 Thread Jason McIntyre
On Sun, Jan 31, 2021 at 11:47:47AM -0500, Daniel Jakots wrote: > Hi, > > Since > https://github.com/openbsd/src/commit/8d7b500c2ac3625a5b524c5e150619612af2dd36, > the control socket path is not exactly correct in bgpd.8. > > Here's a diff to be precise. I took the wording from bgpd.conf.5. > >

Re: kcov_remote_register.9: fix grammar error

2021-01-31 Thread Jason McIntyre
On Mon, Feb 01, 2021 at 11:34:49AM +1100, Eddie Youseph wrote: > Hi, > > Small patch to fix grammar error in man page. > fixed, thanks. jmc > Index: share/man/man9/kcov_remote_register.9 > === > RCS file:

  1   2   3   4   5   6   7   8   9   10   >