The ANSI driver that came with MS-DOS, ANSI.SYS, also allowed keys to be rebound to small macros.<p>So you could TYPE (cat) a file and then later press a harmless key like D and ANSI.SYS could output something like whatever the DOS equivalent of "rm -fr /" was (probably DELTREE /Y C:\) as though it had come from your very keyboard.<p>This was very common in the BBS era. Anti-virus software would usually detect those sequences. People who wanted to look at ANSI art but were aware of this would use alternative ANSI implementations like the one from PC Magazine, which I am a bit surprised to find out can still be downloaded from their website, which also still exists: <a href="http://www.pcmag.com/article2/0,2817,5343,00.asp" rel="nofollow">http://www.pcmag.com/article2/0,2817,5343,00.asp</a>