configure stdin to operate character wise