Category : BBS Programs+Doors
Archive   : QWK-051.ZIP
Filename : QWK-MOD.412
Output of file : QWK-MOD.412 contained in archive : QWK-051.ZIP
Use QWK412.OBJ, rather than QWK.OBJ
Do NOT apply the source code changes in the main documentation, instead
apply the following changes to your v4.12 source:
1) add to the bottom of vars.h:
int qwk_post;
char qwk_title[81];
2) add to vardec.h:
#define NUM_CTYPES 10
#define VERSION_NUMBER "WWIV v4.12"
#define max_buf 256
#define VER_VECT 0x6a
#define MSG_COLOR 2
#define HMSG_COLOR 1
#define MAX_BATCH 50
> #define MAX_SUBS 32
add these> #if MAX_SUBS>32
lines> #define QSCN(i) (*((i>31)?(&thisuser.qscnptr2[i-32]):(&thisuser.qscnptr[i])))
> #else
> #define QSCN(i) (thisuser.qscnptr[i])
> #endif
typedef struct {
unsigned char colors[10],
3) modify the mainmenu() function in bbs.c
case 'Z':
express=1;
expressabort=0;
l=thisuser.sysstatus;
if (l & sysstatus_pause_on_page)
thisuser.sysstatus ^= sysstatus_pause_on_page;
nscan(0);
express=0;
expressabort=0;
thisuser.sysstatus=l;
break;
add > case '&': /* QWK reader interface */
these > qwk_reader();
lines > break;
case '?':
if ((sysstatus_expert & thisuser.sysstatus))
printmenu(0);
break;
case '*': sublist(); break;
4) at top of msgbase.c add:
extern char gatfn[81],charbuffer[161];
extern int use_workspace,charbufferpointer,lines_listed;
extern int checked[50];
extern int num_sys_list, gtitle;
add these> extern int qwk_post;
lines> extern char qwk_title[81];
5) in function inmsg(), in msgbase.c
nl();
helpl=6;
add these > if( qwk_post ) /* post from offline reader */
lines > {
> strncpy(title,qwk_title,59);
> title[60] = 0;
> } else {
if (thisuser.logons<1) {
strcpy(title,"Validation Feedback");
sprintf(s,"1Subject: %s",title);
pl(s);
}
... inmsg() code ...
if ((title[0]==0) && (needtitle)) {
pl("Aborted.");
m.stored_as=0xffffffff;
*m1=m;
if (!fsed)
farfree((void *)lin);
return;
}
}
add this brace! > }
if (!fsed) {
6) add to fcns.h:
/* File: Qwk */
void qwk_reader(void);
add this line > #define MAX_SUBS 32
Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!
This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.
But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/