Quoting Bob Hanson <[EMAIL PROTECTED]>:
> Rolf Huehne wrote:
>> In general the behaviour of Jmol in command-line mode is not very unix-like:
>>
>> 1) Usually the output is send to "STDOUT" and the error or log messages
>> are send to "STDERR". This allows for an easy separation of real output
>> and other messages and simplifies output parsing.
>> So I would expect that something like "syntax ok" or "syntax not ok"
>> would be the output with the command-line switch "-c".
>>
>>
>>
> Since you can set the log level to anything you want, we have log
> messages going to STDOUT. Should they really go to STDERR?
>

Yes, in my opinion (at least if Jmol is used non-interactively). Jmol  
is getting increasingly suitable for non-interactive tasks (enhanced  
scripting language, Jmol math, increasing report and export  
capabilities, etc.). But this is counteracted by mixing "real output"  
with status/warning/error messages. It is often extremely difficult or  
even impossible to sort out the "real output" reliably after it was  
mixed (and requires a lot of extra work). Switching all these messages  
off is not an alternative because they are especially important for  
automatic program use. Without them it cannot be judged  
(automatically) if the program run was succesful or not.

Q: What do others think about this?

>
>> 2) The silent option unfortunately (and unexpectedly) makes Jmol totally
>> silent. Usually such an option is used to suppress any commenting or
>> warning messages but not the requested output.
>>
>>
>>
> TOTALLY silent. Right.
>

It might be ambiguous, but "silent" as command-line option usually  
means "work silently" and not "don't work at all".

Regards,
Rolf

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to