summaryrefslogtreecommitdiffstats
path: root/mbbsd/mbbsd.c
Commit message (Collapse)AuthorAgeFilesLines
* - (internal/exp) first draft of new layoutpiaip.newlayoutpiaip2008-03-201-1832/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/branches/piaip.newlayout@4013 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - change show_file parameter to assign striping options in a better way.piaip2008-03-121-1/+1
| | | | | | | - also prevents ESC* style escapes in user_play_query, for security reason. (Thanks to Kinra's report on PttSuggest) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3996 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - eliminate compile warningspiaip2008-03-111-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3991 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - mbbsd: correct default value promptspiaip2008-02-231-1/+1
| | | | | | | - admin: regform ui: unify the reject hotkeys and support "back to edit" after SPACE pressed git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3941 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - mbbsd: improve promptspiaip2008-02-211-1/+1
| | | | | | | - admin: code refine git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3935 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - friend: use constants, prevent magic numberspiaip2008-02-131-0/+1
| | | | | | | - mbbsd: guests do not need adding new favs git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3911 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - change over18 calculation as standalone function, in order user changed ↵piaip2008-01-311-16/+7
| | | | | | birthday. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3893 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - mbbsd: consider "no birthday" as less than 18 years oldpiaip2008-01-301-2/+4
| | | | | | | - pfterm: mini optimization git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3889 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix over18 calculationpiaip2008-01-301-4/+10
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3888 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - mbbsd: provide the possibility to optimize some API. keep port information.piaip2008-01-261-5/+29
| | | | | | | - make DEBUGSLEEP waiting configurable. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3867 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - pmore: disable massive scroll for smooth output in pftermpiaip2008-01-101-28/+1
| | | | | | | | - mbbsd: "dbg_myrev is not required", told by kcwu. just "gdb pid" will work. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3811 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - mmbsd: improve DEBUGSLEEP proctitle for debugging multiple versionspiaip2008-01-101-1/+28
| | | | | | | | - bbs: try to prevent mmap SEGV issue (caused by mv(1) truncating ?) - pmore: change back to MAP_SHARED, and try MAP_POPULATE git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3810 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - remove extra ';'piaip2008-01-051-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3792 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - allow setting guest with/without DBCS interuppting escapespiaip2008-01-051-1/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3791 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - unify login prompt. (it is suggested to not use DBCS version of ':' -piaip2008-01-031-1/+1
| | | | | | | to avoid some Mac font issue - which will display as different character) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3777 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - allow all non-guest user to use myfav (PERM_BASIC)piaip2007-12-281-0/+1
| | | | | | | - add GLOBAL_NEWBIE and GLOBAL_SYSOP to default fav (for new registered user, not empty fav) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3748 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - mbbsd: why a output("1", 1)?piaip2007-12-251-2/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3744 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - mbbsd: redraw on display changepiaip2007-12-251-2/+5
| | | | | | | - bbs: workaround clrtoln bug in screen.c git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3740 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - change screen APIs to ncurses-like namespiaip2007-12-211-13/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3717 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - isolate telnet protocol. moved from mbbsd.cpiaip2007-12-131-317/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3679 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * extract common functions as library.kcwu2007-12-121-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3673 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - move hard-coded board names to pttbbs.conf.piaip2007-12-051-4/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3629 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - modify login: empty input is counted into attemptspiaip2007-12-021-1/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3613 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* General Update by PttSuggest:piaip2007-12-011-4/+18
| | | | | | | | | | | - 'w' in mail can msg - author in mail header will highlight if online - recommendation message fix - ignore empty input for login - better prompt for empty fav git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3599 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * revise code for entering board.kcwu2007-09-231-3/+3
| | | | | | | * fix board permission. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3571 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * workaround for some account which has no home dirkcwu2007-09-201-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3562 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * use strtok_r() instead of strtok(). fix bad strtok() usages.kcwu2007-06-191-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3545 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* code clean upkcwu2007-06-101-2/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3538 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * add shutdown flagkcwu2007-05-271-3/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3516 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Revert r3495. Fix bug of birthday checking and statistic report for today-login.kcwu2007-05-071-14/+13
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3512 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* horoscope flavor birthday cardvictor2007-04-161-1/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3503 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* not necessary to dereferencevictor2007-03-261-12/+12
| | | | | | | mark race git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3495 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* #define MAX_GUESTvictor2006-11-201-1/+1
| | | | | | | | fix util/stock.perl thanks watch.bbs@ptt2 git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3446 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* sleep longer when BAN_FILE presentwens2006-10-071-2/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3441 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bug, forgot to change in revision [3420]kcwu2006-09-171-2/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3423 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Allocate water[] on demend. Saved about 4400 bytes.kcwu2006-09-171-0/+2
| | | | | | | Only 4%~5% online user of ptt use this feature. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3420 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Don't include telopts[],telcmds[] symbols if not debugging.kcwu2006-09-171-0/+2
| | | | | | | | These symbols is inside data section on linux. Saved about 500 bytes. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3419 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* enum usage fix, saved few bytes.kcwu2006-09-171-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3414 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* since only passwd_lock() when register, no need to call passwd_init() every ↵kcwu2006-09-011-4/+0
| | | | | | login git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3409 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Unset all "WITHME" flag when login (but WITHME_NO left unchanged)scw2006-08-291-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3402 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* build banned ip list on compilewens2006-06-181-4/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3374 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* reject bad ips, including tor and bbsnetin22006-06-181-0/+18
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3373 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* make emacs happyin22006-06-181-4/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3372 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* random sleep to make race condition harder.kcwu2006-04-081-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3339 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* reduce race condition period which lead to leave utmp record after user has ↵kcwu2006-04-081-1/+1
| | | | | | been kick out. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3338 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* it's better to log current time.kcwu2006-04-011-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3321 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* make it harder to multi-login by race condition.kcwu2006-04-011-28/+46
| | | | | | | prevent logout function reenter. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3319 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* handle if process errorkcwu2006-03-301-1/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3313 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* prevent multi-login and slow login flooding.kcwu2006-03-301-20/+23
| | | | | | | WARRNING, utmpserver protocol is incompatiable with old mbbsd. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3312 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* more meaningful message for SIGXCPU.kcwu2006-03-271-1/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3309 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* verify userid when sethome path.kcwu2006-03-271-2/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3308 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* dirty workaround for race condition in multi-login checking.kcwu2006-03-231-18/+31
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3300 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* redirect stderr(fd 2) to file.kcwu2006-03-231-2/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3299 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* support DETECT_CLIENT, hash telnet sequence.kcwu2006-03-231-1/+53
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3298 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* load go score when loginscw2006-03-181-0/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3290 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* r3281@kcwu: kcwu | 2006-02-18 13:36:52 +0800kcwu2006-02-181-1/+10
| | | | | | | | update time variable in signal handler. Thanks to the notice from rafan. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3273 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* 1. add "cancel bad post" feature.ptt2006-01-041-0/+4
| | | | | | | | | 2. fix bad the bug that user won't get bad post when he is online. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3260 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* debug:ptt2005-11-161-1/+1
| | | | | | | | purge utmp only after passwd_update(); git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3243 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* BRD_OVER18 patch. see http://www.ticrf.org.tw for detailsin22005-10-271-0/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3231 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* single daemon for all portsin22005-10-211-16/+30
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3228 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* changes mailalert to 1 bit only.ptt2005-10-131-1/+1
| | | | | | | | 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
* make 's' search_board in board-list work with this case:piaip2005-09-261-1/+1
| | | | | | | 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 mail_reply(0, fhdr, 0); caused segv due to mail +r flag,piaip2005-09-161-1/+2
| | | | | | | 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-161-2/+20
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3178 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
* pager=waterball made readablepiaip2005-09-081-4/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3139 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* verbose message when login.piaip2005-09-071-9/+37
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3133 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* partially fix #35piaip2005-09-041-3/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3128 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
* 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
* missing type checkingvictor2005-08-241-0/+1
| | | | | | | fix mis-calculated fav_number git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3078 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
* screen_backup() & screen_restore() update:scw2005-08-171-5/+2
| | | | | | | | | * 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
* reduce memory usage by 70 bytes per user.victor2005-08-161-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3047 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* screen-resize awareness between screen_backup() and screen_restore().victor2005-08-151-5/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3038 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bug:victor2005-08-131-1/+1
| | | | | | | 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
* remove real escapes (\033) from sourcepiaip2005-08-111-1/+7
| | | | | | | 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
* large terminal rules.piaip2005-08-061-3/+8
| | | | | | | | | | | | | - 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
* warning free, make gcc 4.0 happyvictor2005-07-071-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2916 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* apply rafan's (rafan.bbs@ptt2.cc) big patch to s/username/nickname/gvictor2005-07-041-7/+7
| | | | | | | 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
* better readability.in22005-06-141-4/+4
| | | | | | | | | real => adminmode, HAS_PERM() => HasUserPerm(), HasPerm() => HasBoardPerm(). git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2840 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix last patch: logical dependency errorpiaip2005-06-121-5/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2835 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* sysops don't want their last login updatedpiaip2005-06-121-9/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2834 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* some people enabled hidden mode get detection screen everytime piaip2005-06-121-0/+2
| | | | | | | because lastlogintime not updated git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2831 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* well, message revised again.piaip2005-06-111-1/+1
| | | | | | | btw disable detection for guests or some people may get crazy. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2826 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* detect evil client: some complained about the descriptionpiaip2005-06-111-0/+4
| | | | | | | | ok, let's change it and make guest see it everytime because guests are unknown. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2825 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: general ui updates.piaip2005-06-101-1/+1
| | | | | | | | fav: auto fav threshold should be increased because some people really know what they were doing. And the default value should honor user preference. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2817 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* incremental upgrade support (currently DBCSAWARE only)piaip2005-06-091-0/+19
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2814 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* myfav update:piaip2005-06-081-1/+1
| | | | | | | | (1) Auto subscription to new forum is tooooo annoying. (2) We need "inverse" selection of myfav git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2802 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* New style to specify ANSI escape commands.piaip2005-06-081-7/+7
| | | | | | | | | First introduced by pmore, but this hard work (to transform all files to new style) is made by Rong-en Fan (rafan). Thanks! git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2796 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* (pmore) fixed scroll issues for new status linepiaip2005-06-031-0/+1
| | | | | | | (mbbsd) fixed initial welcomemsg forgot to clear buffer git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2749 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* don't save user data if shm corruptedkcwu2005-04-231-0/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2712 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* give a warning if too many subscribed favorites is added at the same timevictor2005-04-231-3/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2711 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add NOFLOODING on utmpserverin22005-04-201-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2701 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* 1. make tty_read more clear and reablepiaip2005-04-181-3/+3
| | | | | | | 2. hack to prevent ^W SIGSEGV when parent is incorrect. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2697 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* discard 2521 due to some unknown memory problems.in22005-04-181-10/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2695 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* enabled 8 bit connection by default for most piaip2005-04-091-25/+39
| | | | | | | | traditional telnet clients like FreeBSD's. more robust telnet opt negotiation state machine. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2693 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* a patch to fix bug caused by changes of igetch()'s behavior piaip2005-04-091-9/+17
| | | | | | | | which was introduced in r2690. (cpu freaks out on chatroom/chess [I_OTHERDATA]) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2692 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* "Bye-Bye Flying Horse" patchpiaip2005-04-081-55/+252
| | | | | | | | | | - a robust and clean TELNET protocol implementation - fixed hz lib (autoconvert) utf8 buffer overflow exploit - enabled term resizing in runtime, and even AYT! - eliminated the flying-horse delay in connecting stage git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2691 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* handle telnet protocol and enable NAWS (resize terminal) capability.in22005-04-081-12/+4
| | | | | | | | SKIP_TELNET_CONTROL_SIGNAL can be disabled now. by piaip git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2690 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* wrong socket option typestable.rc@2687victor2005-04-051-2/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2687 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* more statistickcwu2005-03-271-0/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2681 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* show message to tell user crashkcwu2005-03-271-1/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2674 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* long screen support at login.in22005-03-251-4/+37
| | | | | | | thanks piaip. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2673 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* statistic for user's first login todaykcwu2005-03-191-3/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2653 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* localtime() may destory its return buffer after second callkcwu2005-03-191-6/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2652 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* statistickcwu2005-03-191-0/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2651 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* less hard coded path/string.kcwu2005-03-191-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2634 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add 'const' qualifiers on function parameters.kcwu2005-03-191-15/+15
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2632 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* user defined show 壽星 or notin22005-03-151-23/+29
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2626 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bug: if user disconnected during login, goodpost will be reseted to 0.kcwu2005-03-131-4/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2615 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* move 232 bytes from data section to rodata sectionkcwu2005-03-121-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2600 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* move global variable xuser into local, save 512 bytes.kcwu2005-03-121-1/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2596 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* explicitly tell C compiler functions have no parameterkcwu2005-03-121-12/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2592 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* don't delete password trial by default.kcwu2005-03-061-1/+1
| | | | | | | suggest by dale@ptt, patch by ledia@ptt2. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2577 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* defer fav_load() to choose_board() if the user didn't subscribe new boards.kcwu2005-02-251-4/+6
| | | | | | | don't know it will save memory or not. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2545 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add dietlibc support, reduced 16kb memory usage on linux x86_64.kcwu2005-02-241-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2534 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add mallopt optionvictor2005-02-201-4/+28
| | | | | | | reduce two static array git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2524 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* in CRITICAL_MEMORY, alloc water[] when it's needed.in22005-02-191-0/+10
| | | | | | | save many memory for most users. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2521 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* rewrite few lines.kcwu2005-02-121-4/+3
| | | | | | | comment on strange lines. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2496 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Use chomp() instead of assigning '\0' directly.scw2005-02-121-1/+1
| | | | | | | Change a little code in searching of more() to reduce call of strlen(). git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2495 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* make valgrind happykcwu2005-02-101-0/+10
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2490 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Clean up unused code and commented code.scw2005-02-051-3/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2467 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* replace rand() with random() for better randomnesskcwu2005-02-041-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2460 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* more ctime to ctime4wens2005-01-251-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2431 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use time4_t(uint32_t) instead of time_t for x86-64 arch.in22005-01-241-8/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2426 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* generic support for ssh hostname via SSH_CLIENT env (with support for ipv6 ↵wens2005-01-201-1/+5
| | | | | | | | | like IPs) fix shell mode proctitle git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2414 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* clear bad 'withme' flagskcwu2005-01-171-0/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2404 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* load assessment data to shmvictor2005-01-161-0/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2402 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* edit.c: dont use such a lot of strlen()victor2005-01-151-0/+5
| | | | | | | mbbsd.c: update assess data before logout git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2401 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove unneseccery barrier of poll closingvictor2004-11-181-6/+1
| | | | | | | | remove convertion from old style filename of vote system FIXME comment in assess git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2338 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Backup screen without hole. Save 8~11kb for normal user.kcwu2004-11-061-3/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2314 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* set socket send buf to 4kbkcwu2004-11-061-0/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2313 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* 1.fix infinite loopvictor2004-10-211-3/+6
| | | | | | | | | 斷線->abort_bbs()->丟好友下站水球->好友已下站(why?) ->顯示好友已下站"請按任意鍵繼續"->getch->發現斷線->abort_bbs() 2.use searched result in do_aloha instead of searching again in my_write() git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2271 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* unsetenv before daemon forkkcwu2004-10-201-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2269 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* strip none-big5 string in user's mindkcwu2004-10-181-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2262 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* strip none-big5 char in user's nickkcwu2004-10-161-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2257 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* strip IAC char in user's nickkcwu2004-10-161-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2254 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* show chess rating not only in debug modekcwu2004-10-161-0/+2
| | | | | | | let user set his attitude about talk/play with others git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2252 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Add __attribute__((__noreturn__)) for the abort functions.scw2004-10-121-0/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2243 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix last commit, forget to load rating into shmkcwu2004-10-081-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2229 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove unused uflag: MIND_FLAG, COLOR_FLAGvictor2004-10-061-1/+1
| | | | | | | disable chinese chess watching git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2224 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* merge back from branch victor.solarisvictor2004-09-101-20/+25
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2189 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* domain_name_query is changed to cidr formatvictor2004-09-031-17/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2176 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* GuEsT login to be case-insensitivevictor2004-08-251-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2166 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* debug goodpost & bad postptt2004-08-041-14/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2157 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Reverting revision 2098 and 2100. These make kernel panic due to out of swap.scw2004-06-291-20/+8
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2101 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Parse a little TELNET control string.scw2004-06-291-8/+20
| | | | | | | Support big screen on telnet connection. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2098 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Some functions in cache are never used in mbbsd.scw2004-06-281-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2094 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Add statistic program for angel.scw2004-06-201-1/+1
| | | | | | | fix some warning and add svn:keywords Id for several files. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2072 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* experiment on setting socket recving buffer size to 1kbkcwu2004-06-181-1/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2070 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* merge back from victor.screen branchvictor2004-06-121-2/+0
| | | | | | | remove showansi option git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2060 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* replace some prints() with outs(),kcwu2004-06-101-1/+1
| | | | | | | | | | | | replace some outs() with outc(), replace some fprintf() with fputs(), and so on. for performance. and don't treat user input as format string. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2055 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix compile error when PLAY_ANGLE undefinedkcwu2004-06-041-0/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2051 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use 'const' keyword to reduce 7904 bytes data segmentkcwu2004-06-041-2/+2
| | | | | | | from 9320 to 1416 git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2049 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* same typo #ifdef->#ifptt2004-05-301-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2039 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* typo #ifdef -> #if ptt2004-05-301-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2038 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* 1. send etc/foreign_expired_warn only when FOREIGN_REG_DAY > 0 for Ptt3ptt2004-05-271-1/+1
| | | | | | | | 2. fix build break from Angel git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2027 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Merge from scw.angel.scw2004-05-241-2/+18
| | | | | | | | *NOTE* Before running this revision, please read PttCurrent board at telnet://ptt.cc or http://scwg.wiki.ptt.cc/-Angel git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2014 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* s/\\n// foreach vmsg("xxx")victor2004-05-181-1/+1
| | | | | | | indent some code git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2000 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* in log_file(), use LOG_VF if need to vfprintf().in22004-05-031-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1921 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* change log_file()ptt2004-04-301-17/+3
| | | | | | | log_user() git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1889 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* a little bug fixedptt2004-04-241-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1834 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* reoragnize functions ptt2004-04-241-16/+2
| | | | | | | | | mprints, pprints -> mouts remove useless refresh, pressanykey(), sleep,... git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1833 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* for foreignerptt2004-04-241-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1831 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* integrate igetkey igetch egetchptt2004-04-241-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1828 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* debug of segfault on userlistptt2004-04-231-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1821 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* ugly outputvictor2004-04-211-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1801 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* revert cuser bug fixptt2004-04-211-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1800 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* revert cuser .... bug fixptt2004-04-211-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1799 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* revert cuser from pointer to buffer.ptt2004-04-211-81/+80
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1798 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1785 ↵Ptt.register@1785ptt2004-04-191-0/+1
| | | | 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix if cuser == NULLin22004-04-181-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1776 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* log user's formatptt2004-04-161-11/+11
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1770 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* \nvictor2004-04-161-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1767 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* wrong format in usiesvictor2004-04-141-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1757 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* passwd change backptt2004-04-071-1/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1715 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove unsigned int for moneyptt2004-04-071-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1711 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* check post perm on demandvictor2004-04-021-0/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1667 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* idelete the debug messageptt2004-04-011-9/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1660 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1659 ↵ptt2004-04-011-2/+9
| | | | 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* guest loginptt2004-04-011-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1657 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1656 ↵ptt2004-04-011-0/+1
| | | | 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix if cuser is NULLin22004-03-311-4/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1653 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* debug log_usiesptt2004-03-311-12/+13
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1650 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* refiningptt2004-03-311-1/+2
| | | | | | | | cuser & passwd_update git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1649 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove mmap of cuserptt2004-03-311-1/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1648 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* cuser debugptt2004-03-311-5/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1642 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add mmap to cuser get ride of passwd_updateptt2004-03-311-92/+81
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1640 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* faster passwd by lower the lseek.ptt2004-03-301-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1627 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Fix bug when .boardrc full.scw2004-03-281-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1619 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* delay init_brdbufin22004-03-271-3/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1613 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1586 ↵ptt2004-03-121-0/+8
| | | | 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* NO_SYSOP_ACCOUNTin22004-03-081-0/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1581 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* let no PERM_LOGIN user read the mail before fill the register form.victor2004-03-021-3/+3
| | | | | | | dont check length of nick, address, blahblah every time. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1576 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Reduce file I/O on .boardrcscw2004-02-121-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1529 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* warning freein22004-02-091-0/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1520 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add some comments for ofo water mode.in22004-01-161-4/+27
| | | | | | | set nkwbd default to 5, 5 git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1484 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* follow the prottype of lib, change GB_CONVERT to CONVERTvictor2004-01-121-4/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1482 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* dirty hack for OVERLOADBLOCKFDSin22004-01-121-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1481 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* OVERLOADBLOCKFDSin22004-01-091-7/+26
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1477 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* support utf8 convertion, but still buggyvictor2004-01-031-3/+15
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1456 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix compile error if not define NOKILLWATERBALLin22004-01-031-1/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1451 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix race in write_request()in22004-01-021-16/+20
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1449 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* NOKILLWATERBALL: dirty hackin22004-01-021-0/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1448 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* NOKILLWATERBALL: fix bug?in22004-01-021-20/+8
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1447 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* NOKILLWATERBALL done.in22004-01-011-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1442 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* NOKILLWATERBALL,in22004-01-011-1/+6
| | | | | | | | | | | do NOT kill(2) the process after sending a waterball, and check if there exists a waterball before read(2) from socket. this code is under testing and may have some bugs. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1441 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bugin22003-12-221-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1424 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* missing commitvictor2003-12-221-14/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1423 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix Ptt_prints bugvictor2003-12-221-4/+14
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1422 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use open() instead of fopen() in log_file()in22003-12-071-5/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1405 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use rfork()in22003-12-041-0/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1394 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* #ifdef ASSESSvictor2003-12-021-0/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1388 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix assess, it may be rewritenvictor2003-12-011-0/+10
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1385 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* 1.#ifdef GQ_CONVERTvictor2003-11-281-2/+9
| | | | | | | 2.add info to FAQ git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1380 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* merge gb branch backvictor2003-11-281-2/+14
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1379 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* dont mkdir for each loginvictor2003-10-301-4/+14
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1277 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* code clean upkcwu2003-09-101-42/+27
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1174 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix the bug with wrong length of fromhostvictor2003-09-101-4/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1173 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* merge from my branchvictor2003-09-091-1/+1
| | | | | | | | | merge chc_*.c to chc.c merge gomo1.c into gomo.c add new feature to chc git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1171 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* admin.c: multiple reason for rejectionvictor2003-09-091-61/+95
| | | | | | | mbbsd.c: change the sequence of some action git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1169 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* clean upkcwu2003-09-071-6/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1166 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix my problem @@victor2003-09-011-3/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1147 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* mbbsd.c for SSH_CLIENTvictor2003-09-011-1/+14
| | | | | | | user.c for passwd_update when changing the habit git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1146 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* wrong spell and missing :Pvictor2003-08-281-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1135 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* It's not necessary to reload friend and eject list at the same time.victor2003-08-281-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1134 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove necessary control code in water login22003-08-041-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1081 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* merge from MergeCachein22003-07-201-7/+10
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@1065 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* reduce SHM size(remove realname)in22003-07-171-4/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@1054 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* count #Welcomes in account to SHM instead of mbbsd.cin22003-07-051-14/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@1029 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* undo 1.85in22003-06-271-7/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@979 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* unset SSH_CLIENT env variable in daemon modekcwu2003-06-261-1/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@974 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* give warning prompt when user use insecure(non-ssh) connectionkcwu2003-06-261-2/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@973 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* clean upkcwu2003-06-261-13/+8
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@970 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* comments for having login error login22003-06-171-5/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@941 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* warning freein22003-05-221-3/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@886 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* :pbbs2003-05-201-9/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@885 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* search_ulist_userid()bbs2003-05-201-1/+8
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@884 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* warning freein22003-05-181-4/+8
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@863 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix foreignvictor2003-05-161-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@852 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* renamevictor2003-05-121-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@842 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* last commit errvictor2003-05-111-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@835 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* ifdef-else-endif :Qbbs2003-05-111-1/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@834 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use another clear bits -_-victor2003-05-091-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@830 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix last commit bugvictor2003-05-091-8/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@829 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* foreigner identificationvictor2003-05-091-1/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@828 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* open /dev/null to fd:2 (stderr)in22003-04-141-2/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@790 63ad8ddf-47c3-0310-b6dd-a9e9d9715204