Mailinglist Archive: yast-commit (590 mails)

< Previous Next >
[yast-commit] r61691 - /trunk/printer/src/overview.ycp
  • From: jsmeix@xxxxxxxxxxxxxxxx
  • Date: Tue, 13 Apr 2010 14:17:09 -0000
  • Message-id: <E1O1gvN-0002SH-SE@xxxxxxxxxxxxxxxx>
Author: jsmeix
Date: Tue Apr 13 16:17:09 2010
New Revision: 61691

URL: http://svn.opensuse.org/viewcvs/yast?rev=61691&view=rev
Log:

In overview.ycp for testpage printing added "tail -n 20"
when the CUPS error_log info is grepped to avoid a too
tall popup which may show too many lines (in particular
in case of the oververbose Gutenprint driver).


Modified:
trunk/printer/src/overview.ycp

Modified: trunk/printer/src/overview.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/printer/src/overview.ycp?rev=61691&r1=61690&r2=61691&view=diff
==============================================================================
--- trunk/printer/src/overview.ycp (original)
+++ trunk/printer/src/overview.ycp Tue Apr 13 16:17:09 2010
@@ -742,9 +742,9 @@
{ // Note the YCP quoting: \\ becomes \ in the commandline:
Printerlib::ExecuteBashCommand( "grep '\\[Job "
+ test_print_job_number
- + "\\]' /var/log/cups/error_log |
grep -v '^[dD]'"
+ + "\\]' /var/log/cups/error_log |
grep -v '^[dD]' | tail -n 20"
);
- test_print_cups_error_log = Printerlib::result["stdout"]:"";
+ test_print_cups_error_log = "...\n" +
Printerlib::result["stdout"]:"";
}
// Ignore an effectively empty test_print_cups_error_log:
if( "" != filterchars( test_print_cups_error_log, Printer::alnum_chars
) )

--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages