summaryrefslogtreecommitdiffstats
path: root/mbbsd
Commit message (Collapse)AuthorAgeFilesLines
* 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-117-1396/+912
| | | | | | | | | | | | | | * 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-101-1/+4
| | | | 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-091-3/+0
| | | | | | | | | 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-081-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3142 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-085-26/+57
| | | | 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-042-8/+16
| | | | 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-021-19/+24
| | | | | | | * 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-292-24/+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-282-10/+20
| | | | | | | | | | | | | 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-283-0/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3106 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Chess functions:scw2005-08-285-27/+314
| | | | | | | | | | | * 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-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-271-9/+16
| | | | 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
* 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-231-1/+1
| | | | 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
* * chess country includes GO nowscw2005-08-212-2/+2
| | | | | | * 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
* 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-203-9/+19
| | | | 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
* 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
* 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-183-27/+27
| | | | | | | | - 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-171-26/+91
| | | | 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-176-80/+55
| | | | | | | | | * 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
* NO_GUEST_ACCOUNT_REG. thanks rafan.in22005-08-161-0/+5
| | | | 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-162-20/+36
| | | | 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-162-16/+15
| | | | | | | | 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
* 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
* 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-155-36/+49
| | | | 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-156-787/+541
| | | | | | | | | | | | | | | * 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
* * 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-132-18/+33
| | | | | | | 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-132-31/+21
| | | | | | | | 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-133-159/+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-122-28/+30
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3028 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
* * fix chc watching SEGV bugscw2005-08-102-10/+11
| | | | | | | * 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
* 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-091-11/+11
| | | | 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-081-1/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3011 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add super sys support op (群組長)wens2005-08-085-9/+16
| | | | | | | 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-082-101/+111
| | | | | | !! 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-085-1039/+1611
| | | | | | | | | | | | | * 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-062-5/+50
| | | | | | | - 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-063-50/+63
| | | | 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-0612-87/+201
| | | | | | | 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-0613-83/+155
| | | | | | | | | | | | | - 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-065-16/+17
| | | | 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-052-17/+75
| | | | | | | | - 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-051-4/+12
| | | | 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
* Overrides r2977. PLEASE DO NOT USE include/pttbbs.conf.piaip2005-08-051-2/+5
| | | | | | | | | | | | | 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
* 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-041-2/+18
| | | | | | | | | 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-041-61/+67
| | | | 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-012-35/+199
| | | | | | | | *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
* 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-263-4/+34
| | | | | | | - 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
* 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-251-2/+6
| | | | 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-243-10/+24
| | | | | | | | | 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-241-55/+65
| | | | 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
* - 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-231-19/+81
| | | | | | | | 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-232-7/+53
| | | | | | | | | - 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-222-1/+38
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2938 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* ticket#31, both implemented.piaip2005-07-222-5/+59
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2937 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-161-3/+9
| | | | 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-161-31/+78
| | | | | | | 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
* 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-081-2/+2
| | | | 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
* 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-071-10/+46
| | | | | | | | 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
* 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-062-12/+28
| | | | | | | 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-061-0/+5
| | | | 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
* 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-0412-50/+50
| | | | | | | 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-033-5/+26
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2882 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - multi-signature browsing modepiaip2005-07-034-23/+92
| | | | | | | - 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-034-20/+134
| | | | | | | | | | | | (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