Re: Yum output and term size

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



pirla <the.pirla@xxxxxxx> writes:

> Hi all,
>
> I have a little question that I would like to understand.
>
> How yum chose the row size for the output of the command.
>
> I see that if I send output to a file or to a pipe, the size is set to
> 80 char, even if the terminal has more columns.
> This is a problem when package names are long because the row is divided
> into 2 rows, so script or parsing is very hard.

 Screen scraping is unsupported, you probably want to look at:

http://yum.baseurl.org/wiki/YumCodeSnippets

...specifically the snippets for list and/or search.

-- 
James Antill -- james@xxxxxxx
_______________________________________________
Yum mailing list
Yum@xxxxxxxxxxxxxxxxx
http://lists.baseurl.org/mailman/listinfo/yum

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux