Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8422147
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T03:21:34+00:00 2026-06-10T03:21:34+00:00

I am running a C program using putty (don’t ask why) and it is

  • 0

I am running a C program using putty (don’t ask why) and it is working fine, except when I run a particular function, the string “PuTTy” appears at the end. This doesn’t seem to be affecting anything much, but I am just curious if anyone knows why this is happening and what sort of error this might indicate.

Note: When I run the code in a Linux terminal, there is no error whatsoever.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T03:21:36+00:00Added an answer on June 10, 2026 at 3:21 am

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

    A.7.12 When I cat a binary file, I get ‘PuTTYPuTTYPuTTY’ on my command
    line.

    Don’t do that, then.

    This is designed behaviour; when PuTTY receives the character
    Control-E from the remote server, it interprets it as a request to
    identify itself, and so it sends back the string ‘PuTTY’ as if that
    string had been entered at the keyboard. Control-E should only be sent
    by programs that are prepared to deal with the response. Writing a
    binary file to your terminal is likely to output many Control-E
    characters, and cause this behaviour. Don’t do it. It’s a bad plan.

    To mitigate the effects, you could configure the answerback string to
    be empty (see section 4.3.7); but writing binary files to your
    terminal is likely to cause various other unpleasant behaviour, so
    this is only a small remedy.

    Is your function outputting binary characters such as Control-E?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am running an external program using pipes in python and it works fine.
I am trying to run a scheme program using MIT-scheme (MIT/GNU Scheme running under
When running a java program using the java command you can specify the verbose
My main program running 8 tasks using Task.Factory.StartNew Each task will request XML format
I have a program in C++, using the standard socket API, running on Ubuntu
I wrote a program using Tweepy that I can run on my home computer
I'm running a program using Tcl 8.5.9, specificly: /tcl/8.5.9_64/bin/wish8.5 I'm trying to use the
I have a Linear layout initialized. While running program, i am using following code
I use VS2k8 to write and compile (but not run) a program using the
As above. I'm specifically running a Java program using ExecWait, by invoking java.exe and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.