[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: **: Re: **: Re: tramp (2.1.17-pre); Nothing happens, waiting for som

From: Fabrice
Subject: Re: **: Re: **: Re: tramp (2.1.17-pre); Nothing happens, waiting for something after "found remote shell prompt"
Date: Wed, 17 Nov 2010 10:57:30 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (windows-nt)

Hi Michael,

Michael Albinus wrote:
>> Here are the (confusioning?) results. I just removed the `exec' command so
>> that I could more quickly test different variations of the above (without
>> having to reconnect to the machine every time). See below, though, for the
>> exact result of the above command (with the `exec').
>> /address@hidden:~ 0$ PROMPT_COMMAND='' PS1=\$\  PS2='' PS3='' \bash
>> /address@hidden:~ 0$ exit
>> /address@hidden:~ 0$ PS1=///77657d3502c121977584ac7ec5d40d3b\$
>> Does it help you to help me?
> It means that your bash does not work with Tramp.

Could you be a more explicit on what it means "does not work with Tramp"? Is
there something to report to Cygwin? Any idea on what or how to test? Is it
the fact PS1 is not applied?

Though, I could have found the culprit: me (?). I set `PS1' is set in my
`.bashrc'. Hence, it overrides the `PS1' you set just before calling

But, does that mean I can't set my `PS1' in my `.bashrc'? Should I do it
soemwhere else?

BTW, do know that I also have a `.bash_profile', and that it sources my
`.bashrc'... But removing it did not change anything.

Now, I just commented the setting of `PS1' in my remote `.bashrc'... and that
just works! So setting `PS1' in `.bashrc' is confirmed to be the problem. Why?

OK, now it almost perfectly works: I can access a lot of remote files, but not
all. For example, when entering in the `server' directory, I get:

--8<---------------cut here---------------start------------->8---
byte-code: `((test -e /cygdrive/d/PFlowAcc/server || test -h
/cygdrive/d/PFlowAcc/server) && \stat -c '(("%N") %h %u %g %X.0 %Y.0 %Z.0 %s.0
"%A" t %i.0 -1)' /cygdrive/d/PFlowAcc/server || echo nil)' does not return a
valid Lisp expression: `(("`/cygdrive/d/PFlowAcc/server'") 1 4294967295
4294967295 1289987025.0 1289948620.0 1289948620.0 159744.0 "drwxrwxrwx" t
121034239985590299.0 -1) '
--8<---------------cut here---------------end--------------->8---

Though, it looks weird in the `dired' buffer:

--8<---------------cut here---------------start------------->8---
  total 172
  drwxrwxrwx  1 Administrators None          8192 2010-11-15 17:13 ./
  drwxrwxrwx  1 Administrators root          4096 2010-11-05 15:18 ../
  drwxrwxrwx  1 Administrators ????????         0 2008-12-10 17:40 2008-12-10/
  drwxrwxrwx  1 ????????       ????????         0 2007-08-16 13:36 Aspadmin/
  drwxrwxrwx  1 ????????       ????????    159744 2010-11-17 00:03 server/
  drwxr-xr-x  1 fni            mkgroup_l_d   4096 2010-11-15 17:13 sharedfiles/
--8<---------------cut here---------------end--------------->8---

Do you have any idea why this is failing?

> Do you have another bournish shell on that remote machine, like ksh or zsh?

I'd like having zsh there, but its installation in Cygwin does not seem as
straigthforward as it should.

Best regards,

[1] FMI, what's the difference between `\bash' and `bash'?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]