svn commit: r241701 - in head/usr.sbin/bsdconfig: . include share

Devin Teske devin.teske at fisglobal.com
Fri Oct 19 18:36:47 UTC 2012


On Oct 19, 2012, at 10:02 AM, Alexey Dokuchaev wrote:

> On Fri, Oct 19, 2012 at 08:22:36AM -0700, Devin Teske wrote:
>> On Oct 18, 2012, at 10:54 PM, Alexey Dokuchaev wrote:
>>> How come that new dialog(1) lacks functionality of the old one?
>> 
>> SVN r217309 brought in cdialog to replace our the [unmaintained] dialog.
>> 
>> cdialog is different, but mostly compatible with its predecessor.
> 
> Ah, I guess it might explain the shitty colors I see on newish FreeBSD
> screenshots of dialog(1).
> 

I actually prefer the colors in cdialog (more specifically, I prefer the lack-of-yellow!).

Whenever I want a reminder of bad colors, I run "sade" (which links against the old libdialog now named lib*o*dialog).

When I'm on the physical console, I don't have nearly as much trouble with the yellow color used both for the title bar and for the hline at the bottom, but when I'm (say) ssh'd from Mac OS X, that text is just completely unreadable to me.

I'm curious about how others feel about the use of yellow (specifically that old dialog(1)/libdialog used it a lot and new cdialog-based dialog(1)/libdialog doesn't use it hardly at all).

I for one embrace my new cdialog overlord.


>> The benefits of cdialog far out-weigh the few problems that were reported
>> (and then quickly fixed).
> 
> OK, but do we plan to retain the look of original dialog(1)?
> 

It is possible to change the colorings by first creating (if you don't already have one) a ~/.dialogrc by executing the below command:

dialog --create-rc ~/.dialogrc

followed by editing said file.

So while the default look and feel has changed, it's possible to customize it to your liking.

HINT: I bet if you ran the above command on FreeBSD-8 or lower, it would make dialog(1) in FreeBSD-9 and higher look like its predecessor.
-- 
Devin

_____________
The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you.


More information about the svn-src-all mailing list