During using WinSCP, I found in terminal console, if a executed program last a quite long time, and generate a quite long output, the output texts may be in a bad order, which is, the last several lines of console output may be inserted in the middle of the output list. I know this might be trivial for WinSCP tool, yet it's critical for me, because we use this feature of WinSCP for compiling and debugging C code on Linux, mis-ordered shell output could generate big problem in debugging. Is it possible to enhance it?
WinSCP prints the lines in the order it receives them. The only exception may be, when some text is printed on standard output, while other on error output. As WinSCP works with whole lines only, it will postpone printing a text until it receives EOL on same output. May that explain what you are experiencing?
BTW, we found WinSCP seems to use clipboard to get shell output, this produces a problem, which is, when we are coding while WinSCP is executing a shell command, it may disturb the clipboad, often when we're coding, we copy a string but paste out a big block of console output. We're looking forward to a better way that WinSCP uses to get putty's console output.
WinSCP may copy output of custom commands to clipboard only (not output of terminal). And only if you tell it to do so. See documentation
. Let me know if I'm wrong.