Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Putty likes to print itself sometimes in my command line

Tags:

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.

like image 223
Spartan9209 Avatar asked Oct 13 '12 20:10

Spartan9209


People also ask

Why does PuTTY print PuTTY?

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.

How do I stop PuTTY execution?

and press ctrl+A followed ctrl+D detach current (but your cmd still running) session .

How do I get full output in PuTTY?

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.

What is PuTTY in command line?

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.


1 Answers

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.

like image 90
cHao Avatar answered Oct 02 '22 02:10

cHao