Skip to content
Snippets Groups Projects
Commit efd61411 authored by deuce's avatar deuce
Browse files

Bump version number, remove "Clippy Edition" stuff.

parent 1788a143
Branches
Tags
No related merge requests found
...@@ -307,10 +307,6 @@ int edit_list(struct bbslist *item,char *listpath,int isdefault) ...@@ -307,10 +307,6 @@ int edit_list(struct bbslist *item,char *listpath,int isdefault)
i+=2; i+=2;
switch(i) { switch(i) {
case -1: case -1:
#ifdef PCM
if(!confirm("Quit editing?", NULL))
continue;
#endif
if(!safe_mode) { if(!safe_mode) {
if((listfile=fopen(listpath,"w"))!=NULL) { if((listfile=fopen(listpath,"w"))!=NULL) {
iniWriteFile(listfile,inifile); iniWriteFile(listfile,inifile);
...@@ -320,10 +316,6 @@ int edit_list(struct bbslist *item,char *listpath,int isdefault) ...@@ -320,10 +316,6 @@ int edit_list(struct bbslist *item,char *listpath,int isdefault)
strListFreeStrings(inifile); strListFreeStrings(inifile);
return(changed); return(changed);
case 0: case 0:
#ifdef PCM
if(!confirm("Edit BBS Name?",NULL))
continue;
#endif
uifc.helpbuf= "`BBS Name`\n\n" uifc.helpbuf= "`BBS Name`\n\n"
"Enter the BBS name as it is to appear in the list."; "Enter the BBS name as it is to appear in the list.";
strcpy(tmp,itemname); strcpy(tmp,itemname);
...@@ -331,10 +323,6 @@ int edit_list(struct bbslist *item,char *listpath,int isdefault) ...@@ -331,10 +323,6 @@ int edit_list(struct bbslist *item,char *listpath,int isdefault)
iniRenameSection(&inifile,tmp,itemname); iniRenameSection(&inifile,tmp,itemname);
break; break;
case 1: case 1:
#ifdef PCM
if(!confirm("Edit BBS Address?",NULL))
continue;
#endif
uifc.helpbuf= "`Address`\n\n" uifc.helpbuf= "`Address`\n\n"
"Enter the domain name of the system to connect to ie:\n" "Enter the domain name of the system to connect to ie:\n"
"nix.synchro.net"; "nix.synchro.net";
...@@ -342,10 +330,6 @@ int edit_list(struct bbslist *item,char *listpath,int isdefault) ...@@ -342,10 +330,6 @@ int edit_list(struct bbslist *item,char *listpath,int isdefault)
iniSetString(&inifile,itemname,"Address",item->addr,&ini_style); iniSetString(&inifile,itemname,"Address",item->addr,&ini_style);
break; break;
case 2: case 2:
#ifdef PCM
if(!confirm("Edit BBS Port?",NULL))
continue;
#endif
i=item->port; i=item->port;
sprintf(str,"%hu",item->port?item->port:513); sprintf(str,"%hu",item->port?item->port:513);
uifc.helpbuf= "`Port`\n\n" uifc.helpbuf= "`Port`\n\n"
...@@ -363,30 +347,18 @@ int edit_list(struct bbslist *item,char *listpath,int isdefault) ...@@ -363,30 +347,18 @@ int edit_list(struct bbslist *item,char *listpath,int isdefault)
uifc.changes=0; uifc.changes=0;
break; break;
case 3: case 3:
#ifdef PCM
if(!confirm("Edit BBS Username?",NULL))
continue;
#endif
uifc.helpbuf= "`Username`\n\n" uifc.helpbuf= "`Username`\n\n"
"Enter the username to attempt auto-login to the remote with."; "Enter the username to attempt auto-login to the remote with.";
uifc.input(WIN_MID|WIN_SAV,0,0,"Username",item->user,MAX_USER_LEN,K_EDIT); uifc.input(WIN_MID|WIN_SAV,0,0,"Username",item->user,MAX_USER_LEN,K_EDIT);
iniSetString(&inifile,itemname,"UserName",item->user,&ini_style); iniSetString(&inifile,itemname,"UserName",item->user,&ini_style);
break; break;
case 4: case 4:
#ifdef PCM
if(!confirm("Edit BBS Password?",NULL))
continue;
#endif
uifc.helpbuf= "`Password`\n\n" uifc.helpbuf= "`Password`\n\n"
"Enter your password for auto-login."; "Enter your password for auto-login.";
uifc.input(WIN_MID|WIN_SAV,0,0,"Password",item->password,MAX_PASSWD_LEN,K_EDIT); uifc.input(WIN_MID|WIN_SAV,0,0,"Password",item->password,MAX_PASSWD_LEN,K_EDIT);
iniSetString(&inifile,itemname,"Password",item->password,&ini_style); iniSetString(&inifile,itemname,"Password",item->password,&ini_style);
break; break;
case 5: case 5:
#ifdef PCM
if(!confirm("Edit BBS System Password?",NULL))
continue;
#endif
uifc.helpbuf= "`System Password`\n\n" uifc.helpbuf= "`System Password`\n\n"
"Enter your System password for auto-login." "Enter your System password for auto-login."
"For non-Synchronet systems, or non-SysOp accounts," "For non-Synchronet systems, or non-SysOp accounts,"
...@@ -395,10 +367,6 @@ int edit_list(struct bbslist *item,char *listpath,int isdefault) ...@@ -395,10 +367,6 @@ int edit_list(struct bbslist *item,char *listpath,int isdefault)
iniSetString(&inifile,itemname,"SystemPassword",item->syspass,&ini_style); iniSetString(&inifile,itemname,"SystemPassword",item->syspass,&ini_style);
break; break;
case 6: case 6:
#ifdef PCM
if(!confirm("Edit BBS Connection Type?",NULL))
continue;
#endif
item->conn_type--; item->conn_type--;
uifc.helpbuf= "`Connection Type`\n\n" uifc.helpbuf= "`Connection Type`\n\n"
"Select the type of connection you wish to make:\n" "Select the type of connection you wish to make:\n"
...@@ -411,19 +379,11 @@ int edit_list(struct bbslist *item,char *listpath,int isdefault) ...@@ -411,19 +379,11 @@ int edit_list(struct bbslist *item,char *listpath,int isdefault)
changed=1; changed=1;
break; break;
case 7: case 7:
#ifdef PCM
if(!confirm("Edit BBS Reversed RLogin Setting?",NULL))
continue;
#endif
item->reversed=!item->reversed; item->reversed=!item->reversed;
changed=1; changed=1;
iniSetBool(&inifile,itemname,"Reversed",item->reversed,&ini_style); iniSetBool(&inifile,itemname,"Reversed",item->reversed,&ini_style);
break; break;
case 8: case 8:
#ifdef PCM
if(!confirm("Edit BBS Screen Mode?",NULL))
continue;
#endif
uifc.helpbuf= "`Screen Mode`\n\n" uifc.helpbuf= "`Screen Mode`\n\n"
"Select the screen size for this connection\n"; "Select the screen size for this connection\n";
uifc.list(WIN_SAV,0,0,0,&(item->screen_mode),NULL,"Screen Mode",screen_modes); uifc.list(WIN_SAV,0,0,0,&(item->screen_mode),NULL,"Screen Mode",screen_modes);
...@@ -431,49 +391,29 @@ int edit_list(struct bbslist *item,char *listpath,int isdefault) ...@@ -431,49 +391,29 @@ int edit_list(struct bbslist *item,char *listpath,int isdefault)
changed=1; changed=1;
break; break;
case 9: case 9:
#ifdef PCM
if(!confirm("Edit Status Line Visibility?",NULL))
continue;
#endif
item->nostatus=!item->nostatus; item->nostatus=!item->nostatus;
changed=1; changed=1;
iniSetBool(&inifile,itemname,"NoStatus",item->nostatus,&ini_style); iniSetBool(&inifile,itemname,"NoStatus",item->nostatus,&ini_style);
break; break;
case 10: case 10:
#ifdef PCM
if(!confirm("Edit BBS Download Path?",NULL))
continue;
#endif
uifc.helpbuf= "`Download Path`\n\n" uifc.helpbuf= "`Download Path`\n\n"
"Enter the path where downloads will be placed."; "Enter the path where downloads will be placed.";
uifc.input(WIN_MID|WIN_SAV,0,0,"Download Path",item->dldir,MAX_PATH,K_EDIT); uifc.input(WIN_MID|WIN_SAV,0,0,"Download Path",item->dldir,MAX_PATH,K_EDIT);
iniSetString(&inifile,itemname,"DownloadPath",item->dldir,&ini_style); iniSetString(&inifile,itemname,"DownloadPath",item->dldir,&ini_style);
break; break;
case 11: case 11:
#ifdef PCM
if(!confirm("Edit BBS Upload Path?",NULL))
continue;
#endif
uifc.helpbuf= "`Upload Path`\n\n" uifc.helpbuf= "`Upload Path`\n\n"
"Enter the path where uploads will be browsed for."; "Enter the path where uploads will be browsed for.";
uifc.input(WIN_MID|WIN_SAV,0,0,"Upload Path",item->uldir,MAX_PATH,K_EDIT); uifc.input(WIN_MID|WIN_SAV,0,0,"Upload Path",item->uldir,MAX_PATH,K_EDIT);
iniSetString(&inifile,itemname,"UploadPath",item->uldir,&ini_style); iniSetString(&inifile,itemname,"UploadPath",item->uldir,&ini_style);
break; break;
case 12: case 12:
#ifdef PCM
if(!confirm("Edit Log Filename?",NULL))
continue;
#endif
uifc.helpbuf= "`Log Filename`\n\n" uifc.helpbuf= "`Log Filename`\n\n"
"Enter the path to the optional log file."; "Enter the path to the optional log file.";
uifc.input(WIN_MID|WIN_SAV,0,0,"Log File",item->logfile,MAX_PATH,K_EDIT); uifc.input(WIN_MID|WIN_SAV,0,0,"Log File",item->logfile,MAX_PATH,K_EDIT);
iniSetString(&inifile,itemname,"LogFile",item->logfile,&ini_style); iniSetString(&inifile,itemname,"LogFile",item->logfile,&ini_style);
break; break;
case 13: case 13:
#ifdef PCM
if(!confirm("Edit File Transfer Log Level?",NULL))
continue;
#endif
item->xfer_loglevel--; item->xfer_loglevel--;
if(item->xfer_loglevel<0) if(item->xfer_loglevel<0)
item->xfer_loglevel=LOG_DEBUG; item->xfer_loglevel=LOG_DEBUG;
...@@ -483,10 +423,6 @@ int edit_list(struct bbslist *item,char *listpath,int isdefault) ...@@ -483,10 +423,6 @@ int edit_list(struct bbslist *item,char *listpath,int isdefault)
changed=1; changed=1;
break; break;
case 14: case 14:
#ifdef PCM
if(!confirm("Edit Telnet Command Log Level?",NULL))
continue;
#endif
item->telnet_loglevel--; item->telnet_loglevel--;
if(item->telnet_loglevel<0) if(item->telnet_loglevel<0)
item->telnet_loglevel=LOG_DEBUG; item->telnet_loglevel=LOG_DEBUG;
...@@ -496,10 +432,6 @@ int edit_list(struct bbslist *item,char *listpath,int isdefault) ...@@ -496,10 +432,6 @@ int edit_list(struct bbslist *item,char *listpath,int isdefault)
changed=1; changed=1;
break; break;
case 15: case 15:
#ifdef PCM
if(!confirm("Edit BBS Simulated BPS Rate?",NULL))
continue;
#endif
uifc.helpbuf= "`Simulated BPS Rate`\n\n" uifc.helpbuf= "`Simulated BPS Rate`\n\n"
"Select the rate which recieved characters will be displayed.\n\n" "Select the rate which recieved characters will be displayed.\n\n"
"This allows ANSImation to work as intended."; "This allows ANSImation to work as intended.";
...@@ -510,10 +442,6 @@ int edit_list(struct bbslist *item,char *listpath,int isdefault) ...@@ -510,10 +442,6 @@ int edit_list(struct bbslist *item,char *listpath,int isdefault)
changed=1; changed=1;
break; break;
case 16: case 16:
#ifdef PCM
if(!confirm("Edit BBS ANSI Music Setting?",NULL))
continue;
#endif
uifc.helpbuf="`ANSI Music Setup`\n\n" uifc.helpbuf="`ANSI Music Setup`\n\n"
"~ ANSI Music Disabled ~ Completely disables ANSI music\n" "~ ANSI Music Disabled ~ Completely disables ANSI music\n"
" Enables Delete Line\n" " Enables Delete Line\n"
...@@ -542,10 +470,6 @@ int edit_list(struct bbslist *item,char *listpath,int isdefault) ...@@ -542,10 +470,6 @@ int edit_list(struct bbslist *item,char *listpath,int isdefault)
} }
break; break;
case 17: case 17:
#ifdef PCM
if(!confirm("Edit BBS Font?",NULL))
continue;
#endif
uifc.helpbuf= "`Font`\n\n" uifc.helpbuf= "`Font`\n\n"
"Select the desired font for this connection.\n\n" "Select the desired font for this connection.\n\n"
"Some fonts do not allow some modes. When this is the case, 80x25 will be" "Some fonts do not allow some modes. When this is the case, 80x25 will be"
...@@ -801,10 +725,6 @@ struct bbslist *show_bbslist(int mode) ...@@ -801,10 +725,6 @@ struct bbslist *show_bbslist(int mode)
at_settings=!at_settings; at_settings=!at_settings;
break; break;
case -7: /* CTRL-E */ case -7: /* CTRL-E */
#ifdef PCM
if(!confirm("Edit this entry?",NULL))
continue;
#endif
i=list[opt]->id; i=list[opt]->id;
if(edit_list(list[opt],listpath,FALSE)) { if(edit_list(list[opt],listpath,FALSE)) {
sort_list(list); sort_list(list);
...@@ -820,10 +740,6 @@ struct bbslist *show_bbslist(int mode) ...@@ -820,10 +740,6 @@ struct bbslist *show_bbslist(int mode)
uifc.helpbuf= "`SyncTERM QuickDial`\n\n" uifc.helpbuf= "`SyncTERM QuickDial`\n\n"
"Enter a URL in the format [(rlogin|telnet)://][user[:password]@]domainname[:port]\n"; "Enter a URL in the format [(rlogin|telnet)://][user[:password]@]domainname[:port]\n";
uifc.input(WIN_MID|WIN_SAV,0,0,"BBS Address",addy,LIST_ADDR_MAX,0); uifc.input(WIN_MID|WIN_SAV,0,0,"BBS Address",addy,LIST_ADDR_MAX,0);
#ifdef PCM
if(!confirm("Connect to This Address?",NULL))
continue;
#endif
memcpy(&retlist, &defaults, sizeof(defaults)); memcpy(&retlist, &defaults, sizeof(defaults));
if(uifc.changes) { if(uifc.changes) {
parse_url(addy,&retlist,defaults.conn_type,FALSE); parse_url(addy,&retlist,defaults.conn_type,FALSE);
...@@ -855,10 +771,6 @@ struct bbslist *show_bbslist(int mode) ...@@ -855,10 +771,6 @@ struct bbslist *show_bbslist(int mode)
uifc.msg("Cannot edit list in safe mode"); uifc.msg("Cannot edit list in safe mode");
break; break;
} }
#ifdef PCM
if(!confirm("Add new Entry?",NULL))
continue;
#endif
listcount++; listcount++;
list[listcount]=list[listcount-1]; list[listcount]=list[listcount-1];
list[listcount-1]=(struct bbslist *)malloc(sizeof(struct bbslist)); list[listcount-1]=(struct bbslist *)malloc(sizeof(struct bbslist));
...@@ -936,10 +848,6 @@ struct bbslist *show_bbslist(int mode) ...@@ -936,10 +848,6 @@ struct bbslist *show_bbslist(int mode)
uifc.msg("Cannot edit list in safe mode"); uifc.msg("Cannot edit list in safe mode");
break; break;
} }
#ifdef PCM
if(!confirm("Edit this entry?",NULL))
continue;
#endif
i=list[opt]->id; i=list[opt]->id;
if(edit_list(list[opt],listpath,FALSE)) { if(edit_list(list[opt],listpath,FALSE)) {
sort_list(list); sort_list(list);
...@@ -961,10 +869,6 @@ struct bbslist *show_bbslist(int mode) ...@@ -961,10 +869,6 @@ struct bbslist *show_bbslist(int mode)
uifc.msg("Cannot edit list in safe mode"); uifc.msg("Cannot edit list in safe mode");
break; break;
} }
#ifdef PCM
if(!confirm("Edit this entry?",NULL))
continue;
#endif
i=list[opt]->id; i=list[opt]->id;
if(edit_list(list[opt],listpath,FALSE)) { if(edit_list(list[opt],listpath,FALSE)) {
sort_list(list); sort_list(list);
...@@ -976,10 +880,6 @@ struct bbslist *show_bbslist(int mode) ...@@ -976,10 +880,6 @@ struct bbslist *show_bbslist(int mode)
} }
} }
else { else {
#ifdef PCM
if(!confirm("Connect to this system?",NULL))
continue;
#endif
memcpy(&retlist,list[val],sizeof(struct bbslist)); memcpy(&retlist,list[val],sizeof(struct bbslist));
free_list(&list[0],listcount); free_list(&list[0],listcount);
return(&retlist); return(&retlist);
......
...@@ -161,33 +161,17 @@ int syncmenu(struct bbslist *bbs, int *speed) ...@@ -161,33 +161,17 @@ int syncmenu(struct bbslist *bbs, int *speed)
i=uifc.list(WIN_MID|WIN_SAV,0,0,0,&opt,NULL,"SyncTERM Online Menu",opts); i=uifc.list(WIN_MID|WIN_SAV,0,0,0,&opt,NULL,"SyncTERM Online Menu",opts);
switch(i) { switch(i) {
case -1: /* Cancel */ case -1: /* Cancel */
#ifdef PCM
if(!confirm("Exit the menu?",NULL))
continue;
#endif
ret=1; ret=1;
break; break;
case 0: /* Scrollback */ case 0: /* Scrollback */
#ifdef PCM
if(!confirm("View scrollback?",NULL))
continue;
#endif
uifcbail(); uifcbail();
puttext(1,1,txtinfo.screenwidth,txtinfo.screenheight,buf); puttext(1,1,txtinfo.screenwidth,txtinfo.screenheight,buf);
viewscroll(); viewscroll();
break; break;
case 1: /* Disconnect */ case 1: /* Disconnect */
#ifdef PCM
if(!confirm("Disconect?",NULL))
continue;
#endif
ret=-1; ret=-1;
break; break;
case 2: /* Login */ case 2: /* Login */
#ifdef PCM
if(!confirm("Send login credentials?",NULL))
continue;
#endif
ret=1; ret=1;
conn_send(bbs->user,strlen(bbs->user),0); conn_send(bbs->user,strlen(bbs->user),0);
conn_send("\r",1,0); conn_send("\r",1,0);
...@@ -201,10 +185,6 @@ int syncmenu(struct bbslist *bbs, int *speed) ...@@ -201,10 +185,6 @@ int syncmenu(struct bbslist *bbs, int *speed)
} }
break; break;
case 5: /* Output rate */ case 5: /* Output rate */
#ifdef PCM
if(!confirm("Modify output rate?",NULL))
continue;
#endif
if(speed != NULL) { if(speed != NULL) {
j=get_rate_num(*speed); j=get_rate_num(*speed);
uifc.helpbuf="`Output Rate`\n\n" uifc.helpbuf="`Output Rate`\n\n"
...@@ -218,10 +198,6 @@ int syncmenu(struct bbslist *bbs, int *speed) ...@@ -218,10 +198,6 @@ int syncmenu(struct bbslist *bbs, int *speed)
ret=5; ret=5;
break; break;
case 6: /* Change log level (temporarily) */ case 6: /* Change log level (temporarily) */
#ifdef PCM
if(!confirm("Change log level for this session?",NULL))
continue;
#endif
j=log_level; j=log_level;
uifc.helpbuf="`Log Level\n\n" uifc.helpbuf="`Log Level\n\n"
"The log level changes the verbosity of messages shown in the transfer\n" "The log level changes the verbosity of messages shown in the transfer\n"
......
...@@ -24,12 +24,9 @@ ...@@ -24,12 +24,9 @@
#include "uifcinit.h" #include "uifcinit.h"
#include "window.h" #include "window.h"
char* syncterm_version = "SyncTERM 0.7" char* syncterm_version = "SyncTERM 0.8"
#ifdef _DEBUG #ifdef _DEBUG
" Debug ("__DATE__")" " Debug ("__DATE__")"
#endif
#ifdef PCM
" Clippy Edition"
#endif #endif
; ;
......
...@@ -1301,42 +1301,22 @@ BOOL doterm(struct bbslist *bbs) ...@@ -1301,42 +1301,22 @@ BOOL doterm(struct bbslist *bbs)
conn_send("\033Ox",3,0); conn_send("\033Ox",3,0);
break; break;
case 0x3000: /* ALT-B - Scrollback */ case 0x3000: /* ALT-B - Scrollback */
#ifdef PCM
if(!confirm("View scrollback?",NULL))
continue;
#endif
viewscroll(); viewscroll();
showmouse(); showmouse();
break; break;
case 0x2e00: /* ALT-C - Capture */ case 0x2e00: /* ALT-C - Capture */
#ifdef PCM
if(!confirm("Go to capture control menu?",NULL))
continue;
#endif
capture_control(bbs); capture_control(bbs);
showmouse(); showmouse();
break; break;
case 0x2000: /* ALT-D - Download */ case 0x2000: /* ALT-D - Download */
#ifdef PCM
if(!confirm("Begin download?",NULL))
continue;
#endif
zmodem_download(bbs); zmodem_download(bbs);
showmouse(); showmouse();
break; break;
case 0x2100: /* ALT-F */ case 0x2100: /* ALT-F */
#ifdef PCM
if(!confirm("Go to font control menu?",NULL))
continue;
#endif
font_control(bbs); font_control(bbs);
showmouse(); showmouse();
break; break;
case 0x2600: /* ALT-L */ case 0x2600: /* ALT-L */
#ifdef PCM
if(!confirm("Send login credentials?",NULL))
continue;
#endif
conn_send(bbs->user,strlen(bbs->user),0); conn_send(bbs->user,strlen(bbs->user),0);
conn_send("\r",1,0); conn_send("\r",1,0);
SLEEP(10); SLEEP(10);
...@@ -1349,18 +1329,10 @@ BOOL doterm(struct bbslist *bbs) ...@@ -1349,18 +1329,10 @@ BOOL doterm(struct bbslist *bbs)
} }
break; break;
case 0x3200: /* ALT-M */ case 0x3200: /* ALT-M */
#ifdef PCM
if(!confirm("Go to music control menu?",NULL))
continue;
#endif
music_control(bbs); music_control(bbs);
showmouse(); showmouse();
break; break;
case 0x1600: /* ALT-U - Upload */ case 0x1600: /* ALT-U - Upload */
#ifdef PCM
if(!confirm("Begin upload?",NULL))
continue;
#endif
begin_upload(bbs, FALSE); begin_upload(bbs, FALSE);
showmouse(); showmouse();
break; break;
...@@ -1420,10 +1392,6 @@ BOOL doterm(struct bbslist *bbs) ...@@ -1420,10 +1392,6 @@ BOOL doterm(struct bbslist *bbs)
j=wherey(); j=wherey();
switch(syncmenu(bbs, &speed)) { switch(syncmenu(bbs, &speed)) {
case -1: case -1:
#ifdef PCM
if(!confirm("Disconnect?",NULL))
continue;
#endif
cterm_write("\x0c",1,NULL,0,NULL); /* Clear screen into scrollback */ cterm_write("\x0c",1,NULL,0,NULL); /* Clear screen into scrollback */
scrollback_lines=cterm.backpos; scrollback_lines=cterm.backpos;
cterm_end(); cterm_end();
...@@ -1431,45 +1399,21 @@ BOOL doterm(struct bbslist *bbs) ...@@ -1431,45 +1399,21 @@ BOOL doterm(struct bbslist *bbs)
hidemouse(); hidemouse();
return(FALSE); return(FALSE);
case 3: case 3:
#ifdef PCM
if(!confirm("Begin upload?",NULL))
continue;
#endif
begin_upload(bbs, FALSE); begin_upload(bbs, FALSE);
break; break;
case 4: case 4:
#ifdef PCM
if(!confirm("Begin download?",NULL))
continue;
#endif
zmodem_download(bbs); zmodem_download(bbs);
break; break;
case 7: case 7:
#ifdef PCM
if(!confirm("Got to capture control menu?",NULL))
continue;
#endif
capture_control(bbs); capture_control(bbs);
break; break;
case 8: case 8:
#ifdef PCM
if(!confirm("Go to music control menu?",NULL))
continue;
#endif
music_control(bbs); music_control(bbs);
break; break;
case 9: case 9:
#ifdef PCM
if(!confirm("Go to font control menu?",NULL))
continue;
#endif
font_control(bbs); font_control(bbs);
break; break;
case 10: case 10:
#ifdef PCM
if(!confirm("Disconnect?",NULL))
continue;
#endif
cterm_write("\x0c",1,NULL,0,NULL); /* Clear screen into scrollback */ cterm_write("\x0c",1,NULL,0,NULL); /* Clear screen into scrollback */
scrollback_lines=cterm.backpos; scrollback_lines=cterm.backpos;
cterm_end(); cterm_end();
...@@ -1481,20 +1425,12 @@ BOOL doterm(struct bbslist *bbs) ...@@ -1481,20 +1425,12 @@ BOOL doterm(struct bbslist *bbs)
gotoxy(i,j); gotoxy(i,j);
break; break;
case 0x9800: /* ALT-Up */ case 0x9800: /* ALT-Up */
#ifdef PCM
if(!confirm("Increase simulated BPS rate?",NULL))
continue;
#endif
if(speed) if(speed)
speed=rates[get_rate_num(speed)+1]; speed=rates[get_rate_num(speed)+1];
else else
speed=rates[0]; speed=rates[0];
break; break;
case 0xa000: /* ALT-Down */ case 0xa000: /* ALT-Down */
#ifdef PCM
if(!confirm("Decrease simulated BPS rate?",NULL))
continue;
#endif
i=get_rate_num(speed); i=get_rate_num(speed);
if(i==0) if(i==0)
speed=0; speed=0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment