summaryrefslogtreecommitdiffstats
path: root/mbbsd/more.c
Commit message (Collapse)AuthorAgeFilesLines
* - minimore: fix inversed navigation key (j/k).piaip2008-06-041-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4340 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Add keys for previous/next articlewens2008-06-041-0/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4339 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Avoid FILE * leakwens2008-06-041-3/+3
| | | | | | | Update screen on exit git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4338 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) replace ctime4 by Cdate, prevent developer confused by the the ↵piaip2008-05-081-2/+2
| | | | | | trailing '\n'. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4278 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - code refine: use ANSI_REVERSE to replace ANSI_COLOR(7), more meaningful.piaip2008-04-221-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4229 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) code refinepiaip2008-04-211-0/+155
| | | | | | | | - change pmore to non-official pager again. Explicitly #define USE_PMORE in pttbbs.conf to use it. - add mini pager (minimore) as a default replacement of pmore for license issue. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4224 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - add calendar in login viewpiaip2008-04-131-1/+1
| | | | | | | | - add color help in calendar help - change param of more path to const git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4157 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) change GLOBAL_* to BN_*piaip2008-03-311-3/+3
| | | | | | | WARNING: PLEASE MANUALLY UPDATE pttbbs.conf!! git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4051 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix crash for mail->'c'->man->D.piaip2008-03-151-1/+1
| | | | | | | - fix crash on Ctrl-T (buffer overflow). git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3999 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - more: change 's' to 'select-board' instead of 'search'.piaip2008-03-061-14/+23
| | | | | | | - board:enable 'd' to remove myfav entries. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3971 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - more: should not able to change title in sysopedit. (rpt by ↵piaip2008-02-221-1/+4
| | | | | | daiYuTsung@PttBug#ptt2) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3939 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - improve registration processpiaip2008-01-301-2/+22
| | | | | | | - 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
* - bbslua: fixed compilation error if not using BBS-Luapiaip2008-01-051-0/+2
| | | | | | | | - 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
* - bbslua: add detection of buffer, and enable 'P' in pmore to start bbsluapiaip2008-01-051-0/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3789 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - pmore: move ChessReplay (z) to outside.piaip2008-01-031-11/+20
| | | | | | | - 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-031-1/+21
| | | | | | | - 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
* * remove unused codekcwu2007-12-121-582/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3669 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Ptt_prints prototype changed, length of input string should be givenvictor2006-12-261-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3459 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* name complete enhancedpiaip2005-09-081-2/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3140 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* better readability.in22005-06-141-1/+1
| | | | | | | | | real => adminmode, HAS_PERM() => HasUserPerm(), HasPerm() => HasBoardPerm(). git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2840 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* New style to specify ANSI escape commands.piaip2005-06-081-15/+15
| | | | | | | | | 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
* pmore: speed up by supporting scroll/rscroll.piaip2005-06-031-1/+11
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2743 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: piaip's new more (pager).piaip2005-06-031-0/+1
| | | | | | | | This is a whole new design to replace old buggy more.c Better searching, unlimited filelength, clean code, ... git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2741 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* statistickcwu2005-03-191-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2651 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add 'const' qualifiers on function parameters.kcwu2005-03-191-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2632 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Use chomp() instead of assigning '\0' directly.scw2005-02-121-6/+6
| | | | | | | Change a little code in searching of more() to reduce call of strlen(). git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2495 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* make valgrind happykcwu2005-02-101-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2490 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* cdoc finishedvictor2004-12-171-0/+4
| | | | | | | | comments for brc.c, fav.c do not allow a board to be added twice in fav git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2379 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* eliminate 4kb global arraykcwu2004-10-311-29/+31
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2293 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add +/- support when reading article, thanks wensvictor2004-10-121-1/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2241 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix chc bug, but still buggyvictor2004-09-091-0/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2184 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use correct type: size_t/int/long/pointerin22004-07-301-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2153 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* merge back from victor.screen branchvictor2004-06-121-42/+38
| | | | | | | remove showansi option git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2060 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use 'const' keyword to reduce 7904 bytes data segmentkcwu2004-06-041-1/+1
| | | | | | | from 9320 to 1416 git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2049 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* 1.avoid bottom black holeptt2004-04-291-8/+6
| | | | | | | | 2.check board friend when crosspost 3.add 'X' in more git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1887 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* rewrite ptt2004-04-271-24/+16
| | | | | | | | | | | i_read() i_read_key() thread() select_mode() git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1863 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove useless functionsptt2004-04-231-1/+1
| | | | | | | integrate similiar functions git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1827 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* rewrite read.cptt2004-04-231-1/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1824 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Donnot add extra symbol for big5 broken by too long lines.scw2004-04-171-2/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1775 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Add condition for broken big5 code.scw2004-04-161-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1773 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Fix bug in r1654, which is reverted in r1662.scw2004-04-011-3/+18
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1664 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* broken display. revert to r1438in22004-04-011-18/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1662 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Multibyte shifting for paging display.scw2004-03-311-3/+18
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1654 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* M mbbsd/announce.cptt2003-12-291-6/+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
* code cleanupkcwu2003-09-071-16/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1168 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove #define MAXPATHLEN 256in22003-01-241-2/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@644 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove unnecessary `static' keyword from some local variablekcwu2003-01-161-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@602 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* make gcc33 happyin22003-01-011-3/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@592 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* not only long screen, but also width screenkcwu2002-09-111-3/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@518 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove OUTTA_CACHEin22002-08-201-5/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@480 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* replace strlcat with strcat, which cause crashkcwu2002-07-271-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@445 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* sprintf() -> snprintf()in22002-07-231-6/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@435 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* indent -i4in22002-07-211-3/+2
| | | | | | | fix indent's word error git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@429 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* clean up `more_web'kcwu2002-07-201-284/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@425 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* indentin22002-07-061-411/+371
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@415 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* global variable move to var.cin22002-06-041-31/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@280 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* replace time(NULL) by nowptt2002-05-131-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@163 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
* for mbbsd.iccin22002-04-271-9/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@128 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* kcwu's patchin22002-04-241-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@127 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* patch MDCACHEin22002-04-191-15/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@122 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix MDCACHEin22002-04-161-5/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@119 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* revert to 1.9in22002-04-161-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@115 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bugin22002-04-161-3/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@111 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* *** empty log message ***ptt2002-04-161-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@110 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* *** empty log message ***ptt2002-04-161-6/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@109 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* *** empty log message ***ptt2002-04-161-3/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@105 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* MDCACHEin22002-04-151-3/+18
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@103 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Initial revisionin22002-03-071-0/+931
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@1 63ad8ddf-47c3-0310-b6dd-a9e9d9715204