Date: Tue, 25 Aug 2009 15:59:55 +0200 From: Ivan Radovanovic <rivanr@gmail.com> To: Ed Schouten <ed@80386.nl> Cc: freebsd-hackers@FreeBSD.org, Brian Somers <brian@FreeBSD.org> Subject: Re: Deprecating ps(1)s -w switch Message-ID: <4A93EE5B.8000300@gmail.com> In-Reply-To: <20090825134447.GM2829@hoeg.nl> References: <20090825034054.2d57e733@dev.lan.Awfulhak.org> <20090825134447.GM2829@hoeg.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
Ed Schouten napisa: > * Brian Somers <brian@FreeBSD.org> 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...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A93EE5B.8000300>