In the 80s and 90s in the UK you just signed. The card imprint was embossed by the machine which put it onto the carbon, and that was sent off to the bank for payment later in the week, like cheques.
I last used a carbon credit card in the early 00s. Electronic swipe and sign for a credit card had gone pretty much everywhere I went except the US by about 2010