[pacman-dev] -Qi output corrupted when using screen
Roman Kyrylych
roman.kyrylych at gmail.com
Sat Feb 27 14:15:04 EST 2010
On Sat, Feb 27, 2010 at 19:26, Dan McGee <dpmcgee at gmail.com> wrote:
> On Sat, Feb 27, 2010 at 11:14 AM, Roman Kyrylych
> <roman.kyrylych at gmail.com> wrote:
>> On Sat, Feb 27, 2010 at 18:42, Dan McGee <dpmcgee at gmail.com> wrote:
>>> If you are using a crappy terminal that doesn't support queries for size, then
>>> use this as a workaround:
>>> pacman -Qi glibc | cat
>>
>> Thanks, this does the trick.
>> It wraps the output of -Qi on 80th column which is fine.
>
> It actually doesn't wrap at all; it leaves it up to the piped-to
> program to do the work. However, you will notice you now wrap package
> names and words mid-word instead of only splitting on spaces.
Wrapping occurs only when terminal's width is <80 columns,
otherwise I always get the same output:
Required By : attr bash bzip2 coreutils cracklib dcron dhcpcd
diffutils eventlog expat file findutils gawk gcc-libs
gdbm gen-init-cpio grep gzip initscripts iptables
iputils kbd libcap libgpg-error libidn libjpeg libpcap
libtasn1 mkinitcpio-busybox module-init-tools nano
ncurses net-tools pam perl popt procinfo psmisc
readline run-parts sudo sysfsutils sysstat sysvinit tar
tcp_wrappers udev visitors wget which zlib
--
Roman Kyrylych (Роман Кирилич)
More information about the pacman-dev
mailing list