From owner-freebsd-stable@FreeBSD.ORG Sun Jul 8 14:14:35 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 40BCE1065675 for ; Sun, 8 Jul 2012 14:14:35 +0000 (UTC) (envelope-from ronald-freebsd8@klop.yi.org) Received: from smarthost1.greenhost.nl (smarthost1.greenhost.nl [195.190.28.78]) by mx1.freebsd.org (Postfix) with ESMTP id E26D48FC22 for ; Sun, 8 Jul 2012 14:14:34 +0000 (UTC) Received: from smtp.greenhost.nl ([213.108.104.138]) by smarthost1.greenhost.nl with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1SnsFk-0007fW-Rf for freebsd-stable@freebsd.org; Sun, 08 Jul 2012 16:14:25 +0200 Received: from dhcp-077-251-052-224.chello.nl ([77.251.52.224] helo=pinky) by smtp.greenhost.nl with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from ) id 1SnsFl-0005Qu-6R for freebsd-stable@freebsd.org; Sun, 08 Jul 2012 16:14:25 +0200 Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes To: freebsd-stable@freebsd.org References: <4FF99270.9010002@m5p.com> Date: Sun, 08 Jul 2012 16:14:23 +0200 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: "Ronald Klop" Message-ID: In-Reply-To: <4FF99270.9010002@m5p.com> User-Agent: Opera Mail/12.00 (Win32) X-Virus-Scanned: by clamav at smarthost1.samage.net X-Spam-Level: / X-Spam-Score: 0.8 X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.1 X-Scan-Signature: 964c6a2bc69af72888bec91466701c23 Subject: Re: Odd ttyvN TERM settings X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jul 2012 14:14:35 -0000 On Sun, 08 Jul 2012 16:00:16 +0200, George Mitchell wrote: > Up through FreeBSD 8.x, the ttyvN consoles had a TERM setting of cons25. > On FreeBSD 9.n, it appears to be xterm for ttyv0, but it's still cons25 > for ttyv1-ttyv8 (even though they all appear to act like xterms). Not > surprisingly, this leads to less than desirable results when trying to > run vi (or other such programs) on ttyv1 through ttyv8, unless you > remember to setenv TERM xterm. > > Why did we change from cons25 to xterm? How can we get all the ttyvNs > to get the correct TERM setting? -- George Mitchell What is in your /etc/ttys? This is the ttys file on 9-STABLE on amd64: http://svnweb.freebsd.org/base/stable/9/etc/etc.amd64/ttys?revision=225736&view=markup&pathrev=238244 Regards, Ronald.