Add DOS mode.
Suppress annoying bell beep on windows as well as visual bell.