diff -ru THE-3.1/Makefile.in THE-3.1_patched/Makefile.in --- THE-3.1/Makefile.in Fri Jun 14 14:08:43 2002 +++ THE-3.1_patched/Makefile.in Thu Jun 19 23:14:17 2003 @@ -205,10 +205,10 @@ installbase: the the.man THE_Help.txt $(INSTALL) -m 755 -d $(bindir) - $(INSTALL) -m 755 -d $(prefix)/man/man1 + $(INSTALL) -m 755 -d $(mandir)/man1 $(INSTALL) -m 755 -d $(prefix)/share/THE $(INSTALL) -m 755 -c ./the $(bindir)/the - $(INSTALL) -m 644 -c $(srcdir)/the.1 $(prefix)/man/man1/the.1 + $(INSTALL) -m 644 -c $(srcdir)/the.1 $(mandir)/man1/the.1 $(INSTALL) -m 644 -c ./THE_Help.txt $(prefix)/share/THE/THE_Help.txt $(INSTALL) -m 644 -c $(srcdir)/append.the $(prefix)/share/THE/append.the $(INSTALL) -m 644 -c $(srcdir)/comm.the $(prefix)/share/THE/comm.the diff -ru THE-3.1/system-profile.the THE-3.1_patched/system-profile.the --- THE-3.1/system-profile.the Thu Jun 19 23:15:00 2003 +++ THE-3.1_patched/system-profile.the Thu Jun 19 23:13:26 2003 @@ -0,0 +1,52 @@ +/*trace all */ + Command 'def f1 macro toggle-prefix' + Command 'def f2 macro toggle-shadow' + Command 'def f3 SOS makecurr' + Command 'def f4 nextw' + Command 'def f5 insertm toggle' + Command 'def f6 help ' + command 'def f7 Spltjoin ' + Command 'def f8 ffile' + Command 'def f9 set highlight altered' + command 'def f10 set highlight off' + command 'def f11 tabpre' + Command 'def f12 cursor home save' +'Set Reserved -2 F1-Prefix 2-Shadow 3-CurrLin 4-NxtFile 5-InsMode 6-Help 7-Spltjn 8-save 9-hlt=alt 10-hlt=off 11-tabprefix 12-home' + Command 'def f13 qquit ' + Command 'def f14 SOS tabwordb ' + Command 'def f15 SOS tabwordf ' + Command 'def f16 SOS startendchar' + Command 'def f17 left 75 ' + Command 'def f18 right 75' + Command 'def f19 backward' + Command 'def f20 forward' + Command 'def C-F1 set hexshow on ' + Command 'def C-F2 x ~/.therc ' + Command 'def C-F3 CMAtch' + Command 'def C-F4 macro invert' + Command 'def C-F5 qquit' + Command 'def C-F6 SOS tabwordb ' + Command 'def C-F7 SOS tabwordf ' + Command 'def C-F8 SOS startendchar ' + Command 'def C-F9 SOS left 75 ' + Command 'def C-F10 SOS right 75 ' + Command 'def C-F11 SOS backward ' + Command 'def C-F12 SOS forward ' + Command 'def S-F11 backward ' + Command 'def S-F12 forward' + Command 'def c-f12 right 75' + Command 'def c-f11 left 75' + Command 'def \163 CMATCH' +'Set Reserved -1 [ctl+] Hex ProfEd CMAtch [F13-]qquit wordb wordf eol/bol sleft sright Pageup Pagedwn' +set reprofile on +set number on +'set insertmode on' +'set macropath @PREFIX@/share/THE:@USERHOMEDIR@/.the ' +'def del sos cuadelba' +'def c-d sos delc' +'def c-k sos delend ' +'def c-a sos startendchar ' +'def c-v forward ' +'def c-b backward' +Exit + diff -ru THE-3.1/the.x THE-3.1_patched/the.x --- THE-3.1/the.x Thu Jun 19 23:15:06 2003 +++ THE-3.1_patched/the.x Thu Jun 19 23:13:26 2003 @@ -0,0 +1,37 @@ +#!/bin/sh +#if user has no .therc, provide one +if [ ! -r ~/.therc ]; then +printf "/* User Profile for THE, provided by Fink package */ +if Initial() then do + macro '@PREFIX@/share/THE/system-profile.the' /*Call initial system profile*/ + if Arg(1) = 'appleterm' then do /*call extra macro to fix pf key mapping */ + macro '@PREFIX@/share/THE/apple-terminal-extras-profile.the' + end + /*place any additional first-run settings below this line */ + + /*place additional first-run settings above this line */ +end +else do +/* Place all 'reprofile' settings below this line, for execution upon opening of second file */ + +/* Place all 'reprofile' settings above this line */ +end +/*place all universal changes here. See above named macro file for model */ + + +'set macropath @PREFIX@/share/THE:$HOME/.the' + ">> ~/.therc; +fi + #check if user is running in x11 or Apple's terminal, and launch appropriate version. + if [ $COLORTERM ]; then + the-xcurses $*; +elif [ $TERM_PROGRAM ]; then +the-ncurses $* -a appleterm ; +elif [ $COLORTERM ]; then +the-xcurses $*; +elif [ $TERM ]; then +the-xcurses $*; +else + the-ncurses $* -a appleterm ; + fi + diff -ru THE-3.1/toggle-prefix.the THE-3.1_patched/toggle-prefix.the --- THE-3.1/toggle-prefix.the Thu Jun 19 23:15:12 2003 +++ THE-3.1_patched/toggle-prefix.the Thu Jun 19 23:13:26 2003 @@ -0,0 +1,11 @@ +/* set prefix area on when off, set prefix area off when on */ +'extract @PREFIX' +if prefix.1 = 'ON' then Do + 'set prefix off' + End +Else Do + 'set prefix on LEFT' + End + +Exit + diff -ru THE-3.1/toggle-shadow.the THE-3.1_patched/toggle-shadow.the --- THE-3.1/toggle-shadow.the Thu Jun 19 23:15:21 2003 +++ THE-3.1_patched/toggle-shadow.the Thu Jun 19 23:13:26 2003 @@ -0,0 +1,11 @@ +/* shadow off when on, set shadow on when off */ +'extract @SHADOW' +if shadow.1 = 'ON' then Do + 'set shadow off' + 'msg shadow lines off' + End +Else Do + 'set shadow on' + 'msg shadow ON' + End + diff -ru THE-3.1/apple-terminal-extras-profile.the THE-3.1_patched/apple-terminal-extras-profile.the --- THE-3.1/apple-terminal-extras-profile.the Thu Jan 19 23:11:21 2004 +++ THE-3.1_patched/apple-terminal-extras-profile.the Thu Jan 19 23:11:26 2004 @@ -0,0 +1,7 @@ +/* apple-terminal-extras.the a set of extra commands to run */ +/* when using the apple terminal environment (ncurses) instead of */ +/* Xcurses (Xfree86) by Eric Oberle */ + Command 'def pf1 macro toggle-prefix' + Command 'def pf2 macro toggle-shadow' + Command 'def pf3 SOS makecurr' + Command 'def pf4 nextw' +