[Yum] Yum output and term size

James Antill james-yum at and.org
Mon Feb 2 15:50:00 UTC 2009


pirla <the.pirla at gdit.it> 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 at and.org


More information about the Yum mailing list