Csound Csound-dev Csound-tekno Search About

[CSOUND-DEV:3072] Re: Argdecode.c -> GNU Getopts ?

Date2003-08-29 00:33
Fromstevenyi
Subject[CSOUND-DEV:3072] Re: Argdecode.c -> GNU Getopts ?
thanks kevin for the info.  i guess i'll scratch that off the list of
things to try. =)

steven


On Thu, 2003-08-28 at 20:43, Kevin Conder wrote:
> From: steven 
> 
> > I realized that the argdecode was manually done.  I had 
> > been looking into using a port of GNU Getopts for Java in blue, and 
> > thought maybe that it might be useful to use getopts in Csound as
> > well, but I wasn't sure if getopts was just a shell tool or if it was
> a 
> > programming function to use in C as well.  If it is, would there be
> > any objections to having argdecode redone with it?
> 
> There's a license mismatch: getopt is GPL, Csound is LGPL!
> 
> 
> =====

Date2003-08-29 01:43
FromKevin Conder
Subject[CSOUND-DEV:3071] Re: Argdecode.c -> GNU Getopts ?
From: steven 

> I realized that the argdecode was manually done.  I had 
> been looking into using a port of GNU Getopts for Java in blue, and 
> thought maybe that it might be useful to use getopts in Csound as
> well, but I wasn't sure if getopts was just a shell tool or if it was
a 
> programming function to use in C as well.  If it is, would there be
> any objections to having argdecode redone with it?

There's a license mismatch: getopt is GPL, Csound is LGPL!


=====
-- 
kwconder at yahoo dot com

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

Date2003-08-29 04:35
FromAnthony Kozar
Subject[CSOUND-DEV:3073] Re: Argdecode.c -> GNU Getopts ?
On 8/28/03 7:33 PM, stevenyi etched in stone:

> thanks kevin for the info.  i guess i'll scratch that off the list of
> things to try. =)
> 
> steven

>> There's a license mismatch: getopt is GPL, Csound is LGPL!

Sorry, I am not familiar with getopt.  Does it just create an output source
file though like Bison?  Bison is GPL but its output, I believe, has no
license.

Anthony Kozar
anthony.kozar@utoledo.edu

Date2003-08-29 04:49
FromJohn ffitch
Subject[CSOUND-DEV:3074] Re: Argdecode.c -> GNU Getopts ?
On Thu, 28 Aug 2003, Anthony Kozar wrote:

> On 8/28/03 7:33 PM, stevenyi etched in stone:
> 
> > thanks kevin for the info.  i guess i'll scratch that off the list of
> > things to try. =)
> > 
> > steven
> 
> >> There's a license mismatch: getopt is GPL, Csound is LGPL!
> 
> Sorry, I am not familiar with getopt.  Does it just create an output source
> file though like Bison?  Bison is GPL but its output, I believe, has no
> license.
> 

No, getopt is a function/collection to decode command line options.  It 
was the licence which let me to write argedecode.c in the first place, 
when there was pressure for long-form options.  Yes it was a quick hack, 
and I am sure there are better implementations.  Somehow I think there are 
more important issues, like (trivially) getting the byte order working, 
finding out how to use portaudio (v19) in direct mode.  Not to mention the 
more interesting things to do.

==John ff