From owner-freebsd-questions Wed May 29 6:34:52 2002 Delivered-To: freebsd-questions@freebsd.org Received: from lexx.zssm.zp.ua (lexx.zssm.zp.ua [212.8.32.8]) by hub.freebsd.org (Postfix) with ESMTP id DECCE37B406 for ; Wed, 29 May 2002 06:34:27 -0700 (PDT) Received: from server.hermes-comp.zp.ua (germes-comp.zssm.zp.ua [212.8.32.132] (may be forged)) by lexx.zssm.zp.ua (8.9.2/8.9.2) with ESMTP id QAA14302; Wed, 29 May 2002 16:11:14 +0300 (EET DST) Received: from localhost (localhost [127.0.0.1]) by server.hermes-comp.zp.ua (8.11.3/8.11.3) with ESMTP id g4TD8g494261; Wed, 29 May 2002 16:08:42 +0300 (EEST) (envelope-from stalker@hermes-comp.zp.ua) Date: Wed, 29 May 2002 16:08:42 +0300 (EEST) From: Alexander V Zubchenko To: "Philip J. Koenig" Cc: , Roman Neuhauser , Matthias Buelow Subject: Re: ps and console width In-Reply-To: <20020529130119238.AAA493@empty1.ekahuna.com@pc02.ekahuna.com> Message-ID: <20020529160324.P94204-100000@server.hermes-comp.zp.ua> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, 29 May 2002, Philip J. Koenig wrote: > (If you only specify one "w", it STILL truncates the output, but this > time to 132 instead of 80 columns!) > > Running either in a console session or in a KDE terminal session that > is wide enough to see everything, the same problem occurs. Stranger > still, when I don't specify -w, it only returns my grep process. But > if I *do* specify -w, it shows the process it missed before, but not > the grep process! IMHO, grep occurence is random event (ps(1) manpage BUGS section), but about width i can say onl, that how about window width in case of output redirection? And ps still truncates output for 80 columns. I think, that 80 columns is default value, used whenever ps is unable to get window size. Maybe sources may help, but i don't look in them yet. With best regards, Alexander V Zubchenko To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message