From root@nt5.ipi.kiev.ua  Sat Sep  6 12:18:32 1997
Received: from nt5.ipi.kiev.ua ([194.44.182.69])
          by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id MAA27474
          for <FreeBSD-gnats-submit@freebsd.org>; Sat, 6 Sep 1997 12:18:24 -0700 (PDT)
Received: (from root@localhost)
	by nt5.ipi.kiev.ua (8.8.7/8.8.7) id WAA16052;
	Sat, 6 Sep 1997 22:17:30 +0300 (EEST)
Message-Id: <199709061917.WAA16052@nt5.ipi.kiev.ua>
Date: Sat, 6 Sep 1997 22:17:30 +0300 (EEST)
From: root@nt5.ipi.kiev.ua
Reply-To: root@nt5.ipi.kiev.ua
To: FreeBSD-gnats-submit@freebsd.org
Subject: getty in bin distribution doesn't recognise esc. chars '\r', '\n'
X-Send-Pr-Version: 3.2

>Number:         4478
>Category:       bin
>Synopsis:       getty in bin distribution doesn't recognise esc. chars '\r', '\n'
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Sep  6 12:20:04 PDT 1997
>Closed-Date:    Sun Sep 7 12:02:22 MEST 1997
>Last-Modified:  Sun Sep  7 12:02:48 MEST 1997
>Originator:     Charlie &
>Release:        FreeBSD 2.2-970901-RELENG i386
>Organization:
SPLINE JV
>Environment:

	Fresh-installed -stable snapshot system

>Description:

	Out-of-the-box getty fails to process escape characters '\r', '\n'
	and probably other ones.  getty taken from a friend's 2.2-STABLE
	as of late August works Ok.

	Here are /etc/ttys lines:

ttyv9   "/usr/libexec/getty Pc"         cons30r on secure
ttyva   "/usr/libexec/getty.dist Pc"            cons30r on secure

	where /usr/libexec/getty.dist is whatever came with distribution.

	On ttyv9 we see the banner message as expected:

WinNT 5.0 == FreeBSD! (nt5.ipi.kiev.ua) (ttyv9)

login:

	On ttyva we observe the following:

\r\nWinNT 5.0 == FreeBSD! (nt5.ipi.kiev.ua) (ttyva)\r\n\r\nlogin:
\r\nWinNT 5.0 == FreeBSD! (nt5.ipi.kiev.ua) (ttyva)\r\n\r\nlogin:
...

>How-To-Repeat:

	Just install FreeBSD 2.2-970901-RELENG FreeBSD

>Fix:
	
	No ideas so far, sorry.

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: joerg 
State-Changed-When: Sun Sep 7 12:02:22 MEST 1997 
State-Changed-Why:  

Fixed shortly after your PR has been submitted. 
>Unformatted:
