AmendHub

Download:

jcs

/

subtext

/

amendments

/

283

db: Set default telnet port to 0, default modem speed to 9600

With telnet port set to 0, we don't require MacTCP at first start.
The Mac Plus serial port drops a bit of traffic at 19200 during load.

jcs made amendment 283 about 1 year ago
--- db.c Fri Nov 11 23:11:31 2022 +++ db.c Sun Nov 13 10:08:35 2022 @@ -270,9 +270,10 @@ db_migrate(struct db *tdb, short is_new) sprintf(tdb->config.phone_number, "(555) 867-5309"); sprintf(tdb->config.location, "Springfield"); sprintf(tdb->config.hostname, "bbs.example.com"); - tdb->config.telnet_port = 23; + sprintf(tdb->config.timezone, "CT"); + tdb->config.telnet_port = 0; tdb->config.modem_port = 0; - tdb->config.modem_speed = 19200; + tdb->config.modem_speed = 9600; sprintf(tdb->config.modem_init, "ATQ0V1S0=2"); sprintf(tdb->config.modem_parity, "8N1"); tdb->config.max_idle_minutes = 5;