From: Philip Reynolds (phil at domain rfc-networks.ie)
Date: Tue 04 Jun 2002 - 11:43:20 IST
I think you missed the point, which was, chopping at a character
length makes more sense when output is a tty, rather than when
output is a pipe (where the output is not going to be processed by
human eyes or possibly even be produced to a terminal).
Breathnach, Proinnsias (Dublin)'s [breatpro at domain exchange.ie.ml.com] 27 lines of wisdom included:
> Um, Padraig ....
> tty generally has a term-width variable which ps can use, so chopping to 80
> may not be sensible ... on the other hand, many utils (esp on older systems)
> had a STDIN width of what was then tty standard 80 cols, which is where the
> limitation began.
> I'd imagine _most_ utils nowadays can take more than 80 cols on STDIN /
> piped input, but not all, so it only makes sense to retain the limitation
> until such time as the utils are upgraded.
-- Philip Reynolds RFC Networks tel: 01 8832063 www.rfc-networks.ie fax: 01 8832041
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:17:04 GMT