From owner-freebsd-current@FreeBSD.ORG Wed Nov 23 12:41:34 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9F633106566B for ; Wed, 23 Nov 2011 12:41:34 +0000 (UTC) (envelope-from stb@lassitu.de) Received: from gilb.zs64.net (gilb.zs64.net [IPv6:2001:470:1f0b:105e::1ea]) by mx1.freebsd.org (Postfix) with ESMTP id 69CFD8FC0A for ; Wed, 23 Nov 2011 12:41:34 +0000 (UTC) Received: by gilb.zs64.net (Postfix, from stb@lassitu.de) id 508F71103A5; Wed, 23 Nov 2011 13:41:33 +0100 (CET) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Stefan Bethke In-Reply-To: <20111123120715.7a338cbd.ray@dlink.ua> Date: Wed, 23 Nov 2011 13:41:32 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: <20111123120715.7a338cbd.ray@dlink.ua> To: Aleksandr Rybalko X-Mailer: Apple Mail (2.1084) Cc: freebsd-current@freebsd.org Subject: Re: 9.0-RC2 - bsdinstall - ifconfig X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Nov 2011 12:41:34 -0000 Am 23.11.2011 um 11:07 schrieb Aleksandr Rybalko: > 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 instead of > and then for return press , after that dialog was closed > with only IP field filled. >=20 > So it is not a problem that 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=3D641135 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. 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=3D'xterm-fixed:kB=3D\E[Z:tc=3Dxterm-color:' $ export TERM=3Dxterm-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=3D\e[Z to the standard xterm entries in = our termcap. Stefan --=20 Stefan Bethke Fon +49 151 14070811