From owner-freebsd-hackers@FreeBSD.ORG Tue Aug 25 14:24:31 2009 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AADEE106568C for ; Tue, 25 Aug 2009 14:24:31 +0000 (UTC) (envelope-from rivanr@gmail.com) Received: from mail-fx0-f210.google.com (mail-fx0-f210.google.com [209.85.220.210]) by mx1.freebsd.org (Postfix) with ESMTP id 398438FC28 for ; Tue, 25 Aug 2009 14:24:30 +0000 (UTC) Received: by fxm6 with SMTP id 6so2015833fxm.43 for ; Tue, 25 Aug 2009 07:24:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=QjuZtsv/+rVW2CxgD2AiDlkcIfrymz1H/wIldy5THlA=; b=mPXYf1BwCxQ5bzf+mFh3Yj33dvALWkheTvDOOyDGgzwF4HAzoUtirRsKKYtF8peeDV tL+5m9eAuBuUkQC4+YJpqVc4cPezYmVzuovIjXWOIaXSxwHeDvzarVquLrEyGa18QgjG WncBPHTSGfa2wCgFiEkrJBjTt/9IIk9ejZAWY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=pwLjbna1cHFcEPt7ZlejY2GIL6iRLbI7zlYF3mPswhKK97Zsw+yHhNuM+BxZ7DiJah v8NmFh9SjIHPLr0kqxZwnrtHaRttrUaBzQUoxcZ0XVliEOLMjXe2CMVXyBrWJsA9DQAW p2LOm8cqmXhYAcZJ6WhAw1MKxGzRds8jP6r/w= Received: by 10.103.37.38 with SMTP id p38mr2599129muj.134.1251208798080; Tue, 25 Aug 2009 06:59:58 -0700 (PDT) Received: from azdaja.softwarehood.com ([95.180.33.218]) by mx.google.com with ESMTPS id t10sm104956muh.30.2009.08.25.06.59.57 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 25 Aug 2009 06:59:57 -0700 (PDT) Message-ID: <4A93EE5B.8000300@gmail.com> Date: Tue, 25 Aug 2009 15:59:55 +0200 From: Ivan Radovanovic User-Agent: Thunderbird 2.0.0.22 (X11/20090708) MIME-Version: 1.0 To: Ed Schouten References: <20090825034054.2d57e733@dev.lan.Awfulhak.org> <20090825134447.GM2829@hoeg.nl> In-Reply-To: <20090825134447.GM2829@hoeg.nl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@FreeBSD.org, Brian Somers Subject: Re: Deprecating ps(1)s -w switch X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Aug 2009 14:24:31 -0000 Ed Schouten napisa: > * Brian Somers wrote: > >> I recently closed bin/137647 and had second thoughts after Ivan (the >> originator) challenged my reason for closing it. >> >> The suggestion is that ps's -w switch is a strange artifact that can >> be safely deprecated. ps goes to great lengths to implement width >> limitations, and any time I've seen people not using -ww has either >> been a mistake or doesn't matter. Using 'cut -c1-N' is also a great >> way of limiting widths if people really want that... >> >> I'd like to propose changing ps so that width limits are removed and >> '-w' is deprecated - ignored for now with a note in the man page >> saying that it will be removed in a future release. >> >> Does anyone have any objections to doing this? I don't propose >> merging this back into stable/8. >> > > So ps(1) output can never be limited to the screen width? > I think it would be smart not to limit width by default (ie default behavior to be like with -ww), but to have some switch (like -w) to limit width if someone really needs to do that, although with "cut -c 1-80" could be achieved limiting...