I am not surprised that the pstree output is not displayed correctly. pstree
is using a lot of control sequences which "more" does not care about. "less"
on the other hand needs to know about what happens to the screen when
control sequences are used. (see the manpage for option -R).

The "fix" is quite simple: tell pstree not to use control sequences to draw
the lines on the screen but ascii characters: "pstree -A | less".

> Package: less
> Version: 382-1
> Severity: normal
> 
> pstree|less
> 
> fails to properly display the lines that pstree draws. Sadly, the
> following does work properly:
> 
> pstree|more
> 
> Sorry is the day when more is more. :-)
> 
> Charles
> 
> -- System Information:
> Debian Release: 3.1
>   APT prefers testing
>   APT policy: (90, 'testing'), (80, 'unstable')
> Architecture: i386 (i686)
> Kernel: Linux 2.4.26-1-686
> Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
> 
> Versions of packages less depends on:
> ii  debianutils                 2.8.4        Miscellaneous utilities
> specific t
> ii  libc6                       2.3.2.ds1-20 GNU C Library: Shared
> libraries an
> ii  libncurses5                 5.4-4        Shared libraries for terminal
> hand
> 
> -- no debconf information
> 

-- 
Sparen beginnt mit GMX DSL: http://www.gmx.net/de/go/dsl


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to