[systemd-devel] [PATCH] inhibit: make the output more readable

Lennart Poettering lennart at poettering.net
Fri Mar 1 10:23:14 PST 2013

On Sun, 17.02.13 21:00, Mantas Mikulėnas (grawity at gmail.com) wrote:

> The columnar output can become pretty horrible. When GNOME inhibits
> power/suspend/hibernate keys, the "WHAT" column's text extends to "WHO"
> and even "WHY". At the same time, all texts in "WHY" are of the form
>     GNOME handlin...sses
>     Receiving sle...ions
>     GNOME needs t...reen
> This patch splits each inhibit entry into four lines, allowing the full
> text to fit in a normal-width terminal.

Thanks! Applied, but made a minor change in replacing the five printf()s
by one. I like to believe this is now easier to read (and faster too...).


Lennart Poettering - Red Hat, Inc.

More information about the systemd-devel mailing list