to Magnus Therning <[EMAIL PROTECTED]>

Locally I use Windows, and thread which you pointed to i dedicated to discussion of sshfs which is subtype of filesystem in userspace, so it is not my case, but anyway, thank you.

to Eric Y. Kow <[EMAIL PROTECTED]>

> I read man 1 ssh and figured out that when using non-interactive SSH
> mode file all that .bashrc and other .profile files are not executed.

Really? This was how I used to understand things, but then some other
people had different experiences and I changed my mind.  Perhaps these
people just had non-default sshd configurations as you suggest?

Really. I dont know what you are talking about, but default behaviour of sshd is to start different  startup scripts for interactive and non-interactive  ssh sessions. I read this  2 days ago :).


> To make clear what I have in $PATH when using darcs push over SSH I said
>
> ssh [EMAIL PROTECTED] "echo $PATH"

Note that this just prints out the local path.  To get the path on the
other end, you want
 ssh [EMAIL PROTECTED] 'echo $PATH'

The single quotes don't let your shell interpret the variables inside.

I am not sure about what shell inerpreters you talk about, I had remote Linux system $PATH value when run this command in Windows cmd.


> How can I point what darcs binary to use on remote side when I do push over
> SSH?

I guess this would mean the proposed --remotedarcs really is useful
after all: http://bugs.darcs.net/issue223

Very glad to help  your community in a such way :). But I dont know why is it necessary for someone to come and approve necessity of such an option. It looks to be a normal feature which is required in very most cases.

Thank you for your response. Maybe you can tell me about some ways to execute some commands _before_ remote darcs will be called? If there is posthook option then prehook is just a raw logical thing to be?


_______________________________________________
darcs-users mailing list
[email protected]
http://www.abridgegame.org/mailman/listinfo/darcs-users

Reply via email to