MM <[email protected]> writes:

>>>> 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?

Play with `tramp-remote-path'.

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

Reply via email to