From blaz@amis.net  Sun Oct 26 03:24:20 1997
Received: from server.amis.net (server.amis.net [193.77.234.34])
          by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id DAA00202
          for <FreeBSD-gnats-submit@freebsd.org>; Sun, 26 Oct 1997 03:24:18 -0800 (PST)
          (envelope-from blaz@amis.net)
Received: (from blaz@localhost)
	by server.amis.net (8.8.7/8.8.7) id MAA13155;
	Sun, 26 Oct 1997 12:24:07 +0100 (CET)
Message-Id: <199710261124.MAA13155@server.amis.net>
Date: Sun, 26 Oct 1997 12:24:07 +0100 (CET)
From: blaz@amis.net
Reply-To: blaz@amis.net
To: FreeBSD-gnats-submit@freebsd.org
Subject: Broken local.9600 entry in gettytab
X-Send-Pr-Version: 3.2

>Number:         4858
>Category:       bin
>Synopsis:       Missing :np: in local.9600 entry in gettytab
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 26 03:30:00 PST 1997
>Closed-Date:    Sun May 24 23:18:40 PDT 1998
>Last-Modified:  Sun May 24 23:19:23 PDT 1998
>Originator:     Blaz Zupan
>Release:        FreeBSD 2.2-STABLE i386
>Organization:
Medinet 
>Environment:

	VT320 terminal connected to COM1 and set to
	8 bits, no parity, 1 stop bit, XON/XOFF flow control.
	The terminal has only 3 wires connected, so no hardware
	flow control is possible. /etc/ttys contains:

	ttyd0	"/usr/libexec/getty local.9600"	vt100	on secure

>Description:

	With the above setup, getty outputs the "login:" prompt with
	7E1 instead of 8N1. You *can* login and after you login everything
	is displayed correctly, it's just the login prompt that is broken.

>How-To-Repeat:

	Attach a terminal with no flow control to a comport and use the
	local.9600 entry from gettytab for getty and notice how the login:
	prompt is displayed incorrectly when you have set your terminal
	to 8 bits, no parity, 1 stop bit, and it is displayed correctly
	if you set your terminal to 7 bits, even parity, 1 stop bit. After
	logging in you have to set your terminal back to 8N1.

>Fix:
	Add ":np:" (terminal uses no parity) to local.9600 entry in
	/etc/gettytab. I'm not sure if this is the correct fix, but I guess
	most terminals nowadays use 8N1 and not 7E1.



>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: gnats-admin->freebsd-bugs 
Responsible-Changed-By: max 
Responsible-Changed-When: Mon Oct 27 00:43:25 PST 1997 
Responsible-Changed-Why:  
Misfiled PR. 
State-Changed-From-To: open->closed 
State-Changed-By: steve 
State-Changed-When: Sun May 24 23:18:40 PDT 1998 
State-Changed-Why:  
Andrey Chernov fixed this for all std.xxx entiries in revision 1.6. 
>Unformatted:
