Hi,
The saga continues, this time with EXTfs and Syntax files updates:
Changes included in patch: (all merged in from AMC version mc-4.1.35-A12pre)
- EXTFS Support for the ESP archiver ('uesp' added where needed)
- (commented out) support for .deb on dpkg-less systems
(users just need to move # 2 lines up :))
- New .sytnax files for BAssPasC, Macro-HTML, J(Dis)Asm languages
- (mostly) Color changes in HTML, LSM, Makefile .syntax files, to make
them (more) readable on blue background
(who the fsck thought that dark brown on dark red is readable?)
- .sytnax file mapping for .syntax files moved to top, so editing files
like Makefile.syntax is colored now :) (it matched the Makefile.* rule)
patch:
diff -Naur mc-2003-01-24-21.patched/lib/mc.ext.in mc-2003-01-24-21.patch2/lib/mc.ext.in
--- mc-2003-01-24-21.patched/lib/mc.ext.in Wed Dec 25 01:26:23 2002
+++ mc-2003-01-24-21.patch2/lib/mc.ext.in Sat Jan 25 22:40:37 2003
@@ -422,6 +422,13 @@
Open=%cd %p#uarj
View=%view{ascii} unarj l %f
+# esp
+regex/\.e(sp|[0-9][0-9])$
+ Open=%cd %p#uesp
+ View=%view{ascii} unesp v %f
+ Extract=unesp x %f
+ Icon=compressed.xpm
+
# ha
regex/\.(ha|HA|Ha)$
Open=%cd %p#uha
@@ -495,6 +502,9 @@
regex/\.deb$
Open=%cd %p#deb
View=%view{ascii} dpkg-deb -c %f
+# for dpkg-less systems:
+# Open=%cd %p#uar
+# View=%view{ascii} ar p %f control.tar.gz | tar xzO control ./control
+2/dev/null ; echo ; echo Filelist: ; ar p %f data.tar.gz | tar tzv
### Default ###
diff -Naur mc-2003-01-24-21.patched/syntax/Makefile.am
mc-2003-01-24-21.patch2/syntax/Makefile.am
--- mc-2003-01-24-21.patched/syntax/Makefile.am Sun Sep 22 02:06:27 2002
+++ mc-2003-01-24-21.patch2/syntax/Makefile.am Sat Jan 25 22:39:31 2003
@@ -35,6 +35,9 @@
tcl.syntax \
texinfo.syntax \
unknown.syntax \
- xml.syntax
+ xml.syntax \
+ bapc.syntax \
+ mhtml.syntax\
+ jasm.syntax
EXTRA_DIST = $(syntax_DATA)
diff -Naur mc-2003-01-24-21.patched/syntax/Syntax mc-2003-01-24-21.patch2/syntax/Syntax
--- mc-2003-01-24-21.patched/syntax/Syntax Fri Dec 13 09:12:52 2002
+++ mc-2003-01-24-21.patch2/syntax/Syntax Sat Jan 25 20:08:49 2003
@@ -17,6 +17,9 @@
# brightcyan
# white
+file [Ss]yntax$ Syntax\sHighlighting\sdefinitions ^#\ssyntax\srules\sversion\s
+include syntax.syntax
+
file ..\*\\.(diff|rej|patch)$ Diff\sOutput ^(diff|Index:)\s
include diff.syntax
@@ -71,6 +74,15 @@
file ..\*\\.(php|PHP)[0-9]?$ PHP\sProgram
include php.syntax
+file ..\*\\.(bap|bp2|bp3|bpp|bpe|lib|l32)$ BAssPasC\sProgram
+include bapc.syntax
+
+file ..\*\\.(mhtml|mac)$ Macro-HTML\sSource
+include mhtml.syntax
+
+file ..\*\\.(jasm)$ JVM\sAssembly
+include jasm.syntax
+
file ..\*\\.(java|JAVA|Java|jav)$ Java\sProgram
include java.syntax
@@ -112,9 +124,6 @@
file Don_t_match_me Mail\sfolder ^From\s
include mail.syntax
-
-file [Ss]yntax$ Syntax\sHighlighting\sdefinitions ^#\ssyntax\srules\sversion\s
-include syntax.syntax
file .\* unknown
include unknown.syntax
diff -Naur mc-2003-01-24-21.patched/syntax/bapc.syntax
mc-2003-01-24-21.patch2/syntax/bapc.syntax
--- mc-2003-01-24-21.patched/syntax/bapc.syntax Thu Jan 1 01:00:00 1970
+++ mc-2003-01-24-21.patch2/syntax/bapc.syntax Sat Jan 25 20:56:42 2003
@@ -0,0 +1,209 @@
+# BAssPasC syntax definitions v1.0 for Midnight Commander 4.1.35 and 4.5.x
+# (C) 1999 by A'rpi/ESP-team [EMAIL PROTECTED]
+# BAPC is a programming language, visit http://esp-team.scene.hu for details!
+
+context default brightcyan
+
+# main BAPC commands:
+keyword whole VAR white
+keyword whole CONST white
+
+keyword whole USES white
+keyword whole INDIRECT white
+keyword whole INDIRECTALL white
+keyword whole INCLUDEPROC white
+keyword whole INCLUDE white
+keyword wholeleft INCLUDED white
+keyword whole ALIGN white
+
+keyword whole SMOV white
+keyword whole RMOV white
+keyword whole LDDM white
+keyword whole SDDM white
+keyword whole LDD white
+keyword whole SDD white
+
+# IF-EQU
+keyword whole if white
+keyword whole ifn white
+keyword whole else white
+keyword whole endif white
+
+# BAPC conditionals:
+keyword whole IF white
+keyword whole IFS white
+keyword whole IFN white
+keyword whole IFNS white
+keyword whole DO white
+keyword whole DOCMD white
+keyword whole THEN white
+keyword whole THENCMD white
+keyword whole ELSE white
+keyword whole ENDIF white
+keyword whole WHILE white
+keyword whole ENDWHILE white
+keyword whole REPEAT white
+keyword whole UNTIL white
+keyword whole WITH white
+keyword whole ENDWITH white
+keyword whole CASE white
+keyword whole END white
+keyword whole ENDCASE white
+keyword whole ENDM white
+# FOR is too complex, include only the most importants:
+