Putty likes to print itself sometimes in my command line

落爺英雄遲暮 提交于 2019-12-08 14:37:48

问题


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.


回答1:


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.



来源:https://stackoverflow.com/questions/12876699/putty-likes-to-print-itself-sometimes-in-my-command-line

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!