I'm editing a network protocol frame stored in a file in Unix (\n newlines). I need to insert the carriage return character (U+000D also known as \r or ^M).
When I try to paste it from the clipboard ("+p) or type it using Ctrl+Shift+u-000d, the linefeed is inserted (U+000A).
What is the right way to do it?