On 17 September 2014 13:42, Michael Albinus <[email protected]> wrote: > 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'. Ok I have customized this to have the exact paths i needed. SVN mode works great.
M-x compile launches correctly, but when it finishes, the compilation buffer shows that the connection to myhost is closed, and the Host: prompt from the gateway reappears in the compilation buffer. It seems 2 sub processes plink are running simultaneously. Can M-x compile use the same plink that sends and receives files? _______________________________________________ Tramp-devel mailing list [email protected] https://lists.gnu.org/mailman/listinfo/tramp-devel
