[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Integrating Quint into the Octave sources
From: |
Przemek Klosowski |
Subject: |
Re: Integrating Quint into the Octave sources |
Date: |
Tue, 19 Apr 2011 16:27:28 -0400 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.15) Gecko/20110307 Fedora/3.1.9-0.39.b3pre.fc14 Lightning/1.0b2 Thunderbird/3.1.9 |
On 04/19/2011 12:59 PM, James Cloos wrote:
Wouldn't it be easier to make --gui the option and cli the default?
That avoids incompatible changes. And most users who might want a gui
be default probably start octave via a .desktop file or other menu item;
those file can use a --gui option easier than existing scripts can add
a --no-gui option.
How about having the executable (sym)linked under two names, say octave
and octave-gui, and code in the main() that looks at argv[0] and does
the expected thing according to the name Octave was called under?
I think this would work on Linux/Unix, Mac and Windows.
Doing it this way is essentially equivalent to using commandlines, but
it seems easier to explain to the end-user and avoids the shebang issues
John mentioned.
- Re: Integrating Quint into the Octave sources, (continued)
- Re: Integrating Quint into the Octave sources, Michael D Godfrey, 2011/04/18
- Re: Integrating Quint into the Octave sources, Doug Stewart, 2011/04/18
- Re: Integrating Quint into the Octave sources, John W. Eaton, 2011/04/18
- Re: Integrating Quint into the Octave sources, Judd Storrs, 2011/04/19
- Re: Integrating Quint into the Octave sources, John W. Eaton, 2011/04/19
- Re: Integrating Quint into the Octave sources, Judd Storrs, 2011/04/19
- Re: Integrating Quint into the Octave sources, John W. Eaton, 2011/04/19
- Re: Integrating Quint into the Octave sources, James Cloos, 2011/04/19
- Re: Integrating Quint into the Octave sources, Michael D Godfrey, 2011/04/19
- Re: Integrating Quint into the Octave sources, Ben Abbott, 2011/04/19
- Re: Integrating Quint into the Octave sources,
Przemek Klosowski <=
- Re: Integrating Quint into the Octave sources, John Swensen, 2011/04/18
- Re: Integrating Quint into the Octave sources, Jordi GutiƩrrez Hermoso, 2011/04/18
- Re: Integrating Quint into the Octave sources, Jacob Dawid, 2011/04/18
- Re: Integrating Quint into the Octave sources, John W. Eaton, 2011/04/18
- Re: Integrating Quint into the Octave sources, Jordi GutiƩrrez Hermoso, 2011/04/18
- Re: Integrating Quint into the Octave sources, John W. Eaton, 2011/04/18
- Re: Integrating Quint into the Octave sources, John Swensen, 2011/04/18
- Re: Integrating Quint into the Octave sources, Jacob Dawid, 2011/04/18
- Re: Integrating Quint into the Octave sources, John W. Eaton, 2011/04/18
- Re: Integrating Quint into the Octave sources, Michael D Godfrey, 2011/04/18