tramp-devel
[Top][All Lists]
Advanced

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

Re: tramp 2.26 emacs 24.3 plink


From: MM
Subject: Re: tramp 2.26 emacs 24.3 plink
Date: Wed, 17 Sep 2014 13:38:28 +0100

On 17 September 2014 13:26, MM <address@hidden> wrote:
> On 17 September 2014 13:18, Michael Albinus <address@hidden> wrote:
>> MM <address@hidden> writes:
>>
>>> 1. we never addressed the 2nd plink issue, which still happens:   at
>>> time 16:03:28
>>
>> I suspect you open "/plink:address@hidden:...". According to your config,
>> you must open "/plink:address@hidden:...". And please remove
>>
>> (add-to-list 'tramp-default-proxies-alist
>>    '("myhost" nil "/plink:address@hidden:"))
>>
>>> 2. the PATH variable is set to what PATH is usually set when i login via 
>>> xterm.
>>> we see that at time 16:03:35.995000
>>> I have edited out some site specific paths.
>>> then tramp adds a couple of other paths to the end of PATH
>>> And then the time is 16:03:41.662000.... Hangs.
>>> I then left emacs for 12mns, came back, Ctrl-G
>>
>> [...]
>>
>>> 16:03:41.662000 tramp-send-command (6) # 
>>> PATH=/home/myuser:/opt/swt/bin:/bin:/usr/bin:/sbin:/usr/sbin:/opt/ssh/bin:/opt/quest/bin:/usr/openwin/bin:/usr/X11/bin:/usr/bin/X11:/usr/ccs/bin:/usr/xpg4/bin:/opt/SUNWspro/bin:/usr/local/bin:/usr/local/sbin;
>>>  export PATH
>>> 16:15:23.399000 tramp-accept-process-output (3) # Opening connection for 
>>> myhost using plink...done
>>> 16:15:23.445000 tramp-file-name-handler (1) # Interrupt received in 
>>> operation (expand-file-name /plink:myhost:test/btr.cpp nil)
>>
>> I suppose the command line "PATH=..." (220 characters) is too long for
>> your shell in SunOS 5.10.
>
> in the bash that runs, version 3.2.48,
>      getconf ARG_MAX
> prints a little over 1million.
>
> The total "PATH=...; export " is way under that in length.
>
> Is this what you meant?

I see this some limits like 257 or something like that for getconf -a.
https://community.oracle.com/thread/1950295?start=0&tstart=0

Can I hardcode PATH in my .emacs?



reply via email to

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