Strange appearance of the line "Putty"

I run a C program using putty (donโ€™t ask why), and it works fine, unless I run a specific function, the string โ€œPuTTyโ€ appears at the end. This doesn't seem to affect me much, but I'm just wondering if anyone knows why this is happening and what error this might indicate.

Note. When I run the code on a Linux terminal, there are no errors.

+5
source share
1 answer

This is a PuTTY issue caused by your program emitting a Control-E character. From the PuTTY FAQ :

A.7.12 When I cat the binary, I get 'PuTTYPuTTYPuTTY at my command line.

Do not do it then.

; PuTTY Control-E , , "PuTTY", . Control-E , . , , Control-E . . .

, (. 4.3.7); , , , .

, Control-E?

+14
source

All Articles