From owner-freebsd-questions@FreeBSD.ORG Fri Aug 24 10:46:25 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6AEA7106566B for ; Fri, 24 Aug 2012 10:46:25 +0000 (UTC) (envelope-from steve@sohara.org) Received: from uk1rly2283.eechost.net (relay01a.mail.uk1.eechost.net [217.69.40.75]) by mx1.freebsd.org (Postfix) with ESMTP id 03DFA8FC14 for ; Fri, 24 Aug 2012 10:46:24 +0000 (UTC) Received: from [31.186.37.179] (helo=rpi-1.marelmo.com) by uk1rly2283.eechost.net with esmtpa (Exim 4.72) (envelope-from ) id 1T4rKt-0007ll-Uk for freebsd-questions@freebsd.org; Fri, 24 Aug 2012 11:41:56 +0100 Received: from [192.168.63.1] (helo=steve.marelmo.com) by rpi-1.marelmo.com with smtp (Exim 4.72) (envelope-from ) id 1T4rPg-0000Pz-Kx for freebsd-questions@freebsd.org; Fri, 24 Aug 2012 11:46:52 +0100 Date: Fri, 24 Aug 2012 11:46:20 +0100 From: Steve O'Hara-Smith To: freebsd-questions@freebsd.org Message-Id: <20120824114620.01a829aa.steve@sohara.org> In-Reply-To: References: <20120824080544.9bca4996.steve@sohara.org> <20120824095533.7ff3bc23.steve@sohara.org> X-Mailer: Sylpheed 3.1.3 (GTK+ 2.24.6; amd64-portbld-freebsd9.0) X-Face: %]+HVL}K`P8>+8ZcY-WGHP6j@&mxMo9JH6_WdgIgUGH)JX/usO0%jy7T~IVgqjumD^OBqX, Kv^-GM6mlw(fI^$"QRKyZ$?xx/ Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Auth-Info: 15567@permanet.ie (plain) Subject: Re: Does 9.0 honor TERM settings X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Aug 2012 10:46:25 -0000 On Fri, 24 Aug 2012 05:11:19 -0500 (CDT) Lars Eighner wrote: > On Fri, 24 Aug 2012, Steve O'Hara-Smith wrote: > > > On Fri, 24 Aug 2012 03:13:09 -0500 (CDT) > > Lars Eighner wrote: > > > >> On Fri, 24 Aug 2012, Steve O'Hara-Smith wrote: > >> > >>> On Fri, 24 Aug 2012 01:18:23 -0500 (CDT) > >>> Lars Eighner wrote: > >>> > >>>> > >>>> Does 9.0 honor TERM settings? > >>>> > >>>> It appears to me it does not. Although I set TERM=cons25l1 > >>>> in .profile (running bash) and have verified that it is set to that > >>>> value with SET, it appears to me that the function keys are mapped > >>>> to weird xterm-like strings instead of their ANSI values (example: > >>>> F7 = E[18~ not E[S). > >>> > >>> The TERM environment variable is supposed to describe the > >>> terminal not control it. > >> > >> > >> Well, then, where is the setting that makes the F7 key send E[18~ > >> instead of the standard E[S? > > > > In the kernel config there's an option TEKEN_CONS25 which will > > build the console terminal emulator in CONS25 mode. You'll need a > > custom kernel of course. > > I find it really interesting that this change which broke just about every > critical application I run was not mentioned in the release notes or > UPDATING. Bizarre - no well written application should break unless of course you have TERM set to something that doesn't match what the terminal does. The whole TERM termcap/terminfo/curses mechanism is designed to support terminal independent applications. > > I'm curious though - why ? As long as TERM is set correctly > > anything that uses curses will handle the keyboard and screen correctly. > > If 9.0 had not broken my most important applications, I wouldn't be > asking. Which applications - and are they still broken with the right TERM settings (TERM=xterm) ? -- Steve O'Hara-Smith | Directable Mirror Arrays C:>WIN | A better way to focus the sun The computer obeys and wins. | licences available see You lose and Bill collects. | http://www.sohara.org/