<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/usr.bin, branch stable/12</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>switch groff parameter -man to -mandoc for new groff release 1.23.0</title>
<updated>2023-09-25T17:33:15+00:00</updated>
<author>
<name>Wolfram Schneider</name>
<email>wosch@FreeBSD.org</email>
</author>
<published>2023-09-07T14:59:12+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=2e866693bc3e286ed54658d7cdb20518b601672f'/>
<id>2e866693bc3e286ed54658d7cdb20518b601672f</id>
<content type='text'>
PR: 273565

(cherry picked from commit cd89fe3923e92ab090cbdff7eb215c2d85b51718)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
PR: 273565

(cherry picked from commit cd89fe3923e92ab090cbdff7eb215c2d85b51718)
</pre>
</div>
</content>
</entry>
<entry>
<title>switch groff parameter -man to -mandoc</title>
<updated>2023-09-25T17:33:08+00:00</updated>
<author>
<name>Wolfram Schneider</name>
<email>wosch@FreeBSD.org</email>
</author>
<published>2023-09-07T06:28:24+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=0e71efa38c9aa3281a8bbce169becf3f05dd7c91'/>
<id>0e71efa38c9aa3281a8bbce169becf3f05dd7c91</id>
<content type='text'>
groff 1.23.0 changed the semantics of the -man parameter, and many
manual pages are not rendered. The -mandoc parameter brings back
the old behavior, as in groff 1.22.4 and earlier.

PR: 273565, 273245

Reviewed by:	emaste, bapt
MFC after: 1 week for all supported branches (stable/12, 13, 14)
Differential Revision:	https://reviews.freebsd.org/D41737

(cherry picked from commit 035f7c9a3653d91564a5513f1311aa3b6e14a17e)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
groff 1.23.0 changed the semantics of the -man parameter, and many
manual pages are not rendered. The -mandoc parameter brings back
the old behavior, as in groff 1.22.4 and earlier.

PR: 273565, 273245

Reviewed by:	emaste, bapt
MFC after: 1 week for all supported branches (stable/12, 13, 14)
Differential Revision:	https://reviews.freebsd.org/D41737

(cherry picked from commit 035f7c9a3653d91564a5513f1311aa3b6e14a17e)
</pre>
</div>
</content>
</entry>
<entry>
<title>netstat -i: compute most field widths dynamically</title>
<updated>2023-08-03T12:50:15+00:00</updated>
<author>
<name>Mike Karels</name>
<email>karels@FreeBSD.org</email>
</author>
<published>2023-07-26T15:56:52+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=193f782e525ed56939c97852f07244b587ab529d'/>
<id>193f782e525ed56939c97852f07244b587ab529d</id>
<content type='text'>
The network and address fields were sometimes truncated for netstat -i
without -W, and often much too wide for netstat -i with the -W option.
Fields such as normal packet counts often overflowed.  As a result,
columns didn't line up, and large white spaces made it harder to
follow a line across the display.  Change the code to compute the
required field sizes for network, address, and various packet counts.
Hoist the code to format network and address into a subroutine that
can be called twice, once to measure the required field widths,
and once to emit the values.  Use separate field widths for input
and output packets, byte counts, and error and drop counters.
These are left at defaults (the preceding values) with the -h
option, in which case the fields have a limited total width.
An extra space is included between the Network and Address, which
otherwise seemed too close.

Change the mention of -W with -i in the man page to say that most
field widths are computed dynamically in this case.

Reviewed by:	sjg, glebius
Differential Revision:	https://reviews.freebsd.org/D41160

(cherry picked from commit 372e3d561d82aba7a66fcd4ecb49a4d0a9f69345)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The network and address fields were sometimes truncated for netstat -i
without -W, and often much too wide for netstat -i with the -W option.
Fields such as normal packet counts often overflowed.  As a result,
columns didn't line up, and large white spaces made it harder to
follow a line across the display.  Change the code to compute the
required field sizes for network, address, and various packet counts.
Hoist the code to format network and address into a subroutine that
can be called twice, once to measure the required field widths,
and once to emit the values.  Use separate field widths for input
and output packets, byte counts, and error and drop counters.
These are left at defaults (the preceding values) with the -h
option, in which case the fields have a limited total width.
An extra space is included between the Network and Address, which
otherwise seemed too close.

