9.0-RC2 - bsdinstall - ifconfig

1 view
Skip to first unread message

Aleksandr Rybalko

unread,
Nov 23, 2011, 5:07:15 AM11/23/11
to freebsd...@freebsd.org
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.

Thank you!

WBW
--
Alexandr Rybalko <r...@dlink.ua>
aka Alex RAY <r...@ddteam.net>
_______________________________________________
freebsd...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-curre...@freebsd.org"

Stefan Bethke

unread,
Nov 23, 2011, 7:41:32 AM11/23/11
to Aleksandr Rybalko, freebsd...@freebsd.org
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.


Stefan

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

Stefan Bethke

unread,
Nov 23, 2011, 9:06:20 AM11/23/11
to freebsd-current Current, Aleksandr Rybalko
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

Bruce Cran

unread,
Nov 23, 2011, 9:34:11 AM11/23/11
to Stefan Bethke, Aleksandr Rybalko, freebsd-current Current
On 23/11/2011 14:06, Stefan Bethke wrote:
> http://www.freebsd.org/cgi/query-pr.cgi?pr=162787

That's a much better PR than the one I submitted about the problem last
year: http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/151229 :)

--
Bruce Cran

Stefan Bethke

unread,
Nov 23, 2011, 9:41:29 AM11/23/11
to Bruce Cran, Aleksandr Rybalko, freebsd-current Current
Am 23.11.2011 um 15:34 schrieb Bruce Cran:

> On 23/11/2011 14:06, Stefan Bethke wrote:
>> http://www.freebsd.org/cgi/query-pr.cgi?pr=162787
>
> That's a much better PR than the one I submitted about the problem last year: http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/151229 :)

Sorry, I did try to check termcap related PRs before filing mine, but didn't see yours.


Stefan

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

_______________________________________________

Reply all
Reply to author
Forward
0 new messages