Re: Weird console bug

From: Dag-Erling Smørgrav <des_at_des.no>
Date: Mon, 10 Aug 2009 22:15:05 +0200
Ivan Radovanovic <rivanr_at_gmail.com> writes:
> Poul-Henning Kamp <phk_at_phk.freebsd.dk> writes:
> > Ivan Radovanovic <rivanr_at_gmail.com> writes:
> > > ps -axj | grep opera
> > > You will receive different results depending on width on console
> > > window (for example, for me no results on normal text mode console,
> > > in X it depends on width of console you are executing above command
> > > in).
> > See the -w option to ps
> Thanks, anyway I find this behavior weird when redirecting or piping...

It's definitely a bug; ps(1) should check isatty().  Please file a PR.

DES
-- 
Dag-Erling Smørgrav - des_at_des.no
Received on Mon Aug 10 2009 - 18:33:34 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:53 UTC