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:
>=20
>> Hi peoples who stay current!
>>=20
>> 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.
>>=20
>> So it is not a problem that <Shift+Tab> not supported, but problem is
>> that unexpected keys combinations close the dialog box.
>=20
> 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=3D641135
>=20
> My standard terminal is Mac OS X' Terminal.app, using =
TERM=3Dxterm-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.
>=20
> 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.
>=20
> If I set these environment variables:
> $ export TERMCAP=3D'xterm-fixed:kB=3D\E[Z:tc=3Dxterm-color:'
> $ export TERM=3Dxterm-fixed
>=20
> dialog behaves correctly.
>=20
> 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
>=20
> It might be beneficial to add kB=3D\e[Z to the standard xterm entries =
in our termcap.

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

--=20
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>