Subject: pkg/16901: screen needs to be modified to use openpty(3)
To: None <gnats-bugs@gnats.netbsd.org>
From: None <bernd@arresum.inka.de>
List: netbsd-bugs
Date: 05/19/2002 19:57:05
>Number:         16901
>Category:       pkg
>Synopsis:       screen needs to be modified to use openpty(3)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun May 19 10:58:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Bernd Ernesti
>Release:        NetBSD 1.5ZC
>Organization:
	
>Environment:
	
	
System: NetBSD 1.5ZC
Architecture: i386
Machine: i386
>Description:
	screen knows nothing about the new tty naming convention in NetBSD.

	So you can't use screen on a system with more the 16 open ttys.
>How-To-Repeat:
	Remove the old device nodes, which are no longer created by the
	default MAKEDEV target.

	Now open more then 16 sessions and try to use screen and notice the error
	message you get from it: No more PTYs. That happens when you had enough
	ptys remaining to open screen but no more to open another screen window.
>Fix:
	Change pty.c so it uses openpty(3).
>Release-Note:
>Audit-Trail:
>Unformatted: