Refined some TERM-related settings