Fixed print calls when switching terminals to non PTY specific functions carried over from shell.c