So, sometimes when I am programming in C through putty connected to a linux server, after executing my C file for testing, the command line will fill with the word "PuTTY" repeatedly 30 to 40 times. Sometimes it will display the word multiple times inside of my program.
Anyone else have a similar problem? I am also doing file I/O if that has anything to do with it.
When PuTTY receives a Ctrl-E (character code 5), it outputs "PuTTY" (unless you've configured it to answer with something else). Sounds like your program's outputting some binary stuff.
and press ctrl+A followed ctrl+D detach current (but your cmd still running) session .
To capture a session with PuTTY, open up PuTTY. Under Session Logging, choose “All session output” and key in your desired log filename (the default is putty. log). This will create the file in the location you choose and begin logging everything from the session.
PuTTY (/ˈpʌti/) is a free and open-source terminal emulator, serial console and network file transfer application. It supports several network protocols, including SCP, SSH, Telnet, rlogin, and raw socket connection. It can also connect to a serial port. The name "PuTTY" has no official meaning.
When PuTTY receives a Ctrl-E (character code 5), it outputs "PuTTY" (unless you've configured it to answer with something else). Sounds like your program's outputting some binary stuff. Whether that's intentional, i don't know.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With