summaryrefslogtreecommitdiffstats
path: root/mbbsd/pmore.c
Commit message (Collapse)AuthorAgeFilesLines
* pmore: to make gcc4 happy with signed/unsigned issuepiaip2005-07-071-25/+31
| | | | | | | bbs: eliminate warnings git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2915 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: avoid dbcs cursor movement doubled due to msg formatpiaip2005-07-061-1/+1
| | | | | | | mail: fix ticket#14 git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2906 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* msg pretty printpiaip2005-07-061-0/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2901 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* try to solve ^[[B (move down)piaip2005-07-051-2/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2893 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* eliminate pending alarmspiaip2005-07-051-0/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2892 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* wasting my timepiaip2005-07-051-2/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2891 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pretty printpiaip2005-07-041-4/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2889 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* let ansi move cmds backpiaip2005-07-041-4/+8
| | | | | | | and add more security stuff git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2888 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* make low security an option to be toggledpiaip2005-07-031-0/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2882 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: warning for **Xpiaip2005-07-031-15/+35
| | | | | | | | | board: category color update, thanks to ledia i'm not sure should we use 16 color or not, so let's stay in compatible mode first. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2879 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* rawmode: prompt user to confirmpiaip2005-06-291-3/+15
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2875 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: dbcs aware searchpiaip2005-06-291-5/+23
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2874 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: to disable cursor moving ANSI sequencespiaip2005-06-281-0/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2872 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* l10n name of wrap, suggested by llwangpiaip2005-06-221-10/+10
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2854 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: msg use vmsgpiaip2005-06-221-10/+20
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2853 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
* pmore: bbs movie behavior updatepiaip2005-06-121-2/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2836 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* animated board notespiaip2005-06-121-0/+30
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2833 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* update ansi escape scannerpiaip2005-06-111-5/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2824 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* screen.c: edit_out should be managed by edit.cpiaip2005-06-111-2/+6
| | | | | | | | pmore.c: eliminate nofmt (replaced by other modes) and 0xff header fix edit.c: broken dbcs support git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2823 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: small fix for raw ansi mode in widenavpiaip2005-06-101-3/+14
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2821 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: isspace fixpiaip2005-06-101-3/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2820 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: general ui updates.piaip2005-06-101-17/+19
| | | | | | | | fav: auto fav threshold should be increased because some people really know what they were doing. And the default value should honor user preference. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2817 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* user: don't update passwd so frequentlypiaip2005-06-091-5/+17
| | | | | | | pmore: trying to make raw-ansi mode better git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2815 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: backward method update.piaip2005-06-091-33/+16
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2813 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: more verbose status line, and new rawmodespiaip2005-06-091-8/+74
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2812 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* io.c: revised keyseqpiaip2005-06-091-0/+3
| | | | | | | user/pmore: general update git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2810 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* towards new experience: Fn Key Bindings, a trial.piaip2005-06-081-5/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2807 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: goto made more reasonablepiaip2005-06-081-9/+10
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2800 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: update goto and dbcs wrap method and commentspiaip2005-06-081-25/+48
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2799 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* New style to specify ANSI escape commands.piaip2005-06-081-2/+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: ascii movie: linux specific fixpiaip2005-06-081-3/+8
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2794 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: ascii movie, compat24 mode fixpiaip2005-06-081-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2793 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore bbs movie: world timeline synchronization modelpiaip2005-06-081-64/+124
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2791 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: some old compilers does not allow variables declared inpiaip2005-06-071-9/+10
| | | | | | | C++ flavor (outside block entry). git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2787 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: update some keybinding due to user requestpiaip2005-06-071-1/+11
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2786 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: make wrapmode navigation more accurate when goBottom.piaip2005-06-071-1/+28
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2784 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: speed uppiaip2005-06-071-13/+26
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2783 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: prepare for optimizepiaip2005-06-071-19/+28
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2780 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* format update according to user habitspiaip2005-06-061-8/+8
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2779 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: fix last patch which has a typo.piaip2005-06-061-23/+27
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2778 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: update wide navigation behavior to be more reasonablepiaip2005-06-061-24/+76
| | | | | | | | more docs and better search git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2777 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: playmode nav updatepiaip2005-06-061-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2776 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: ascii art movie: compat24 modepiaip2005-06-061-9/+53
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2773 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: left-right widenav: make hotkeys more readable.piaip2005-06-061-5/+12
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2772 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: left-right wide navigationpiaip2005-06-061-37/+95
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2771 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: movie play mode behavior updatepiaip2005-06-061-5/+26
| | | | | | | and it is now stable enough to be changed to default option. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2770 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: play old ascii art moviepiaip2005-06-051-8/+38
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2769 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: re-entrant support (little hack)piaip2005-06-051-63/+309
| | | | | | | New Feature: Ascii Art Movie Support git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2768 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: workaround for poor terminal systemspiaip2005-06-051-13/+66
| | | | | | | which cannot understand ANSI escapes. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2766 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: compromised to work with SEP_WRAP(SEP_OLD) more,piaip2005-06-051-10/+36
| | | | | | | update line number calculation. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2765 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: piaip2005-06-051-46/+128
| | | | | | | | | fix command hotkeys, new seperator mode, dbcs friendly wrap. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2764 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: workaround with wrap-1-line issue for old seperator mode piaip2005-06-051-2/+13
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2763 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: fix line calculationpiaip2005-06-041-5/+28
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2762 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: fixed ansi display with long linespiaip2005-06-041-1/+11
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2761 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: workaround for full term-width articles.piaip2005-06-041-3/+31
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2760 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: more update on traditional modepiaip2005-06-041-92/+110
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2759 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: post fix to make it more like old pager.piaip2005-06-041-1/+6
| | | | | | | for promptend behavior. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2758 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: updates after applied on a real environment(ptt2) for a short time.piaip2005-06-041-9/+26
| | | | | | | | give wrapped lines a chance to use indicator's space to prevent wrapping. and indicators can now be disabled git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2757 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: a ready-for-work version.piaip2005-06-041-14/+72
| | | | | | | | now supports all basic features and can fully simulate traditional 'more' ui. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2756 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: wrap support, finallypiaip2005-06-041-82/+234
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2755 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: new header scanner (clean and robust)piaip2005-06-041-150/+252
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2754 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: workarounds for scrolling because piaip2005-06-041-82/+156
| | | | | | | | clrtoeol() failed with ANSI codes. Code revised. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2753 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: moving towards stable, misc fixpiaip2005-06-031-34/+60
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2752 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: formatting issuespiaip2005-06-031-12/+22
| | | | | | | talk.c: fixed more buffer bug. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2751 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: workarounds for fulfilled buffer scrolling bugpiaip2005-06-031-50/+77
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2750 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* (pmore) fixed scroll issues for new status linepiaip2005-06-031-17/+48
| | | | | | | (mbbsd) fixed initial welcomemsg forgot to clear buffer git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2749 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: new status barpiaip2005-06-031-10/+38
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2748 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* set svn prop (keywords)piaip2005-06-031-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2747 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* set svn propspiaip2005-06-031-10/+47
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2746 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* (fix r2742) there was no typo in users.cpiaip2005-06-031-0/+3
| | | | | | | (pmore) fix search display bug in scroll mode(should be refreshed) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2745 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: support Ptt_Printspiaip2005-06-031-8/+38
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2744 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: speed up by supporting scroll/rscroll.piaip2005-06-031-37/+88
| | | | 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/+778
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