tramp-devel
[Top][All Lists]
Advanced

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

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


From: Michael Albinus
Subject: Re: **: Re: tramp (2.1.17-pre); Nothing happens, waiting for something after "found remote shell prompt"
Date: Sat, 20 Nov 2010 11:47:11 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

"Fabrice" <address@hidden> writes:

> Hi Michael,

Hi Fabrice,

>> Tramp sets the $TERM environment variable. So you could something like
>>
>>   [ $TERM = "dumb" ] && PS1='$ '
>
> FMI, is the TERM more or less free to choose? I mean: could Tramp set it to
> something else, to a value only reserved for Tramp itself. It's simply that
> "dumb" is used in other contexts, such as `M-x shell' under Cygwin Emacs or
> `M-x eshell' under EmacsW32.

eshell uses its own prompt, IIRC. In shell-mode, you can redefine the
prompt interactively, once the shell is opened. Or you set the prompt in
your ~/.emacs_bash, see (info "(emacs)Interactive Shell")

> address@hidden ~
> $ \stat -c ' %u %g' /cygdrive/d/PFlowAcc/server
>  4294967295 4294967295
>
> address@hidden ~
> $ ls -dn /cygdrive/d/PFlowAcc/server
> drwxrwxrwx+ 1 4294967295 4294967295 159744 2010-11-19 00:03 
> /cygdrive/d/PFlowAcc/server
>
>>> Though, it looks weird in the `dired' buffer:
>>>
>>>   /plink:address@hidden:/cygdrive/d/PFlowAcc:
>>>   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/
>>>
>>> Do you have any idea why this is failing?
>>
>> That's because of not knowing uid/gid correctly.
>
> What would be a possible solution or workaround in this case?

It is a problem of cygwin I would say. If dired works properly, I
wouldn't change it. Do you have problems with dired because of this?

> Best regards,
>   Fabrice

Best regards, Michael.



reply via email to

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