<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/libexec/getty/main.c, branch release/7.0.0_cvs</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F7.0.0_cvs</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F7.0.0_cvs'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2008-02-24T05:45:17Z</updated>
<entry>
<title>This commit was manufactured by cvs2svn to create tag</title>
<updated>2008-02-24T05:45:17Z</updated>
<author>
<name>cvs2svn</name>
<email>cvs2svn@FreeBSD.org</email>
</author>
<published>2008-02-24T05:45:17Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=a9c219fa3cec18ef9f30edec6fa106bf0e2d423d'/>
<id>urn:sha1:a9c219fa3cec18ef9f30edec6fa106bf0e2d423d</id>
<content type='text'>
'RELENG_7_0_0_RELEASE'.

This commit was manufactured to restore the state of the 7.0-RELEASE image.
</content>
</entry>
<entry>
<title>Include gettytab.h before extern.h so that the declarations of struct</title>
<updated>2005-04-06T17:42:24Z</updated>
<author>
<name>Stefan Farfeleder</name>
<email>stefanf@FreeBSD.org</email>
</author>
<published>2005-04-06T17:42:24Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=410f13a58d44e0f19306df28a99227015a2a688a'/>
<id>urn:sha1:410f13a58d44e0f19306df28a99227015a2a688a</id>
<content type='text'>
gettyflags, gettynums and gettystrs are available.
</content>
</entry>
<entry>
<title>Report once that the device isn't there, but keep trying.  Don't</title>
<updated>2004-09-29T20:55:14Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2004-09-29T20:55:14Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=780afd18cdd1370292c5cfb89adece3599f6eb96'/>
<id>urn:sha1:780afd18cdd1370292c5cfb89adece3599f6eb96</id>
<content type='text'>
filter the errno values.  They don't make as much sense as they used
to given how we do devices in /dev.
</content>
</entry>
<entry>
<title>Prototype defttymode() instead of just declaring it.</title>
<updated>2003-07-18T16:25:55Z</updated>
<author>
<name>Yaroslav Tykhiy</name>
<email>ytykhiy@gmail.com</email>
</author>
<published>2003-07-18T16:25:55Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=0183b0b8b87573d62a51fbbc3defc29832dd3ef5'/>
<id>urn:sha1:0183b0b8b87573d62a51fbbc3defc29832dd3ef5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>- Use the initial terminal mode instead of the current mode</title>
<updated>2003-06-18T13:22:44Z</updated>
<author>
<name>Yaroslav Tykhiy</name>
<email>ytykhiy@gmail.com</email>
</author>
<published>2003-06-18T13:22:44Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=b19ab1ce699c9fe531bd599a552136b47e52c238'/>
<id>urn:sha1:b19ab1ce699c9fe531bd599a552136b47e52c238</id>
<content type='text'>
  as the source of defaults for terminal device parameters.

- Do duplucate code reduction and simplification enabled by
  the above.

Reviewed by:	green
MFC after:	1 month
</content>
</entry>
<entry>
<title>In the last clean-up of this code, the fact that the default tty mode</title>
<updated>2003-06-14T08:26:47Z</updated>
<author>
<name>Brian Feldman</name>
<email>green@FreeBSD.org</email>
</author>
<published>2003-06-14T08:26:47Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=7ce06101b88f68f31c09b74299254c321443da16'/>
<id>urn:sha1:7ce06101b88f68f31c09b74299254c321443da16</id>
<content type='text'>
information could only be gleaned from the the tty descriptor itself
was neglected, so never did the tty's default settings get copied from
the kernel.  Specifically, this caused all manner of ctrl-keys to not
work.  Fix this by calling dogettytab() in all the proper places, and
retrieving the terminfo temporarily in dogettytab().
</content>
</entry>
<entry>
<title>Read gettytab(5) soon enough to fill in all necessary values.</title>
<updated>2003-06-10T18:30:41Z</updated>
<author>
<name>Yaroslav Tykhiy</name>
<email>ytykhiy@gmail.com</email>
</author>
<published>2003-06-10T18:30:41Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=3cd7e22936f308f84ec65629d1fee568a4abdc7d'/>
<id>urn:sha1:3cd7e22936f308f84ec65629d1fee568a4abdc7d</id>
<content type='text'>
Re-read gettytab(5) only if needed.

This fixes bugs introduced as long ago as in getty/main.c rev.1.15.

PR:		bin/18181
MFC after:	1 month
</content>
</entry>
<entry>
<title>Spot one more place where boolean variables were incremented</title>
<updated>2003-06-10T16:34:03Z</updated>
<author>
<name>Yaroslav Tykhiy</name>
<email>ytykhiy@gmail.com</email>
</author>
<published>2003-06-10T16:34:03Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=5f596fa5d0203cbe6ecd4f9d4b70318eeccc4221'/>
<id>urn:sha1:5f596fa5d0203cbe6ecd4f9d4b70318eeccc4221</id>
<content type='text'>
instead of just being assigned a truth value.
</content>
</entry>
<entry>
<title>Coding style fix:  Use "foo = 1" instead of "foo++" to assign</title>
<updated>2003-06-10T15:38:35Z</updated>
<author>
<name>Yaroslav Tykhiy</name>
<email>ytykhiy@gmail.com</email>
</author>
<published>2003-06-10T15:38:35Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=8b52276d101bd9642e7f485ca68b2126b77e6f60'/>
<id>urn:sha1:8b52276d101bd9642e7f485ca68b2126b77e6f60</id>
<content type='text'>
the truth value to a boolean variable, especially when inside
a loop.  The variable can overflow otherwise, at least in theory.
</content>
</entry>
<entry>
<title>Fix some minor bugs, namely:</title>
<updated>2003-06-06T14:36:41Z</updated>
<author>
<name>Yaroslav Tykhiy</name>
<email>ytykhiy@gmail.com</email>
</author>
<published>2003-06-06T14:36:41Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=f648dfd92939b4015c42637db3ca68024a2b764f'/>
<id>urn:sha1:f648dfd92939b4015c42637db3ca68024a2b764f</id>
<content type='text'>
- Initialize "rval", which would be used uninitialized
  if al or pl options were set.

- Don't pass an empty string to login(1) as a user name
  (this could be triggered by entering a name and then killing it
  with backspace or ^U.)

- Don't loop endlessly if the al option specifies a bogus (i.e.,
  not alphanumeric) auto-login name.

- Don't pass a bogus user name to login(1) if a good name were
  entered and then killed with ^U.

- Exit with status 0, not 1, on receiving an EOF character,
  since it's not a error condition.

MFC after:	1 week
</content>
</entry>
</feed>
