Skip to Content.
Sympa Menu

sm-sorcery-bugs - [SM-Sorcery-Bugs] [Bug 6861] apprentice

sm-sorcery-bugs AT lists.ibiblio.org

Subject: Bugs for Sorcery are reported here

List archive

Chronological Thread  
  • From: bugzilla-daemon AT metalab.unc.edu
  • To: sm-sorcery-bugs AT lists.ibiblio.org
  • Subject: [SM-Sorcery-Bugs] [Bug 6861] apprentice
  • Date: Fri, 21 May 2004 16:45:18 -0400

http://bugs.sourcemage.org/show_bug.cgi?id=6861





------- Additional Comments From sorcerer AT flamesnyper.com 2004-05-21 16:45
-------
I agree, apprentice should be a spell, probably called smgl-apprentice, maybe
asked for upon install.

OK, so we need several things:

1) a listing of commands that we'd like to have available in "apprentice
mode",
stored in a file with it's spell mapping, i.e: killall=>psmisc. This would
allow
the modification of one file to add commands to apprentice mode.

2) a "template" that the smgl script can use to generate shell scripts for
apprentice mode, something like:
#!/bin/sh
#SMGL Apprentice Template
COMMAND=$command
SPELL=$spell
Echo "The command $command is supplied by the $spell spell, do you wish to
cast
that now? [Y/n]"
(cast spell or exit)

3) of course, upon cast, BUILD or somesuch would need to check for the
existance
of every script it was going to generate before generating, to ensure that it
didn't overwrite a real "killall" that was already installed with it's
apprentice script.

4) if we wanted it to be real smart... if it ever got cast again, it could
check
line two of every file it knows about, and if none of them say "#SMGL
Apprentice
Template" it could offer "I have determined that you are no longer an
apprentice
Source Mage, would you like me to dispel this function? [Y/n]" :-)

Other ideas?



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.




Archive powered by MHonArc 2.6.24.

Top of Page