From owner-freebsd-questions@FreeBSD.ORG Fri Aug 24 10:12:50 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 DDCE1106564A for ; Fri, 24 Aug 2012 10:12:50 +0000 (UTC) (envelope-from lars@noos.larseighner.com) Received: from emailserver2.asdf456.com (emailserver2.asdf456.com [72.18.207.139]) by mx1.freebsd.org (Postfix) with SMTP id B63358FC0C for ; Fri, 24 Aug 2012 10:12:50 +0000 (UTC) Received: (qmail 13533 invoked by uid 0); 24 Aug 2012 10:12:49 -0000 Received: from unknown (HELO noos.larseighner.com) (71.20.75.102) by emailserver2.asdf456.com with SMTP; Fri, 24 Aug 2012 03:12:49 -0700 Received: by noos.larseighner.com (nbSMTP-1.00) for uid 1001 lars@noos.larseighner.com; Fri, 24 Aug 2012 05:11:21 -0500 (CDT) Date: Fri, 24 Aug 2012 05:11:19 -0500 (CDT) From: Lars Eighner X-X-Sender: lars@noos.larseighner.com To: Steve O'Hara-Smith In-Reply-To: <20120824095533.7ff3bc23.steve@sohara.org> Message-ID: References: <20120824080544.9bca4996.steve@sohara.org> <20120824095533.7ff3bc23.steve@sohara.org> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org 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:12:51 -0000 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. > > 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. -- Lars Eighner http://www.larseighner.com/index.html 8800 N IH35 APT 1191 AUSTIN TX 78753-5266