2

Working on Windows XP Notepad++ with Windows line endings.

When copying and pasting multiple lines into Putty window (connected to Ubuntu machine), it sends weird control characters.

How to convert the pasted text to Unix newlines? What setting should I have for emulation mode?

1 Answer 1

3

Notepad++ can convert line endings: enter image description here

4
  • A good idea, but it didn't work. Still sending weird control characters.
    – B Seven
    Mar 13, 2012 at 22:04
  • I'd say that the problem isn't EOL characters, then. Mar 14, 2012 at 2:18
  • Yes, you are right. I figured out that it's the tabs at the beginning of the lines (from Ruby). Is there a way to replace the tabs with spaces in Putty? I don't want to change the files...
    – B Seven
    Mar 15, 2012 at 19:10
  • Not that I'm aware of, though I could easily be wrong. Mar 15, 2012 at 20:06

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .