Package: ldap-utils Version: 2.4.15-1.1 Severity: minor File: /usr/bin/ldapsearch
This does not depend on tty width. Also no piece of code checks to see if output is a tty. Output example: mail:< file:///tmp/ldapsearch-mail-gA0v8v msExchHomeServerName:< file:///tmp/ldapsearch-msExchHomeServerName-y5RfdB msExchMailboxSecurityDescriptor:< file:///tmp/ldapsearch-msExchMailboxSecurit yDescriptor-y7G0hG msExchUserAccountControl:< file:///tmp/ldapsearch-msExchUserAccountControl-K9 yMmL msExchMailboxGuid:< file:///tmp/ldapsearch-msExchMailboxGuid-eHEzrQ End of example. That happens even if output is a pipe to a script and that results in mentioned files being not found by that script. Fixing the script to overcome that feature complicated the script without any need. ldapsearch would be more useful if it have a switch to turn off any formatting or to forbid formatting of urls, since that is incredibly stupid feature, since continued lines are padded by space, resulting in space being inserted into url body. By the way, almost every output device is capable of wrapping of lines by itself, there are also utilities that do output formatting. And finally, does anyone ever need that arbitrary line width limit??? I don't know whether that length is mandated by any standart, but sometimes standarts suck. NB: I use xterm and my terminal have a line width of 125 Also: The manpage says " -L Search results are display in LDAP Data Interchange Format detailed in ldif(5)." That makes the reader think, that LDIF output is switched by -L switch. It would be better to explicitly express, that output is ALWAYS in LDIF format and that fact is not related to -L option, since only the version and other details of LDIF is affected by -L. Thanks. -- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (500, 'testing'), (500, 'stable') Architecture: i386 (i686) Kernel: Linux 2.6.18-spg (SMP w/2 CPU cores; PREEMPT) Locale: LANG=C, LC_CTYPE=ru_RU.KOI8-R (charmap=KOI8-R) Shell: /bin/sh linked to /bin/bash Versions of packages ldap-utils depends on: ii libc6 2.9-12 GNU C Library: Shared libraries ii libgnutls26 2.6.6-1 the GNU TLS library - runtime libr ii libldap-2.4-2 2.4.15-1.1 OpenLDAP libraries ii libsasl2-2 2.1.22.dfsg1-23+b1 Cyrus SASL - authentication abstra Versions of packages ldap-utils recommends: ii libsasl2-modules 2.1.22.dfsg1-23+b1 Cyrus SASL - pluggable authenticat ldap-utils 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