Lisp option support



Robert Dodier wrote:
>
> Hmm. -o seems like a confusing choice, since it specifies
> an output file for more than one popular program.
> Maybe -X instead? There doesn't have to be an abbreviation.
>   
-X is fine with me.
>   
>> o Licensing.  The license says we can use getopt however we want, but
>> the license must be included somewhere in both source and binary
>> distributions.
>>     
>
> The source is easy, right? Just leave the license notice in
> the source code. About the binary, I don't know what kind
> of notice they want. Is a string embedded in the executable
> sufficient? A file bundled in the release? If they want a
> runtime notice, let's create a new function "license" which
> prints license notices.
>   
Yeah, source is easy.  Here's the relevant part of the license:

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
   notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
   notice, this list of conditions and the following disclaimer in the
   documentation and/or other materials provided with the distribution.
3 ....

You'll have to decide what to do with the binary distributions.  I
never, ever, use those so I don't even know what's in them.


>   
>> o Should this change be applied?  If so, when?  Before the Aug release?
>> After?  Never?
>>     
>
> Well, it sounds like it's ready to go, so feel free to apply it now.
>   
Ok.  Needs a little bit of cleanup, but I'l lcheck it in sometime soon. 
No one should know anything is changed unless you use the new option or
starting concatenating options together.
>   
>> o It would be nice if getopt would take at least some of the changes.
>> (I think I found two bugs in getopt itself.)
>>     
>
> I'll let you take it up with the getopt maintainer or whomever.
>   
Yeah, that's not really relevant to maxima.  I've already sent a message
to the maintainer, but no answer yet.

Ray