terminal talking to server