[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#124337: [patch] texconfig with whiptail instead of dialog



On Thu, 3 Jan 2002, Thomas Esser wrote:

> > The patch to implement this is simple:
> >
> > --- tetex-bin-1.0.7+20011202.orig/texk/tetex/texconfig
> > +++ tetex-bin-1.0.7+20011202/texk/tetex/texconfig
> > @@ -139,6 +139,7 @@
> >    { u=`uname -s`; } 2>/dev/null
> >    case "$u" in
> >      FreeBSD|Linux)
> > +      test -f /usr/bin/whiptail && DIALOG_PROG=/usr/bin/whiptail
> >        test -f /usr/bin/dialog && DIALOG_PROG=/usr/bin/dialog
> >        test -f /bin/dialog && DIALOG_PROG=/bin/dialog
> >        ;;
>
> Well, this solution prefers dialog to whiptail. Is this your intention?

Yes, my intention was to send you a patch that adds a new feature
(whiptail is used to build a user friendly menu when dialog isn't
available) without changing existing behaviour (if both dialog and
whiptail are present dialog is used).

> Thomas

cu
Adrian






Reply to: