summaryrefslogtreecommitdiffstats
path: root/mbbsd/read.c
Commit message (Collapse)AuthorAgeFilesLines
* * fix bug: incorrect user's tmp buf filename.kcwu2009-06-131-6/+7
| | | | | | | | | * don't test upper case if getdata with LCECHO flag * add some comment * some small code revise git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4585 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix compile error if defined KEYWORD_LOGkcwu2009-05-241-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4474 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Fix last commitwens2008-08-051-2/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4395 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Support tagging of multiple files with same chronowens2008-08-051-4/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4394 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - refine key processing of CR(C-M), LF(C-J), BS(C-H), BS2(0x7f)piaip2008-04-211-2/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4223 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - bbs: fixed: push_bottom nofitication not refreshed if abort.piaip2008-04-201-1/+2
| | | | | | | | | - io: drop traditional getdata code - read: prevent non-BM seeing ZA alert messages - visio: change license to 2-clause BSD because I don't want to maintain compatible code... git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4219 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - chat: add ZA in chatpiaip2008-04-201-1/+1
| | | | | | | | - mail/read: allow ^P in mail to send iner mail - syspost: fix some messages without trailing newlines git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4216 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - drop push_bottom warning in mailboxpiaip2008-04-201-3/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4214 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - move 'B' (edit board title) to 'b' in board_config (i/I), and B now also ↵piaip2008-04-201-3/+3
| | | | | | | | | | activates board_config (B/i/I). This helps to work in compatible with M3 hotkeys. - add '_' key binding (M3) for push_bottom (^X now) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4209 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - move set_bottom (old ctrl-z) to ctrl-x.piaip2008-04-191-0/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4206 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - make ZA system complete.piaip2008-04-191-1/+11
| | | | | | | - elimiate minor warning git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4205 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix LCECHO issue (cannot input chinese in some places)piaip2008-04-191-2/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4198 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix wrong LCECHOpiaip2008-04-181-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4191 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) change chat to use vgetstring with new callback systempiaip2008-04-171-72/+3
| | | | | | | - (internal) move DBCS API to string lib git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4176 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) getans -> vanspiaip2008-04-171-3/+3
| | | | | | | - (internal) update license git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4175 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) change API names to visio format: stand_title -> vs_hdr.piaip2008-04-151-1/+1
| | | | | | | - mouts -> (curses style) mvouts git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4167 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) code refine - improving visio systempiaip2008-04-151-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4164 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* // fix '!' exceeding screen widthpiaip2008-04-141-1/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4162 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix footer length (should display all on col80) piaip2008-04-131-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4152 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* (internal code refine)piaip2008-04-121-4/+1
| | | | | | | | - drop deprecated EDIT_ITEM, standout(), standend() - replace outmsglr() with vfooter(). git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4147 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) use new visio/vfooter() API to display footerspiaip2008-04-121-2/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4146 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix a 7-year bug? force_open should really "force" open file.piaip2008-04-031-3/+3
| | | | | | | - (internal) code refine - drop MAXPATHLEN and change few magic number (256) to PATHLEN. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4072 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) change GLOBAL_* to BN_*piaip2008-03-311-1/+1
| | | | | | | WARNING: PLEASE MANUALLY UPDATE pttbbs.conf!! git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4051 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - read: add 'search for "s"' in G searchpiaip2008-03-301-4/+20
| | | | | | | - user: print reg date in userinfo. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4043 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - expiring user after board set to hidden state.piaip2008-03-291-0/+10
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4037 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - prevent minus Z search messages shown on OLDRECOMMEND systemspiaip2008-03-181-1/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4004 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - read: search_recommend: add searching recommend<0, for helping BM managementpiaip2008-03-171-3/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4002 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fixed: 'y' for replying in boardspiaip2008-03-121-0/+4
| | | | | | | - try to do full update when unknown return keys(status) was found. (will this cause extra load?) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3995 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - SRexpire: enable expiring search cache recordspiaip2008-02-131-0/+16
| | | | | | | | - 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
* - 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
* - board: enable changing to MyFavorite in HotBoardspiaip2008-01-301-2/+1
| | | | | | | - 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-291-2/+3
| | | | | | | - 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
* - 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
* - Tagging: offset-by-one error on alerting userpiaip2008-01-231-1/+1
| | | | 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-231-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3856 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - more check for TagNumpiaip2007-12-301-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3764 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - redrawin() changed to 'invalid only' and will take change at next refreshpiaip2007-12-241-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3734 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - change screen APIs to ncurses-like namespiaip2007-12-211-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3717 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * Enhanced AID query UI.mhsin2007-12-171-3/+3
| | | | | | | * Use aidu_t(uint64_t) for AIDus. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3703 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * Add Article IDentification System(AIDS)mhsin2007-12-171-0/+128
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3700 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-111-2/+1
| | | | 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
* - change hard-coded board names to definespiaip2007-12-071-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3649 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * eliminate warnings according to lxb's commit on pttbbslitekcwu2007-10-011-2/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3581 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* small syntax fix.kcwu2006-04-011-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3320 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix message about mailbox full.kcwu2006-04-011-0/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3317 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* comment on big5 workaround.kcwu2006-03-131-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3284 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * comment strange getindex() behavior.kcwu2006-02-091-40/+65
| | | | | | | | | | * fix select_read() * don't incremental select if sr_mode = RE_MARK or RS_RECOMMEND * fix selection result repeating if timestamp match (or entry deleted?) * code revise git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3271 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* replace some strncpy with strlcpy, or just strcpy if src is constvictor2006-01-121-2/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3267 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Key "UP" at the first entry of article list work as key "END"scw2005-12-151-2/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3256 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Fix the procedures of FULLUPDATE, PARTUPDATE and DIRCHANGED.victor2005-12-051-34/+26
| | | | | | | Close ticket #39. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3252 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* only PERM_ACCOUNTS could SetUserin22005-10-281-2/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3236 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix ticket #10piaip2005-09-181-2/+14
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3188 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pretty format of name-complete,piaip2005-09-181-2/+9
| | | | | | | try to make 't'(tag) light refresh, git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3185 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix ticket #40piaip2005-09-181-1/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3184 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* comments warn the bad code without error handling.kcwu2005-09-091-0/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3145 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pass arguments only if they really need.kcwu2005-08-281-1/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3099 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* distinguish functions that need item or not, and allow the latter in empty ↵kcwu2005-08-281-3/+3
| | | | | | itemlist. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3097 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix: don't do anything if itemlist is empty, otherwise it may corrupt memory.kcwu2005-08-281-5/+18
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3096 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix heap corrupted because screen resize.kcwu2005-08-281-10/+24
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3090 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* get rid of linear search in getindexptt2005-08-191-4/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3065 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* article money system upgrade againpiaip2005-08-061-19/+11
| | | | | | | now fully works(hope so). git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2999 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* article money issue updatespiaip2005-08-061-1/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2998 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Large Terminal Rulespiaip2005-08-061-3/+7
| | | | | | | New api: *lr family calls are used to pad and fir terminal width. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2996 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix incremental search bug.ptt2005-08-061-5/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2994 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* incremental selectptt2005-08-061-4/+8
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2992 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* incremental select_readptt2005-08-051-4/+20
| | | | | | | | fix 'Q' in view post money. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2991 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix file.multi.money issuepiaip2005-08-051-4/+12
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2986 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix one typoptt2005-08-051-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2982 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix one bugptt2005-08-041-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2981 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* avoid keyword conflict in select_readptt2005-08-041-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2978 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* 1. Patch make error. please remember to undate define ptt2005-08-041-2/+18
| | | | | | | | | in config.h not only in your local pttbbs.conf 2. DonaldLam need function to search the money of post. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2977 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* sync with PTT1 local modified source:piaip2005-07-231-4/+19
| | | | | | | | | - debug with msgfwderr - enlarge thread search range - more verbose board info git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2942 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pretty format.piaip2005-07-071-4/+5
| | | | | | | | changes in menu.c is suggested by CatMan@ptt2, thanks (not really fully tested but it seems ok) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2912 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* dbcs aware topic searchpiaip2005-07-061-4/+25
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2908 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* help update, fix mail title unchanged outside vedit (partial?)piaip2005-07-061-11/+26
| | | | | | | and 'search for recommends' patch by ledia@ptt, thanks. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2903 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* misc update:piaip2005-07-031-1/+1
| | | | | | | | | | fix recent PttBug/PttSuggest request - bid prompt - tag display bug - category colors git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2877 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add one function in select_read().ptt2005-06-231-0/+14
| | | | | | | | exclusive search result git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2859 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* better readability.in22005-06-141-2/+2
| | | | | | | | | real => adminmode, HAS_PERM() => HasUserPerm(), HasPerm() => HasBoardPerm(). git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2840 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix a bug that END usually gets "no articles" in ALLPOST.piaip2005-06-141-0/+6
| | | | | | | read.c: add HOME to 1st article. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2839 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* eliminate warning messagespiaip2005-06-081-1/+2
| | | | | | | and make rawmode in edit.c more suitable for dbcs aware mode git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2797 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* New style to specify ANSI escape commands.piaip2005-06-081-1/+1
| | | | | | | | | First introduced by pmore, but this hard work (to transform all files to new style) is made by Rong-en Fan (rafan). Thanks! git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2796 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* reset TagBoard and TagNum when Ctrl('T')kcwu2005-05-181-0/+9
| | | | | | | informed by ledia@ptt2 git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2727 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* buffer overflow: file path [64] is too small!piaip2005-04-211-2/+2
| | | | | | | use PATHLEN instead. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2706 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* avoid to use c99 syntaxkcwu2005-03-221-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2670 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* const qualifierkcwu2005-03-191-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2656 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* statistickcwu2005-03-191-0/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2651 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* save about 500 bytes stackkcwu2005-03-191-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2642 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add 'const' qualifiers on function parameters.kcwu2005-03-191-11/+12
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2632 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* move global variable xuser into local, save 512 bytes.kcwu2005-03-121-2/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2596 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * use fnv hash function for all hash.kcwu2005-02-261-0/+1
| | | | | | | | | | | * add version field in SHM. * clean up & reorder SHM, add gaps between arrays. * enlarge USHM_SIZE. * remove unused shmsweep.c. * WARNING, you need to stop bbs and clean old shm before run this revision. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2549 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* import FNV hash function.kcwu2005-02-251-18/+43
| | | | | | | rewrite getkeep() for memory saving git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2544 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* dynamic allocate TagList[], save 2kb memory.kcwu2005-02-251-7/+9
| | | | | | | (only 0.2% online users use it) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2540 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use time4_t(uint32_t) instead of time_t for x86-64 arch.in22005-01-241-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2426 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove annoying bell().in22005-01-151-6/+2
| | | | | | | | suggested by ledia. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2397 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* changed money in fileheader_t into unionwens2004-12-031-3/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2363 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add "cdoc" (just like javadoc) to grab prototype and comments of functionsvictor2004-11-201-1/+21
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2344 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* When searching first article with same subject, stop only after 200 mismatchkcwu2004-11-181-1/+3
| | | | | | | (reset counter every time) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2340 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix last commit's faultvictor2004-11-161-6/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2327 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix last commit's faultvictor2004-11-161-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2326 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix redraw problem when calling thread()victor2004-11-161-13/+14
| | | | | | | thanks ledia.bbs@ptt2 git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2325 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use memmove instead of memcpy if overlappingkcwu2004-11-011-2/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2303 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* found black hold.ptt2004-10-051-1/+1
| | | | | | | lower the threshold of safe_article_delete git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2223 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix malfunction of '[', ']', '=' keys on article with long titlevictor2004-09-221-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2207 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* move up the threshold of safe_deleteptt2004-09-171-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2201 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use correct type: size_t/int/long/pointerin22004-07-301-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2153 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* 1. use setupmailusage instead touchmailusageptt2004-06-261-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2089 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* 1.debug select_read problem with "SR" in board name.ptt2004-06-261-3/+6
| | | | | | | 2.cache mailsum. get_sum_record is a bad function that cause a lot of IO git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2087 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* replace some prints() with outs(),kcwu2004-06-101-3/+1
| | | | | | | | | | | | replace some outs() with outc(), replace some fprintf() with fputs(), and so on. for performance. and don't treat user input as format string. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2055 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use 'const' keyword to reduce 7904 bytes data segmentkcwu2004-06-041-2/+2
| | | | | | | from 9320 to 1416 git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2049 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* reindent for ptt and fix '='in22004-05-311-14/+19
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2040 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* debug truncate the SR.* files of select modeptt2004-05-191-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2004 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove MODE_ETC useless functionptt2004-05-121-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1960 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* in log_file(), use LOG_VF if need to vfprintf().in22004-05-031-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1921 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* safe_delete won't happen when mode_digestptt2004-05-021-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1918 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* avoid race condition at tag board->paste boardptt2004-05-021-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1917 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix cursor problem for select_readptt2004-05-011-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1905 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* a little buf of 'S'ptt2004-04-301-4/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1897 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* reduce io in select_readptt2004-04-301-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1895 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove getindexptt2004-04-301-2/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1894 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* 1.fix some bug for reference tagptt2004-04-301-5/+15
| | | | | | | | | 2.add static _mode to cost down select_read's time. Note: getindex is a bad!! funcation...must get ride of that some day. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1892 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* change log_file()ptt2004-04-301-1/+1
| | | | | | | log_user() git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1889 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add 2 logs for analysisptt2004-04-291-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1888 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove default keywordptt2004-04-281-18/+20
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1883 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* dirty hack: exit if ] at last articlein22004-04-281-0/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1881 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* reindent from r1879in22004-04-281-304/+316
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1880 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* hosit for cursorptt2004-04-281-2/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1879 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix for ptt2ptt2004-04-281-0/+7
| | | | | | | | | | | | | | | | | | | | | : : 1. 在分類看板內的各群組下的看板列表不正常 : : 會有部份的板找不到 重進群組每次大概會多出現兩個板 : : 這對小組長來說很麻煩吧 fixed...看板等victor回來再review一次 : : 2. 叮叮聲是沒之前嚴重了 不過原本如果在文章列表的最後一篇文章按↓ : : 會出現的叮叮聲現在消失了 可不可以把這個叮要回來 ^^" fixed : : 3. 換頁時可不可以跟之前一樣是換一整頁 而不是現在這樣只換半頁 @@ fixed : 4. tag 完文章按 ^D 之後的確認 能不能不要按個 y 就直接砍掉 : 應該要多按個 enter 再砍比較保險一點 default是'N'應該還好囉 我覺得這用久會比較方便 不想改了'''''''''' : 5. 在文章列表上按 ctrl + q 查詢 user 後 會接著進入設定該帳號的畫面 : 這正常嗎? XD fixed git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1878 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove the unecessary redrawptt2004-04-271-7/+24
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1876 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* hobit fixed IV :pptt2004-04-271-3/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1875 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* hobit problem fixed IIptt2004-04-271-1/+1
| | | | | | | | | | | | | | | | | | | | | 作者 rich655254 (憑信帶出信心生活) 看板 SYSOP 標題 最後一篇的迴圈 時間 Tue Apr 27 21:38:17 2004 ─────────────────────────────────────── 我在每個板都是這樣 只要在最後一篇(不是置底公告) 看完按下空白鍵或是向下鍵 以前會自動回到文章列表 現在卻會一直卡在最後一篇 害我之前還想 怎麼按這麼久文章都還沒看完 這該不會是新功能吧? 還是遇到鬼了=.= git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1874 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* hobit problem fixed cursor positionptt2004-04-271-2/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1873 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* select_read again -_-ptt2004-04-271-4/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1871 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* select_read commit againptt2004-04-271-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1870 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* buggy fix for last select_readptt2004-04-271-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1869 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* slight change for select_readptt2004-04-271-30/+17
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1868 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* a little change on descriptionptt2004-04-271-2/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1864 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* rewrite ptt2004-04-271-325/+191
| | | | | | | | | | | i_read() i_read_key() thread() select_mode() git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1863 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* warning freein22004-04-251-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1853 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove annoying bell()in22004-04-251-6/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1849 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* debug of read.cptt2004-04-251-25/+11
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1848 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* 2 bugs fixedptt2004-04-241-1/+2
| | | | | | | | 1. vmsg 2. read git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1846 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* slight changeptt2004-04-241-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1844 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix for foreverloop ptt2004-04-241-3/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1842 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix forever loop in read.cptt2004-04-241-34/+29
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1841 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* little bug report fixedptt2004-04-241-1/+1
| | | | | | | | | | | | | | | | 作者 Toy (WeiTing) 看板 SYSOP 標題 色碼輸入無法正常運作. 時間 Fri Apr 23 18:13:42 2004 ─────────────────────────────────────── 當按ctrl+v進入ANSI狀態時 按ctrl+c輸入的色碼無法正常運作 麻煩sysop了:) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1839 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add function to skip dummy post when readingptt2004-04-241-1/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1838 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* reoragnize functions ptt2004-04-241-6/+7
| | | | | | | | | mprints, pprints -> mouts remove useless refresh, pressanykey(), sleep,... git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1833 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove useless functionsptt2004-04-231-34/+37
| | | | | | | integrate similiar functions git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1827 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* cursor fixedscw.angel@1825ptt2004-04-231-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1825 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* rewrite read.cptt2004-04-231-243/+186
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1824 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove useless codesPtt.read@1812ptt2004-04-231-28/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1811 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* revert cuser from pointer to buffer.ptt2004-04-211-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1798 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* push_bottom fixptt2004-04-161-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1769 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* small bug fixedptt2004-04-151-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1763 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* push bottom bug fixedptt2004-04-151-41/+45
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1762 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* delete with thresholdptt2004-04-141-5/+12
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1760 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove dircacheptt2004-04-141-37/+13
| | | | | | | prevent error for push bottom git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1758 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* small bug of directptt2004-04-141-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1756 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* push bottom bug fixptt2004-04-131-6/+12
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1747 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* push bottom fixptt2004-04-131-3/+14
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1744 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* push bottom completeptt2004-04-081-2/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1731 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* push bottomptt2004-04-081-7/+21
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1729 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* push_bottom fixptt2004-04-081-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1728 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* push_bottomptt2004-04-081-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1719 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* push bottomptt2004-04-061-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1701 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* 1.ptt2004-04-021-8/+5
| | | | | | | | | | avoid return FULLUPDATE. use return TITLE_REDRAW / READ_REDRAW 2. showfilename in read git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1665 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add mmap to cuser get ride of passwd_updateptt2004-03-311-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1640 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Fix bad assertion when deleting tagged mail in mailbox.scw2004-03-291-5/+8
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1622 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* loading error ptt2004-03-281-5/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1615 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix blackholeptt2004-03-241-5/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1604 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix the problem of black holeptt2004-03-241-3/+15
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1602 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add some assert() on malloc()kcwu2004-03-091-0/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1582 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* M mbbsd/announce.cptt2003-12-291-3/+0
| | | | | | | | | | | | M mbbsd/bbs.c M mbbsd/read.c M mbbsd/cal.c M mbbsd/more.c M mbbsd/menu.c M mbbsd/board.c git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1438 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix wrong range of key, check whether the func is null firstvictor2003-12-161-2/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1411 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* O(1) key-func mapping in i_read_keyvictor2003-12-161-8/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1410 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* user could remove dircache if need (not tested)in22003-12-051-0/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1396 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* clean upkcwu2003-09-071-4/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1166 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* read 8k once instead of 128bytes,in22003-09-041-33/+50
| | | | | | | reduce system calls. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1157 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add get_record_keep().(no author)2003-09-041-3/+13
| | | | | | | | we don't need to open/close the same file every time in title search mode. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1155 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix last commit bugvictor2003-08-191-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1110 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* paste taged file across board and mailboxvictor2003-08-191-3/+8
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1109 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bug in select_modevictor2003-08-031-4/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1080 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix last commit bugvictor2003-07-041-2/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@1021 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* stop at the right article after searchingvictor2003-07-021-7/+19
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@994 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add one assert() linekcwu2003-06-271-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@975 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix last committed bugin22003-06-221-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@959 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix "recbase bug"in22003-06-221-6/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@957 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix ^D (tolower), and allow del in MODE_SELECTvictor2003-04-141-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@792 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* warning freein22003-02-211-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@670 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* 'G' for searching marked articlevictor2003-02-111-2/+21
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@657 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove #define MAXPATHLEN 256in22003-01-241-3/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@644 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix strange syntax informed by gcc -Wkcwu2003-01-201-4/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@639 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* clean upkcwu2003-01-171-2/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@622 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bug of help in (MODE_ETC | MODE_DIGEST) modein22002-11-071-4/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@562 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* load cache at first timein22002-08-151-3/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@472 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix indentkcwu2002-07-271-2/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@450 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix indent errorkcwu2002-07-271-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@449 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* sprintf() -> snprintf()in22002-07-231-8/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@435 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* indent -i4in22002-07-211-11/+12
| | | | | | | fix indent's word error git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@429 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* strcpy() -> strlcpy()in22002-07-211-9/+11
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@428 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* indentin22002-07-061-414/+396
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@415 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix buffer overflow, search use last valuein22002-07-031-3/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@404 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* max search-forware 300 articlesin22002-07-021-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@403 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* *** empty log message ***lwms2002-06-091-1/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@314 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* global variable move to var.cin22002-06-041-61/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@280 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix buffer overflowin22002-04-291-5/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@133 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* change getdata() constant to sizeof()in22002-04-291-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@131 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Initial revisionin22002-03-071-0/+998
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@1 63ad8ddf-47c3-0310-b6dd-a9e9d9715204