summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * fix: incorrect pid in procnamepiaip2009-06-161-2/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4641 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * lower down login frequency: 10 per minuteskcwu2009-06-162-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4640 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * add missing check-in for async mode logindpiaip2009-06-161-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4639 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix usernum range (1..MAX_USER)piaip2009-06-161-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4638 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * rewrite match_parenkcwu2009-06-161-97/+70
| | | | | | | * fix bug: incorrectly handle some case of /**/ while matching parentheses git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4637 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * add missing filespiaip2009-06-161-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4636 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * add asynchronous ack modepiaip2009-06-161-17/+153
| | | | | | | * refine options git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4635 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix compile errorkcwu2009-06-163-13/+28
| | | | | | | * fix boundary condition if uid == MAX_USERS git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4634 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * adjust cpu limit of first daykcwu2009-06-161-1/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4633 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix r4600: forgot to set last_time_exceeded.kcwu2009-06-161-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4632 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * add error message if guest wants to use bbsluapiaip2009-06-161-1/+3
| | | | | | | * add DISABLE_BBSLUA_IN_PAGER macro to make sites able to run only authorized lua code git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4631 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * the 'aligned recommend' is now not new.piaip2009-06-161-2/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4630 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix: memory leak + segv: passing incorrect parameter as buffer. (how can ↵piaip2009-06-161-1/+3
| | | | | | this be found so late!?) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4629 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * revert r4584, r4586, r4595: to preserve old behavior.kcwu2009-06-164-38/+19
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4628 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * remove dead code (forgot in r4625)kcwu2009-06-161-3/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4627 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * support non-blocking mode clients (added -b to toggle non-blocking)piaip2009-06-162-5/+50
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4626 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * don't increase user's login count if login less than 60 seconds.kcwu2009-06-161-11/+7
| | | | | | | * remove some dead code. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4625 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * performance improvementspiaip2009-06-161-66/+75
| | | | | | | | * accept all connections in one event * cached guest number testing git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4624 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * add online guest checkingpiaip2009-06-151-37/+137
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4623 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * 'l' looks like '1' and confusing. rename to 's'.kcwu2009-06-151-16/+16
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4622 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * change toread/towrite's return value to be '-1 for EOF and error'.piaip2009-06-153-13/+15
| | | | | | | * make the callers of toread/towrite more robust git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4621 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * bug fix: crash if user want to add fav, but it's actually filtered out ↵kcwu2009-06-151-2/+13
| | | | | | due to keyword search. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4619 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * update Makefile: support installpiaip2009-06-152-1/+8
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4618 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * handle (to)read/write return value more correctlypiaip2009-06-151-4/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4617 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix socket error handling (thanks to Kuang/wens)piaip2009-06-151-2/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4616 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* vedit bug fixeskcwu2009-06-142-151/+249
| | | | | | | | | | | | | | | | | | | | * bug fix: rewrite undelete_line() and block_delete() which was very complicated and buggy * bug fix: fix Ctrl-Q memory leak: should free memory of lines in edit_buffer_destructor() * bug fix: block_cancel() for add/remove line operations to avoid incorrect state * bug fix: join() add space character offset by one * bug fix: sometimes should redraw all but not due to last_margin incorrect * (not bug) make state consistency even for fields we don't care - block_cancel(): avoid dangling pointer curr_buf->blockline - don't assign line->len as 0 for deleted line * add edit_check_healthy() to check data structure consistency - you may #define SLOW_CHECK_DETAIL when debugging vedit * remove dead code (insert_c, Ctrl-_) * add/fix some comments ve.hlp update * remove description of dead function git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4615 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Bufferevent error callback is REQUIREDwens2009-06-141-1/+10
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4614 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * simplify bindports.conf, and make full version as 'advanced'.piaip2009-06-142-45/+67
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4613 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* chdir after opening files, so relative paths workwens2009-06-141-5/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4612 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* revert previous commit of SIGPIPE handlerwens2009-06-141-9/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4611 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* ignore binarieswens2009-06-140-0/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4610 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix: current money should be updated in order song and other commandspiaip2009-06-141-0/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4609 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix: money in cuser was not updated / sync to shm after sync_update...piaip2009-06-141-1/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4608 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * add auto-retry service to logindpiaip2009-06-141-2/+63
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4607 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * more checks on net systempiaip2009-06-142-6/+18
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4606 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix previous compile errorpiaip2009-06-141-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4605 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * ignore sig_pipe: sometimes the tunnel mbbsd just die without reason...!?piaip2009-06-141-2/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4604 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * only report welcome screen change in verbose modepiaip2009-06-141-1/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4603 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * add welcome screen update into regular check listpiaip2009-06-141-0/+11
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4602 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * change sample CPULIMIT -> CPULIMIT_PER_DAYkcwu2009-06-141-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4601 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * CPULIMIT macro is deprecatedkcwu2009-06-143-7/+38
| | | | | | | * new CPULIMIT_PER_DAY macro: cpu limit control by day git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4600 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * refine overload / out_of_service screen and messagespiaip2009-06-141-8/+11
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4599 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * update bind port info in tunnel modepiaip2009-06-131-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4598 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix bug of r4586: leave board. I feel this is a dirty fix..kcwu2009-06-131-0/+23
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4597 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * does not allow guest to change mindpiaip2009-06-132-1/+3
| | | | | | | * set default guest mind to empty string git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4596 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix tmp buf behavior changed in 4585: use user's last choice as defaultkcwu2009-06-131-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4595 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * rollback experimental stuff... piaip2009-06-131-6/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4594 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * bbsctl: should keep back setuidpiaip2009-06-131-2/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4593 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * support bindports.conf in bbsctl.piaip2009-06-132-44/+153
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4592 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * code refine to mbbsdpiaip2009-06-131-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4591 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * disable beep for unknown keys (because some stupid clients are doing ↵piaip2009-06-131-3/+9
| | | | | | | | | anti-idle and confuse user) * add '-d' to sync syntax to mbbsd command git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4590 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * add 'client command' in bindports.conf/logind typespiaip2009-06-131-14/+60
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4589 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix some buffer line length (for display, so 256 -> ANSILINELEN would be ↵piaip2009-06-131-5/+5
| | | | | | better.) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4588 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * also disable URL display in restricted reading / hidden boardspiaip2009-06-131-2/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4587 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix bug introduced in r4584: always enter default board in Read()kcwu2009-06-132-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4586 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix bug: incorrect user's tmp buf filename.kcwu2009-06-1315-56/+50
| | | | | | | | | * don't test upper case if getdata with LCECHO flag * add some comment * some small code revise git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4585 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * revise brc interface: brc will not change currbid, currboard, currbrdattrkcwu2009-06-133-18/+14
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4584 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * set svn properties and update commentspiaip2009-06-131-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4583 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* vedit revisekcwu2009-06-1315-116/+123
| | | | | | | | | * move global save_title[] to local * vedit() vedit2() interface change * add veditfile() for editing normal file git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4582 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * add timeout to logindpiaip2009-06-131-3/+21
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4581 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Eliminate warningswens2009-06-124-19/+19
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4580 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Eliminate compile warningswens2009-06-121-14/+14
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4579 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix crash on user query: another recursive call :-(piaip2009-06-121-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4578 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * make definition more verbosepiaip2009-06-121-5/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4577 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * ultilize AYT in logind piaip2009-06-121-0/+25
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4576 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix recursive call error (sync version should call raw API)piaip2009-06-121-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4575 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * refine cmbbs: move util_passwd.o to cmbbs/passwd.c.piaip2009-06-1226-376/+187
| | | | | | | | * note: in order to workaround the buggy/dirty synchronization hacks, changed 'passwd_query' and 'passwd_update' to passwd_sync_*. * util/* and daemon/* use directly passwd_query/update, and mbbsd should use passwd_sync_*. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4574 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * prepare to move passwd to common libpiaip2009-06-122-1/+269
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4573 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * logind: add resolve_garbage() and refine messagespiaip2009-06-121-1/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4572 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * make AYT customizablepiaip2009-06-122-23/+33
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4571 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix compilation error on Linux - unnecessary header filepiaip2009-06-121-1/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4570 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * refine cmbbs/cache.c: we don't need 'util_cache.o' anymore! simply common ↵piaip2009-06-1212-1301/+169
| | | | | | bbs library (libcmbbs.a). git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4569 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * prepare to split mbbsd/cache.c into mbbsd/ (for mbbsd) and common/bbs/ ↵piaip2009-06-122-1/+1162
| | | | | | (for util/mbbsd/daemons). git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4568 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * allow tunnel/port daemon mode to run within one command.piaip2009-06-121-0/+18
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4567 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * allow client_code to be logged in tunnel modepiaip2009-06-121-7/+14
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4566 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix previous checkin - forgot to remove comment -_-piaip2009-06-121-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4565 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix: some API/logs (eg, incorrect password attempts) require cwd=BBSHOMEpiaip2009-06-121-0/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4564 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Add argument for log outputwens2009-06-111-4/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4563 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * add log prefixes and refine initialize/daemonize sequencepiaip2009-06-111-32/+43
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4562 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Move SIGHUP handler after daemonizewens2009-06-111-3/+8
| | | | | | | Call event_reinit after daemonize (for kqueue) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4561 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * make port binding to standalone configuration fine (etc/bindports.conf)piaip2009-06-116-33/+187
| | | | | | | * refine some file names git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4560 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * force IDLEN only in CONVERT mode (for backward user behavior compatibility)piaip2009-06-111-0/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4559 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * now should be initialized before register(new), otherwise birthday will ↵piaip2009-06-111-1/+1
| | | | | | always be error... git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4558 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * refine out of service messagespiaip2009-06-111-1/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4557 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * after checking visio, we found we rejected non-ascii in password...piaip2009-06-111-3/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4556 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * add opened fd counterpiaip2009-06-111-9/+13
| | | | | | | * fix wrong closed fds git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4555 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * add is_valid_brdname() to cmbbskcwu2009-06-111-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4554 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * add is_valid_brdname() to cmbbskcwu2009-06-116-20/+55
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4553 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Only 2 bytes are useful (3rd byte with big5 results in garbage)wens2009-06-111-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4552 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Increase maximum number of open fileswens2009-06-111-0/+8
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4551 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * add -v as verbose message outputpiaip2009-06-111-11/+18
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4550 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * revert previous disable of perror... it should not be the reason of crashespiaip2009-06-101-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4549 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * no need to exit process when passing fd failed... (or not?)piaip2009-06-101-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4548 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * on Linux, argv0 is modified after *every* setproctitle. fix previous ↵piaip2009-06-101-6/+6
| | | | | | check-in. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4547 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix setproctitle behavior difference on Linux (prevent long proc titles)piaip2009-06-101-1/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4546 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix parallel make fail: innbbsd depends on utilkcwu2009-06-101-0/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4545 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix compile warningskcwu2009-06-101-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4544 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * refine logind: deliver port info and add more keyspiaip2009-06-102-11/+36
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4543 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix compile error on linuxkcwu2009-06-102-0/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4542 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * remove unused or rear used header file include in bbs.hkcwu2009-06-104-11/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4541 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix: telnet protocol state error: quotes must be also considered in prescan.piaip2009-06-101-1/+3
| | | | | | | * this error will occur if input buffer is small and split IAC in the middle. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4540 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * IDLEN macro cannot be quoted - because friend.c is using toStr(IDLEN) as ↵piaip2009-06-101-1/+3
| | | | | | #IDLEN. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4539 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * extra login messages should be displayed only in tunnel mode.piaip2009-06-101-3/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4538 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * logind: add simple cursor key editing (reduced keyset)piaip2009-06-101-34/+186
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4537 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * support non-ascii in passwords(backward compatibility)piaip2009-06-101-1/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4536 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * add missing checking piaip2009-06-101-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4535 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix defaul minimal terminal sizepiaip2009-06-101-3/+12
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4534 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix: some messages (eg, max guest alert) has reverse attribute in login ↵piaip2009-06-101-0/+10
| | | | | | daemon git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4533 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * provide some messages in tunnel modepiaip2009-06-101-0/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4532 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * sendmsg() with ancillary on Linux seems like requiring unix domain socket ↵piaip2009-06-105-5/+13
| | | | | | original path, even if the socket was already opened. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4531 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * port counting error (wrong indented if-block )piaip2009-06-091-1/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4530 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * make tunnel file with BBS user permissionpiaip2009-06-091-10/+13
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4529 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * add ~/etc/logind_ports as bind list.piaip2009-06-091-24/+89
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4528 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * the long-waited high performance login daemonpiaip2009-06-093-0/+1186
| | | | | | | * works only with tunnel mode mbbsd git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4527 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * define size of fromhost as IPV4LEN(15)+NUL.piaip2009-06-092-4/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4526 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * minor fixes:piaip2009-06-083-11/+12
| | | | | | | | | * menu: item name refine * mbbsd: merge INSCREEN and BANNER. * logind.h: refine tabs git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4525 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * the 'only special key to break in interactive mode' was not needed - ↵piaip2009-06-081-10/+4
| | | | | | | | | command can already do that * minor comment fix git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4524 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * remove dead code.kcwu2009-06-081-19/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4523 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * delete dead code.kcwu2009-06-081-28/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4522 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * remove udnnews.pl. it is broken and doesn't work many years.kcwu2009-06-082-120/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4521 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * remove BM_money.c.kcwu2009-06-083-106/+2
| | | | | | | ptt don't use these code 3 years. and we don't want to maintain these code. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4520 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * set_converting_type should be only used within #ifdef CONVERTpiaip2009-06-081-2/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4519 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * remove jungo.c and toplazyBBM.c.kcwu2009-06-085-386/+3
| | | | | | | ptt don't use these code 3 years. and we don't want to maintain these code. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4518 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * add client code detection to tunnel modepiaip2009-06-085-31/+78
| | | | | | | * refine telnet library to support write customization git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4517 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * remove post_msg_fpath(), no longer used.kcwu2009-06-072-12/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4516 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix: crashed for read_more case in tty_read.piaip2009-06-073-3/+3
| | | | | | | | * example: got waterball then SEGV * reason: telnet_process should take signed size_t. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4515 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * change telnet interface to accept extra parameter for callbacks (*_arg)piaip2009-06-075-38/+59
| | | | | | | * refine mbbsd to allow pre-setting terminal window git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4514 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix: should use pointer instead.piaip2009-06-071-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4513 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * experimental sending keepalive packets (hope this can reduce user's ↵piaip2009-06-071-1/+8
| | | | | | auto-disconnect issue) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4512 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * it seems still better to use KEEP_ALIVE, although detection duratio is ↵piaip2009-06-071-4/+5
| | | | | | long... git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4511 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * rework r4509: add missing file (logind.h)piaip2009-06-071-0/+22
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4510 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * refine login procedure (support+prepare for tunnel mode)piaip2009-06-071-79/+266
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4509 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix compile errorkcwu2009-06-071-35/+36
| | | | | | | - fix snprintf usage git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4508 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * improve tobind() with customizable parameterspiaip2009-06-072-7/+109
| | | | | | | * add ancillary remote fd API git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4507 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - code revisekcwu2009-06-071-46/+62
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4506 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - extract telnet.c to cmsyskcwu2009-06-076-307/+378
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4505 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - minor revise: call init_convert()kcwu2009-06-071-11/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4504 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - rework r4500: resolve_fcache() seems only required in where() [thanks to wens]piaip2009-06-071-3/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4503 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix compile error on linuxkcwu2009-06-071-1/+2
| | | | | | | - fix compile warnings git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4502 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix compile warningskcwu2009-06-079-34/+24
| | | | | | | - str_decode_M3: Assume output size is shorter than input size. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4501 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - refine setup_utmp procedurepiaip2009-06-071-13/+20
| | | | | | | | * reduce the latency * moved SSH_CONNECTION fromhost overriding to shell_login git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4500 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - move code of innbbsd/str_decode.c to cmsys/string.ckcwu2009-06-075-296/+301
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4499 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - refine and prepare for login daemon:piaip2009-06-066-90/+98
| | | | | | | | | * change str_guest and str_new to macro definition names * make passwd utilites (check, verify, ...) available in util_passwd * make logattemtp() use assigned time and host. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4498 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* card: make prompt message more clear, and accept user response betterpiaip2009-06-061-1/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4497 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - change deleted posts/dirs to backup in FN_JUNK instead of FN_DELETED for ↵piaip2009-06-061-9/+24
| | | | | | mail-man (users with PERM_EMAILLIMIT only), thanks to watch@ptt [PttBug] git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4496 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* speed up gameplay procedurepiaip2009-06-061-40/+38
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4495 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - make more description for token number displaypiaip2009-06-061-3/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4494 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - reduce the latency of game playpiaip2009-06-051-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4493 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add 'where am I' in announce system (thanks to sangl@ptt[PttSuggestion])piaip2009-06-042-10/+53
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4492 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - bug fix: ssh still can login even overloadkcwu2009-06-041-10/+14
| | | | | | | | - change start_client calling. wish compiler will use tail call optimization to reduce stack use. - code revise git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4491 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - 18x boards should not provide URLspiaip2009-06-041-8/+28
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4490 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* the 'D' command on hot boards (using safe_delete) must check valid range ↵piaip2009-06-021-1/+3
| | | | | | (reported by YTDoctor@ptt) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4489 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* workaround some type of board entrance: LG then LE (random one frame then ↵piaip2009-05-311-0/+14
| | | | | | | | | stop immediately). such syntax without would display remaining frames on large terminals. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4488 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - many small revisekcwu2009-05-2711-21/+49
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4487 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - more sleep. try to prevent bad user to try password or multi-loginkcwu2009-05-261-2/+10
| | | | | | | - add debug log git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4486 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - revise flag_checkload. it should not bypass out of service.kcwu2009-05-261-8/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4485 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - rename 'port' back to 'listen_port' and make it public. (for later use)kcwu2009-05-261-7/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4484 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - mbbsd use getopt() to parse command line optionskcwu2009-05-265-138/+285
| | | | | | | - many mbbsd code revises and clean up git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4483 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* again - remove 'ptt' from messagespiaip2009-05-261-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4482 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* continue of r4449, happy localization: remove 'Ptt' in messages:piaip2009-05-261-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4481 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* refine card play messagespiaip2009-05-251-9/+24
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4480 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - register: refine r4464: typo in messagespiaip2009-05-251-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4479 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - remove dead code (closeOnExec)kcwu2009-05-251-31/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4478 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - avoid call external program "stty".kcwu2009-05-251-0/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4477 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - security update: stop using BBS money in the game, because of too many botspiaip2009-05-252-222/+157
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4476 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - optimize ip->desc lookup loopkcwu2009-05-242-2/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4475 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix compile error if defined KEYWORD_LOGkcwu2009-05-241-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4474 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix: crash when input board name was invalid in voteboard (thanks: ↵piaip2009-05-241-0/+15
| | | | | | LukET@PttBug) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4473 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix edit ctrl-g bug, reported by dishpan@ptt PttBug.kcwu2009-05-241-0/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4472 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - prevent install sample over existing files.kcwu2009-05-244-0/+8
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4471 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - sleep longer for card game. we don't like robot play.kcwu2009-05-241-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4470 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix compile warning (linux strlcpy)kcwu2009-05-241-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4469 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - code revise, remove dead code.kcwu2009-05-241-69/+38
| | | | | | | | - SSH_CLIENT is deprecated since 2002, use SSH_CONNECTION instead. https://bugzilla.mindrot.org/show_bug.cgi?id=384 - i don't understand ipv6, this commit may break ipv6 support. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4468 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - document refine on pmore moviespiaip2009-05-241-9/+14
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4467 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - reflect the latest changes to pmore movie: LGpiaip2009-05-241-3/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4466 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - temporary disable the 'only system key to break' in LG mode, for backward ↵piaip2009-05-241-1/+4
| | | | | | compatibility. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4465 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* refine: reduce the i/o request to check reserved idpiaip2009-05-232-4/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4464 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - xchatd: provide real user id in private messages (thanks: Bluesdan@PttSuggest)piaip2009-05-231-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4463 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - implement reserve id in a better waypiaip2009-05-231-3/+10
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4462 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - add reserved id to prevent malicious registrationpiaip2009-05-232-0/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4461 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* refine pmore movie syntax highlight, againpiaip2009-05-231-6/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4460 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: add include/interrupt (LI) commandpiaip2009-05-232-11/+121
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4459 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - improve pmore movie syntax highlightpiaip2009-05-231-7/+11
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4458 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - simple parser for pmore style movie editingpiaip2009-05-221-11/+148
| | | | | | | - ugly and really simple... just for experimental. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4457 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* change the message when password input was wrong (thank to ↵piaip2009-05-181-1/+1
| | | | | | Palasopikov@PttSuggest) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4456 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix push (recomment) input location wrong in screen modepiaip2009-05-181-2/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4455 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add commentspiaip2009-05-182-1/+8
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4454 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* prevent BM accidentally removed post notes (suggest by GeniusKiKi@PttCurrent)piaip2009-05-181-4/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4453 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pfterm: don't use bs to optimize when there's wrap concern.piaip2009-05-151-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4452 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* prevent screen wrapping issuepiaip2009-05-151-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4451 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Fix reversed equality test bug in r4431.mhsin2009-05-071-6/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4450 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Replace PTT in mail title by macroscw2009-04-101-1/+1
| | | | | | | Thanks sodas.bbs@ptt2.cc git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4449 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Clean up some compile warnings (unused, signess)wens2009-03-217-22/+24
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4448 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* correct new gamble BM money functionscw2009-03-041-2/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4447 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Fix explanation for last commit.scw2009-03-041-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4446 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Fix gamble for BMscw2009-03-041-3/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4445 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Add mvprints (like ncurses mvprintw)wens2009-03-012-0/+17
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4444 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Move settings for bsd.lib.mk down to pttbbs.mkwens2009-03-015-30/+18
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4443 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove my_ctimewens2009-03-013-18/+11
| | | | | | | add ctime4_r git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4442 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* nonexistent function sigfreewens2009-03-011-3/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4441 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Don't build profiling libraries on FreeBSDwens2009-03-014-0/+16
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4440 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Add header file for time_twens2009-02-261-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4438 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Fix some compile warningswens2009-02-016-42/+27
| | | | | | | Remove unused code git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4437 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Clean up include files.wens2009-02-0111-195/+38
| | | | | | | Fix some compile warnings git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4436 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Add 3 programs to svn:ignorewens2009-02-010-0/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4435 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Fix compile warningswens2009-01-314-42/+43
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4434 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* article numbers only need intwens2009-01-311-26/+26
| | | | | | | fix some compile warnings regarding precision git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4433 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* replace unixclient with toconnectwens2009-01-305-43/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4432 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Use functions from common library.wens2009-01-3013-290/+105
| | | | | | | Reorder extern.h git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4431 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* revert needed variablewens2009-01-302-0/+10
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4430 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* reformat function declerationwens2009-01-302-159/+90
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4429 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Should link all files, not just newer oneswens2009-01-301-5/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4428 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Add 'l' key for entering boards in boardlist.mhsin2009-01-141-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4427 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Fix area calculation for disabled URL querying site.mhsin2009-01-071-0/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4426 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Remove redundant slash.mhsin2009-01-071-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4425 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Add support for querying article URL.mhsin2009-01-073-1/+27
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4424 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* No unread status for lines and folders in favoritesscw2008-11-231-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4423 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Fix compile error in util/scw2008-11-181-0/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4422 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* love paper is still mailing, follow friend/reject rulesscw2008-11-171-9/+17
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4421 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Post and money update:scw2008-11-166-9/+39
| | | | | | | | * no money for posts on boards without BM * BM and self deleting posts decrease number of posts regardless of login git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4420 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Correct gamble explanationscw2008-11-151-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4419 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Last commit should be 1000pscw2008-11-141-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4418 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Reduce BM reward on gamble to max(0.1%, 10000p)scw2008-11-141-1/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4417 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Enable chess country for reversiscw2008-11-143-3/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4416 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* not usedwens2008-11-012-9/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4415 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Fix Makefile and bind interfacewens2008-11-014-4/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4414 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Fix DBCS_strcasestr return typewens2008-11-011-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4413 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * revert recommend restirction.kcwu2008-10-291-7/+0
| | | | | | | | I still think this is correct direction. But I don't have enough time to fine tune a better solution. So revert it. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4412 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * add macro ALLOW_RECOMMEND_NONLOCAL_SAVED_ARTICLEkcwu2008-10-291-0/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4411 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * In news group (轉信板), recommending on non-local saved articles is ↵kcwu2008-10-291-0/+5
| | | | | | not permitted. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4410 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Remove board directory if failedwens2008-10-221-0/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4409 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Check if boards are full when creating new boardswens2008-10-211-1/+10
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4408 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* strstr is char *, not const char *wens2008-10-012-4/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4407 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* data should be empty on failed completewens2008-09-071-2/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4406 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Fix POP3 error responsewens2008-08-211-14/+17
| | | | | | | | Add daemonize flag Fix hanging connection git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4405 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Add CAPA commandwens2008-08-211-0/+8
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4404 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* revert last commitwens2008-08-211-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4403 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* *:xxx and :xxx should listen on INADDR_ANYwens2008-08-211-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4402 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Don't close all fds, do it in daemon for more flexibilitywens2008-08-212-0/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4401 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Half complete POP3 daemon, only supports login.wens2008-08-212-0/+312
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4400 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Common daemonize functionwens2008-08-214-21/+95
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4399 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* mandex: fix check rebuildwens2008-08-161-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4398 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Merged from ptt2 versionwens2008-08-051-14/+15
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4397 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Partial rewrite, make things clearerwens2008-08-051-212/+231
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4396 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Fix last commitwens2008-08-051-2/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4395 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Support tagging of multiple files with same chronowens2008-08-051-4/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4394 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Don't modify Vector data; use temporary buffer.wens2008-08-041-11/+10
| | | | | | | Is second searchuser really nessecary? git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4393 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Use file_exist_record directlywens2008-08-047-23/+11
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4392 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* close file only if STAMP_FILEwens2008-07-311-1/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4391 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Clear curredit so we can enter mailbox after sending mail from userlist.wens2008-07-221-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4390 63ad8ddf-47c3-0310-b6dd-a9e9d9715204