Your message dated Thu, 10 Jun 2010 09:18:27 +1000
with message-id <[email protected]>
and subject line Re: Bug#585096: /usr/bin/w.procps: w truncates pipe output
has caused the Debian Bug report #585096,
regarding /usr/bin/w.procps: w truncates pipe output
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
585096: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=585096
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: procps
Version: 1:3.2.7-11
Severity: normal
File: /usr/bin/w.procps


In adition to all ther other /usr/bin/w output formatting bugs,
here's another.

If w's output is not a tty 

eg:  w | cat 

The output is now truncated at 80 characters.
The old behavior was to not truncate. 
There seems to be no way to turn this off or force
the width to some other size.

now I can't use w in my script anymore.

-- System Information:
Debian Release: 5.0.4
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-openvz-686 (SMP w/8 CPU cores)
Locale: LANG=en_NZ.UTF-8, LC_CTYPE=en_NZ.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages procps depends on:
ii  libc6                     2.7-18lenny2   GNU C Library: Shared libraries
ii  libncurses5               5.7+20081213-1 shared libraries for terminal hand
ii  lsb-base                  3.2-20         Linux Standard Base 3.2 init scrip

Versions of packages procps recommends:
ii  psmisc                        22.6-1     Utilities that use the proc filesy

procps suggests no packages.

-- debconf-show failed



--- End Message ---
--- Begin Message ---
Package: procps
Version: 1:3.2.8-2
On Wed, Jun 09, 2010 at 05:53:35PM +1200, Jasen Betts wrote:
> If w's output is not a tty 
> The output is now truncated at 80 characters.
This is probably how it should work, it doesn't do this in procps 3.2.8
in any case.

It's been about a year since I've looked at the 3.2.7
code, but have you tried setting the COLUMNS environment variable?

 - Craig
-- 
Craig Small      GnuPG:1C1B D893 1418 2AF4 45EE  95CB C76C E5AC 12CA DFA5
http://www.enc.com.au/                             csmall at : enc.com.au
http://www.debian.org/          Debian GNU/Linux, software should be Free 


--- End Message ---

Reply via email to