Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] Sorcery message verbosity getting out of hand?

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: "Andrew \"ruskie\" Levstik" <ruskie AT mages.ath.cx>
  • To: sm-discuss AT lists.ibiblio.org
  • Subject: Re: [SM-Discuss] Sorcery message verbosity getting out of hand?
  • Date: Mon, 6 Sep 2004 16:38:27 +0200

When this poped up on irc this is what I recommended:
A verbosioty level settable in the FEATURE MENU and
on the command line:

-v0 by default only asks questions(light)
-v1 shows some more data(only shows the
dependencie resolving but not the "No work to do" or so stuff)(medium)
-v2 a bit more(like it does atm)(high)
-v3 should be debug level(would simply enable debug level so not muchchanges
here as well)
-v4 should be superdebug level(should simply set superdebug on so nothing
would be changed here)

For this to work the following would have to be modified:

the real_message function to accept a "VERBOSITY" parameter
so that it could be compared to the preset level(either in FEATURE MENU or
via -v# flags

and then of course all the calls to message function to have the VERBOSITY
parameter
the message modification I propose like this:

1. first parse all the message lines out of current sorcery code with
filenames(grep -r "message" *)
2. take this list and modify each of the message lines for it to the proper
verbosity level
3. run a sed script over this that will switch all the necesary stuff around
4. do the same for all the grimoires

--
Andrew "ruskie" Levstik

For all the knowledge... || URL: http://www2.arnes.si/~alevst1
I will prevail... || ICQ: 321223361
If I fail nothing is left... || MSN: ruskie_0 AT yahoo.co.uk
All is lost... || Jabber: ruskie AT jabber.org
Never to be seen again... || Yahoo!: ruskie_0
Nevermore...

Key ID = 32FE2034
Key fingerprint = EF36 041B E2A5 4E6F 7B3E 6B45 C0F2 E234 32FE 2034

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GAT d? s+:+++ a? C++++>$ UL+++ P L+++ E---- W+ N+ o? K? !w O+ !M
V PS+ PE Y+ PGP++ t+++ 5+++ !X R++ tv++ b+++ DI? !D G e h! !r !y+
------END GEEK CODE BLOCK------




Archive powered by MHonArc 2.6.24.

Top of Page