For example, if I am tail -fing a file or reading user input, <Enter> will produce ^M in the terminal instead of ending the read or adding a newline to stdout. ^J works fine. I'm sshing into the ubuntu system, if that matters. This happens to me both in zsh and bash. One solution I played with is remapping the ^M to ^J in zsh, but that seems like it wouldn't fix the root problem. Anyone know what
![Pressing enter produces ^M instead of a newline](https://cdn-ak-scissors.b.st-hatena.com/image/square/664a2d3dc991972667a15e0e849615b9670c436b/height=288;version=1;width=512/https%3A%2F%2Fcdn.sstatic.net%2FSites%2Faskubuntu%2FImg%2Fapple-touch-icon%402.png%3Fv%3Dc492c9229955)