Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Mar 1995 10:23:29 -0800 (PST)
From:      "Rodney W. Grimes" <rgrimes@gndrsh.aac.dev.com>
To:        mark@grondar.za (Mark Murray)
Cc:        paul@isl.cf.ac.uk, FreeBSD-current@FreeBSD.org
Subject:   Re: ps and grep
Message-ID:  <199503161823.KAA16283@gndrsh.aac.dev.com>
In-Reply-To: <199503161811.UAA02889@grunt.grondar.za> from "Mark Murray" at Mar 16, 95 08:11:06 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> > What do people think of the idea of making ps treat the textwidth as infinite
> > if it's output is redirected?
> 
> You have my vote.

You don't have mine.  I have used a system that has this and one thing
that is very annoying about it is when you do:
ps lax | more
you end up with line wrap trash that is harder than hell to read!

> > It really pisses me off when you do ps | grep foo and foo isn't
> > found because it's really long and ps truncates its output to fit
> > the screen width so grep never sees it.
> 
> Me too. I would also like to 'ps -gaux | less' and see _everything_.

Looks like a religious issue... if you run a shell that has aliases
one way to fix this is:

alias ps 'ps -ww\!*'

-- 
Rod Grimes                                      rgrimes@gndrsh.aac.dev.com
Accurate Automation Company                   Custom computers for FreeBSD



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