stty clone for Unix systems