History log of /openbsd-src/libexec/getty/subr.c (Results 1 – 25 of 29)
Revision Date Author Comments
# 667e8970 09-Nov-2024 miod <miod@openbsd.org>

gettytab's dx flag is supposed to set decctlq, which is the opposite of
ixany, but was setting ixany instead.

Fix this by reversing the logic.

Bug report and fix from Piotr Durlej, thanks!


# d8b2e2b8 14-Jun-2018 gsoares <gsoares@openbsd.org>

silence a compiler warning
OK millert


# 996c5ad2 27-May-2017 tedu <tedu@openbsd.org>

unifdef XXX_DELAY which is older than i am


# c9899b11 16-Mar-2016 krw <krw@openbsd.org>

More "(<blah> *)0" -> NULL, avoiding any stdarg functions.

Feedback millert@ kettenis@


# d64ca068 22-Dec-2015 mmcc <mmcc@openbsd.org>

assign pointers to NULL rather than 0


# 05c14712 28-Aug-2015 deraadt <deraadt@openbsd.org>

remove excess tab at end of line (how did they afford the extra bytes in
the dark ages?)


# 30d77a25 16-Jul-2015 tedu <tedu@openbsd.org>

remove ancient support for edited hostnames. ok deraadt (long ago)


# f1964cf8 12-Apr-2014 jsg <jsg@openbsd.org>

remove the prototype for compatflags() which was removed in 2013.


# 357622f1 10-Dec-2013 naddy <naddy@openbsd.org>

Drop the f0, f1, f2 gettytab capabilities that were used to poke
magic numbers into sgttyb. The "modern" replacement for f# is the
set of i#, o#, c#, l# to poke magic numbers into termios.
ok miod@


# d04572cf 21-Apr-2013 deraadt <deraadt@openbsd.org>

use poll + nanosleep instead of select with a fixed size fd_set
ok tedu


# 043fbe51 27-Oct-2009 deraadt <deraadt@openbsd.org>

rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and
unmaintainable). these days, people use source. these id's do not provide
any benefit, and do hurt the small install media
(th

rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and
unmaintainable). these days, people use source. these id's do not provide
any benefit, and do hurt the small install media
(the 33,000 line diff is essentially mechanical)
ok with the idea millert, ok dms

show more ...


# e33d3bd3 02-Jun-2003 millert <millert@openbsd.org>

Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999. Proofed by myself and Theo.


# 5b48e80a 03-Jul-2002 deraadt <deraadt@openbsd.org>

KNF


# 2df81937 27-May-2002 deraadt <deraadt@openbsd.org>

unsigned to unsigned int


# c72b5b24 16-Feb-2002 millert <millert@openbsd.org>

Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be don

Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.

show more ...


# c8f57486 19-Nov-2001 deraadt <deraadt@openbsd.org>

clean & KNF


# a5553e71 08-Jul-2001 deraadt <deraadt@openbsd.org>

-Wall


# be864e19 11-Jun-2001 mickey <mickey@openbsd.org>

strncpy vs strlcpy, some strlen missuse.
some other related minor cleanups, and spaces.
millert@ ok


# 5d36dfa4 28-Jan-2001 niklas <niklas@openbsd.org>

$OpenBSD$


# da069bcf 06-Oct-2000 deraadt <deraadt@openbsd.org>

use fd_set instead of int


# c1eba572 08-Sep-2000 aaron <aaron@openbsd.org>

Convert this strncat() to strlcat() and avoid one-byte oflow; millert@ ok


# 61934b2c 06-Apr-1997 deraadt <deraadt@openbsd.org>

clean -Wall


# 8f901b87 17-Dec-1996 tholo <tholo@openbsd.org>

Add traditional handling of all upper-case input


# fc61cb1e 16-Dec-1996 tholo <tholo@openbsd.org>

Implement more tty flags for better portability from other systems:

XCASE - canonical input/output processing
IUCLC - translate uppercase to lowercase on input
OLCUC - translate lowercase to uppe

Implement more tty flags for better portability from other systems:

XCASE - canonical input/output processing
IUCLC - translate uppercase to lowercase on input
OLCUC - translate lowercase to uppercase on output
OCRNL - translate carriage return to newline on output
ONOCR - do not output carriage return at column 0
ONLRET - newline performs carriage return function

In addition the tty compatibility interface supports LCASE properly.

Look at termios(4) for a more complete description of the above flags.

show more ...


# f77ab1d1 16-Dec-1996 deraadt <deraadt@openbsd.org>

strncat like THIS


12