Hi Raphael,
Bart Samwel wrote:
Raphael Hertzog wrote:
On Sun, 12 Aug 2007, Bart Samwel wrote:
I checked: if I do "COLUMNS=70 ps ax | less" I certainly get my
output cut off at 70 columns. So this may still be an issue, I'm not
backing out the commit yet.
Right, I noticed that just after. Still setting COLUMS to 1000 looks
rather wrong, instead we should unset COLUMNS (or make it empty,
apparently it works as well).
That seems like the proper solution. I'll commit a fix to that effect.
I was trying something, and I found an interesting thing: unsetting
COLUMNS (or setting it to nothing) actually only works when the ps
output is being piped through something. So
COLUMNS="" ps ax | cat
works, while
COLUMNS="" ps ax
doesn't. So the pipe behaviour you mentioned earlier is actually
present, but only if COLUMNS is not set...
Cheers,
Bart
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]