receive LINE command (with infinite loop)