<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/libexec/getty, branch upstream/11.2.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=upstream%2F11.2.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=upstream%2F11.2.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2018-05-18T14:57:58Z</updated>
<entry>
<title>MFC r315733, r315737, r315740, r330054:</title>
<updated>2018-05-18T14:57:58Z</updated>
<author>
<name>Glen Barber</name>
<email>gjb@FreeBSD.org</email>
</author>
<published>2018-05-18T14:57:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=6d678f231487ad6555cc4f20e1cf202908cd1541'/>
<id>urn:sha1:6d678f231487ad6555cc4f20e1cf202908cd1541</id>
<content type='text'>
 r315733 (imp):
  Impelemnt ttys onifexists in init.

  Implement a new init(8) option in /etc/ttys. If this option is present
  on the entry in /etc/ttys, the entry will be active if and only if it
  exists.  If the name starts with a '/', it will be considered an
  absolute path. If not, it will be a path relative to /dev.

  This allows one to turn off video console getty that aren't present
  (while running a getty on them even when they aren't the system
  console). Likewise with serial ports.

  It differs from onifconsole in only requiring the device exist rather
  than it be listed as one of the system consoles.

 r315737 (ngie):
  Unbreak world by adding sys/stat.h for stat(2)

 r315740 (imp):
  Simplify the code a little.

 r330054 (trasz):
  Improve missing tty handling in init(8).  This removes a check that did
  nothing - it was checking for ENXIO, which, with devfs, is no longer
  returned - and was badly placed anyway, and replaces it with similar
  one that works, and is done just before starting getty, instead of being
  done when rereading ttys(5).

  From the practical point of view, this makes init(8) handle disappearing
  terminals (eg /dev/ttyU*) gracefully, without unneccessary getty restarts
  and resulting error messages.

Reported by:	Bart Ender, Andre Albsmeier
PR:		228315
Blocks:		11.2-BETA2
Approved by:	re (marius)
Sponsored by:	The FreeBSD Foundation
</content>
</entry>
<entry>
<title>Revert r330897:</title>
<updated>2018-03-29T02:50:57Z</updated>
<author>
<name>Eitan Adler</name>
<email>eadler@FreeBSD.org</email>
</author>
<published>2018-03-29T02:50:57Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=4ab2e064d7950be84256d671a7ae93f87cc6aa36'/>
<id>urn:sha1:4ab2e064d7950be84256d671a7ae93f87cc6aa36</id>
<content type='text'>
This was intended to be a non-functional change. It wasn't. The commit
message was thus wrong. In addition it broke arm, and merged crypto
related code.

Revert with prejudice.

This revert skips files touched in r316370 since that commit was since
MFCed. This revert also skips files that require $FreeBSD$ property
changes.

Thank you to those who helped me get out of this mess including but not
limited to gonzo, kevans, rgrimes.

Requested by: gjb (re)
</content>
</entry>
<entry>
<title>Partial merge of the SPDX changes</title>
<updated>2018-03-14T03:19:51Z</updated>
<author>
<name>Eitan Adler</name>
<email>eadler@FreeBSD.org</email>
</author>
<published>2018-03-14T03:19:51Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=be5d0b9566b13fdf8cabebb63334cbec12bfc409'/>
<id>urn:sha1:be5d0b9566b13fdf8cabebb63334cbec12bfc409</id>
<content type='text'>
These changes are incomplete but are making it difficult
to determine what other changes can/should be merged.

No objections from:	pfg
</content>
</entry>
<entry>
<title>MFC r323252:</title>
<updated>2017-09-25T20:04:14Z</updated>
<author>
<name>David Bright</name>
<email>dab@FreeBSD.org</email>
</author>
<published>2017-09-25T20:04:14Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=0b80743a607979db7984ea80bf764b9b8ba0d4d0'/>
<id>urn:sha1:0b80743a607979db7984ea80bf764b9b8ba0d4d0</id>
<content type='text'>
Add a new getty/gettytab capability to generate an initial message dynamically.

This modification adds a new gettytab(5) option (iM) to specify a
program to run that will generate the initial (banner) message that is
displayed before the login prompt. Such a capability is useful when
dynamic information is needed in the banner message that cannot be
supplied by the set of % substitution sequences available in the "im"
option.

