Fixed analogue modem locked speed settings
This commit is contained in:
parent
66e6b3241e
commit
59a599a61f
@ -4622,6 +4622,8 @@ v0.33.20 10-Feb-2002
|
|||||||
Changed edit of message editor in user editor.
|
Changed edit of message editor in user editor.
|
||||||
Double noderecords are automatic removed with error logging.
|
Double noderecords are automatic removed with error logging.
|
||||||
Corrected screen layout in menu 1.4.11.
|
Corrected screen layout in menu 1.4.11.
|
||||||
|
When editing analogue modem lines, the locked portspeed was
|
||||||
|
in a lot of cases set to 0.
|
||||||
|
|
||||||
mbfido:
|
mbfido:
|
||||||
In AreaMgr and FileMgr changed aka matching for area
|
In AreaMgr and FileMgr changed aka matching for area
|
||||||
|
@ -383,7 +383,14 @@ int EditTtyRec(int Area)
|
|||||||
case 3: E_STR( 9,21,25,ttyinfo.phone, "The ^Phone number^ or ^Hostname^ or ^IP address^ of this tty line")
|
case 3: E_STR( 9,21,25,ttyinfo.phone, "The ^Phone number^ or ^Hostname^ or ^IP address^ of this tty line")
|
||||||
case 4: E_STR( 10,21,20,ttyinfo.speed, "The ^Speed^ of this device")
|
case 4: E_STR( 10,21,20,ttyinfo.speed, "The ^Speed^ of this device")
|
||||||
case 5: E_STR( 11,21,30,ttyinfo.flags, "The ^Fidonet Capability Flags^ for this tty line")
|
case 5: E_STR( 11,21,30,ttyinfo.flags, "The ^Fidonet Capability Flags^ for this tty line")
|
||||||
case 6: ttyinfo.type = edit_linetype(12,21, ttyinfo.type); break;
|
case 6: ttyinfo.type = edit_linetype(12,21, ttyinfo.type);
|
||||||
|
if (ttyinfo.type == POTS) {
|
||||||
|
if (!ttyinfo.portspeed)
|
||||||
|
ttyinfo.portspeed = 57600;
|
||||||
|
} else {
|
||||||
|
ttyinfo.portspeed = 0;
|
||||||
|
}
|
||||||
|
break;
|
||||||
case 7: ttyinfo.available = edit_bool(13,21, ttyinfo.available,
|
case 7: ttyinfo.available = edit_bool(13,21, ttyinfo.available,
|
||||||
(char *)"Switch if this tty line is ^Available^ for use.");
|
(char *)"Switch if this tty line is ^Available^ for use.");
|
||||||
if (ttyinfo.available) {
|
if (ttyinfo.available) {
|
||||||
@ -392,10 +399,12 @@ int EditTtyRec(int Area)
|
|||||||
ttyinfo.authlog = TRUE;
|
ttyinfo.authlog = TRUE;
|
||||||
ttyinfo.honor_zmh = TRUE;
|
ttyinfo.honor_zmh = TRUE;
|
||||||
}
|
}
|
||||||
if ((ttyinfo.type == POTS) && !ttyinfo.portspeed)
|
if (ttyinfo.type == POTS) {
|
||||||
ttyinfo.portspeed = 57600;
|
if (!ttyinfo.portspeed)
|
||||||
else
|
ttyinfo.portspeed = 57600;
|
||||||
|
} else {
|
||||||
ttyinfo.portspeed = 0;
|
ttyinfo.portspeed = 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 8: E_BOOL(14,21, ttyinfo.authlog, "Is mgetty ^Auth^ logging available")
|
case 8: E_BOOL(14,21, ttyinfo.authlog, "Is mgetty ^Auth^ logging available")
|
||||||
|
Reference in New Issue
Block a user