summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* - bbslua: add default value for getdata, add LatestRefpiaip2008-01-141-23/+132
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3835 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - bbs: add title for AID displaypiaip2008-01-147-18/+102
| | | | | | | | | | - xyz: prevent mmap crash for note_ans - pfterm/screen: add getyx_ansi - fav: add ASKBOARD to new account default favs - record: add setaidfile() git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3834 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - edit: simple Lua syntax highlightpiaip2008-01-141-14/+123
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3833 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - enable ncurses 'typeahead' APIpiaip2008-01-134-8/+66
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3832 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - bbslua: minor revisekcwu2008-01-131-6/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3831 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix warnings.kcwu2008-01-131-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3830 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix warnings, eol-stylekcwu2008-01-131-21/+21
| | | | | | | | - bbslua: fix "sitename" - bbslua: fix strip_ansi if argument more than 1 git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3829 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - Makefile: identify objects in more detailpiaip2008-01-121-9/+12
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3828 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - bbslua: fixed bbs.clock() calculation on win32 portpiaip2008-01-121-6/+12
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3827 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - bbslua: limit lua memory usage.kcwu2008-01-121-5/+49
| | | | | | | - bbslua: revise bl_strip_ansi memory allocation code. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3826 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - io/getdata: close buffer piaip2008-01-121-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3825 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - chicken: stop making political petspiaip2008-01-121-2/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3824 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - license text updatepiaip2008-01-123-10/+48
| | | | | | | | - pmore: change lua hotkey to L - bbslua: don't grayout at exit git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3823 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - bbslua/pfterm: Add Win32 portingpiaip2008-01-122-28/+136
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3822 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - bbslua: correct line number in file.kcwu2008-01-111-3/+38
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3821 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - chicken: disable sellingpiaip2008-01-113-71/+6
| | | | | | | | - menu: fix 80-width titles - bbslua: return empty string instead of nil for getdata() git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3820 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - enable t_column width of content.piaip2008-01-111-5/+12
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3819 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - bbslua: enable ^C to break <workaround>piaip2008-01-112-15/+73
| | | | | | | - TODO: enable ungetch() someday. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3818 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - screen: fix compilation error, reported on watch@PttBugpiaip2008-01-111-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3817 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - xchatd: prevent ignored users flood by entering/leaving chatroomspiaip2008-01-101-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3816 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - bbslua: add new toc display/compatibility warning and 0.113 APIpiaip2008-01-102-70/+215
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3815 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - pfterm: fix previous patchset - x forgot to increasepiaip2008-01-101-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3814 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - pfterm: handle X position better.piaip2008-01-101-16/+11
| | | | | | | | warning: \n at eol (>=cols) will now create one blank line. such case should be handled by pager, not terminal system. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3813 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - terminal: add newwin()piaip2008-01-103-8/+62
| | | | | | | - pfterm: fix some bounadry checkings of x range git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3812 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - pmore: disable massive scroll for smooth output in pftermpiaip2008-01-102-28/+12
| | | | | | | | - 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-103-5/+40
| | | | | | | | - 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
* - bbslua: fixed: pause() return integer (should be string)piaip2008-01-081-8/+13
| | | | | | | - bbslua: fixed: bbs.color() should reset color git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3809 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - pmore: try to prevent munmap crash issuepiaip2008-01-082-10/+29
| | | | | | | - cache: skip DEBUGSLEEPING process git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3808 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - bbslua: fix corrupted coroutinepiaip2008-01-081-21/+39
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3807 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - refine limit edit sourcepiaip2008-01-082-107/+118
| | | | | | | - move M (maintain vote) to integrated board config git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3806 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - since there's nothing to use for non-reg-ok users in menu 'P', disable it.piaip2008-01-071-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3805 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - term: add doupdate() to force refresh even if input queue is not emptypiaip2008-01-075-17/+27
| | | | | | | | - menu: disable talk/chat for non-reg-ok user - bbslua: change bbs.refresh() to doupdate() git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3804 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - bbslua: add TOC infopiaip2008-01-071-17/+127
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3803 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - bbslua: add version infopiaip2008-01-072-34/+62
| | | | | | | - Makefile: workaround FreeBSD env git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3802 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - bbs: enhance title editingpiaip2008-01-073-9/+189
| | | | | | | | - bbslua: add more APIs, fix svn prop - bbsluaext: put non-standard modules in our framework git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3801 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - bbslua: enable bbs:clock()piaip2008-01-061-7/+38
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3800 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fixed: peek_input keeps waiting for new input. (due to buf control)piaip2008-01-064-14/+21
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3799 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - bbslua: add more APIpiaip2008-01-064-6/+80
| | | | | | | | - cache: add getutmpmode() - othellow: quick exit git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3798 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - display userid in xchatd (to prevent spammers, reported by PttSuggest)piaip2008-01-061-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3797 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - mail: prevent false alerts more carefullypiaip2008-01-067-35/+99
| | | | | | | | | - 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-053-2/+8
| | | | | | | | - 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-053-4/+5
| | | | 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-054-21/+137
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3789 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - io: add more control APIpiaip2008-01-053-5/+172
| | | | | | | - 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-043-0/+250
| | | | 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-042-13/+27
| | | | 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-034-20/+35
| | | | | | | - 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-035-64/+73
| | | | | | | - 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-032-2/+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-024-4/+43
| | | | 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-027-8/+25
| | | | | | | - 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-314-6/+18
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3767 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - pfterm: workaround NetTerm/PacketSite bold attribute issuepiaip2007-12-312-17/+75
| | | | | | | | - 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-304-19/+73
| | | | 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-293-5/+11
| | | | | | | - 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-292-1/+68
| | | | | | | - 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-297-52/+96
| | | | | | | 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
* - fix definition errorpiaip2007-12-281-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3749 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - allow all non-guest user to use myfav (PERM_BASIC)piaip2007-12-288-207/+252
| | | | | | | - 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
* - add MENU_UNREGONLY definitionpiaip2007-12-251-0/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3737 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-242-99/+220
| | | | | | | | | | - 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-245-3/+15
| | | | 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-232-44/+2
| | | | 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-232-0/+2203
| | | | | | | | | | | | "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-233-4/+23
| | | | 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-223-5/+9
| | | | 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-212-1/+12
| | | | | | (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-2115-64/+101
| | | | 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-209-48/+36
| | | | | | | | - 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-194-153/+140
| | | | | | | (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-193-13/+22
| | | | 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-195-21/+54
| | | | 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-175-44/+79
| | | | | | | * 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-175-20/+66
| | | | | | | - 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-176-8/+421
| | | | 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-172-8/+15
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3699 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - general message update and optimizationpiaip2007-12-1711-58/+52
| | | | | | | - 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-163-15/+99
| | | | | | | - 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-163-15/+17
| | | | 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-165-4/+98
| | | | | | | 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-154-17/+22
| | | | | | | - 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
* * add empty install target for libskcwu2007-12-132-0/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3680 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - isolate telnet protocol. moved from mbbsd.cpiaip2007-12-134-324/+344
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3679 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* svn property set: set all files as mime-type: Big5 encodingpiaip2007-12-130-0/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3678 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - docs: add pmore movie system manualpiaip2007-12-132-1/+655
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3677 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* bug fix(?)wens2007-12-121-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3676 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix compile errorkcwu2007-12-124-2/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3675 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-1252-1171/+1106
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3673 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * uhash use userid="" to denote free slot for new register.kcwu2007-12-121-0/+30
| | | | | | | | However, such entries will have the same hash key. So we skip most of invalid userid to prevent lots of hash collision. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3672 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * change util/account.c per_hour_unit to 100.kcwu2007-12-121-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3671 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * revise codekcwu2007-12-126-10/+10
| | | | 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-113-245/+262
| | | | | | | | - 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-118-11/+11
| | | | 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-114-2/+33
| | | | 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
* - change hard coded PTT to macrospiaip2007-12-096-7/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3656 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-0810-38/+47
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3650 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - change hard-coded board names to definespiaip2007-12-0711-22/+35
| | | | 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
* - removed redundant entries (reported by morris@PttCurrent)piaip2007-12-061-2/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3644 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-053-8/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3640 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - enable board for artwork againpiaip2007-12-052-6/+9
| | | | 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-057-24/+24
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3638 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* screen: add grayout systempiaip2007-12-053-1/+69
| | | | 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-059-21/+71
| | | | 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-0515-65/+96
| | | | | | | 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-045-9/+38
| | | | 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
* - code refine, move uflags to outside struct header filepiaip2007-12-044-41/+75
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3622 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
* BRC v3 API changepiaip2007-12-021-4/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3615 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-022-2/+6
| | | | 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-022-6/+15
| | | | | | | 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-026-173/+213
| | | | | | | | | | | | 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-015-80/+140
| | | | | | | | - 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-016-26/+103
| | | | | | | - 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-016-24/+70
| | | | | | | | | | | - '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
* * revise codekcwu2007-10-171-42/+41
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3586 63ad8ddf-47c3-0310-b6dd-a9e9d9715204