The behaviour of systemctl.

Martin Dengler martin at martindengler.com
Sun Jun 19 09:03:05 UTC 2011


On Sat, Jun 18, 2011 at 10:46:48AM +0200, Aaron Sowry wrote:
> On Fri, Jun 17, 2011 at 04:31:08PM -0700, Jesse Keating wrote:
> > The apps that I've seen where they do something special like paging the 
> > output by default, will not do that if the output is a non-active tty, 
> > such as a pipe.  When you pipe it into something it'll react differently.
> 
> Yes, and this is exactly the problem. When I run 'systemctl --all'
> on the tty, I get paging and column headers. When I pipe into
> something, I get no paging and no column headers.

Your point about column headers is taken (explicitly, in my mail) and
bears no more repeating since there's a bug about it.

Your point about paging continues to be that you don't like it for the
purist reason that unix-y tools shouldn't format their output.  Or
format it "too much", since many tools do do formatting already.  grep
and git already do something too impure for you and have been doing so
for a long time.  I'm happy this is the default.  If you're not, why
not file a bug?  It's more effective than complaining on a downstream
mailing list.

> /Aaron

Martin



-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/devel/attachments/20110619/1cd6a495/attachment.bin 


More information about the devel mailing list