Change the mention of -W with -i in the man page to say that most
field widths are computed dynamically in this case.

Reviewed by:	sjg, glebius
Differential Revision:	https://reviews.freebsd.org/D41160

(cherry picked from commit 372e3d561d82aba7a66fcd4ecb49a4d0a9f69345)
</pre>
</div>
</content>
</entry>
<entry>
<title>syslog.3: MFC: document ident[N] format</title>
<updated>2023-07-18T08:07:04+00:00</updated>
<author>
<name>Eugene Grosbein</name>
<email>eugen@FreeBSD.org</email>
</author>
<published>2023-07-03T12:35:37+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=85c1418ba1c827a73c04689fceb4edd1ab0eea64'/>
<id>85c1418ba1c827a73c04689fceb4edd1ab0eea64</id>
<content type='text'>
When libc switched to generation of logs as per RFC 5424,
that change broke application ability to insert specific process id
using ident[N] format, the feature existed for decades.
Some processes rely on it (including logger and syslogd).

Later the regression was fixed but the feature remained undocumented.
This change documents it.

(cherry picked from commit 5aee3e14d4914c7c99bce80da17b3100cb1f4490)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When libc switched to generation of logs as per RFC 5424,
that change broke application ability to insert specific process id
using ident[N] format, the feature existed for decades.
Some processes rely on it (including logger and syslogd).

Later the regression was fixed but the feature remained undocumented.
This change documents it.

(cherry picked from commit 5aee3e14d4914c7c99bce80da17b3100cb1f4490)
</pre>
</div>
</content>
</entry>
<entry>
<title>logger(1): MFC: fix timestamps in case of long run</title>
<updated>2023-07-18T07:24:26+00:00</updated>
<author>
<name>Eugene Grosbein</name>
<email>eugen@FreeBSD.org</email>
</author>
<published>2023-04-27T16:43:16+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=829dbdcac20d1237ac9693d2e5489857e151754a'/>
<id>829dbdcac20d1237ac9693d2e5489857e151754a</id>
<content type='text'>
An example:

( echo test; sleep 2; echo test2 ) | logger -h /var/run/log

Before fix, logger assigned same timestamp to both records.

Fixes:		65547fb33db901a9f352aacb0ed45ce68b0bd275
Reported by:	Vadim Goncharov

(cherry picked from commit 83fd35b3f3fa580d2b99874abd1f67ee61dcb659)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
An example:

( echo test; sleep 2; echo test2 ) | logger -h /var/run/log

Before fix, logger assigned same timestamp to both records.

Fixes:		65547fb33db901a9f352aacb0ed45ce68b0bd275
Reported by:	Vadim Goncharov

(cherry picked from commit 83fd35b3f3fa580d2b99874abd1f67ee61dcb659)
</pre>
</div>
</content>
</entry>
<entry>
<title>last(1): Remove double words in source code comments</title>
<updated>2023-04-23T05:16:38+00:00</updated>
<author>
<name>Gordon Bergling</name>
<email>gbe@FreeBSD.org</email>
</author>
<published>2023-04-18T05:12:45+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=576efbba8693c7cbdcf8f1f7cb661ec62c4ffd53'/>
<id>576efbba8693c7cbdcf8f1f7cb661ec62c4ffd53</id>
<content type='text'>
- s/on on/on/
- s/we we/we/

(cherry picked from commit 1190b82c2294762c77099fc52835d5d07b57e7a3)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- s/on on/on/
- s/we we/we/

