Differences
This shows you the differences between the selected revisions of the page.
2005-02-07 | 2005-03-05 | ||
screenshot update (martin) | no summary (146.94.254.100) | ||
Line 39: | Line 39: | ||
This mostly affects SCP protocol. Example is colorised output on ''ls'' command that puts ANSI color sequences to the command output that WinSCP cannot parse. | This mostly affects SCP protocol. Example is colorised output on ''ls'' command that puts ANSI color sequences to the command output that WinSCP cannot parse. | ||
- | Also SFTP protocol can be affected. Typical example is printing some message from startup scripts. WinSCP (and any other SFTP client) will attempt to parse the message as SFTP packet, what obvisouly fails. | + | Also SFTP protocol can be affected. Typical example is printing some message from startup scripts. WinSCP (and any other SFTP client) will attempt to parse the message as SFTP packet, which obviously fails. |
You should configure your startup scripts to conform to non-interactive sessions (like WinSCP). Some shells calls different profile/startup scripts for interactive and non-interactive sessions. You can use also some environment variables, like ''TERM'' to distinguish interactive and non-interactive sessions. | You should configure your startup scripts to conform to non-interactive sessions (like WinSCP). Some shells calls different profile/startup scripts for interactive and non-interactive sessions. You can use also some environment variables, like ''TERM'' to distinguish interactive and non-interactive sessions. |