Differences
This shows you the differences between the selected revisions of the page.
2014-06-14 | 2015-03-16 | ||
Grammar (martin) | articles (martin) | ||
Line 37: | Line 37: | ||
If you want PuTTY to open in the same directory as WinSCP, you need to replace its session startup command using ''-m'' argument. The syntax of the session startup command would differ with the remote environment, particularly with operating system and shell. | If you want PuTTY to open in the same directory as WinSCP, you need to replace its session startup command using ''-m'' argument. The syntax of the session startup command would differ with the remote environment, particularly with operating system and shell. | ||
- | For example with Unix-like system and ''bash'' shell the command will be like (note the ''!/'' [[ui_pref_integration_app#client_path|pattern]] to pass current remote path): | + | For example with Unix-like system and ''bash'' shell the command will be like (note the ''!/'' [[ui_pref_integration_app#client_path|pattern]] to pass the current remote path): |
<code> | <code> | ||
Line 43: | Line 43: | ||
</code> | </code> | ||
- | As PuTTY needs the session startup command to be stored in a file, you need to make use of ''!`command`'' [[ui_pref_integration_app#client_path|pattern]] to store the above command into a temporary file. Also as use of ''-m'' switch implies a non-interactive terminal, you need to force an interactive terminal back using ''-t'' switch. | + | As PuTTY needs the session startup command to be stored in a file, you need to make use of ''!`command`'' [[ui_pref_integration_app#client_path|pattern]] to store the above command into a temporary file. Also as use of the ''-m'' switch implies a non-interactive terminal, you need to force an interactive terminal back using a ''-t'' switch. |
- | Complete PuTTY command line for this will be like (change the shell path according to your system and preferences): | + | A complete PuTTY command line for this will be like (change the shell path according to your system and preferences): |
<code> | <code> |