Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Nov 2011 15:06:20 +0100
From:      Stefan Bethke <stb@lassitu.de>
To:        freebsd-current Current <freebsd-current@freebsd.org>
Cc:        Aleksandr Rybalko <ray@dlink.ua>
Subject:   Re: 9.0-RC2 - bsdinstall - ifconfig
Message-ID:  <51D03405-064A-4BDF-A9A9-BF846A38AA14@lassitu.de>
In-Reply-To: <FB3EE3E0-4091-468C-B4D0-74505F6AD381@lassitu.de>
References:  <20111123120715.7a338cbd.ray@dlink.ua> <FB3EE3E0-4091-468C-B4D0-74505F6AD381@lassitu.de>

next in thread | previous in thread | raw e-mail | index | archive | help

Am 23.11.2011 um 13:41 schrieb Stefan Bethke:

> Am 23.11.2011 um 11:07 schrieb Aleksandr Rybalko:
> 
>> Hi peoples who stay current!
>> 
>> Several days ago I made fresh installation of 9.0-RC2.
>> I found that new installer is very easy and very usable.
>> But found small problem:
>> When I doing interface configuration, I press <tab> instead of <arrow>
>> and then for return press <Shift+Tab>, after that dialog was closed
>> with only IP field filled.
>> 
>> So it is not a problem that <Shift+Tab> not supported, but problem is
>> that unexpected keys combinations close the dialog box.
> 
> I've been annoyed by this dialog mis-feature as well, and I've just found this debian bug:
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=641135
> 
> My standard terminal is Mac OS X' Terminal.app, using TERM=xterm-color.  I've tested this dialog invocation:
> $ dialog --menu foo 20 60 12 a one b two c three
> Hitting Shift-Tab exits from dialog.
> 
> Looking at /etc/termcap, it seems the various xterm definitions lack a kB definition.  syscons as well as Terminal.app produces ^]]Z for Shift-Tab.
> 
> If I set these environment variables:
> $ export TERMCAP='xterm-fixed:kB=\E[Z:tc=xterm-color:'
> $ export TERM=xterm-fixed
> 
> dialog behaves correctly.
> 
> This article discusses how to add a keybinding for plain xterm to produce ^[[Z for Shift-Tab (by default, xterm produces ^I for both Tab and Shift-Tab):
> http://stuff.mit.edu/afs/sipb/user/daveg/Info/backtab-howto.txt
> 
> It might be beneficial to add kB=\e[Z to the standard xterm entries in our termcap.

http://www.freebsd.org/cgi/query-pr.cgi?pr=162787

-- 
Stefan Bethke <stb@lassitu.de>   Fon +49 151 14070811




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?51D03405-064A-4BDF-A9A9-BF846A38AA14>