FS#20258 - [newsbeuter] No quiet option
Attached to Project:
Community Packages
Opened by Egan McComb (egan) - Thursday, 22 July 2010, 15:07 GMT
Last edited by Ionut Biru (wonder) - Saturday, 07 August 2010, 06:34 GMT
Opened by Egan McComb (egan) - Thursday, 22 July 2010, 15:07 GMT
Last edited by Ionut Biru (wonder) - Saturday, 07 August 2010, 06:34 GMT
|
Details
Description:
When newsbeuter is started from a shell, it sends several messages to stdout: Starting newsbeuter 2.3... Loading configuration...done. Opening cache...done. Loading URLs from /home/egan/.newsbeuter/urls...done. Loading articles from cache...done. These cannot be silenced by any option, and cannot be redirected to /dev/null since the ncurses interface is also affected. Upon quitting, it outputs: Cleaning up cache...done. In my opinion, the default behavior of such a console application should be complete silence but for errors. In any case, there should at least be an option for silence for use in aliases. Ironically enough, the code that handles the first set of output actually checks a flag for silence, but this flag cannot be set by the user. Thus a very simple patch can be applied to include a -q option. It is attached. Unfortunately, the quitting output is not governed by similar code; I myself do not know C++ and didn't want to mess with it too much, but I am sure one of the gurus could easily get this part silenced as well. |
This task depends upon
Closed by Ionut Biru (wonder)
Saturday, 07 August 2010, 06:34 GMT
Reason for closing: Upstream
Additional comments about closing: reason from request: submitted upstream
Saturday, 07 August 2010, 06:34 GMT
Reason for closing: Upstream
Additional comments about closing: reason from request: submitted upstream
----
[1] http://code.google.com/p/newsbeuter/issues/list