Quantcast
Channel: Rebex Q&A Forum - Recent questions and answers
Viewing all articles
Browse latest Browse all 3862

Terminal scripting: content repetition from Windows type command

$
0
0

We are using the Terminal scripting object (r6.11) to connect to Windows 2019 OpenSSH (8.6)

When we send the "type" command to list a text file, we get a random repetition of the line content from the ReadUntil(events) within the same line (ie with one line terminator)

Some do not repeat; when they do it's the complete line from a seemingly random start point that we get appended to the end of the rest of the line following padding to Columns.

No lines are actually longer than 80 characters
When we changed the Columns to 120 the repetition started at 120+1

We have tried changing the ImplicitCarriageReturn and the AutoWrapMode to .Dos and .On

This does not happen with the same code using the "cat" command on our linux servers.

Is there some other option we have missed that we need to set in order to deal with Windows?

Thank you.


Viewing all articles
Browse latest Browse all 3862

Trending Articles