Terminal recorder