summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* changes mailalert to 1 bit only.ptt2005-10-1311-18/+21
| | | | | | | | reserved other 7 trigers for updating current status on the fly when user is online. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3223 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* move announce: it's still safe to add one more byte.piaip2005-10-131-1/+1
| | | | | | | | be careful if you want to add more since a hard-coded limit value of 9999 is already there. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3222 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix a long feast that make statusbar unterminated (ANSI_RESET).piaip2005-10-113-4/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3221 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* make the ticket number less preditable.kcwu2005-10-061-58/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3220 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use strlcpy()in22005-10-021-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3219 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* try to fix the same "shift by 1" problemvictor2005-09-291-30/+37
| | | | | | | it's should be rewriten actually. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3218 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* make check_cooldown work for recommendationpiaip2005-09-281-10/+16
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3217 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* hide when debugsleeppiaip2005-09-281-3/+10
| | | | | | | try to prevent segv in waterball git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3216 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* shift index by 1victor2005-09-261-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3215 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* shift index by 1victor2005-09-261-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3214 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove another unused identvictor2005-09-261-1/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3213 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove things about ident which is useless nowvictor2005-09-263-21/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3212 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove the 2048 limitvictor2005-09-261-4/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3211 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* namecomplete display improvementpiaip2005-09-262-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3210 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* make 's' search_board in board-list work with this case:piaip2005-09-263-2/+6
| | | | | | | 2 boards with same prefix and user input for exactly the shorter one. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3209 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Declare xsin only when needed.wens2005-09-251-3/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3208 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix tag-ctrl(d) in mail menupiaip2005-09-251-1/+2
| | | | | | | (digest articles will not be deleted, and FILE_DIGEST is same to FILE_REPLIED) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3207 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* log the modification of boardvictor2005-09-231-0/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3206 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* gomoku machine readable log reading fixscw2005-09-231-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3205 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* prepare for connect6piaip2005-09-224-9/+10
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3204 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* wrong ordering argumentvictor2005-09-221-2/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3203 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* no I should log elsewherevictor2005-09-221-1/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3202 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* code clean up.kcwu2005-09-221-61/+58
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3201 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* additional information of loggingvictor2005-09-221-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3200 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* append a "." after the anonymous idvictor2005-09-221-1/+5
| | | | | | | log for ordering song git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3199 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* reduce mywrite segv (hope so)piaip2005-09-211-3/+11
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3198 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Revert r3196(as a workaround).mhsin2005-09-211-14/+18
| | | | | | | Really(hope so :p) solve bug in r3192. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3197 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* trial fix for r3192 when user input some non-exist number of sigfilepiaip2005-09-211-0/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3196 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* prevent unsupported localepiaip2005-09-201-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3195 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* verbose ver.cpiaip2005-09-202-5/+26
| | | | | | | pretty print for board-config (I) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3194 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* No mail alert for personal chess log scw2005-09-201-2/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3193 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Skip nonexistent signature files when "random signature" is chosen.in22005-09-191-5/+5
| | | | | | | by mhsin git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3192 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* change bsmtp's prototype since ``method'' is not usedvictor2005-09-187-27/+31
| | | | | | | try to make the temporary, outgoing mail unique git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3191 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove unused option (-o)victor2005-09-181-31/+8
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3190 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* allow setting go chess country on new boardscw2005-09-181-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3189 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix ticket #10piaip2005-09-181-2/+14
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3188 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* no default option :pvictor2005-09-181-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3187 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* default to ordervictor2005-09-181-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3186 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pretty format of name-complete,piaip2005-09-183-3/+13
| | | | | | | try to make 't'(tag) light refresh, git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3185 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix ticket #40piaip2005-09-181-1/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3184 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove default optionpiaip2005-09-171-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3183 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fixed FILE_REPLIED: ent was used as a temp bufferpiaip2005-09-172-3/+12
| | | | | | | for curredit in mail_reply. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3182 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* make recommendation ip log optional, piaip2005-09-173-29/+50
| | | | | | | toggled by BMs. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3181 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix FILE_REPLIED, in board reply modepiaip2005-09-171-1/+1
| | | | | | | | we should check direct, not ent. this bug made FILE_DIGEST appear on board-reply. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3180 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix mail_reply(0, fhdr, 0); caused segv due to mail +r flag,piaip2005-09-162-2/+4
| | | | | | | and make DEBUGSLEEP mode more robust (hope so) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3179 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* verbose msg and skip multilogin check for debugsleepingpiaip2005-09-164-6/+25
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3178 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* make textlen an optionpiaip2005-09-152-4/+21
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3177 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix previous N fixes again... orzpiaip2005-09-151-9/+10
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3176 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix again: touch file record.piaip2005-09-151-3/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3175 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix previous patch, logic errorpiaip2005-09-151-3/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3174 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix previous offset-by-one errorpiaip2005-09-151-1/+2
| | | | | | | | | --This line, afind those below, will be ignored-- M mbbsd/bbs.c git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3173 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* real main text editing.piaip2005-09-157-23/+118
| | | | | | | recommendation/comments are not modifiable now. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3172 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* match current user behaviorpiaip2005-09-151-2/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3171 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* default recommendation is now (add comment only).piaip2005-09-151-3/+10
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3170 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add support to "mark mail as replied"piaip2005-09-153-5/+32
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3169 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* make cplog compatiblepiaip2005-09-151-6/+17
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3168 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* new recommendation style: (#undef GUESTRECOMMEND)piaip2005-09-153-21/+53
| | | | | | | | | | record date/time. IP is omitted because article owner may modify it. If guest is allowed to recommend, then use old style recommendation log to keep IP info. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3167 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix r3146: innbbsd used FILE_MULTI which has same value with FILE_BOTTOM.piaip2005-09-143-4/+6
| | | | | | | It seems like no reason to set MULTI in received remote articles. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3166 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* merge from ptt's configurationvictor2005-09-131-59/+78
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3165 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* 1.now = time(NULL) instead of time(&now)in22005-09-121-2/+11
| | | | | | | | 2.#if 0 for update_brd 3.fix compilation error when NOKILLWATERBALL & !OUTTATIMER (thanks rafan) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3164 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* set svn:mime-type on UPDATEscw2005-09-120-0/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3163 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix rev numberspiaip2005-09-121-2/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3162 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* more logspiaip2005-09-121-0/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3161 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Fix "phone and career lost after modifying email" problemscw2005-09-121-12/+30
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3160 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* customizing anonymous's name while ordering a songvictor2005-09-122-64/+41
| | | | | | | change ui git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3159 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* reflect changes of ident in userec_tpiaip2005-09-121-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3158 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* info updatepiaip2005-09-122-1/+48
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3157 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix toplazyBM and toplazyBBM mailing and logging wrong id bugscw2005-09-112-139/+139
| | | | | | | * indent toplazyBBM.c git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3156 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* GO chess replay implementedscw2005-09-113-8/+177
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3155 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* GO convertion to chess frameworkscw2005-09-1110-1405/+931
| | | | | | | | | | | | | | * versus, personal and watching all work chess.c framework update * "pass" and "tie request" are distinguished * chess-specific key binding * post-game processing !!!NOTE!!! Chess protocals are NOT backward compatible RESTART WHOLE system to ensure correctness git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3153 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* update reg queue idpiaip2005-09-102-21/+34
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3150 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* msg updatespiaip2005-09-103-20/+40
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3149 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* catch SIGXCPU for debug.piaip.automake@3147kcwu2005-09-103-1/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3147 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* try to make FILE_MULTI work, (ref: #221/#220)piaip2005-09-092-11/+7
| | | | | | | | | hmmm, after almost three thousands of patchsets, finally it may work now ... (hope so, not really tried, and i don't care actually) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3146 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* comments warn the bad code without error handling.kcwu2005-09-093-1/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3145 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pretty output of human readable chess log.kcwu2005-09-091-13/+15
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3144 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* name complete did not check invalid input.piaip2005-09-092-2/+18
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3143 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* permspiaip2005-09-082-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3142 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix previous patch.piaip2005-09-082-3/+3
| | | | | | | | and enable pmore as default pager. it's stable enough. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3141 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* name complete enhancedpiaip2005-09-083-47/+86
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3140 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pager=waterball made readablepiaip2005-09-086-26/+66
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3139 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pretty formatpiaip2005-09-083-20/+27
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3138 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* some debug codes were checked in accidentally in last patchset (r3136).piaip2005-09-082-3/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3137 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Wide terminal rules.piaip2005-09-084-36/+85
| | | | | | | This time we have userlist and mailbox support. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3136 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix typo in previous patchpiaip2005-09-071-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3135 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* help compatible with traditional C.piaip2005-09-071-1/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3134 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* verbose message when login.piaip2005-09-073-11/+73
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3133 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* comments on a bug of re-registerationvictor2005-09-051-1/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3132 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* why \0 for mail menu? not sure...piaip2005-09-051-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3131 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* announce tag-copy-paste pasted more by one bug.piaip2005-09-041-0/+4
| | | | | | | | | | (tag, c, p instead of tag, z, p will reproduce this.) Ref: ptt2 pttbug#926. thanks to rafan. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3130 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* explicitly call by referencevictor2005-09-041-5/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3129 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* partially fix #35piaip2005-09-043-9/+17
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3128 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Fix last commit: time calculating considered "counting mode"scw2005-09-041-3/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3127 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * help message update: 'p' means "tie request" as well as passscw2005-09-031-6/+17
| | | | | | | * opposite alive check at begin * time limit calculating way changed (Chinese chess rule) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3126 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Gomoku log read errorscw2005-09-022-10/+32
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3125 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * refine chess framework IO routinesscw2005-09-022-22/+26
| | | | | | | * don't write data to user socket when there is no opposite git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3124 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * chc machine-readable log reflectedscw2005-09-012-2/+4
| | | | | | * chc replaying put red on bottom git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3123 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * allowing undo when playing chess personallyscw2005-09-011-2/+22
| | | | | | * message enhenced git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3122 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* as 3085in22005-09-011-2/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3121 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* dirty fix memory corruption because additional choice during voting.kcwu2005-08-301-13/+15
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3120 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* chc replay display problemscw2005-08-301-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3119 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix r3116, I mean `mateid.' Thanks kcwu.scw2005-08-301-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3118 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* warn user if file is unable to open.kcwu2005-08-301-0/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3117 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* prevent from search_ulist_userid() returning NULLscw2005-08-291-2/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3116 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix the wrong conditionvictor2005-08-292-4/+4
| | | | | | | use fav root to store those adm tags git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3115 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* log crash events in signal handler.kcwu2005-08-291-16/+42
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3114 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* gomoku log read problemscw2005-08-291-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3113 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix last commitvictor2005-08-291-6/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3112 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* revert r3108, fix the problem by bound correction as moving fav instead.victor2005-08-293-26/+19
| | | | | | | (the problem still exists potentially.) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3111 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* write '[Result "*"]' for unknown status chc logscw2005-08-291-0/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3110 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* chc machine readable log updatescw2005-08-291-10/+15
| | | | | | | * fix playing date * show result only when the game was completed git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3109 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* explicit fav entrancevictor2005-08-283-10/+22
| | | | | | | | | | | | | description: 1. A user enters Class of the main menu. Now fav is loaded, and fav_stack[0] is fav root. 2. Go some dir, press 'y'. fav_stack[0] != NULL, so the user WAS in fav tree. 3. press 'a' or 'i' can break the program. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3108 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix last commitscw2005-08-281-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3107 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* try using userec_t to initialize ChessUser when failed to get userinfo_tscw2005-08-284-0/+10
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3106 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* 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