Added control over color/greyscale using TERM environment variable; added exit(1) for runs with errors.
Added control over color/greyscale using TERM environment variable; added exit(1) for runs with errors.

liuqx315/Sundials,liuqx315/Sundials,liuqx315/Sundials,liuqx315/Sundials,liuqx315/Sundials,liuqx315/Sundials