Csound Csound-dev Csound-tekno Search About

[Csnd] --help page quirk that's driving me slightly nuts.

Date2010-05-22 17:39
Fromgmschroeder
Subject[Csnd] --help page quirk that's driving me slightly nuts.
every time I've used csound from a command line, I've not been able  
to get --help | more or --help | less to scroll through options so I  
can read them.
Just goes straight to the end of the list.
Is this a known issue or what's up?
Greg


Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"

Date2010-05-22 17:53
FromFelipe Sateler
Subject[Csnd] Re: --help page quirk that's driving me slightly nuts.
For some reason, csound chooses to output to stderr insted of stdout.
You need to do csound --help 2>&1 | less. Which is really annoying
because messages that really _should_ go to to stderr go into your
pager.

I think unless csound supports writing audio to stdout, it should
default status messages to stdout.

On Sat, May 22, 2010 at 12:39, gmschroeder  wrote:
> every time I've used csound from a command line, I've not been able to get
> --help | more or --help | less to scroll through options so I can read them.
> Just goes straight to the end of the list.
> Is this a known issue or what's up?
> Greg
>
>
> Send bugs reports to the Sourceforge bug tracker
>           https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
>
>



-- 

Saludos,
Felipe Sateler


Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"


Date2010-05-22 18:04
FromJacob Joaquin
Subject[Csnd] Re: Re: --help page quirk that's driving me slightly nuts.
> I think unless csound supports writing audio to stdout, it should
> default status messages to stdout.

Status messages really ought to go to stdout. The way it works now is
contrary to how people expect the command line to work.  This issue
has popped up many times on the list over the years, and it will
continue to confuse until changed.

Best,
Jake

Date2010-05-22 19:01
FromVictor Lazzarini
Subject[Csnd] Re: Re: --help page quirk that's driving me slightly nuts.
I think csound can write audio to stdout and I have the impression  
that is the reason for using stderr.

Victor
On 22 May 2010, at 17:53, Felipe Sateler wrote:

> For some reason, csound chooses to output to stderr insted of stdout.
> You need to do csound --help 2>&1 | less. Which is really annoying
> because messages that really _should_ go to to stderr go into your
> pager.
>
> I think unless csound supports writing audio to stdout, it should
> default status messages to stdout.
>
> On Sat, May 22, 2010 at 12:39, gmschroeder   
> wrote:
>> every time I've used csound from a command line, I've not been able  
>> to get
>> --help | more or --help | less to scroll through options so I can  
>> read them.
>> Just goes straight to the end of the list.
>> Is this a known issue or what's up?
>> Greg
>>
>>
>> Send bugs reports to the Sourceforge bug tracker
>>           https://sourceforge.net/tracker/?group_id=81968&atid=564599
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body  
>> "unsubscribe
>> csound"
>>
>>
>
>
>
> -- 
>
> Saludos,
> Felipe Sateler
>
>
> Send bugs reports to the Sourceforge bug tracker
>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body  
> "unsubscribe csound"
>



Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"

Date2010-05-22 19:44
FromJacob Joaquin
Subject[Csnd] Re: Re: Re: --help page quirk that's driving me slightly nuts.
> I think csound can write audio to stdout and I have the impression that is
> the reason for using stderr.

Since outputting audio to the stdout is the exception rather than the
rule, it probably makes more sense for text messages being sent to
stdout except in the extremely rare cases when audio is being sent
there.

Out of curiosity, does anybody use Csound in this way? If so, in what capacity?

Best,
Jake

Date2010-05-22 19:44
FromSteven Yi
Subject[Csnd] Re: --help page quirk that's driving me slightly nuts.
I think the output is in stderr and not stdout. I think the general
reason for it is you can pipe audio out from csound using stdout, but
I've always been annoyed too about messages and not being able to pipe
them to more/less.

On 5/22/10, gmschroeder  wrote:
> every time I've used csound from a command line, I've not been able
> to get --help | more or --help | less to scroll through options so I
> can read them.
> Just goes straight to the end of the list.
> Is this a known issue or what's up?
> Greg
>
>
> Send bugs reports to the Sourceforge bug tracker
>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
>
>