Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Aug 2009 22:15:05 +0200
From:      =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no>
To:        Ivan Radovanovic <rivanr@gmail.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Weird console bug
Message-ID:  <86r5vja0ja.fsf@ds4.des.no>
In-Reply-To: <4A8079FF.1040007@gmail.com> (Ivan Radovanovic's message of "Mon,  10 Aug 2009 21:50:23 %2B0200")
References:  <50679.1249933434@critter.freebsd.dk> <4A8079FF.1040007@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Ivan Radovanovic <rivanr@gmail.com> writes:
> Poul-Henning Kamp <phk@phk.freebsd.dk> writes:
> > Ivan Radovanovic <rivanr@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
--=20
Dag-Erling Sm=C3=B8rgrav - des@des.no



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86r5vja0ja.fsf>