On Saturday, March 8, 2003, at 02:40 PM, Marcus Thiesen wrote:
> Just because I believe it is not the task of a shell to implement
> details like "or" and "and" options and follow up searches.
ah, but in your suggested API you also specify and and or searches :)
> I believe it
> blows up the shell code unneccessarily because for a simple give me
> "CPANPLUS AND KANE" you have to write two lines of code plus error
> (lazy ;-)) and it does two searches... overhead??
i can see your point about the 2 lines, so maybe we should tuck it
away a bit more nicely... as far as overhead goes, you actually
increase it since cpanplus::backend will now have to Do The Right Thing
based on more options... let me think about this one for a while
>> you might want to look at the CPANPLUS::Error module :)
>> you can get the object by doing this:
>> $err = $cb->error_object
>> my @all_errors = $err->stack();
>> my $last_msg = $err->list();
> Do I really get all output, even verbose one?
yes, it's all logged via the error object, that's the / only / thing
that prints from the backend on down... of course, shell output doesn't
get logged, since it's shell specific
>> hmm, upgrading cpanplus from cpanplus.. i've never tried it...
>> maybe autrijus has an idea, since he deals with the install specific
> It just came to my mind because CPAN does so....
autrijus said it should be fine, worst thing that can happen is
> Maybe you don't need config for a real command line shell, but it
> would be
> better if you could customize some things in a GUI shell. Things like
> default displayed search fields, keybindings (?), etc.
> (I can dump my config in XML or Dumper, but I think this is not really
> and nice)
I'm not sure how one would usually store this for curses, and it's not
come up yet... don't go the xml-route, it adds a lot of overhead...
storable seems a safe way to do it, but there's of course the
multiple-user problem... but how about we tackle that when we get
>> we all ahve to start somewhere, i'm looking forward to it :)
> Me too.
> Just got my Linux up and running and I will try the current devel
> If my girlfriend does not consume that much of my time you should have
> Curses (btw are you happy with this name?) in version 0.00001 by
if we adhere to perl allowed versioning schemes, i would suggest
version 0.01 :) also, CPANPLUS::Shell::Curses seems like a fine
name to me :)
How do I prove I am not crazy to people who are?