Hi!
[I've skipped most of your reply because my previous message was not
very clear, and it would take longer for me to explain what parts of
it weren't well-thought-out than it would for me to just start again
from scratch.]
To restate my argument: sshd1 support does not inherantly require any
compile-time knowledge, and so our configure script should not require
any compile-time knowledge about sshd1. It sacrifices consistency for
no apparent reason.
Here is my canonical example:
Question: What does `lshd --ssh1-fallback' do?
Choose one of the following:
a) it causes a syntax error (unrecognized option `--ssh1-fallback'),
because lshd was configured using the --without-sshd1 flag, or a
compliant sshd1 was not found at configure time
b) at runtime, lshd will fall back to sshd1 (bonus question: what is
the path to this sshd1?), because it was configured --with-sshd1,
and a compliant sshd1 was found at configure time
c) at runtime, lshd will fail on ssh1 connections, because the
default sshd1 was moved or deleted
With the current configuration, to find out the answer to the above
question, I must run `lshd --ssh1-fallback', then try something like
`strings `which lshd` | grep ssh'.
With my patches, the answer is always the same: it is a syntax error
because the `--ssh1-fallback' option requires an argument. What does
`lshd --ssh1-fallback=/usr/sbin/sshd' do? It makes lshd pass ssh1
connections to /usr/sbin/sshd.
I think this is as clearly as I can explain my problem with any
configure-time choice to affect ssh1 support. Consistency and
comprehensibility in a command-line interface is a very high priority
for me.
[BTW, remember that I'm nitpicking... overall I find lsh well-written
and easy-to-use. I'm just trying to understand your rationale, and I
won't be satisfied until you can present a rational rationale. ;)]
Thanks,
--
Gordon Matzigkeit <[EMAIL PROTECTED]> //\ I'm a FIG (http://www.fig.org/)
Lovers of freedom, unite! \// I use GNU (http://www.gnu.org/)
[Unfortunately, www.fig.org is broken. Please stay tuned for details.]