summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Chess functions:scw2005-08-287-27/+317
| | | | | | | | | | | * chc machine readable log - http://www.elephantbase.net/protocol/cchess_pgn.htm - http://www.elephantbase.net/protocol/cchess_move.htm * chc and gomoku replay work * key binding 'z' in pmore() for chess replay * avoid crash when watching (the watchee's mateid is empty) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3105 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* clear cuser on failed login to avoid gaining permissionsscw2005-08-281-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3104 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Complete last commitscw2005-08-281-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3103 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* angel caller may not login yet.kcwu2005-08-281-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3102 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix crash when using 'i' to add board in my favoritescw2005-08-282-4/+5
| | | | | | * boundry check in move_in_folder() git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3101 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix memory leakvictor2005-08-281-4/+2
| | | | | | | make sure malloc get memory git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3100 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pass arguments only if they really need.kcwu2005-08-281-1/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3099 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* distinguish functions that need item or not, and allow the latter in empty ↵kcwu2005-08-282-2/+7
| | | | | | itemlist. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3098 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* distinguish functions that need item or not, and allow the latter in empty ↵kcwu2005-08-284-192/+197
| | | | | | itemlist. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3097 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix: don't do anything if itemlist is empty, otherwise it may corrupt memory.kcwu2005-08-281-5/+18
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3096 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* comment bad code.kcwu2005-08-281-0/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3095 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix top_of_win problem in block_delete().kcwu2005-08-281-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3094 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* comment bad code.kcwu2005-08-281-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3093 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix last commit.kcwu2005-08-281-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3092 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* skip invalid entry when fav_free.kcwu2005-08-282-2/+7
| | | | | | | comment bad code, insert fav in empty folder. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3091 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix heap corrupted because screen resize.kcwu2005-08-281-10/+24
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3090 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix heap corrupted because screen resize.kcwu2005-08-272-9/+17
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3089 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix off-by-one bug.kcwu2005-08-271-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3088 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix off-by-one bug.kcwu2005-08-271-3/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3087 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* comment how join() works.kcwu2005-08-271-51/+54
| | | | | | | | fix allocation problem of join(). fix top_of_win has been free'd if user hit backspace key in top_of_win line. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3086 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* do not pass two same pointers into setadir()in22005-08-261-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3085 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * larger default DEF_(DAYS|MAXP|MINP)in22005-08-261-51/+96
| | | | | | | | | | * check only not really delete files (-n) * unlink SR.* by opendir(2)/readdir(2) instead of system("rm SR.*") or fail when handling huge dir * better output messages * re-indent some code git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3084 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* eliminate more compiler warningspiaip2005-08-256-9/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3083 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* eliminate compiler warnings (mostly signed/unsigned)piaip2005-08-255-14/+15
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3082 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Big E (re-edit_post) enhanced:piaip2005-08-251-2/+54
| | | | | | | | - remove unsaved temp file (hope so) - check if file was modified git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3081 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - dbcs conf should only appear when dbcs-aware compiled in.piaip2005-08-242-1/+5
| | | | | | | - in vedit (output '*' instead of ESC) ANSI commands should always use real outs. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3080 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* forget to reset countervictor2005-08-241-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3079 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* missing type checkingvictor2005-08-242-2/+5
| | | | | | | fix mis-calculated fav_number git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3078 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* missing the type checkingvictor2005-08-241-10/+18
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3077 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix buffer overflow.kcwu2005-08-231-0/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3076 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix buffer overflow.kcwu2005-08-231-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3075 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* set*() family functions all assume buffer size = PATHLEN, to prevent buffer ↵kcwu2005-08-239-75/+77
| | | | | | | | | overflow. do some s/256/PATHLEN/. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3074 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add 'const' keyword.kcwu2005-08-233-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3073 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Fix SIGABRT when watching chc.scw2005-08-221-6/+7
| | | | | | | | Thanks to blackmajisha.bbs@ptt.cc and AMONAMON.bbs@ptt.cc for helping locating problem. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3072 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* toplazyBM.c:scw2005-08-221-149/+155
| | | | | | | * fix problem when BM login *during* checking * indent, fix code style git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3071 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * chess country includes GO nowscw2005-08-214-3/+8
| | | | | | * fix warning in gomo.c git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3070 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Move cursor to where opposite play in gomoku.scw2005-08-211-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3069 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* process argv[] before setproctitle()in22005-08-201-3/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3068 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add_io(0, 0) before reading data from user when playing chessscw2005-08-201-3/+13
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3067 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Wrong winner on rule-violating step.scw2005-08-204-10/+20
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3066 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* get rid of linear search in getindexptt2005-08-192-28/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3065 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* 1. fix compile error isnumber -> isdigitptt2005-08-192-2/+2
| | | | | | | 2. let old sysop can use 'H' to coak git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3064 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* don't delete local post while cancel messageptt2005-08-192-4/+8
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3063 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* show Welcome_login just after correctly loginingin22005-08-191-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3062 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* also block shell_login when OVERLOADBLOCKFDS.in22005-08-181-0/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3061 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* take care of buffer size, try to avoid crash.kcwu2005-08-181-19/+33
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3060 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* code cleanup.kcwu2005-08-181-11/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3059 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Don't move two steps when client is dbcs-awared.scw2005-08-181-0/+21
| | | | | | | (don't know if this is a good solution) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3058 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: skip 1st animation control seq.piaip2005-08-181-0/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3057 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Equivalent config file updatespiaip2005-08-188-58/+37
| | | | | | | | - little/big endian is useless. - DBCSAWARE_* now merged into DBCSAWARE git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3056 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* chess photo not found problemscw2005-08-171-1/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3055 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* r133@scwnb: bbsadm | 2005-08-17 22:46:26 +0800scw2005-08-171-0/+1
| | | | | | | Chess help info updated for undo git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3054 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Chess undoscw2005-08-172-27/+95
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3053 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Remove unused global variable and add const-ness in var.cscw2005-08-171-3/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3052 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* screen_backup() & screen_restore() update:scw2005-08-178-83/+58
| | | | | | | | | * automatic allocate memory, save cursor location and backup * automatic restore screen, cursor location and free memory * works on screen lessening * no more crash on screen enlarged git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3051 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* it's stupid to call c program in perl for string manipulation.kcwu2005-08-164-57/+11
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3050 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* change ftp site url. add IO::All module. (thanks rafan)in22005-08-161-23/+10
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3049 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* NO_GUEST_ACCOUNT_REG. thanks rafan.in22005-08-162-0/+8
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3048 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* reduce memory usage by 70 bytes per user.victor2005-08-163-21/+37
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3047 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* include/common.h, mbbsd/friend.c: check buffer sizevictor2005-08-164-17/+19
| | | | | | | | include/fpg.h: highlight the bug mbbsd/talk.c: change that odd time_t worked as a boolean to int git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3046 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* svn:mime-type of chess.c become noeolscw2005-08-160-0/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3045 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* revert r3039, now we log after the reasonvictor2005-08-161-4/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3044 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Crash when calling angel, fix r3038scw2005-08-161-7/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3043 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* svn:mime-type of chess.h become noeolscw2005-08-160-0/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3042 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Move cursor to center of the play board in gomokuscw2005-08-161-0/+3
| | | | | | | at the begining of the game. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3041 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* check buffer sizevictor2005-08-151-6/+7
| | | | | | | reduce computation git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3040 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove deadc0devictor2005-08-152-11/+1
| | | | | | | additional log to file system git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3039 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* screen-resize awareness between screen_backup() and screen_restore().victor2005-08-157-38/+56
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3038 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* gomoku and go logging updatescw2005-08-153-9/+11
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3037 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Gomoku convertion to chess.c frameworkscw2005-08-1510-805/+551
| | | | | | | | | | | | | | | * versus, watching and personal playing * undo function removed due to the restriction of the framework currently chess.c framework update * resign confirm * invited peer can be watched !!!NOTE!!! Gomoku protocal not backward compatible RESTART WHOLE system to ensure correctness git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3036 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* update Makefilevictor2005-08-141-1/+1
| | | | | | | thanks rafan git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3035 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix crash when logging a tied chc gamescw2005-08-132-9/+20
| | | | | | | * confirming tying request in chess games git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3034 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bug:victor2005-08-133-18/+34
| | | | | | | user's home will not be created after retrieving from backup git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3033 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* integrate kill-user's codevictor2005-08-133-32/+22
| | | | | | | | bug killed: somethings a new user will be alohaed by friends of previous owner of the same id. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3032 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove interface to ``train schedule information service''victor2005-08-134-278/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3031 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Fix case-sensitive crossposting problem.scw2005-08-131-2/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3030 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* SYSSUPERSUBOP can see board linkswens2005-08-121-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3029 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* integrate two giving-money codevictor2005-08-123-28/+31
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3028 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix wrong prototype. thanks rafanin22005-08-122-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3027 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* make the compiler happy!in22005-08-1220-38/+150
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3026 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove real escapes (\033) from sourcepiaip2005-08-113-21/+54
| | | | | | | better AYT and report struct size in debug mode git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3025 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pretty formatvictor2005-08-111-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3024 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* user defined SHMALIGNEDSIZE.in22005-08-102-2/+8
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3023 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix chc watching SEGV bugscw2005-08-105-50/+24
| | | | | | | * chc.[ch] and chess.[ch] code clean up git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3022 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bug for class menu.ptt2005-08-091-2/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3021 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix last commit Orzvictor2005-08-091-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3020 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fav.c: don't delete a fav entry implicitlyvictor2005-08-093-20/+18
| | | | | | | | board.c: make data flow analysis easier to compiler admin.c: pretty delete description git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3019 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3018 ↵scw2005-08-091-5/+5
| | | | 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Fix r3015.scw2005-08-092-11/+21
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3017 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* util to know the amount of tickets for ticket.dataptt2005-08-092-1/+27
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3016 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Correcting chc losing number when playing.scw2005-08-091-3/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3015 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use REDDOWN() macro to indicate chessboard flipping status.kcwu2005-08-092-14/+16
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3014 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix non-big5 typo in r3012piaip2005-08-093-19/+35
| | | | | | | and make locking more solid git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3013 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* 1. let is unable to use gamble command if the board is under violation.ptt2005-08-081-0/+11
| | | | | | | 2. unable to open ticket while the CPU loading is high. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3012 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add proto, msg pretty print, misc updatepiaip2005-08-086-4/+23
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3011 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add super sys support op (群組長)wens2005-08-087-23/+24
| | | | | | | HUGETLB doesn't need root git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3010 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix chess internal coordinate. kcwu2005-08-084-105/+116
| | | | | | !! NOTE !!, not compatible with older revision. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3009 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* msg pretty printpiaip2005-08-083-14/+19
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3008 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix race condition of user registeration (as well as while restoring avictor2005-08-082-41/+29
| | | | | | | | | | | | | | | backed-up account): Procoess A Process B ====================== ===================== uid = searchuser("") uid = searchuser("") setuserid(uid, userid) setuserid(uid, userid) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3007 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* No more colorful title for gomoku log on board.scw2005-08-081-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3006 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Fix talk requesting id display problem.scw2005-08-081-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3005 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Use ``void (*)(int)'' instead of ``sighandler_t'' since FreeBSDscw2005-08-081-1/+1
| | | | | | | use sig_t instead of sighandler_t. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3004 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Fix chess watching backward one step bugscw2005-08-081-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3003 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* New chess frameworkscw2005-08-0811-1046/+1797
| | | | | | | | | | | | | * Provides common parts of all chess games * Chinese chess fully ported * Improved watching * Leaving possibility to implement replaying !!!NOTE!!! Protocal not backward compatible, STOP ALL clients before upgrade. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3002 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* msgs updatespiaip2005-08-072-4/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3001 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Revision 3000piaip2005-08-069-17/+254
| | | | | | | - sync with ptt1 local modified source git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3000 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* article money system upgrade againpiaip2005-08-063-22/+20
| | | | | | | now fully works(hope so). git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2999 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* article money issue updatespiaip2005-08-064-50/+64
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2998 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* msg format updatepiaip2005-08-061-5/+14
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2997 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Large Terminal Rulespiaip2005-08-0614-111/+234
| | | | | | | New api: *lr family calls are used to pad and fir terminal width. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2996 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* large terminal rules.piaip2005-08-0614-86/+158
| | | | | | | | | | | | | - vmsg with formats is now vmsgf. - deprecates vmsg_lines = i hope changes in admin does not make trouble because the old way looks like a mess within my terminal. - pending issue: = pressanykey_or_callangel is in oldway = showtitle, msg_seperator, and others should also be fixed git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2995 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix incremental search bug.ptt2005-08-061-5/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2994 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* various money related fixpiaip2005-08-066-17/+18
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2993 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* incremental selectptt2005-08-061-4/+8
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2992 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* incremental select_readptt2005-08-053-22/+62
| | | | | | | | fix 'Q' in view post money. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2991 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* BM logic error @@ orzpiaip2005-08-051-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2990 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix b_config msg max heightpiaip2005-08-051-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2989 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix long bm+title display bugpiaip2005-08-051-5/+37
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2988 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - multi.money updates,piaip2005-08-054-24/+83
| | | | | | | | - experimental money listing mode - prevent unread black-hole mails git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2987 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix file.multi.money issuepiaip2005-08-052-5/+21
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2986 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* make compiler happypiaip2005-08-053-7/+18
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2985 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* help updatepiaip2005-08-052-4/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2984 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Overrides r2977. PLEASE DO NOT USE include/pttbbs.conf.piaip2005-08-055-26/+52
| | | | | | | | | | | | | The better way is to write default values in include/config.h and then make an entry in "sample/pttbbs.conf". <recent updates always put new settings in sample/* and no one updates only in "local" files> A new file of sample/pttbbs_minimal.conf is added to make things clear. And DO NOT reveal magic numbers to files in repository. We have to change RECODE_MAGIC now... git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2983 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix one typoptt2005-08-051-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2982 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix one bugptt2005-08-041-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2981 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* define ALLHIDPOSTptt2005-08-041-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2980 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* post post ALLHIDPOST for hidden boards.ptt2005-08-041-13/+15
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2979 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* avoid keyword conflict in select_readptt2005-08-041-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2978 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* 1. Patch make error. please remember to undate define ptt2005-08-043-2/+20
| | | | | | | | | in config.h not only in your local pttbbs.conf 2. DonaldLam need function to search the money of post. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2977 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* CHC message showing modified.scw2005-08-042-62/+70
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2976 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* CHC limited time mode rule update.scw2005-08-021-2/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2975 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* CHC new restriction available.scw2005-08-013-38/+211
| | | | | | | | *NOTE* chc protocal changed withOUT backward compatibility. STOP mbbsd before upgrading. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2974 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pretty formatpiaip2005-07-281-4/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2973 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* utility updatepiaip2005-07-282-24/+47
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2972 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix previous patch, field declarationpiaip2005-07-281-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2971 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* let BM decide fast recommendation durationpiaip2005-07-281-18/+47
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2970 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Don't generate '\t' (tab) in gomoku log file.scw2005-07-281-2/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2969 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* some users complained about restricting fast recommendationpiaip2005-07-281-5/+23
| | | | | | | will make them not able to recommend different articles. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2968 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pretty printpiaip2005-07-281-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2967 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* make msg verbosepiaip2005-07-271-4/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2966 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* many users leave blanks in mail addr.piaip2005-07-271-0/+5
| | | | | | | let's help them. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2965 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* enable Esc-1 Esc-4 againpiaip2005-07-261-0/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2964 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - announce: multitag enhanced, tag-like behaviorpiaip2005-07-262-18/+70
| | | | | | | | - admin: registeration reject reasons, 'cause some users complained about strange return (?) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2963 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* why move(*,1) before? I can't understand.piaip2005-07-261-5/+5
| | | | | | | let's move to (*, 0). git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2962 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - restrict fast recommendationpiaip2005-07-265-4/+38
| | | | | | | - release large memory buffer for CopyBuffer(announce.c) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2961 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Better mail usage estimatepiaip2005-07-251-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2960 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* more accurate mail usagepiaip2005-07-251-5/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2959 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pretty formatpiaip2005-07-251-6/+26
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2958 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* multiple copy for announce.piaip2005-07-251-59/+167
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2957 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* maildir: add show sizepiaip2005-07-252-30/+91
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2956 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* mark as brokenpiaip2005-07-251-0/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2955 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* eliminate warning msgpiaip2005-07-251-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2954 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* prevent scroll for all situation!piaip2005-07-251-2/+2
| | | | | | | | because some people complained about scrolling makes their useless head dizzy. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2953 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* make recommendation system betterpiaip2005-07-254-5/+22
| | | | | | | | - prevent waterball overwrites recommendation - eliminate confirm scroll git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2952 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* help normal user to query board modepiaip2005-07-252-3/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2951 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* After discussion on PttSuggest and with PTT SYSOPs,piaip2005-07-245-13/+30
| | | | | | | | | decided to change auto cp log to a postive option. WARNING: YOU MUST INVERSE ALL AUTOCPLOG OPTIONS (which was NOCPLOG) AFTER THIS PATCH APPLIED. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2950 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* recommendation: a more elegant UIpiaip2005-07-242-39/+26
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2949 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* integrated board attr setuppiaip2005-07-242-56/+66
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2948 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove complex #ifdef'spiaip2005-07-241-21/+13
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2947 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* help update: since ^E is sysop only,piaip2005-07-231-1/+1
| | | | | | | no need to put it in public help. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2946 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix msg errorpiaip2005-07-232-4/+4
| | | | | | | - make old compilers happy git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2945 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* option to toggle cp auto logpiaip2005-07-234-25/+90
| | | | | | | | for both entire site def and board conf. also updated board conf (for recommendation/cp auto log) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2944 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* typo fixpiaip2005-07-231-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2943 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* sync with PTT1 local modified source:piaip2005-07-235-11/+91
| | | | | | | | | - debug with msgfwderr - enlarge thread search range - more verbose board info git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2942 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* cp log format updatepiaip2005-07-233-7/+25
| | | | | | | cp with invis board mosaic format update git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2941 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* adjust cp log color/stylepiaip2005-07-222-8/+10
| | | | | | | and we should update board record. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2940 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* if cp to invisible board, mosaic the destination namepiaip2005-07-221-4/+13
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2939 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* ticket#30: realtime board perm updatepiaip2005-07-223-2/+39
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2938 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* ticket#31, both implemented.piaip2005-07-223-5/+60
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2937 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Fix r2934 on time limit updating.scw2005-07-191-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2936 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* verbose message,piaip2005-07-182-1/+4
| | | | | | | and disable recommendation scroll git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2935 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Show time limit and turning info in chc when displaying photo.scw2005-07-162-4/+10
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2934 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* make getdata support prompt with ANSI escapes.piaip2005-07-162-31/+81
| | | | | | | old code makes correct positioning but wrong attributes git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2933 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - scroll for recommending articlespiaip2005-07-162-1/+10
| | | | | | | - confirm vote_admin git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2932 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* recall of stay timepiaip2005-07-101-1/+8
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2931 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* recall of non-uflag options in user.cpiaip2005-07-101-33/+86
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2930 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix magic dbcs_off if no DBCSAWARE_GETDATApiaip2005-07-092-4/+8
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2929 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* recommendation system, updated for result previewpiaip2005-07-091-6/+16
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2928 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* tricky way to solve ticket #24, part 2piaip2005-07-091-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2927 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix ticket#24 first partpiaip2005-07-091-5/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2926 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* dbcs aware chatpiaip2005-07-092-7/+37
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2925 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix r2923, proto updatepiaip2005-07-091-0/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2924 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* dbcs aware talkpiaip2005-07-092-10/+65
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2923 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* change to fit bit64 for sob importptt2005-07-083-9/+8
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2922 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fully update the screen after mail_cross_postvictor2005-07-081-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2921 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* better code to handle user customizationpiaip2005-07-081-98/+90
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2920 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add util to write money in SHM back to disk.wens2005-07-084-27/+55
| | | | | | | | SVN keywords. fix bid output in showboard. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2919 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* also fix prototypevictor2005-07-071-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2918 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* RFC-1036 suggest the format "Wdy Mon DD HH:MM:SS YYYY". Make both formatvictor2005-07-071-2/+9
| | | | | | | work. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2917 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* warning free, make gcc 4.0 happyvictor2005-07-076-12/+13
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2916 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: to make gcc4 happy with signed/unsigned issuepiaip2005-07-072-25/+33
| | | | | | | bbs: eliminate warnings git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2915 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* position updatepiaip2005-07-071-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2914 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* recommendation compatible modepiaip2005-07-071-2/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2913 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pretty format.piaip2005-07-072-7/+8
| | | | | | | | changes in menu.c is suggested by CatMan@ptt2, thanks (not really fully tested but it seems ok) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2912 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pretty format.piaip2005-07-072-24/+60
| | | | | | | | boardhelp is fixed ('cause i used large term lasttime) and recommendation system is now better. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2911 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix write_header for outside edit.cpiaip2005-07-062-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2910 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* proto update orzpiaip2005-07-061-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2909 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* dbcs aware topic searchpiaip2005-07-061-4/+25
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2908 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix ticket#13, ve re-entrancepiaip2005-07-061-11/+16
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2907 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: avoid dbcs cursor movement doubled due to msg formatpiaip2005-07-062-6/+9
| | | | | | | mail: fix ticket#14 git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2906 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* comment on bad codekcwu2005-07-061-0/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2905 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* bug fix: should set FILE_BOTTOM after checking, patch submitted by ↵kcwu2005-07-061-2/+3
| | | | | | CatMan@ptt2. fixed #15. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2904 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* help update, fix mail title unchanged outside vedit (partial?)piaip2005-07-064-29/+44
| | | | | | | and 'search for recommends' patch by ledia@ptt, thanks. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2903 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* username -> nicknamepiaip2005-07-061-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2902 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* msg pretty printpiaip2005-07-062-7/+12
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2901 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Photo on chinese chess for chess country.scw2005-07-061-35/+191
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2900 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix ticket#18 , it's true we don't have nick searchpiaip2005-07-061-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2899 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix #2897: should be board directories, not homepiaip2005-07-061-0/+14
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2898 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* initbbs should also create 0-9 to prevent errors.piaip2005-07-061-0/+5
| | | | | | | thx to CatMan in ptt2-PttBug git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2897 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* mailbox pretty print, thx to CatMan in ptt2-PttBugpiaip2005-07-061-9/+16
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2896 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add tools for PMake v2piaip2005-07-052-4/+54
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2895 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* doc update: pmake 2.X suckspiaip2005-07-051-0/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2894 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* try to solve ^[[B (move down)piaip2005-07-051-2/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2893 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* eliminate pending alarmspiaip2005-07-051-0/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2892 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* wasting my timepiaip2005-07-053-25/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2891 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* orz, utmp number is not privatepiaip2005-07-041-10/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2890 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pretty printpiaip2005-07-041-4/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2889 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* let ansi move cmds backpiaip2005-07-043-5/+19
| | | | | | | and add more security stuff git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2888 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* apply rafan's (rafan.bbs@ptt2.cc) big patch to s/username/nickname/gvictor2005-07-0419-65/+65
| | | | | | | turn off FOREIGN_REG by default in sample/pttbbs.conf git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2887 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* some basic security stuff can be made default.piaip2005-07-042-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2886 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix sig devide by zero bug,piaip2005-07-043-6/+6
| | | | | | | query user -> cuser.money git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2885 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* sig: fixed "if only one sig, max=0 leads to same result as no sigs"piaip2005-07-031-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2884 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove user info display message when logoutpiaip2005-07-031-1/+12
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2883 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* make low security an option to be toggledpiaip2005-07-034-5/+29
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2882 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - multi-signature browsing modepiaip2005-07-037-27/+107
| | | | | | | - song order: quick abort git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2881 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* repost should get anything untouchedpiaip2005-07-031-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2880 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: warning for **Xpiaip2005-07-032-22/+37
| | | | | | | | | board: category color update, thanks to ledia i'm not sure should we use 16 color or not, so let's stay in compatible mode first. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2879 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Security Updatepiaip2005-07-035-20/+135
| | | | | | | | | | | | (1) **s (Ptt_prints): Only information can be queried by others will be revealed. i.e., **b(birthday), **u(utmp number) will be removed **m(money) will show level messages instead of real number (2) Reply will show as **X instead of converted message (3) Ansi (^V) mode in editor will display as **X. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2878 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* misc update:piaip2005-07-033-3/+14
| | | | | | | | | | fix recent PttBug/PttSuggest request - bid prompt - tag display bug - category colors git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2877 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* also show the tag D to unknown boardvictor2005-06-301-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2876 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* rawmode: prompt user to confirmpiaip2005-06-291-3/+15
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2875 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: dbcs aware searchpiaip2005-06-291-5/+23
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2874 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* don't change any permission after the password is set.ptt2005-06-281-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2873 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: to disable cursor moving ANSI sequencespiaip2005-06-281-0/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2872 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix permission when changing user's password or emailin22005-06-281-3/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2871 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Mail quato special checking for sending mail to self.scw2005-06-271-9/+33
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2870 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* s/版/板/in22005-06-263-4/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2869 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* articles in FILE_BOTTOM could be editedin22005-06-261-2/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2868 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* display the warning message when re-email_justifyptt2005-06-241-1/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2867 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* change email will be asked to re-email_justifyptt2005-06-241-93/+100
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2866 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bug of email justifyptt2005-06-243-54/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2865 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* log new user registrationin22005-06-241-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2864 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* set sorted_way to 7 (by pid) in [嗨! 朋友] mode.in22005-06-241-6/+2
| | | | | | | or show nobody in the userlist when there are very few online users. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2862 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* better formating of vote resultkcwu2005-06-231-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2861 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* header file for exclusive search resultptt2005-06-231-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2860 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add one function in select_read().ptt2005-06-231-0/+14
| | | | | | | | exclusive search result git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2859 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove one typoptt2005-06-231-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2858 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove 2 unuse parametersptt2005-06-221-9/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2857 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix 2 bug for last patch.ptt2005-06-222-3/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2856 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* 1. patch of defining BBSENAMEptt2005-06-226-32/+55
| | | | | | | | | | | | 2. chage log format for red envelope 3. remove unused function give_money_log 4. add log for deleting a post. (who delete it) 5. add log for changing basic permission. 6. add log for changing user's password and mail to notify user and witnesses. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2855 63ad8ddf-47c3-0310-b6dd-a9e9d9715204