detect shell
set coding system