On Mar 19, 2010, at 10:23 AM, Nick Alexander wrote:


On 19-Mar-10, at 6:53 AM, Jason Grout wrote:

On 03/18/2010 10:05 PM, John H Palmieri wrote:
Sage uses non-standard command-line options (e.g., -notebook rather
than --notebook). I propose that we switch to standard ones. Here are
two reasons:


+1!

When this issue came up a year or two ago, there seemed to be a surprising amount of opposition to typing the extra dash, so the interest in changing the options and parsing waned. I would be very happy to see us switch to standard GNU option parsing.

+1. In fact, I tried to do this years ago, but my patch broke all over the place and was bit-bucketed quickly :(

For reference, 
http://groups.google.com/group/sage-devel/browse_thread/thread/3403d3cbd24be221/3b4ab29f1e115961

In any case, I would now be in favor of such a move. As for making the transition, I'm not a huge fan of trying to control it via environment variables (at least, once it's beyond the extremely experimental stage). Once we have the back end, lets start using it by making a substitution for a fixed list of command, e.g. '-notebook' -> '-- notebook' before invoking . Down the road we can add deprecation warnings whenever such a substitution is made, and eventually get rid of this step altogether.

Perhaps keeping the old code around and usable in some form would be worth it for a while, because bugs here could be rather debilitating.

- Robert

--
To post to this group, send an email to [email protected]
To unsubscribe from this group, send an email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

To unsubscribe from this group, send email to sage-devel+unsubscribegooglegroups.com or 
reply to this email with the words "REMOVE ME" as the subject.

Reply via email to