On Thu, Dec 03, 2020 at 02:20:23AM -0500, VARIK VALEFOR wrote: > Sir or Madam: > > This message contains some diffs which fix incorrect article usage, i.e., > the use of "a" where "an" should have been used, and vice-versa. > > "If you love something, and you set it free, and it doesn't come back, > you're a dumb-ass." > Varik "NOT A COMPUTER PROGRAMMER!!!" Valefor >
hi. i committed your diff minus the libform/libmenu ones: those are 3rd party. check out the latest curses sources and submit a diff upstream if the fixes are still relevant. thanks! jmc > > > ===== BEGIN DIFFS ===== > diff --git a/lib/libagentx/agentx.3 b/lib/libagentx/agentx.3 > index f674c86f7cc..cdfd8490853 100644 > --- a/lib/libagentx/agentx.3 > +++ b/lib/libagentx/agentx.3 > @@ -586,7 +586,7 @@ The function type must also match the data type of > ??Other functions that can retrieve information from the agentx context are: > ??.Bl -tag -width Ds > ??.It Fn agentx_context_object_find > -Find a agentx_object created inside agentx_context > +Find an agentx_object created inside agentx_context > ??.Fa sac > ??based on > ??.Fa oid > > > > diff --git a/lib/libc/yp/yp_bind.3 b/lib/libc/yp/yp_bind.3 > index 5371b854e58..2ea4af6395f 100644 > --- a/lib/libc/yp/yp_bind.3 > +++ b/lib/libc/yp/yp_bind.3 > @@ -304,7 +304,7 @@ Returns a pointer to a NUL-terminated error string > that does not contain a > ??or > ??.Ql \en . > ??.It Fn ypprot_err > -Converts a YP protocol error code to a error code suitable for > +Converts a YP protocol error code to an error code suitable for > ??.Fn yperr_string . > ??.El > ??.Sh RETURN VALUES > > > > diff --git a/lib/libcrypto/man/BIO_ctrl.3 b/lib/libcrypto/man/BIO_ctrl.3 > index 98c78be1344..4f3b1337d64 100644 > --- a/lib/libcrypto/man/BIO_ctrl.3 > +++ b/lib/libcrypto/man/BIO_ctrl.3 > @@ -304,7 +304,7 @@ For example no current filter BIOs implement > ??but this may still succeed if the chain ends > ??in a FILE or file descriptor BIO. > ??.Pp > -Source/sink BIOs return an 0 if they do not recognize the > +Source/sink BIOs return a 0 if they do not recognize the > ??.Fn BIO_ctrl > ??operation. > ??.Sh SEE ALSO > > > > diff --git a/lib/libcrypto/man/EVP_EncryptInit.3 > b/lib/libcrypto/man/EVP_EncryptInit.3 > index 7f9428d174b..ac20f27831b 100644 > --- a/lib/libcrypto/man/EVP_EncryptInit.3 > +++ b/lib/libcrypto/man/EVP_EncryptInit.3 > @@ -1197,7 +1197,7 @@ openssl bf -in cipher.bin -K > 000102030405060708090A0B0C0D0E0F \e > ??.Ed > ??.Pp > ??General encryption, decryption function example using FILE I/O and AES128 > -with an 128-bit key: > +with a 128-bit key: > ??.Bd -literal > ??int > ??do_crypt(FILE *in, FILE *out, int do_encrypt) > > > > diff --git a/lib/libelf/elf.3 b/lib/libelf/elf.3 > index 3c238f2ea4f..6136c895f6f 100644 > --- a/lib/libelf/elf.3 > +++ b/lib/libelf/elf.3 > @@ -576,7 +576,7 @@ set by function > ??.Ss Error Handling > ??In case an error is encountered, these library functions set an > ??internal error number and signal the presence of the error by > -returning an special return value. > +returning a special return value. > ??The application can check the > ??current error number by calling > ??.Xr elf_errno 3 . > > > > diff --git a/lib/libform/form_driver.3 b/lib/libform/form_driver.3 > index 48d371abe8d..510f6c359fb 100644 > --- a/lib/libform/form_driver.3 > +++ b/lib/libform/form_driver.3 > @@ -263,7 +263,7 @@ a REQ_NEXT_PAGE is generated for a double-click and > ??a REQ_LAST_FIELD is generated for a triple-click. > ??.RE > ??.PP > -If you click at an field inside the display area of the form: > +If you click at a field inside the display area of the form: > ??.RS > ??.TP 3 > ??- > @@ -274,7 +274,7 @@ If you double-click a field, > ??the form cursor is positioned to that field > ??and \fBE_UNKNOWN_COMMAND\fR is returned. > ??This return value makes sense, > -because a double click usually means that an field-specific action should > +because a double click usually means that a field-specific action should > ??be returned. > ??It is exactly the purpose of this return value to signal that an > ??application specific command should be executed. > > > > diff --git a/lib/libform/form_fieldtype.3 b/lib/libform/form_fieldtype.3 > index b2956a41ed3..a6c4d6b4877 100644 > --- a/lib/libform/form_fieldtype.3 > +++ b/lib/libform/form_fieldtype.3 > @@ -89,7 +89,7 @@ argument into a single scalar value. > ??.PP > ??The function \fBlink_fieldtype\fR creates > ??a new field type from the two given types. > -They are connected by an logical 'OR'. > +They are connected by a logical 'OR'. > ??.PP > ??The form driver requests \fBREQ_NEXT_CHOICE\fR and > \fBREQ_PREV_CHOICE\fR assume > ??that the possible values of a field form an ordered set, and provide > the forms > > > > diff --git a/lib/libform/form_post.3 b/lib/libform/form_post.3 > index ca29a6a4698..56639c1d902 100644 > --- a/lib/libform/form_post.3 > +++ b/lib/libform/form_post.3 > @@ -44,7 +44,7 @@ int unpost_form(FORM *form); > ??.SH DESCRIPTION > ??The function \fBpost_form\fR displays a form to its associated > subwindow.?? To > ??trigger physical display of the subwindow, use \fBrefresh\fR or some > equivalent > -\fBcurses\fR routine (the implicit \fBdoupdate\fR triggered by an > \fBcurses\fR > +\fBcurses\fR routine (the implicit \fBdoupdate\fR triggered by a > \fBcurses\fR > ??input request will do). > ??.PP > ??The function \fBunpost_form\fR erases form from its associated subwindow. > > > > diff --git a/lib/libmenu/menu_driver.3 b/lib/libmenu/menu_driver.3 > index 5b9bb140fb1..16b404ada0c 100644 > --- a/lib/libmenu/menu_driver.3 > +++ b/lib/libmenu/menu_driver.3 > @@ -52,7 +52,7 @@ Printable characters (which must be positive, less > than 256) are > ??checked according to the program's locale settings. > ??.TP 3 > ??- > -The input is the KEY_MOUSE special key associated with an mouse event. > +The input is the KEY_MOUSE special key associated with a mouse event. > ??.PP > ??The menu driver requests are as follows: > ??.TP 5 > @@ -162,7 +162,8 @@ into a request was done, \fBmenu_driver\fR returns > the result of this request. > ??.RE > ??.PP > ??If you clicked outside the user window or the mouse event could not be > translated > -into a menu request an \fBE_REQUEST_DENIED\fR is returned. > +into a menu request, a \fBE_REQUEST_DENIED\fR is returned. > +\"No "then" was present.?? According to Mr. MCINTYRE, this fact may > justify adding a comma. > ??.SS APPLICATION-DEFINED COMMANDS > ??.PP > ??If the second argument is neither printable nor one of the above > > > > diff --git a/lib/libssl/man/SSL_SESSION_new.3 > b/lib/libssl/man/SSL_SESSION_new.3 > index 0b35c1145a0..14065a0df22 100644 > --- a/lib/libssl/man/SSL_SESSION_new.3 > +++ b/lib/libssl/man/SSL_SESSION_new.3 > @@ -26,7 +26,7 @@ > ??.Fn SSL_SESSION_new void > ??.Sh DESCRIPTION > ??.Fn SSL_SESSION_new > -allocates and initializes an new > +allocates and initializes a new > ??.Vt SSL_SESSION > ??object. > ??The reference count is set to 1, the time to the current time, and > > > > diff --git a/share/man/man3/dlfcn.3 b/share/man/man3/dlfcn.3 > index 5e969bf20d2..32d121eb524 100644 > --- a/share/man/man3/dlfcn.3 > +++ b/share/man/man3/dlfcn.3 > @@ -231,7 +231,7 @@ The pathname of the shared object containing the address > ??The base address at which the shared object is mapped into the > ??address space of the calling process. > ??.It Li "const char *dli_sname" > -The name of the nearest run-time symbol with a address less than or > +The name of the nearest run-time symbol with an address less than or > ??equal to > ??.Fa addr . > ??.Pp > > > > diff --git a/usr.bin/lex/flex.1 b/usr.bin/lex/flex.1 > index 138765cbbf5..66077cb2fd1 100644 > --- a/usr.bin/lex/flex.1 > +++ b/usr.bin/lex/flex.1 > @@ -4227,7 +4227,7 @@ to expand the input buffer. > ??This doesn't work with scanners that use > ??.Em REJECT . > ??.It "fatal flex scanner internal error--end of buffer missed" > -This can occur in an scanner which is reentered after a long-jump > +This can occur in a scanner which is reentered after a long-jump > ??has jumped out > ??.Pq or over > ??the scanner's activation frame. > > > > diff --git a/usr.sbin/pppd/pppd.8 b/usr.sbin/pppd/pppd.8 > index 5fba6f1714d..ba5c415b796 100644 > --- a/usr.sbin/pppd/pppd.8 > +++ b/usr.sbin/pppd/pppd.8 > @@ -138,7 +138,7 @@ Usually there is something which needs to be done to > prepare the link > ??before the PPP protocol can be started; for instance, with a dial-up > ??modem, commands need to be sent to the modem to dial the appropriate > ??phone number. > -This option specifies an command for > +This option specifies a command for > ??.Nm > ??to execute (by passing it to a shell) before attempting to start PPP > ??negotiation. > ===== END DIFFS ===== >
