Date: Sat, 12 Jan 2002 13:04:25 +0100 (CET) From: Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> To: FreeBSD-gnats-submit@freebsd.org Subject: conf/33810: /etc/ttys: document how to make console interoperable Message-ID: <200201121204.g0CC4Pc17396@pulcherrima.dbai.tuwien.ac.at>
next in thread | raw e-mail | index | archive | help
>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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200201121204.g0CC4Pc17396>