summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* user: improve regcode prompt/checkpiaip2008-02-192-27/+118
| | | | | | | cache: support for dynamic aggressive topic handler git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3928 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - improve order song agreementpiaip2008-02-191-8/+11
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3927 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - improve the message and explain for fix_aloha.piaip2008-02-191-5/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3926 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - notify user if the regcode is already expired.piaip2008-02-191-3/+8
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3925 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - mail: do not add numposts for cross-posting mailspiaip2008-02-172-16/+13
| | | | | | | - cross-post: notify user that all cp will not add numposts git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3924 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - change BIG5 ':' to SBCS, more convenient for admins to copy/paste data. ↵piaip2008-02-151-7/+7
| | | | | | (suggested by daiYuTsung@ptt2) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3923 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - hide restricted board names when cross-posting (suggested by iamori@ptt1)piaip2008-02-151-2/+13
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3922 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - testing to narrow down buffer overrun reasonpiaip2008-02-151-3/+11
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3921 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - verify if record entry is still valid before modifying.piaip2008-02-151-0/+10
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3920 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - user: make message more clear (reported by Kinra@PttSuggest)piaip2008-02-151-2/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3919 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - xchatd: allow ignoring users not in chatroom.piaip2008-02-152-16/+66
| | | | | | | - chat: help/prompt msg fix git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3918 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - more options to prevent chatroom floodingpiaip2008-02-141-5/+65
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3917 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - drop all 033 dirty ANSI characterpiaip2008-02-141-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3916 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - lovepaper: add newmail alert, fix title issue. (reported by watch@pttbug)piaip2008-02-141-1/+8
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3915 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - improved user searchingpiaip2008-02-141-21/+51
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3914 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - searching user should bypass invalid recordspiaip2008-02-141-0/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3913 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - SRexpire: enable expiring search cache recordspiaip2008-02-135-8/+66
| | | | | | | | - EDITFLAG_ALLOWTITLE: prevent editor to prompt for non-changable titles - user: general message fix git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3912 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - friend: use constants, prevent magic numberspiaip2008-02-132-2/+3
| | | | | | | - mbbsd: guests do not need adding new favs git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3911 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - the report for changing user permission should use post_msg, to prevent ↵piaip2008-02-131-29/+21
| | | | | | wrong btotal calculation. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3910 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - user: fix the prompt of illegal regcode.piaip2008-02-101-4/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3909 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - bbs: fix delay of deleted/junk directory. (reporeted by watch@ptt2.PttBug)piaip2008-02-101-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3908 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - add dashc() for file create timepiaip2008-02-105-21/+27
| | | | | | | - remove unused structure git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3907 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - menu: pad title length to align most fields againpiaip2008-02-092-3/+3
| | | | | | | - stuff: fix angel pause prompt message git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3906 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - bbs: isolate edflags determinationpiaip2008-02-081-14/+20
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3905 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - reply: boards with NOREPLY should enable mail reply by default.piaip2008-02-081-2/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3904 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - reduce the chance of alert messagespiaip2008-02-052-6/+12
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3903 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - add warning messages to alert about cross-postpiaip2008-02-052-3/+10
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3902 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - board: add more colors to hot-boardspiaip2008-02-041-1/+11
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3901 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - emaildb: use fork to reduce memory wastingpiaip2008-02-042-11/+66
| | | | | | | - user: add more emaildb check git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3900 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - dice: no longer supportedpiaip2008-02-043-473/+6
| | | | | | | | - pfterm: more safe check - board: output message finetune git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3899 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - user: prevent printing zeros if mobile has not been setpiaip2008-02-012-1/+41
| | | | | | | - register: force user to update birthday information. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3898 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - Makefile update: to add more conditional flags and ctags builderpiaip2008-01-311-1/+15
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3897 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - __libc_freeres() seems releasing "all" runtime memory, which may cause ↵piaip2008-01-311-1/+2
| | | | | | SEGV. disable it until we have more information. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3896 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - more checks on fhdr to prevent crashpiaip2008-01-311-2/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3895 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - emaildb: apply cache reductionpiaip2008-01-311-0/+8
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3894 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - change over18 calculation as standalone function, in order user changed ↵piaip2008-01-315-16/+36
| | | | | | birthday. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3893 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - read: fix bottom articles across pages (after doing new post) will lead to ↵piaip2008-01-311-4/+9
| | | | | | incorrect display git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3892 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fav: add TEST to default fav boards and change orderpiaip2008-01-311-3/+10
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3891 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - register: make birthday registration earlier, also helps over18 work ↵piaip2008-01-314-4/+36
| | | | | | | | | | correctly. - register: change '1st register' check to email instead of birthday:year. - emaildb: fix offset-by-one (because the 'self' is not counted now) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3890 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - mbbsd: consider "no birthday" as less than 18 years oldpiaip2008-01-302-2/+8
| | | | | | | - pfterm: mini optimization git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3889 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix over18 calculationpiaip2008-01-301-4/+10
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3888 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - improve registration processpiaip2008-01-305-78/+122
| | | | | | | - COPY2TMP and other pager functions now require BASIC permission git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3887 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* -- emaildb: release runtime cache resource to reduce memory after emaildb ↵piaip2008-01-301-0/+4
| | | | | | being loaded/released git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3886 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - improve registration process: modify justify earlier, and fix emaildb ↵piaip2008-01-302-32/+45
| | | | | | limitation git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3885 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - remove strncpy(). use memcpy() and strlcpy() instead.piaip2008-01-306-12/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3884 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - board: enable changing to MyFavorite in HotBoardspiaip2008-01-304-9/+3
| | | | | | | - bugfix: snprintf() on UNIX takes directly sizeof(buf) and always append NUL. Warning: Windows port will not output NUL if truncated. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3883 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - read: make cursor default position before .DIR.bottom articlespiaip2008-01-292-4/+7
| | | | | | | - board: yank shall not work outside myfavorite. 'addfav' should not work outside myfavorite. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3882 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - bbs: change default cursor location to "end of .DIR records" excluding ↵piaip2008-01-292-4/+3
| | | | | | | | | .DIR.bottom - general message fix git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3881 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - mail: enlarge check range again, due to some people lost newmail ↵piaip2008-01-281-1/+1
| | | | | | notification after "mail my waterlog". git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3880 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - pmore: optimization on movie/frame movepiaip2008-01-281-50/+50
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3879 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - read: avoid black holes, even if board article counter is wrong.piaip2008-01-281-17/+42
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3878 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - xchatd: prevent malicious user flooding chat page to hide his useridpiaip2008-01-281-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3877 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - user: hinting on SYSOP permission update of setting emailpiaip2008-01-285-7/+21
| | | | | | | | | - register: improve new-account process - bbs: hints on hotkey change(H) - board/fav: make TAG bits more meaningful. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3876 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* mark dirty after set_attr, fix bug reported at #17dLCl9P (SYSOP) [ptt.cc]victor2008-01-281-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3875 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - mail: fix assert in case some new mail has empty filename.piaip2008-01-281-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3874 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - user: allow admins to change email to 'invalid'.piaip2008-01-283-5/+11
| | | | | | | | - admin: try to solve "registration failed if user is online" - register: fix display for expired accounts git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3873 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Temporary version of aids.cmhsin2008-01-261-0/+291
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3872 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - board: revert back with traditional stylepiaip2008-01-261-3/+12
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3871 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - menu: fix compilation error (typedef/struct)piaip2008-01-261-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3870 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - bbslua: add iolimit() apipiaip2008-01-262-6/+24
| | | | | | | - board: remove the const name "MyFavFolder" git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3869 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - revise menu.c code.kcwu2008-01-264-70/+63
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3868 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - mbbsd: provide the possibility to optimize some API. keep port information.piaip2008-01-262-6/+34
| | | | | | | - make DEBUGSLEEP waiting configurable. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3867 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - buy-mail-box: prevent user accidentally enter the option.piaip2008-01-251-2/+41
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3866 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Fix AID search for blackholed boards.mhsin2008-01-251-2/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3865 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - bbs: prevent post-reply respond to invalid userpiaip2008-01-251-12/+28
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3864 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* avoid empty filenameswens2008-01-251-2/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3863 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - edit: fixed currbid=0 assert for anti-crosspost check over non-posts.piaip2008-01-251-19/+28
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3862 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - revise code uinfo_query(); fix bug: user will be killed if set perm bits to 4.kcwu2008-01-241-82/+91
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3861 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - remove duplicated prototype.kcwu2008-01-241-1/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3860 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - revise passwd_apply() api, prevent use global variable to pass data.kcwu2008-01-244-30/+35
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3859 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - announce: prevent asserts for "entering deleted directories".piaip2008-01-241-11/+31
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3858 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - Tagging: offset-by-one error on alerting userpiaip2008-01-232-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3857 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - read: more check on TagNum to prevent announce paste bugpiaip2008-01-232-4/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3856 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - menu: cursor_position is not really useful. and it will cause SEGV for piaip2008-01-231-7/+2
| | | | | | | large cmdmode (why not crashed before?). Let's remove it. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3855 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - bbslua: prepare for storage APIpiaip2008-01-231-51/+116
| | | | | | | - bbslua: display logo correctly with traditional screen git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3854 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - stuff: fix show_file auto wrapped for file with length=80piaip2008-01-223-5/+8
| | | | | | | | - announce: change announce re-edit to work like board re-editing post - use same file. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3853 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - emaildb(init): speed up by transactionpiaip2008-01-211-4/+22
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3852 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - emaildb: add the init functionalitypiaip2008-01-211-1/+82
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3851 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - menu: board admins should be able to do E in admin menupiaip2008-01-211-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3850 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - Makefile: modified for static libraries and provide hints for different ↵piaip2008-01-211-4/+10
| | | | | | system configurations git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3849 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix limit edit displaypiaip2008-01-211-4/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3848 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - bbslua: bugfix for toc redirecting and displaypiaip2008-01-211-2/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3847 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - bbslua: fix w32 snprintf issuepiaip2008-01-191-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3846 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - bbslua: fix w32 issuepiaip2008-01-191-4/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3845 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - bbslua: change userid() to variable, add usernick, restrict more on lastref.piaip2008-01-192-12/+50
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3844 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - bbslua: require LatestRef/Title match for latest referringpiaip2008-01-192-100/+394
| | | | | | | - bbslua: add storage and hash system git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3843 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - improve input system logicpiaip2008-01-192-1/+17
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3842 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix compile error (reported on watch@PttBug/ptt2)piaip2008-01-181-0/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3841 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - bbslua: fix bbs.kball() on w32 portpiaip2008-01-181-1/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3840 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - var/user: prevent printing NULL for login view confpiaip2008-01-162-4/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3839 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - bbs: allow local mail for web based tarqueuepiaip2008-01-166-34/+96
| | | | | | | | | | - bbslua: unbind file api, add bbs.kball(), reduce kbhit min peek time - annouce: prevent deep directory crash - edit: syntax highlight update - pttbbs.conf: add ASKBOARD into default fav git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3838 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - pfterm: fixed resize crash issue. GREAT THANKS TO kcwu.piaip2008-01-161-18/+31
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3837 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - edit: rich support of Lua syntax highlightpiaip2008-01-151-20/+226
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3836 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - 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