Only in UnderB.new: ChangeLog diff -c UnderB/Makefile UnderB.new/Makefile *** UnderB/Makefile Thu Mar 30 22:04:21 1995 --- UnderB.new/Makefile Fri Mar 31 08:48:58 1995 *************** *** 36,45 **** LIBS= # flags for the compiler -- NeXT wants -pipe -s -O4 -arch m68040 ! CCFLAGS=-O2 -mpentium -DBIT8 -DNO_STRCASECMP # flags for the linker -- NeXT wants -s -O4 ! LDFLAGS=-g -L/home/hellcat/UnderB # flags for the archiver -- remove s if using ranlib, add c for NeXT #ARFLAGS=rs --- 36,45 ---- LIBS= # flags for the compiler -- NeXT wants -pipe -s -O4 -arch m68040 ! CCFLAGS=-O2 -m486 -DBIT8 -DNO_STRCASECMP # flags for the linker -- NeXT wants -s -O4 ! LDFLAGS=-g -L/home/bbs/UnderB # flags for the archiver -- remove s if using ranlib, add c for NeXT #ARFLAGS=rs *************** *** 166,173 **** LLIBS=libbbs.a pbbs/libpbbs.a $(LIBFTPDIR)/libftp.a LOBJS=client.o menus.o complete.o system.o c_users.o readmenu.o c_mail.o \ ! modes.o c_boards.o c_post.o readnew.o c_files.o c_chat.o c_talk.o c_lists.o \ ! nmenus.o env.o y.tab.o lex.yy.o PLIBOBJS=pbbs/term.o pbbs/screen.o pbbs/io.o pbbs/stuff.o \ pbbs/more.o pbbs/vedit.o --- 166,173 ---- LLIBS=libbbs.a pbbs/libpbbs.a $(LIBFTPDIR)/libftp.a LOBJS=client.o menus.o complete.o system.o c_users.o readmenu.o c_mail.o \ ! modes.o c_boards.o c_post.o readnew.o c_files.o c_chat.o c_irc.o c_talk.o \ ! c_lists.o nmenus.o env.o y.tab.o lex.yy.o PLIBOBJS=pbbs/term.o pbbs/screen.o pbbs/io.o pbbs/stuff.o \ pbbs/more.o pbbs/vedit.o Only in UnderB: README.HELLCAT Only in UnderB.new: TAGS diff -c UnderB/c_chat.c UnderB.new/c_chat.c *** UnderB/c_chat.c Thu Mar 30 21:03:55 1995 --- UnderB.new/c_chat.c Fri Mar 31 01:03:05 1995 *************** *** 40,60 **** int g_currline; int g_echatwin; - static int ircpid; - - static void page_relay() - { - extern int g_page_pending; - extern int g_page_need_notify; - - signal(SIGUSR2, SIG_IGN); - g_page_pending = 1; - g_page_need_notify = 1; - if (ircpid) - kill (ircpid, SIGUSR2); - signal(SIGUSR2, page_relay); - } - print_chatid(chatid) char *chatid; { --- 40,45 ---- *************** *** 362,376 **** int c; if (*buf != '/') return 0; - /* - for (buf++; *str && *buf && !isspace(*buf); buf++, str++) { - */ for (buf++; *str && *buf && !myisspace(*buf); buf++, str++) { c = (*buf >= 'A' && *buf <= 'Z')? (tolower(*buf)):(*buf); if (c != *str) return 0; - /* - if (tolower(*buf) != *str) return 0; - */ } return 1; } --- 347,355 ---- *************** *** 416,501 **** return -1; } - Irc() - { - CHATID chatid; - SHORT mode; - int w, status; - static char *arglist[] = - { - "/home/bbs/bin/irc", - "-c", - "#ÅÍ", - "-z", - "", - "", - "localhost", - NULL - }; - void (*func)(); - - extern int lang; - extern SHORT my_mode(); - - move(2, 0); - clrtobot(); - if (lang) { - if (getdata(2,0,"»ç¿ëÇÒ º°¸í: ",chatid,sizeof chatid,DOECHO,1)==-1) - return FULLUPDATE; - } else { - if (getdata(2,0,"Enter chatid: ",chatid,sizeof chatid,DOECHO,1)==-1) - return FULLUPDATE; - } - - if (*chatid == '\0') { - strncpy(chatid, myinfo.userid, CHATID_MAX); - chatid[CHATID_MAX] = '\0'; - } - - arglist[4] = myinfo.userid; - arglist[5] = chatid; - - bbs_set_mode (M_IRC); - mode = my_mode(); - if ((mode & MODE_FLG_NOPAGE) == 0) - func = signal(SIGUSR2, page_relay); - else - func = signal(SIGUSR2, SIG_IGN); - - if ((ircpid = fork()) == 0) { - extern char *bbsenv[200]; - extern int numbbsenvs; - - if (numbbsenvs == 0) - bbsenv[0] = NULL; - - signal(SIGUSR2, SIG_IGN); - execve (arglist[0], arglist, bbsenv); - fprintf(stderr, "EXECVE FAILED.... (%s)\n", arglist[0]); - exit (-1); - } else { - extern int errno; - - errno = 0; - while (wait(&status) == -1 && errno == EINTR) - { - if (WIFSIGNALED(status)) - { - if (WTERMSIG(status) == SIGUSR2) - continue; - break; - } - } - signal (SIGUSR2, func); - } - add_io(0, 0); - bbs_set_mode(M_UNDEFINED); - if (NewPagePending()) { - chat_show_page_request(); - } - return FULLUPDATE; - } - Chat() { CHATID chatid; --- 395,400 ---- *************** *** 577,586 **** case 'b': case 'B': if (curspos == 0) bell(); else { - /* - while (curspos && isspace(cbuf[curspos-1])) curspos--; - while (curspos && !isspace(cbuf[curspos-1])) curspos--; - */ while (curspos && myisspace(cbuf[curspos-1])) curspos--; while (curspos && !myisspace(cbuf[curspos-1])) curspos--; } --- 476,481 ---- *************** *** 588,597 **** case 'f': case 'F': if (curspos == endpos) bell(); else { - /* - while (curspos < endpos && isspace(cbuf[curspos])) curspos++; - while (curspos < endpos && !isspace(cbuf[curspos])) curspos++; - */ while (curspos < endpos && myisspace(cbuf[curspos])) curspos++; while (curspos < endpos && !myisspace(cbuf[curspos])) curspos++; } --- 483,488 ---- *************** *** 670,685 **** case CTRL('W'): if (curspos == 0) bell(); else { - /* - while (curspos && isspace(cbuf[curspos-1])) { - */ while (curspos && myisspace(cbuf[curspos-1])) { for (i=curspos; i<=endpos; i++) cbuf[i-1] = cbuf[i]; curspos--, endpos--; } - /* - while (curspos && !isspace(cbuf[curspos-1])) { - */ while (curspos && !myisspace(cbuf[curspos-1])) { for (i=curspos; i<=endpos; i++) cbuf[i-1] = cbuf[i]; curspos--, endpos--; --- 561,570 ---- *************** *** 721,728 **** add_io(0, 0); return FULLUPDATE; } - - - - - --- 606,608 ---- Only in UnderB.new: c_irc.c diff -c UnderB/c_mail.c UnderB.new/c_mail.c *** UnderB/c_mail.c Mon Mar 27 22:47:12 1995 --- UnderB.new/c_mail.c Fri Mar 31 08:38:30 1995 *************** *** 136,141 **** --- 136,144 ---- if (acctlist == NULL) bbs_acctnames(&acctlist); /* should be maillist one day? */ + if (recips == NULL) + create_namelist (&recips, max); + move(2,0); clrtobot(); for (count = 0; count < max; count++) { *************** *** 443,448 **** --- 446,454 ---- } } else strcpy(msgfile, msgsrc); + + if (recips == NULL) + create_namelist(&recips, BBS_MAX_MAILRECIPS); add_namelist(&recips, hptr->owner, NULL); sort_list(&recips); diff -c UnderB/c_users.c UnderB.new/c_users.c *** UnderB/c_users.c Tue Mar 28 23:44:17 1995 --- UnderB.new/c_users.c Fri Mar 31 02:38:51 1995 *************** *** 996,1007 **** else namecomplete(acctlist, "Enter userid to set: ", userid); if (userid[0] == '\0' || !is_in_namelist(acctlist, userid)) { ! prints("Invalid userid.\n"); pressreturn(); return FULLUPDATE; } if (bbs_get_userinfo(userid, &acct) != S_OK) { ! prints("Invalid or nonexistent userid.\n"); bbs_acctnames(&acctlist); pressreturn(); return FULLUPDATE; --- 996,1013 ---- else namecomplete(acctlist, "Enter userid to set: ", userid); if (userid[0] == '\0' || !is_in_namelist(acctlist, userid)) { ! if (lang) ! prints("ÂêÂê..¾ÆÀ̵𰡠Ʋ·È³×...\n"); ! else ! prints("Invalid userid.\n"); pressreturn(); return FULLUPDATE; } if (bbs_get_userinfo(userid, &acct) != S_OK) { ! if (lang) ! prints("±×·± À¯Àú ¾ø³× ÀÌ»ç¶÷¾Æ.\n"); ! else ! prints("Invalid or nonexistent userid.\n"); bbs_acctnames(&acctlist); pressreturn(); return FULLUPDATE; *************** *** 1012,1018 **** getdata(++y,0,"Change any user information (Y/N)? [N]: ",ans,sizeof(ans), DOECHO, 0); if (ans[0] != 'Y' && ans[0] != 'y') { ! prints("Record not changed.\n"); pressreturn(); return FULLUPDATE; } --- 1018,1027 ---- getdata(++y,0,"Change any user information (Y/N)? [N]: ",ans,sizeof(ans), DOECHO, 0); if (ans[0] != 'Y' && ans[0] != 'y') { ! if (lang) ! prints("¾È ¹Ù²å¾î¿ä.\n"); ! else ! prints("Record not changed.\n"); pressreturn(); return FULLUPDATE; } *************** *** 1076,1082 **** strcpy(nr.lang, "Eng"); nr.flags &= ~FLG_KOREAN; } ! flags |= MOD_LANG; getdata(y, 0, "Are you sure (Y/N)? [N]: ", ans, sizeof(ans), DOECHO, 0); if (ans[0] == 'Y' || ans[0] == 'y') { --- 1085,1091 ---- strcpy(nr.lang, "Eng"); nr.flags &= ~FLG_KOREAN; } ! BITSET(flags, MOD_LANG); getdata(y, 0, "Are you sure (Y/N)? [N]: ", ans, sizeof(ans), DOECHO, 0); if (ans[0] == 'Y' || ans[0] == 'y') { diff -c UnderB/chatserv.c UnderB.new/chatserv.c *** UnderB/chatserv.c Mon Feb 6 23:50:51 1995 --- UnderB.new/chatserv.c Fri Mar 31 08:33:33 1995 *************** *** 1211,1216 **** --- 1211,1218 ---- } manager_list = restricted_list = NULL; + create_namelist (&manager_list, bbs_max_users); + create_namelist (&restricted_list, bbs_max_users); strcpy(mainroom, "main"); chat_init_config(); Common subdirectories: UnderB/config and UnderB.new/config Common subdirectories: UnderB/helvis-1.7h1 and UnderB.new/helvis-1.7h1 Common subdirectories: UnderB/ircii-2.8.HAN1.BBS and UnderB.new/ircii-2.8.HAN1.BBS Common subdirectories: UnderB/libftp and UnderB.new/libftp Common subdirectories: UnderB/pbbs and UnderB.new/pbbs Common subdirectories: UnderB/pico.BBS and UnderB.new/pico.BBS Common subdirectories: UnderB/tools and UnderB.new/tools