cvs commit: src/libexec/getty gettytab.h main.c

Harti Brandt brandt at fokus.fraunhofer.de
Fri Jun 13 04:47:26 PDT 2003


This introduces a bug that manifests itself in some shells not handling
keyboard signals anymore. With main.c:1.41 I get the following stty -a
output in bash (/bin/sh also suffers):

cchars: discard = ^O; dsusp = ^Y; eof = ^D; eol = <undef>;
	eol2 = <undef>; erase = ^H; erase2 = ^H; intr = ^C; kill = ^U;
	lnext = ^V; min = 1; quit = ^\; reprint = ^R; start = ^Q;
	status = ^T; stop = ^S; susp = ^Z; time = 0; werase = ^W;

with 1.42 I get:

cchars: discard = <undef>; dsusp = <undef>; eof = <undef>; eol = <undef>;
	eol2 = <undef>; erase = <undef>; erase2 = ^H; intr = <undef>;
	kill = <undef>; lnext = <undef>; min = 1; quit = <undef>;
	reprint = <undef>; start = <undef>; status = ^T; stop = <undef>;
	susp = <undef>; time = 0; werase = <undef>;

harti


On Tue, 10 Jun 2003, Yar Tikhiy wrote:

YT>yar         2003/06/10 11:30:41 PDT
YT>
YT>  FreeBSD src repository
YT>
YT>  Modified files:
YT>    libexec/getty        gettytab.h main.c
YT>  Log:
YT>  Read gettytab(5) soon enough to fill in all necessary values.
YT>  Re-read gettytab(5) only if needed.
YT>
YT>  This fixes bugs introduced as long ago as in getty/main.c rev.1.15.
YT>
YT>  PR:             bin/18181
YT>  MFC after:      1 month
YT>
YT>  Revision  Changes    Path
YT>  1.14      +1 -0      src/libexec/getty/gettytab.h
YT>  1.42      +39 -16    src/libexec/getty/main.c
YT>

-- 
harti brandt,
http://www.fokus.fraunhofer.de/research/cc/cats/employees/hartmut.brandt/private
brandt at fokus.fraunhofer.de, harti at freebsd.org


More information about the cvs-src mailing list