Bug#424978: --help output should not go to less automatically

2007-06-03 Thread David Lichteblau
Quoting Gerfried Fuchs ([EMAIL PROTECTED]): > Btw., Martin Krafft came up with a short patch that would mean to not > have to patch the file: I hate #ifdef. ;-) How about a configuration file option? Paged output would be the default; to disable it create an ldapvirc with something like: profi

Bug#424978: --help output should not go to less automatically

2007-05-30 Thread Gerfried Fuchs
On Wed, May 30, 2007 at 11:24:21AM +0200, martin f krafft wrote: > also sprach David Lichteblau <[EMAIL PROTECTED]> [2007.05.18.1439 +0200]: >> As a user, you can either pipe through a pager if the program does not >> do that automatically, or you can pipe through cat to avoid the pager >> for prog

Bug#424978: --help output should not go to less automatically

2007-05-30 Thread martin f krafft
also sprach David Lichteblau <[EMAIL PROTECTED]> [2007.05.18.1439 +0200]: > "Other than man" is pretty broad. That includes "git > --help". Why is git allowed to use a pager here and ldapvi --help > is not, when both print documentation that is longer than a page > of output? I think git is also

Bug#424978: --help output should not go to less automatically

2007-05-18 Thread David Lichteblau
Quoting martin f krafft ([EMAIL PROTECTED]): > This is totally backwards. Unix tools (other than man) don't use > pagers under any other circumstances than when the user told the > shell to connect a pager to stdout. "Other than man" is pretty broad. That includes "git --help". Why is git allowe

Bug#424978: --help output should not go to less automatically

2007-05-18 Thread martin f krafft
also sprach David Lichteblau <[EMAIL PROTECTED]> [2007.05.18.1139 +0200]: > Only if standard output is a TTY. Otherwise it prints directly to the fd. > > Try > ldapvi --help > compared to > ldapvi --help | cat > > In what situation do you have a TTY on stdout and cannot run a pager? This is

Bug#424978: --help output should not go to less automatically

2007-05-18 Thread David Lichteblau
Quoting martin f krafft ([EMAIL PROTECTED]): > ldapvi's --help output spawns $PAGER. Please don't. It makes it > difficult to refer to the help output when assembling complex > command lines. Only if standard output is a TTY. Otherwise it prints directly to the fd. Try ldapvi --help compared to

Bug#424978: --help output should not go to less automatically

2007-05-18 Thread martin f krafft
Package: ldapvi Version: 1.6-3 Severity: minor ldapvi's --help output spawns $PAGER. Please don't. It makes it difficult to refer to the help output when assembling complex command lines. -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (750, 'unstable'), (500