summaryrefslogtreecommitdiffstats
path: root/mbbsd
Commit message (Collapse)AuthorAgeFilesLines
* - bbslua: add more APIpiaip2008-01-063-6/+79
| | | | | | | | - cache: add getutmpmode() - othellow: quick exit git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3798 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - mail: prevent false alerts more carefullypiaip2008-01-065-33/+96
| | | | | | | | | - pfterm: add getmaxyx - bbslua: change format detection and API refine - var/mode: string fix git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3796 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix potential exploits (reported by kcwu)piaip2008-01-053-4/+23
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3795 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - bbslua: fix tail issue, general refinepiaip2008-01-051-15/+60
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3794 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - bbslua: fixed compilation error if not using BBS-Luapiaip2008-01-052-2/+4
| | | | | | | | - bbslua: fix key names - sample conf: add description for guest dbcs intresc option git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3793 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
* - add BBSLUA mode for utmppiaip2008-01-052-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3790 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - bbslua: add detection of buffer, and enable 'P' in pmore to start bbsluapiaip2008-01-053-21/+136
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3789 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - io: add more control APIpiaip2008-01-052-5/+169
| | | | | | | - bbslua: enable system break git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3788 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - admin/reg: fix offset by one on rejectionpiaip2008-01-051-6/+10
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3787 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - BBS-Lua project: Extend BBS by Lua scripting language.piaip2008-01-042-0/+247
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3786 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - pfterm/screen: add more ncurses like API (add*)piaip2008-01-042-0/+75
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3785 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - xyz: show userplan for mailing sysopspiaip2008-01-041-1/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3784 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - comments: better not use Ctrl-O as hotkey. UNIX does not send ^O by default.piaip2008-01-043-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3783 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix bid issuepiaip2008-01-041-13/+23
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3782 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - mail: enable 'v' for 'readall'piaip2008-01-031-7/+72
| | | | | | | | - mail: make check range as constant definition - mail: refresh mail usage count after delete git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3781 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - pfterm: fix TAB calculationpiaip2008-01-031-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3780 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - pmore: move ChessReplay (z) to outside.piaip2008-01-033-16/+30
| | | | | | | - bbs: use 'now' to prevent time() system call. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3779 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - re-enable sysop-edit in article list modepiaip2008-01-033-61/+69
| | | | | | | - move sysop-edit log to more instead of pmore body git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3778 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
* - general fix of some messagespiaip2008-01-024-12/+28
| | | | | | | | - improve Makefile more - prevent broken Welcome git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3776 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* reorder Makefile, move common modules to topwens2008-01-021-18/+13
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3775 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use emaildb interface in user registerwens2008-01-022-4/+34
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3774 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - refine Makefile to fit conditional compile in a better waypiaip2008-01-021-4/+21
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3773 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* New email database interface for restricting how many registered ids per ↵wens2008-01-021-0/+92
| | | | | | email. (uses sqlite) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3772 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - in the name of secure, let's remove the evil escape that reveals user piaip2008-01-022-27/+24
| | | | | | | information - **b (birthday) and **m (money). git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3771 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - make Test as macro namepiaip2008-01-023-8/+12
| | | | | | | - general message update and finetune git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3770 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - pfterm: fix TAB behaviorpiaip2008-01-021-3/+10
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3769 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix display error piaip2008-01-011-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3768 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - better flush/synchronization flowpiaip2007-12-313-3/+11
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3767 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - pfterm: workaround NetTerm/PacketSite bold attribute issuepiaip2007-12-311-16/+71
| | | | | | | | - pfterm: improve DBCS stack and do rawmove after C1 control codes (used by Big5-UAO PUA) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3766 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - modify file size limitation controlpiaip2007-12-303-19/+72
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3765 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - more check for TagNumpiaip2007-12-302-3/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3764 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - prevent possible bug to create unlimited huge filepiaip2007-12-302-37/+60
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3763 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - edit: add hard limitation of size and linespiaip2007-12-301-16/+60
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3762 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - pfterm: maximize reset() to be friendly to non-default fg terminalspiaip2007-12-292-4/+6
| | | | | | | - stuff: remove unknown ANSI git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3761 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - pfterm: optimize chattr, and improve display for those who set special piaip2007-12-291-2/+12
| | | | | | | color for default. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3760 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore - skip warn when playing first pagepiaip2007-12-291-3/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3759 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - pmore: relax the movement message in movie playing modepiaip2007-12-291-6/+15
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3758 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - pmore: enable warning messages for movie playingpiaip2007-12-292-1/+18
| | | | | | | - pfterm: fix chattr optimization for background attr change git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3757 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - remove unused variables and clean deprecated codepiaip2007-12-291-66/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3756 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - pfterm: prefer "reset" better than "change bg attr to black".piaip2007-12-291-1/+8
| | | | | | | - pfterm: add compatablity document git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3755 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix announce crash bugs (reason: entering a_menu may have different board piaip2007-12-295-43/+93
| | | | | | | than currbid/currboard.) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3754 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - general message updatepiaip2007-12-294-14/+22
| | | | | | | - modify menu permissions git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3753 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix display error when user input wrong value in email address (reported ↵piaip2007-12-291-1/+2
| | | | | | by watch @ ptt1) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3752 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - pmore: warning for ANSI move commands in contentpiaip2007-12-291-0/+11
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3751 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix reg screen display error, reported by watch@PttBugpiaip2007-12-291-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3750 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - allow all non-guest user to use myfav (PERM_BASIC)piaip2007-12-285-206/+244
| | | | | | | - 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
* - pfterm: configuration to workaround very poor terms which do not allow ↵piaip2007-12-271-1/+19
| | | | | | omitting ANSI 2-param commands like ESC[mH. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3747 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - assess: apply real MAXGPpiaip2007-12-263-5/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3746 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - remove terminal workarounds if we use pftermpiaip2007-12-261-0/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3745 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
* -pfterm: FTCROW/FTAROW works with ft.y, not ft.ry. Never use them in ↵piaip2007-12-251-5/+7
| | | | | | refresh() internal loop. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3743 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* -pfterm: reprint should compare "current attribute" instead of "old piaip2007-12-251-2/+2
| | | | | | | attribute". git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3742 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - gp auto fix: update display attribute error and msg logicpiaip2007-12-251-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3741 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - mbbsd: redraw on display changepiaip2007-12-252-3/+9
| | | | | | | - bbs: workaround clrtoln bug in screen.c git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3740 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - add 'good post auto recovery' toolpiaip2007-12-252-0/+204
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3739 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - pmore: fix: interactive+topions movies may use option bar attribute piaip2007-12-251-0/+1
| | | | | | | for content. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3738 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - hide register menu option for registered userspiaip2007-12-243-35/+45
| | | | | | | - integrate calendar editing into calendar itself git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3736 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pfterm: piaip2007-12-241-96/+216
| | | | | | | | | | - add endwin() to shutdown and free resource. - prevent initial zeros. - better prediction on move. - enable reprint optimization git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3735 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - redrawin() changed to 'invalid only' and will take change at next refreshpiaip2007-12-244-3/+13
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3734 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - pfterm: fix init zeros, change MOVE avg lengthpiaip2007-12-241-30/+61
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3733 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - clean unused codekcwu2007-12-231-12/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3732 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - Makefile to enable pfterm in your environment.piaip2007-12-231-1/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3731 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - pfterm: piaip's flat terminal system, aka then "Perfect Term".piaip2007-12-231-0/+2031
| | | | | | | | | | | | "A revolution of BBS output system." "The most important upgrade for a decade." "pfterm is the ultimate solution!" git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3730 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - add Q and improve return value definition in pagerpiaip2007-12-232-4/+17
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3729 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - compact AID query UIpiaip2007-12-231-14/+10
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3728 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - talk: fix unerased buffer (after scroll/new page)piaip2007-12-221-18/+58
| | | | | | | - talk: fix dbcs display error (reason: incomplete dbcs string) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3727 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* -general message refinepiaip2007-12-225-14/+40
| | | | | | | -telnet send brk can toggle printing raw output in DBG_OUTRPT mode git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3726 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - term: don't do too much thing in resizepiaip2007-12-222-11/+1
| | | | | | | - talk: change variable order to git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3725 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - change configuration macro namespiaip2007-12-222-4/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3724 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix wrong buffer length in inansistr() piaip2007-12-221-0/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3723 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - change big_picture to inansistr() api.piaip2007-12-224-10/+29
| | | | | | | - pmore: also disable scrolling for traditional movies git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3722 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Birthday is gone...victor2007-12-221-1/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3721 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - refresh screen after changing window sizepiaip2007-12-213-5/+22
| | | | | | | - fix getdata() clrtoeol issue git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3720 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - add outstr() to output complete (DBCS-aware) non-ANSI string ↵piaip2007-12-211-0/+10
| | | | | | (non-functional in old screen but works in pfterm) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3719 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Happy birthday, kcwu & rafan!! :Dvictor2007-12-211-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3718 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - change screen APIs to ncurses-like namespiaip2007-12-2114-47/+79
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3717 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - talk: big_picture free version, prepared for pftermpiaip2007-12-214-124/+174
| | | | | | | - chess family: check the exisitance of big_picture. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3716 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - disable ^T over pause - modern terms already can do so. piaip2007-12-211-39/+8
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3715 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* -remove standout() API, prepare for pftermpiaip2007-12-202-232/+163
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3714 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - grayout: API change, from [y,end) to [y,end]piaip2007-12-207-46/+28
| | | | | | | | - feature names change: now HAVE_GRAYOUT - edit ask() changed to vmsg to prevent standout() git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3713 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - optimize output: prepare for pftermpiaip2007-12-202-4/+20
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3712 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - io: EXP_OUTRPT report total and sessioned output bytes, for evaluation of ↵piaip2007-12-201-9/+26
| | | | | | terminal system performance git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3711 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - isolate low level termial i/o api calls, prepare for pfterm piaip2007-12-193-129/+121
| | | | | | | (piaip's flat terminal system) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3710 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - better range checking on time_4tpiaip2007-12-191-1/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3709 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - disable vice tickets < specific numberpiaip2007-12-191-13/+15
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3708 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - exp: edit/upload now enabled for special boardspiaip2007-12-192-20/+38
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3707 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Fix 32/64-bit problem.mhsin2007-12-181-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3706 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Revert r3704 and add saturation check for gettime().mhsin2007-12-181-8/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3705 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix signed time4_t limitationpiaip2007-12-181-1/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3704 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * Enhanced AID query UI.mhsin2007-12-173-38/+68
| | | | | | | * Use aidu_t(uint64_t) for AIDus. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3703 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* edit: exp - upload filepiaip2007-12-172-2/+83
| | | | | | | screen/grayout: add bold out option (-1) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3702 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - add "fix aloha" for userspiaip2007-12-173-15/+61
| | | | | | | - general message finetune git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3701 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * Add Article IDentification System(AIDS)mhsin2007-12-173-8/+324
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3700 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix recommends update cache and good_post relationpiaip2007-12-171-7/+13
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3699 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - general message update and optimizationpiaip2007-12-1710-58/+51
| | | | | | | - change search_num() to getdata(), allow unified control git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3698 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - optimize big I formatting piaip2007-12-173-143/+89
| | | | | | | - disable mail pre-check permission until someone fix it git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3697 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - move more BM management keys to integrated b_configpiaip2007-12-162-198/+199
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3696 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - prepare to remove chicken-pkpiaip2007-12-163-15/+34
| | | | | | | - menu string update git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3695 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - prepare for text-only editingpiaip2007-12-162-15/+98
| | | | | | | - message update for modified post git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3694 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix bug "good post dropped if user online"piaip2007-12-162-0/+14
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3693 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix b_config lines calculationpiaip2007-12-161-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3692 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - uncaching escape failed again... disable now.piaip2007-12-161-0/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3691 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* general message fix:piaip2007-12-162-9/+27
| | | | | | | | - report board postmask info in b_config - reduce message bar for pager status git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3690 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - ignore bottom for recommending in special modespiaip2007-12-162-5/+6
| | | | | | | - general message fix git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3689 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - disable interupting ANSI inside DBCS characters (for UTF-8 or piaip2007-12-162-2/+28
| | | | | | | non-DBCS clients) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3688 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - better method to uncache ANSI escapespiaip2007-12-161-2/+21
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3687 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - revert uncaching of ANSI escapes: need more tricks to finish it.piaip2007-12-161-2/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3686 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - general message fixpiaip2007-12-164-57/+71
| | | | | | | | | - screen: force dirty of ANSI escapes - bbs: isolate the process of making 'modification' to .DIR with recommends and edit_post. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3685 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - enable cross-post requirement if AUTO_CPLOG onpiaip2007-12-152-14/+40
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3684 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - unify processing clock variable 'now'piaip2007-12-153-17/+21
| | | | | | | - pmore: support time refresh git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3683 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix typo (reported by watch.bbs@ptt.cc)piaip2007-12-151-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3682 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - crosspost: better logic to anti crosspost spammerspiaip2007-12-151-33/+90
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3681 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - isolate telnet protocol. moved from mbbsd.cpiaip2007-12-133-322/+340
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3679 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix compile errorkcwu2007-12-121-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3674 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * extract common functions as library.kcwu2007-12-1217-851/+37
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3673 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * revise codekcwu2007-12-125-9/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3670 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * remove unused codekcwu2007-12-121-582/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3669 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (msg) fix backslash in stringpiaip2007-12-112-245/+261
| | | | | | | | - hints recommending in non-conditional .DIR - move b_config from bbs.c to board.c git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3668 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - change hard coded .DIR to macro definitionspiaip2007-12-117-11/+10
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3667 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - cross_post crash: better workaround. still waiting someone to fix it.piaip2007-12-111-2/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3666 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - edit_post/smartmerge: use fnv hash instead of external MD5.piaip2007-12-111-16/+60
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3665 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - search: fix wrong modification (should be file name part)piaip2007-12-111-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3664 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - search: must update SR name to match new DBCS aware searchpiaip2007-12-112-2/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3663 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* improved dbcs_strcasestrpiaip2007-12-101-0/+47
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3662 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* edit_post: add Smart Mergepiaip2007-12-101-5/+131
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3661 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - hinting outposts may not receive recommendationspiaip2007-12-091-16/+22
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3660 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - getdata: offset-by-one in input field with ANSIpiaip2007-12-091-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3659 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - quote ASSESS features with #ifdefpiaip2007-12-092-6/+12
| | | | | | | | - fix truncated ADM prompt thanks to watch.bbs@ptt.cc git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3658 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - pmore: prevent scrolling to end after aborting movie playbackpiaip2007-12-091-5/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3657 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* b_config: fix const errorpiaip2007-12-091-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3655 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: help updatepiaip2007-12-091-7/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3654 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - better decision of modified markspiaip2007-12-081-41/+43
| | | | | | | - artwork for big I (board conf) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3653 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* help file: fix alignment due to backslashpiaip2007-12-081-1/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3652 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: quick raw-mode pref for beloved backslashpiaip2007-12-081-29/+109
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3651 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - change money name to macro for better isolationpiaip2007-12-088-38/+40
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3650 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - change hard-coded board names to definespiaip2007-12-079-20/+21
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3649 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* digest: fixed "user can post at first time entering digest",piaip2007-12-072-5/+8
| | | | | | | reported by flyworldhan@PttCurrent git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3648 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: fix ^LG random selectionpiaip2007-12-071-0/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3647 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* artwork: better grayout for big-Ipiaip2007-12-071-4/+13
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3646 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - pmore: fixed partial matching for named framespiaip2007-12-061-0/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3645 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - allow 5 digits in board selection, since Ptt1/2 are both having 10k+ piaip2007-12-051-67/+52
| | | | | | | boards git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3643 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - grayout: must process scroll linespiaip2007-12-052-4/+12
| | | | | | | - pmore: everyone loves backslash, keep it. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3642 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - grayout: check potential (almost impossible) buffer overflowpiaip2007-12-053-12/+41
| | | | | | | | - pmore: fix message error - mail: better explain of waterlog re-arrange usage help git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3641 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - definition and macro fix after sync with PTT1piaip2007-12-051-4/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3640 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - enable board for artwork againpiaip2007-12-051-6/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3639 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - add some grayout effects, and general code improvementpiaip2007-12-056-22/+22
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3638 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* screen: add grayout systempiaip2007-12-052-1/+64
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3637 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: message abstraction for localizationpiaip2007-12-051-22/+63
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3636 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* getans: reduce buffer to reflect its naturepiaip2007-12-052-8/+16
| | | | | | | editpost: better hints for user to understand our recovery feature git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3635 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: anti XXMan DBCS detection, improve Windows telnet portabilitypiaip2007-12-051-9/+10
| | | | | | | (both caused by line end processing) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3634 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* bbs: if reply() failed, also needs screen update.piaip2007-12-051-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3633 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: new preference configpiaip2007-12-051-148/+180
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3632 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fixed N in userlist forgetting to initialize user nickname.piaip2007-12-051-4/+14
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3631 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - general refine and improvement, fixing messagespiaip2007-12-053-14/+20
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3630 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - move hard-coded board names to pttbbs.conf.piaip2007-12-057-15/+26
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3629 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - general code refine: remove all hard-coded "Ptt" message string and wens2007-12-0513-65/+77
| | | | | | | use macro BBSMNAME/BBSMNAME2 instead git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3628 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - pmore: add random for goto piaip2007-12-041-1/+21
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3627 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - pmore interactive: support both BS (0x7f, ^H) and 6 function nav keyspiaip2007-12-041-17/+32
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3626 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - add option to support both coloured and symboled modification mark (~ and +)piaip2007-12-043-7/+30
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3625 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - pmore: enable more named keys (@b, @h, @e)piaip2007-12-041-14/+33
| | | | | | | - pmore: extend @all to both ^LK# and ^L# (in the name @a) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3624 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - code refine: remove warnings and conditional compilepiaip2007-12-043-1/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3623 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* artwork fixpiaip2007-12-032-9/+11
| | | | | | | | - pmore: fixed non-ascii options being dropped - bbs: rollback modified mark to ~ git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3621 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - pmore: artwork for interation optionspiaip2007-12-031-25/+88
| | | | | | | - pmore: add % as recommend (compatible with m3 scoring key) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3620 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - brcv3: change the "modified" mark to grayed mark.piaip2007-12-031-14/+40
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3619 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - security hole: after BM quoting files from other board, they can editpiaip2007-12-031-3/+21
| | | | | | | | list of other boards. Also introducted privacy issue. - Unless someone defineds clear rule, we disable this function for BMs first. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3618 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - vote: fixed newer boards (bid>32767) cannot vote, due to using short for bid.piaip2007-12-031-114/+9
| | | | | | | also removed useless code git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3617 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - BRC v3: process special files better (which may sharepiaip2007-12-021-2/+16
| | | | | | | same create time with others and applying different modify time) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3616 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* BRV v3: update modified logicpiaip2007-12-022-10/+29
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3614 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
* - brcV3: fixed v2 conversion error (v2 may truncate board information)piaip2007-12-021-2/+13
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3612 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - BRC v3: MAX brc size may be overriden by config.h.piaip2007-12-021-1/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3611 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - brc v3 update: ptt2's MAX_BOAORD reached uint16 limitation,piaip2007-12-021-6/+12
| | | | | | | so expand board size at same time for brc v3. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3610 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix brc v2->v3 migration bugpiaip2007-12-021-0/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3609 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* *** IMPORTANT CHANGE ***piaip2007-12-023-166/+194
| | | | | | | | | | | | BRC v3, supporting local modification THINK TWICE BEFORE YOU APPLY TO YOUR SYSTEM. BRC v3 will double size of BRC v2. BRC v3 can allow notifying changes of comment (recommend) system BRC v3 may cause more syscall activities than v2 git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3608 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - shell execute: safer (just commiting ptt2 local modification, piaip2007-12-021-3/+8
| | | | | | | not sure who wrote this - thanks!) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3607 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - pmore: add named input (@u/d/l/r) and special mask set (@all)piaip2007-12-011-11/+76
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3606 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - rollback recommend system with author self-recommending.piaip2007-12-011-3/+15
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3605 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - pmore: add named frame (:name:) supportpiaip2007-12-011-12/+64
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3604 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - sync ptt2 local modification piaip2007-12-014-80/+139
| | | | | | | | - refine post/vote restriction magic code - color in making recommend git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3603 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - add move_ansi() to support moving to lines with prior ANSI code.piaip2007-12-015-26/+101
| | | | | | | - general improvement git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3602 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - board: override fix r3600 (y fix)piaip2007-12-011-2/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3601 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - board: fix: (x,y) ordering error.piaip2007-12-011-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3600 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* General Update by PttSuggest:piaip2007-12-015-24/+69
| | | | | | | | | | | - '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
* - edit: remove blockpnt (character level selection)piaip2007-12-011-148/+102
| | | | | | | | - edit: fixed offset-by-one (line) in block delete - edit: cancel selection (block) for every line change git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3598 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - pmore: fixed frame offset-by-one error in ^LGpiaip2007-12-011-13/+38
| | | | | | | - pmore: better interactive mode detection git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3597 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - edit.c: enable syntax highlight for pmore movie.piaip2007-11-302-104/+148
| | | | | | | | - edit.c: prepare for better attributed edit_outs - pmore.c: export movie frame header parser git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3596 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - pmore: fix continue offset-by-one in K##piaip2007-11-301-1/+12
| | | | | | | - pmore: unmask keys in options interation git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3595 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - pmore: add timed and invisible options to interactionpiaip2007-11-301-49/+128
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3594 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - pmore: better GOTO implementationpiaip2007-11-301-102/+220
| | | | | | | | - pmore: preserve interation keys (K#..#) - pmore: improve interation processing git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3593 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: add GOTO, fix P/L in offset command, add default interactive keypiaip2007-11-301-110/+122
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3592 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - pmore: complete the execution of option commandpiaip2007-11-281-3/+157
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3591 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - pmore.c: improve clrtoeol() workaround.piaip2007-11-281-29/+162
| | | | | | | - pmore.c: add 'option' handler git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3590 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - pmore: add pausepiaip2007-11-281-16/+123
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3589 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* 1. fix buffer overflow.piaip2007-11-271-9/+65
| | | | | | | | 2. better hiding control codes. 3. add more control code format git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3588 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Escape from being watched when playing info is NULLscw2007-11-041-2/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3587 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * save memory, NameList is more like STL's vector nowkcwu2007-10-175-6/+12
| | | | | | | | * fix corner case of fav bug * code revise git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3585 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Use fency game board in GO and GOMOKUscw2007-10-032-14/+14
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3582 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * eliminate warnings according to lxb's commit on pttbbslitekcwu2007-10-016-49/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3581 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix previous revisionvictor2007-09-291-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3580 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* grant some admin permission to tag boardvictor2007-09-291-1/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3579 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix r3571kcwu2007-09-251-1/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3578 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix typokcwu2007-09-251-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3577 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix crash if BM range-delete his mail after he enter his board.kcwu2007-09-251-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3576 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * don't allow reenter mail, otherwise may cause many problems.kcwu2007-09-251-2/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3575 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * remove rare used feature.kcwu2007-09-241-13/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3574 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix r3571kcwu2007-09-231-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3573 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix warnings.kcwu2007-09-231-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3572 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * revise code for entering board.kcwu2007-09-234-41/+66
| | | | | | | * fix board permission. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3571 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Delay when give money.kcwu2007-09-231-0/+7
| | | | | | | The give-tax design is stupid, which make user tend to flood server. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3570 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix compile warnings.kcwu2007-09-231-6/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3569 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix error of handling empty nbrdvictor2007-09-221-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3568 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix bug: skip bad date format.kcwu2007-09-211-0/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3565 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix bug: don't getdata() on non-local variable directly, to avoid ↵kcwu2007-09-216-25/+41
| | | | | | reentrant crash. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3564 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * remove unnecessary featurekcwu2007-09-211-28/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3563 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
* * deny recommend in short time if article is longkcwu2007-09-201-0/+20
| | | | | | | * deny recommend if article is too long git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3561 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * adjust OBUFSIZE according observation.kcwu2007-09-201-1/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3560 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * revise Makefilekcwu2007-09-201-8/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3559 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix crash bug: race condition between idle and talk interrupt.kcwu2007-09-201-14/+15
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3558 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix access violation.kcwu2007-09-201-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3557 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Add 'L' in board announce to reset chess country datascw2007-07-121-0/+74
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3550 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Not permitting edit posts in Security board from pmore.scw2007-07-091-1/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3549 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix comment typokcwu2007-06-191-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3547 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * revise code.kcwu2007-06-194-9/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3546 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * use strtok_r() instead of strtok(). fix bad strtok() usages.kcwu2007-06-1915-40/+70
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3545 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * Fix last brc revise, which makes brc_currbid and currbid inconsistent. kcwu2007-06-191-3/+14
| | | | | | | | * Now brc could save brc_buf to disk temporary and load back. Need to trade off between memory and disk i/o. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3544 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* ctime4() instead of ctime()scw2007-06-171-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3543 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* revise brc interface and its document.kcwu2007-06-124-67/+112
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3542 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* ignore fav if load failed.kcwu2007-06-111-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3541 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* ignore fav if load failed.kcwu2007-06-101-4/+34
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3540 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* code clean upkcwu2007-06-102-15/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3538 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Log angel changing action and report every weekscw2007-06-041-0/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3532 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Add 'I' instruction hint when user does not meet regtime limitscw2007-06-044-7/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3531 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * delete dead code.kcwu2007-06-021-6/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3530 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * don't output progress bar when sync data with utmpserver since it isn't ↵kcwu2007-06-021-21/+0
| | | | | | slow anymore. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3528 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix racing bug for giving money.kcwu2007-06-021-3/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3527 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Reversi show current # of chess in chess instead of "black" or "white"scw2007-06-011-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3526 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Fix chess undo incorrectly set info->turnscw2007-06-011-2/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3525 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Reversi (multiplayer othello) addedscw2007-05-308-27/+558
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3523 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* sigmask properly when leaving chessscw2007-05-301-11/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3522 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Chess signal remasking before setting handlerscw2007-05-281-2/+11
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3521 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Allowing denying being watched when playing chess.scw2007-05-281-1/+8
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3520 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * hack dietlibc's allocator. release small block to OS.kcwu2007-05-273-0/+32
| | | | | | | | | | * allocation behavior dirty hack for dietlibc. Avoid allocate 64byte slot, use 128byte slot instead. Thus, they share same memory block. * save about 400mb for ptt. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3519 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * import dietlibc's allocator.kcwu2007-05-272-1/+237
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3518 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * rewrite namecomplete2. Avoid small allocation, e.g. linked list, kcwu2007-05-272-6/+282
| | | | | | | | since some allocator, e.g. dielibc, may not return memory to OS. This saves about 1gb memory for ptt. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3517 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
* Clear bufferscw2007-05-231-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3515 63ad8ddf-47c3-0310-b6dd-a9e9d9715204