From pfeifer@dbai.tuwien.ac.at  Sat Jan 12 04:04:31 2002
Return-Path: <pfeifer@dbai.tuwien.ac.at>
Received: from vexpert.dbai.tuwien.ac.at (vexpert.dbai.tuwien.ac.at [128.130.111.12])
	by hub.freebsd.org (Postfix) with ESMTP id DFBD237B416
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 12 Jan 2002 04:04:29 -0800 (PST)
Received: from pulcherrima.dbai.tuwien.ac.at (pulcherrima [128.130.111.23])
	by vexpert.dbai.tuwien.ac.at (8.11.6/8.11.6) with ESMTP id g0CC4QW11599;
	Sat, 12 Jan 2002 13:04:26 +0100 (MET)
Received: (from pfeifer@localhost)
	by pulcherrima.dbai.tuwien.ac.at (8.11.6/8.11.6) id g0CC4Pc17396;
	Sat, 12 Jan 2002 13:04:25 +0100 (CET)
	(envelope-from pfeifer)
Message-Id: <200201121204.g0CC4Pc17396@pulcherrima.dbai.tuwien.ac.at>
Date: Sat, 12 Jan 2002 13:04:25 +0100 (CET)
From: Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: /etc/ttys: document how to make console interoperable 
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         33810
>Category:       conf
>Synopsis:       /etc/ttys: document how to make console interoperable
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    gerald
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jan 12 04:10:07 PST 2002
>Closed-Date:    Wed Apr 17 03:43:43 PDT 2002
>Last-Modified:  Wed Apr 17 03:43:43 PDT 2002
>Originator:     Gerald Pfeifer
>Release:        FreeBSD 4.4-RELEASE i386
>Organization:
>Environment:
>Description:
	This is a solution for the problem mentioned in the now closed
	PR conf/21593 (Whither cons25, or, cons25 causing interoperability
	problems).

	The problem is that cons25 is not supported by most non-BSD
	systems like GNU/Linux or Solaris, and the comments in /etc/ttys
	incorrectly indicate that cons25 is the only right setting for
	console.

	This badly hurts interoperability with non-BSd systems.

>How-To-Repeat:
	Log in on FreeBSD console, ssh to any GNU/Linux or Solaris host
	and invoke a full-screen application like Pine.

>Fix:
	Install the patch below which describes setting console to vt220
	as a possible alternative in these heterogenous environments.

	I believe this patch also should be applied in etc.alpha/ttys
	and etc.ia64/ttys, though I only tested it on FreeBSD 4.4-RELEASE/i386
	by connecting to a Debian GNU/Linux and a Solaris 8 box.

Index: ttys
===================================================================
RCS file: /sw/FreeBSD/CVSUP/src/etc/etc.i386/ttys,v
retrieving revision 1.8
diff -u -3 -p -r1.8 ttys
--- ttys	2000/01/29 12:18:03	1.8
+++ ttys	2001/11/21 23:43:24
@@ -13,12 +13,13 @@
 #       include none, when no getty is needed, and xdm, to start the
 #       X Window System.
 #
-# type The initial terminal type for this port.  For hardwired
-#      terminal lines, this will contain the type of terminal used.
-#      For virtual consoles, the correct type is cons25.  Other
-#      common values include network for network connections on
-#      pseudo-terminals, dialup for incoming modem ports, and unknown
-#      when the terminal type cannot be predetermined.
+# type  The initial terminal type for this port.  For hardwired
+#       terminal lines, this will contain the type of terminal used.
+#       For virtual consoles, the correct type is cons25, or vt220 if
+#       you need interoperability with other systems like Solaris or
+#       GNU/Linux.  Other common values include network for network
+#       connections on pseudo-terminals, dialup for incoming modem ports,
+#       and unknown when the terminal type cannot be predetermined.
 #
 # status Must be on or off.  If on, init will run the getty program on
 #        the specified port.  If the word "secure" appears, this tty
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->murray 
Responsible-Changed-By: murray 
Responsible-Changed-When: Wed Mar 27 04:19:59 PST 2002 
Responsible-Changed-Why:  
I will take a look at this. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=33810 
Responsible-Changed-From-To: murray->gerald 
Responsible-Changed-By: gerald 
Responsible-Changed-When: Wed Apr 17 02:16:50 PDT 2002 
Responsible-Changed-Why:  
David O'Brien will lead me through committing an updated version 
of the patch in this PR (which I had submitted before becoming a 
committer). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=33810 
State-Changed-From-To: open->closed 
State-Changed-By: gerald 
State-Changed-When: Wed Apr 17 03:42:33 PDT 2002 
State-Changed-Why:  
Updated patch committed (also for alpha, ia64, and sparc64). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=33810 
>Unformatted:
