christos
7d85ef5c1f
need <sys/stat.h> for chmod
2017-01-10 21:08:15 +00:00
christos
43c3c3f74a
Add volatile for gcc 5
2016-03-17 00:21:04 +00:00
aymeric
45a53d184f
Fix previous commit by using tty00 as an example of dialin peripheral instead
...
of dialout dty00.
Thanks to mrg@ for pointing it out.
2015-02-12 07:32:09 +00:00
aymeric
1885c4ecdf
update the example to use dty00 instead of ttyd0 to reflect a current practice
2014-11-12 21:56:48 +00:00
joerg
fabae2a4ad
Use __dead.
2013-08-12 13:54:33 +00:00
dholland
6a9155ad5a
Don't try to estrdup() NULL; thanks martin@
2013-08-11 16:36:30 +00:00
martin
00b8abd4f7
Fix another automatic variable that is life both pre- and post the siglongjmp
...
(which gcc calls "might be clobbered") by marking it volatile: on some
machines, this value might end up in a register loaded before the sigsetjmp,
but not preserved by the siglongjmp later.
Fixes the VAX build.
2013-08-11 09:16:42 +00:00
dholland
27c14eada7
Use siglongjmp to jump out of signal handlers.
2013-08-11 05:48:56 +00:00
dholland
bd3f97bffb
Pass WARNS=5.
2013-08-11 05:42:41 +00:00
wiz
9488f2b661
- Add the actual binary to `FILES' section;
...
- bump date.
From Bug Hunting.
2013-05-29 15:02:12 +00:00
christos
92227bd148
remove useless include (sys/stat.h) and add useful one (stdio.h)
2012-11-04 21:14:59 +00:00
roy
d56846af22
Don't attempt to parse a termcap/terminfo string ourselves;
...
always use tputs(3).
2012-06-28 08:55:10 +00:00
roy
258cf0abec
Add capfile(5) to describe the termcap format.
...
Adjust various man pages and other documentation to point to capfile(5)
instead of termcap(5).
Remove getcap(3) as curses hasn't been building it for a long time.
Punt wrterm.c as tset no longer uses it.
2012-04-21 12:27:24 +00:00
roy
98eb889579
Userland now builds and uses terminfo instead of termcap.
...
OK: core@, jdc@
2010-02-03 15:34:37 +00:00
mbalmer
bf31e2ab08
Remove an old workaround from SCCS times (%M% would insert the filename).
2009-07-04 13:24:09 +00:00
lukem
500db00274
Default to WARNS=4
...
Exceptions that need a lower level are:
getty ld.elf_so lfs_cleanerd makewhatis telnetd tftpd
hpropd ipropd-master ipropd-slave kadmind kpasswdd
2009-03-16 02:24:55 +00:00
lukem
0c4ddb1599
Remove the \n and tabs from the __COPYRIGHT() strings.
2008-07-20 01:09:06 +00:00
dholland
6fc636d882
'_' is functionally alphanumeric in many contexts, including login names.
...
Since it doesn't have case, treat it like a digit. While here, avoid
setting the associated flag variable by incrementing it.
Fixes PR bin/33521; patch based on one from Dieter Roelants.
2008-04-13 02:38:01 +00:00
dholland
6c41aa55b8
Sort includes, removing duplicate <time.h>.
2008-03-04 02:34:27 +00:00
christos
b11674e1a4
move gettytab to paths.h
2008-02-04 15:27:20 +00:00
isaki
5b22b72692
white space fix.
2007-12-03 09:54:24 +00:00
hubertf
d405d8ca2b
Remove duplicated #includes and some trailing whitespace while here.
...
From Slava Semushin <slava.semushin@gmail.com>
2007-01-17 21:44:50 +00:00
atatat
bade8c3805
remove stray links
2006-11-16 04:43:32 +00:00
christos
2343154519
pass lint
2006-11-16 04:31:24 +00:00
christos
f8013c3836
fix gcc4 sign issues.
2006-11-16 04:15:13 +00:00
christos
a682c5bf65
- remove stray mlinks
...
- remove gcc4 hacks
2006-11-16 04:14:50 +00:00
christos
96a58b2a60
more uucp cleanup
2006-11-16 00:49:20 +00:00
wiz
818a1c08a3
Fix typo in macro.
2006-10-13 20:28:06 +00:00
wiz
f10fc51879
Sort SEE ALSO.
2006-10-13 20:27:42 +00:00
elad
516c371048
PR/13478: Greg A. Woods: some tty-related documentation fixes
...
Patch applied with "minor tweaks" from me, thanks!
2006-10-06 22:07:44 +00:00
mrg
aadd7d4847
sprinkle some -fno-strict-aliasing and -Wno-pointer-sign with GCC4.
2006-05-11 23:16:28 +00:00
christos
7f94fc6d62
PR/25605: Frank Kardel: getty leaves ttymodes at read login state when
...
exec-ing pppd. Fixed as suggested.
2005-12-28 09:43:05 +00:00
elad
83057dc7cc
Don't chown/unlink uninitialized lockfile if not uugetty.
...
From Dr. Wolfgang Stukenbrock, PR/31040.
2005-09-10 21:29:36 +00:00
lukem
a8ce874400
Ensure rval is initialized before we try to check it; it won't be set
...
if AL or NN are in use.
Detected with gcc -Wuninitialized.
2005-06-01 15:50:00 +00:00
christos
057e8f6aa6
Support VEOL2 and VSTATUS
2005-05-21 17:18:51 +00:00
christos
00e4cd7dc0
print ptyfs ptys properly.
2005-03-17 01:25:40 +00:00
dsl
55d39107c6
Add (unsigned char) cast to ctype functions
2004-11-05 21:45:36 +00:00
christos
ce26902593
add const to cgetent arg.
2004-04-23 21:04:25 +00:00
agc
8e6ab8837d
Move UCB-licensed code from 4-clause to 3-clause licence.
...
Patches provided by Joel Baker in PR 22284, verified by myself.
2003-08-07 09:46:37 +00:00
wiz
cb04db5a91
Bump date for "nn" capability.
2003-05-20 19:40:53 +00:00
thorpej
2c1e482672
Add a "nn" (no name) capability to getty. If set in gettytab, getty
...
will not prompt for a login name, and will not pass one along to the
login program. This can be used to accomodate login programs that have
an alternate way of selecting the user to log in.
2003-05-20 19:20:03 +00:00
itojun
c5f76786a4
use strlcpy
2003-05-17 21:18:46 +00:00
wiz
d6285bbf1d
Begin new sentences on new lines.
...
Patch from Robert Elz (kre at munnari oz au).
2002-09-29 14:05:52 +00:00
mycroft
aae6c28cf9
null commit
2002-09-23 12:44:34 +00:00
itojun
a9fc5f306a
poll.h, not sys/poll.h
2002-09-23 03:32:34 +00:00
mycroft
5580adb284
select() -> poll() and nanosleep()
2002-09-18 20:04:51 +00:00
wiz
7b9b4ac6f7
'environment', not 'enviroment'
2002-07-11 10:53:19 +00:00
wiz
93b02fcb18
Sort sections and fix punctuation nit.
2002-01-15 02:22:11 +00:00
wiz
b5fd5ad5b4
Sort sections and SEE ALSO.
2002-01-15 02:21:49 +00:00
wiz
ec1b82e5ef
Whitespace nits, sort sections.
2002-01-15 02:21:30 +00:00