Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Dec 1999 17:18:21 +0100 (CET)
From:      Matthias Meyser <Meyser@xenet.de>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   bin/15208: Bug in "tty"
Message-ID:  <199912011618.RAA08171@xenet.harz.de.>

next in thread | raw e-mail | index | archive | help

>Number:         15208
>Category:       bin
>Synopsis:       bug in tty (the program :)
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Dec  1 08:30:02 PST 1999
>Closed-Date:
>Last-Modified:
>Originator:     Matthias Meyser
>Release:        FreeBSD 3.3-STABLE i386
>Organization:
XeNET GmbH, Clausthal-Zellerfeld
>Environment:

	System with 11 and more serial ports

>Description:

	Serial (dial) devices are numbered /dev/cuaa0 ... /dev/cuaa9
	for the first 9 devices. then 10th device gets /dev/cuaaa acording
	to /dev/MAKEDEV. The next gets /dev/cuaab an so on.

	If you are on /dev/cuaaa ans use "tty" to determine wich device you
	are on "tty" reports "/dev/cuaa10". I think this is a bug in "tty"
	ore to be more specific in "ttyname()". 

	I think this affects also all other serial devices 
	( cuaia? cuala? ttyd? ttyid? ttyld? )

>How-To-Repeat:

	On a system with 11 or more  serial ports type 
	"tty </dev/cuaaa" this will report "/dev/cuaa10"


>Fix:
	


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199912011618.RAA08171>