Removed magic numbers.
Do not be so pedantic on unsupported terminals, do not report errors.
Allow cancel on unsupported terminal.