scan command line for tty name before reading options.ttyname;