"Fabrice" <fgdmjuzqr...@spammotel.com> 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")

> f...@vpiw-cauchy ~
> $ \stat -c ' %u %g' /cygdrive/d/PFlowAcc/server
>  4294967295 4294967295
>
> f...@vpiw-cauchy ~
> $ 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:f...@vpiw-cauchy:/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.

_______________________________________________
Tramp-devel mailing list
Tramp-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/tramp-devel

Reply via email to