From owner-freebsd-bugs Sat Jan 12 4:10:13 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 144C237B41B for ; Sat, 12 Jan 2002 04:10:08 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g0CCA8S05514; Sat, 12 Jan 2002 04:10:08 -0800 (PST) (envelope-from gnats) 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 ; 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 To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: conf/33810: /etc/ttys: document how to make console interoperable Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 33810 >Category: conf >Synopsis: /etc/ttys: document how to make console interoperable >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Sat Jan 12 04:10:07 PST 2002 >Closed-Date: >Last-Modified: >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: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message