Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

15
  • 11
    Oh? Care to share details? To the extent that it's true, this is a critical security vulnerability in the terminal emulator. Commented Apr 22, 2014 at 5:49
  • 1
    This is why some of the ANSI escape sequences are generally disabled in modern terminals/emulators. Commented Apr 22, 2014 at 7:38
  • 6
    cat -e, good advice! I'm still interested if you could maybe expand your answer with an example of those escape sequences to modify the keyboard buffer which could possibly explain this. Commented Apr 22, 2014 at 12:39
  • 1
    When I type man cat all I see is that -e is "equivalent to -vE", but no info is given on -vE... Commented Apr 22, 2014 at 18:35
  • 2
    The convention is that single character flags can be grouped together, so -vE is the same as -v -E. i.e., the man page is telling you to look at the documentation for the -v and -E flags which mean "show non-printing characters using ^ and M- notation" and "Show line endings as a $ character", respectively. Commented Apr 22, 2014 at 18:42