Does 9.0 honor TERM settings

Lars Eighner lars at larseighner.com
Fri Aug 24 10:21:48 UTC 2012


On Fri, 24 Aug 2012, Steve O'Hara-Smith wrote:

> On Fri, 24 Aug 2012 03:13:09 -0500 (CDT)
> Lars Eighner <luvbeastie at larseighner.com> wrote:
>
>> On Fri, 24 Aug 2012, Steve O'Hara-Smith wrote:
>>
>>> On Fri, 24 Aug 2012 01:18:23 -0500 (CDT)
>>> Lars Eighner <luvbeastie at larseighner.com> 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 grepped the entire /usr/src/sys/amd64/conf directory.  There is no
TEKEN_CONS25 or TEKEN or CONS25.  Exactly where is this documented?


-- 
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266



More information about the freebsd-questions mailing list