From owner-cvs-src@FreeBSD.ORG Sat Jun 14 01:26:49 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EE0E137B401; Sat, 14 Jun 2003 01:26:48 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 87D9043F3F; Sat, 14 Jun 2003 01:26:48 -0700 (PDT) (envelope-from green@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h5E8Qm0U031655; Sat, 14 Jun 2003 01:26:48 -0700 (PDT) (envelope-from green@repoman.freebsd.org) Received: (from green@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h5E8QmHt031654; Sat, 14 Jun 2003 01:26:48 -0700 (PDT) Message-Id: <200306140826.h5E8QmHt031654@repoman.freebsd.org> From: Brian Feldman Date: Sat, 14 Jun 2003 01:26:48 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/libexec/getty main.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Jun 2003 08:26:49 -0000 green 2003/06/14 01:26:48 PDT FreeBSD src repository Modified files: libexec/getty main.c Log: In the last clean-up of this code, the fact that the default tty mode 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(). Revision Changes Path 1.43 +20 -6 src/libexec/getty/main.c