scan terminal setup