[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Patch: Wrong order of arguments to HP remsh when using :ext: with
From: |
Derek Robert Price |
Subject: |
Re: Patch: Wrong order of arguments to HP remsh when using :ext: with username |
Date: |
Fri, 08 Oct 2004 09:58:44 -0400 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040616 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Martin Jost wrote:
>Hello,
>
>I found a problem with when using cvs (1.12.9) with ':ext: and HPUX
'remsh'.
>
>In src/rsh-client.c the command send to RSH is build with '-l'-Option
(for username) first, then the server name.
>Unfortunately remsh on HPUX insists on getting the hostname _first_,
then the options !
>--------------------- man remsh: ---------------
>NAME
> remsh - execute from a remote shell
>
> SYNOPSIS
> remsh host [-l username] [-n] command
>-------------------------------------------------
This is a nice thought, but I don't like relying on commands we don't
have control of being called with the correct name. Maybe this calls
for a more general solution, like a CVS_RSH_ARGS environment variable
that takes contents like the *info templates (via format_cmdline())?
We could default the contents of CVS_RSH_ARGS to this alternate form
based, perhaps, on the fact that remsh was found at configure time and
the command has the name remsh, but I like the general form and the
available override, given that we have the infrastructure in place to
make it not much more complicated.
Cheers,
Derek
- --
*8^)
Email: derek@ximbiot.com
Get CVS support at <http://ximbiot.com>!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFBZp0ULD1OTBfyMaQRAuFIAJ4n6TBBwwNM2TneprCsTtavuPnPRwCg5ckU
r/fgjUMNVYDZGyExxDQrhYQ=
=1HQ6
-----END PGP SIGNATURE-----