From owner-freebsd-current Thu Mar 16 10:27:23 1995 Return-Path: current-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id KAA18600 for current-outgoing; Thu, 16 Mar 1995 10:27:23 -0800 Received: from gndrsh.aac.dev.com (gndrsh.aac.dev.com [198.145.92.241]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id KAA18590 for ; Thu, 16 Mar 1995 10:27:18 -0800 Received: (from rgrimes@localhost) by gndrsh.aac.dev.com (8.6.8/8.6.6) id KAA16283; Thu, 16 Mar 1995 10:23:29 -0800 From: "Rodney W. Grimes" Message-Id: <199503161823.KAA16283@gndrsh.aac.dev.com> Subject: Re: ps and grep To: mark@grondar.za (Mark Murray) Date: Thu, 16 Mar 1995 10:23:29 -0800 (PST) Cc: paul@isl.cf.ac.uk, FreeBSD-current@FreeBSD.org In-Reply-To: <199503161811.UAA02889@grunt.grondar.za> from "Mark Murray" at Mar 16, 95 08:11:06 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Content-Length: 868 Sender: current-owner@FreeBSD.org Precedence: bulk > > > 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