bugDenemo - Bugs: bug #32228, Scheme commandline args or:...


bug #32228: Scheme commandline args or: forward unknown command-line arguments to scheme

Submitted by:  -Deleted Account- <steele>
Submitted on:  Mon Jan 24 13:31:25 2011  
Category: Feature requestSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

Please log in, so followups can be emailed to you.


Fri Jan 28 09:29:42 2011, comment #2:

I have re-arranged the startup so this is now possible. To make the transition I can arrange that the command line is not processed in C but passed to scheme depending on the name used to invoke denemo. Or ...???

Richard Shann <rshann>
Project Administrator
Wed Jan 26 16:32:44 2011, comment #1:

I wonder if we should hand the whole of the command line processing over to scheme?
I am not exactly sure how it would work, but, roughly, denemo starts initializes scheme runs a procedure (defined in denemo.scm) with the command line as the parameter.
That procedure calls prints out the help and exits or calls d-Open etc, etc....

Richard Shann <rshann>
Project Administrator
Mon Jan 24 13:31:25 2011, original submission:

Denemo does know a certain amount of command line arguments like version, help or a file.

It would be great if we had

a) a commandline argument for scheme variables like --scheme abc def geh --other arg


b) forward all unknown --argument

to a top-level scheme variable cmdarg_[name] which is just #t from there on. It does no harm but can be useful:

This would be a way to trigger certain behaviour for Denemo, most obvious setting parameters for Denemos GUI or other options.

Or we could use it for something like --verbose to enable debug output for scripts, which would have to do:
(if cmdarg_verbose (display "xy"))

-Deleted Account- <steele>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by rshann (Posted a comment)
  • -unavailable- added by steele (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu Apr 25 07:23:35 2013rshannStatusNeed Info=>Fixed
    Wed Jan 26 16:32:44 2011rshannStatusNone=>Need Info

    Back to the top

    Powered by Savane 3.1-cleanup1