MM <[email protected]> writes: > 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.
This is a side effect of your gateway solution. Tramp expects that a connection is closed when you finish the shell. In your case, the gateway asks again for a new host. Is this a problem? > It seems 2 sub processes plink are running simultaneously. Can M-x > compile use the same plink that sends and receives files? That's not Tramp. Tramp implements just some basic functions according to the API. It offers two implementations for remote processes, one implementation for `process-file' (synchronous call), and one implementation for `start-file-process' (asynchronous call). "M-x compile" launches the asynchronous version. And so serves Tramp. Best regards, Michael. _______________________________________________ Tramp-devel mailing list [email protected] https://lists.gnu.org/mailman/listinfo/tramp-devel
