On 17 September 2014 13:26, MM <[email protected]> wrote:
> On 17 September 2014 13:18, Michael Albinus <[email protected]> wrote:
>> MM <[email protected]> writes:
>>
>>> 1. we never addressed the 2nd plink issue, which still happens:   at
>>> time 16:03:28
>>
>> I suspect you open "/plink:myuser@myhost:...". According to your config,
>> you must open "/plink:myuser@gateway:...". And please remove
>>
>> (add-to-list 'tramp-default-proxies-alist
>>    '("myhost" nil "/plink:myuser@gateway:"))
>>
>>> 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?

_______________________________________________
Tramp-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/tramp-devel

Reply via email to