(cherry picked from commit 1190b82c2294762c77099fc52835d5d07b57e7a3)
</pre>
</div>
</content>
</entry>
<entry>
<title>grdc.6: Add an ENVIRONMENT section</title>
<updated>2023-04-21T04:46:56+00:00</updated>
<author>
<name>Gordon Bergling</name>
<email>gbe@FreeBSD.org</email>
</author>
<published>2023-04-16T09:17:06+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=b5a5ddaa4c2e6c2d813e1662df4b2f8ac941c61e'/>
<id>b5a5ddaa4c2e6c2d813e1662df4b2f8ac941c61e</id>
<content type='text'>
- Add an ENVIRONMENT section

Obtained from:	OpenBSD

(cherry picked from commit 991360ba49707b84889e5bfce49dfbf383088171)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Add an ENVIRONMENT section

Obtained from:	OpenBSD

(cherry picked from commit 991360ba49707b84889e5bfce49dfbf383088171)
</pre>
</div>
</content>
</entry>
<entry>
<title>morse.6: Mention to standards in the SEE ALSO section</title>
<updated>2023-04-21T04:46:49+00:00</updated>
<author>
<name>Gordon Bergling</name>
<email>gbe@FreeBSD.org</email>
</author>
<published>2023-04-16T09:46:09+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=3c5b9739552c9e2afdbfb015db2288bfa9dc2199'/>
<id>3c5b9739552c9e2afdbfb015db2288bfa9dc2199</id>
<content type='text'>
Mention ITU-T Recommendation F.1 and ITU-R M.1677-1
in the SEE ALSO section.

Obtained from:	OpenBSD

(cherry picked from commit 82a036d86acaac75b1ff6d4f8b767bbb117694f1)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Mention ITU-T Recommendation F.1 and ITU-R M.1677-1
in the SEE ALSO section.

Obtained from:	OpenBSD

(cherry picked from commit 82a036d86acaac75b1ff6d4f8b767bbb117694f1)
</pre>
</div>
</content>
</entry>
<entry>
<title>ldd: clarify format options</title>
<updated>2023-03-23T12:49:44+00:00</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2023-03-21T14:14:03+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=81338b4213fd639bd1dea8e99b8ecd643048669a'/>
<id>81338b4213fd639bd1dea8e99b8ecd643048669a</id>
<content type='text'>
-f may be specified zero, one, or two times.  Make this clear in the
usage.

Reviewed by:	markj, kib
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D34733

(cherry picked from commit e9f8723c30fc390f1282f5286d57c090ed9e5925)
(cherry picked from commit 7bc6ce41d83353efa088942e3f3add38b98c3ada)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
-f may be specified zero, one, or two times.  Make this clear in the
usage.

Reviewed by:	markj, kib
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D34733

(cherry picked from commit e9f8723c30fc390f1282f5286d57c090ed9e5925)
(cherry picked from commit 7bc6ce41d83353efa088942e3f3add38b98c3ada)
</pre>
</div>
</content>
</entry>
<entry>
<title>lorder: add deprecation notice</title>
<updated>2023-03-23T12:49:43+00:00</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2023-03-21T14:20:42+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=c68dc69680d3a4bfe97291df6d72262008f20fa0'/>
<id>c68dc69680d3a4bfe97291df6d72262008f20fa0</id>
<content type='text'>
lorder has not been used by the base system since 0e1e341b486c and
hasn't really been necessary for a very long time.

PR:		259254 [exp-run]
Reviewed by:	arichardson (earlier)
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D30080

(cherry picked from commit 68a930d8ee35dd6ecc16254667a07e5be0a6f841)
(cherry picked from commit e26552c0d882c8c9fedb7c2c80ccb8a5faa73607)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
lorder has not been used by the base system since 0e1e341b486c and
hasn't really been necessary for a very long time.

PR:		259254 [exp-run]
Reviewed by:	arichardson (earlier)
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D30080

(cherry picked from commit 68a930d8ee35dd6ecc16254667a07e5be0a6f841)
(cherry picked from commit e26552c0d882c8c9fedb7c2c80ccb8a5faa73607)
</pre>
</div>
</content>
</entry>
</feed>
