AmendHub

Download:

jcs

/

subtext

/

amendments

/

522

db: Include AT&D2 in default modem init, we need it for hangup

This makes the modem hangup when flashing DTR and is probably the
default on real modems but we may as well be explicit about needing
it.

jcs made amendment 522 8 months ago
--- db.c Thu Jun 15 14:12:40 2023 +++ db.c Mon Aug 28 08:47:54 2023 @@ -353,7 +353,7 @@ db_migrate(struct db *tdb, short is_new, Str255 fullpa sprintf(tdb->config.hostname, "bbs.example.com"); sprintf(tdb->config.timezone, "CT"); tdb->config.modem_speed = 9600; - sprintf(tdb->config.modem_init, "ATQ0V1S0=2"); + sprintf(tdb->config.modem_init, "ATQ0V1S0=2&D2"); sprintf(tdb->config.modem_parity, "8N1"); tdb->config.max_idle_minutes = 5; tdb->config.max_sysop_idle_minutes = 60;