summaryrefslogtreecommitdiffstats
path: root/mbbsd/read.c
Commit message (Collapse)AuthorAgeFilesLines
* 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