Package: psmisc
Version: 22.20-1
Severity: normal

The Single Unix Specification says that the COLUMNS environment
variable 'shall represent a decimal integer >0 used to indicate the
user's preferred width in column positions for the terminal screen or
window; see Column Position. If this variable is unset or null, the
implementation determines the number of columns, appropriate for the
terminal or window, in an unspecified manner. When COLUMNS is set, any
terminal-width information implied by TERM is overridden.'

pstree ignores this, and only supports the -l option to enable
arbitrary long lines (and I always have to look this up).  I think
the current predecence rules are:

1. If -l was used, unlimited.
2. If stdout is a tty and its width can be determined, the tty width.
3. Finally, fallback to 132.

An additional rule is required:

1.5. If COLUMNS is set and valid, the specified width.

Ben.

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (x86_64)
Foreign Architectures: amd64

Kernel: Linux 3.9-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages psmisc depends on:
ii  libc6      2.17-7
ii  libtinfo5  5.9+20130608-1

psmisc recommends no packages.

psmisc suggests no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to