Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] Using dialog for the net-conf spell

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: "Andraž \"ruskie\" Levstik" <ruskie AT mages.ath.cx>
  • To: sm-discuss AT lists.ibiblio.org
  • Subject: Re: [SM-Discuss] Using dialog for the net-conf spell
  • Date: Wed, 12 Apr 2006 21:35:08 +0200

Karsten Behrmann wrote :

> gpg: Signature made sre 12 apr 2006 19:59:27 CEST using DSA key ID B3E0E7A3
> gpg: WARNING: signing subkey B3E0E7A3 is not cross-certified
> gpg: please see http://www.gnupg.org/faq/subkey-cross-certify.html for more
> information
> gpg: Good signature from "Karsten Behrmann <karstenbeh AT web.de>"
> gpg: aka "Karsten Behrmann (BearPerson/Sourcemage)
> <BearPerson AT gmx.net>"
> gpg: WARNING: This key is not certified with a trusted signature!
> gpg: There is no indication that the signature belongs to the
> owner.

> Primary key fingerprint: 4249 3C63 01ED 258E 3225 7247 024B 0A2E 83B7 BF2C
> Subkey fingerprint: F234 18CF AF8E 075A B938 4909 0BE3 C351 B3E0 E7A3
>
>
> On Tue, 11 Apr 2006 21:29:55 -0500, Matthew Clark wrote:
> > I recently began trying to improve the net-tools spell by replacing that
> > long list of questions with a dialog.
> [...]
> > Since I am limited in my ability to script it well, I am asking a fellow
> > developer (or anyone who can bash-script lika muthaphukka) to take a look.
>
> I'm taking a look ;-)
> looks pretty good, maybe a few "you should not do that"-s,
> but generally some good ideas there.
>
> So Far,
> Karsten "BearPerson" Behrmann
>

Hmmm this is just my humble opinion but I'm not a fan of dialog in spells.
It's to me annoying.

I would prefer to have:
config_query NETTOOLS_CONFIG "Do you want to reconfigure" y
if [[ $NETTOOLS_CONFIG == y ]]
then
config_query NETTOOLS_CONFIG_GUI "Use dialog configuration question?" n
if [[ $NETTOOLS_CONFIG_GUI == y ]]
then
do the dialog magic
fi
else
give me the normal questions
fi


Just my suggestion... I'd like this seen in all spells that use dialog.

--
Andraž "ruskie" Levstik
Source Mage GNU/Linux Games grimoire guru
Geek/Hacker/Tinker

Hacker FAQ: http://www.plethora.net/%7eseebs/faqs/hacker.html

Key id = A7A9E461
Key fingerprint = 757E C16B F5B7 DC27 B003 CCED CF95 3A77 A7A9 E461





Archive powered by MHonArc 2.6.24.

Top of Page