testing for terminal access