     uint16_t port = 23;
     String hostname;
 
-    if (redial) {
-        if (lastHost.length() > 0)
-        {
-            hostname = lastHost;
-            port = lastPort;
-        }
-        else {
-            Modem_PrintERROR();
-            return;
-        }
-    }
-    else {
         if (strlen(host) == 0)
         {
             Modem_PrintERROR();

void SetPETSCIIMode(boolean mode)
{
    petscii_mode = mode;
    EEPROM.write(ADDR_PETSCII, petscii_mode);
}

// ----------------------------------------------------------

    }
    else if (strcmp(Modem_CommandBuffer, ("AT&F")) == 0)
    {
            Modem_LoadDefaults();
            Modem_PrintOK();
        }
    else if (strcmp(Modem_CommandBuffer, ("ATA")) == 0)
    {
        Modem_Answer();    
