From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,c8e55d32dc3692f7 X-Google-Attributes: gidfee84,public From: a-dgeer (David Geer) Subject: Re: Why is my ps output truncated? Date: 1995/09/20 Message-ID: <43psi9$p9j@news2100.microsoft.com>#1/1 X-Deja-AN: 110448730 references: <1995Sep12.152545.7640@cronkite.res.utc.com> organization: Microsoft Corporation mime-version: 1.0 newsgroups: comp.unix.osf.osf1 In article <1995Sep12.152545.7640@cronkite.res.utc.com>, m107072@ws7217 says... > > >When I enter the command: > ps -ef > >the output is truncated to fit my window (a Sun command tool rlogined >to alpha). I would prefer to have the lines wrap around, but I can >live with this. > >If I enter: > ps -ef | grep "somestring" > >the data piped to grep is truncated to fit my window before going into >grep!! This means that the result of the search depends on the width >of my window! Is this normal on OSF/1? Can it be avoided? > >Thanks, > > Pete Bradley > I have odserved the same behavior. It can make for some interesting scripts that break if the window is re-sized. I have worked around the problem by using BSD style ps commands and using the w flag to force wide output. Dave Geer -- The opinions expressed in this message are my own personal views and do not reflect the official views of Microsoft Corporation.