Sponsored by:	Dell EMC
</content>
</entry>
<entry>
<title>MFC r317801 (by trasz):</title>
<updated>2017-09-25T19:06:01Z</updated>
<author>
<name>David Bright</name>
<email>dab@FreeBSD.org</email>
</author>
<published>2017-09-25T19:06:01Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ad13a8e23d73d332629a7bcac8422e21dbc0e857'/>
<id>urn:sha1:ad13a8e23d73d332629a7bcac8422e21dbc0e857</id>
<content type='text'>
Fix markup in gettytab(5).

Approved by:	vangyzen (mentor)
Sponsored by:	Dell EMC
</content>
</entry>
<entry>
<title>MFC r313107 (by danfe):</title>
<updated>2017-09-25T17:39:53Z</updated>
<author>
<name>David Bright</name>
<email>dab@FreeBSD.org</email>
</author>
<published>2017-09-25T17:39:53Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=5dd079f30d44f660cf4e26ed35a36e27a50eccd7'/>
<id>urn:sha1:5dd079f30d44f660cf4e26ed35a36e27a50eccd7</id>
<content type='text'>
Try to fix the old "he capability is stupid" bug in gettytab(5)/getty(8)

There is one capability explicitly documented in gettytab(5) as stupid: he.
And it is indeed.  It was meant to facilitate system hostname modification,
but is hardly usable in practice because it allows very limited editing
(e.g., it depends on a particular hostname length, making it non-generic).

Replace it with simple implementation that treats ``he'' as POSIX extended
regular expression which is matched against the hostname.  If there are no
parenthesized subexpressions in the pattern, entire matched string is used
as the final hostname.  Otherwise, use the first matched subexpression.
If the pattern does not match, the original hostname is not modified.

Using regex(3) gives more freedom, does not complicate the code very much,
and makes a lot more sense, in turn making ``he'' less stupid and actually
useful (e.g., it is now possible to obtain node or domain names from the
original hostname string, without knowing it in advance).

Approved by:	vangyzen (mentor)
Sponsored by:	Dell EMC
</content>
</entry>
<entry>
<title>Missing tab.</title>
<updated>2016-02-27T02:11:00Z</updated>
<author>
<name>Pedro F. Giffuni</name>
<email>pfg@FreeBSD.org</email>
</author>
<published>2016-02-27T02:11:00Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=7ae7c1932bc6f6f722e926ede5a92020ded80cd5'/>
<id>urn:sha1:7ae7c1932bc6f6f722e926ede5a92020ded80cd5</id>
<content type='text'>
Pointed out by:	bapt
</content>
</entry>
<entry>
<title>getty(8): Undo incomplete support VEOL2 and VSTATUS.</title>
<updated>2016-02-26T19:35:51Z</updated>
<author>
<name>Pedro F. Giffuni</name>
<email>pfg@FreeBSD.org</email>
</author>
<published>2016-02-26T19:35:51Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=bc13b10e7d14898d6ceef0f64505af1372a27cf4'/>
<id>urn:sha1:bc13b10e7d14898d6ceef0f64505af1372a27cf4</id>
<content type='text'>
Forgot to add some definitions for charnames[].
</content>
</entry>
<entry>
<title>getty(8): Support VEOL2 and VSTATUS</title>
<updated>2016-02-26T19:08:37Z</updated>
<author>
<name>Pedro F. Giffuni</name>
<email>pfg@FreeBSD.org</email>
</author>
<published>2016-02-26T19:08:37Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=73906f57e338578ef0ec742c5edbf584bac45d96'/>
<id>urn:sha1:73906f57e338578ef0ec742c5edbf584bac45d96</id>
<content type='text'>
Bring some type cleanups while here.

Obtained from:	NetBSD
</content>
</entry>
<entry>
<title>getty(8): Use poll(2) and nanosleep(2) instead of select(2).</title>
<updated>2016-02-26T18:52:06Z</updated>
<author>
<name>Pedro F. Giffuni</name>
<email>pfg@FreeBSD.org</email>
</author>
<published>2016-02-26T18:52:06Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=a3e4b9829e14e640e3b9a5d0d130e8ca184d2040'/>
<id>urn:sha1:a3e4b9829e14e640e3b9a5d0d130e8ca184d2040</id>
<content type='text'>
Sort headers while here.

Obtained from:	NetBSD (CVS Rev. 1.25 - 1.26)
</content>
</entry>
</feed>
