Find file dialog in mc-4.6.0-pre3

2003-01-25 Thread Dmitry Semyonov
Hello!

I've scanned a TODO list and found the item -
Make find dialog more responsive - inside
After 4.6.1 on 4.6.x branch section.

But I think the responsiveness of the dialog is unacceptable for the
4.6.0 release. I missed the moment when it became so bad, (may be 1-3
releases ago (?)). But I remember mc-4.5.55 responsiveness was _much_
better. In fact 'Find file' in mc-4.6.0-pre3 is unusable on large
(~100Mb) directory trees. I can't quickly stop it, I can't quickly
suspend it, and so on. The response time is about 40(!) seconds.

I've checked it on Linux console and xterm terminals.

mc was compiled with the following configure options:
--disable-dependency-tracking --disable-nls --enable-charset --with-x

$ mc -V
GNU Midnight Commander 4.6.0-pre3
Virtual File System: tarfs, extfs, cpiofs, ftpfs, fish
With builtin Editor
Using system-installed S-Lang library with terminfo database
With subshell support as default
With support for background operations
With mouse support on xterm and Linux console
With support for X11 events
With multiple codepages support

$ uname -a
Linux bor 2.4.19 #3 Tue Oct 22 17:44:32 MSD 2002 i686 unknown


...Bye..Dmitry.

___
Mc-devel mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/mc-devel



.syntax file syntax changed since 4.5.4x?

2003-01-25 Thread Arpi
Hi,

I'm porting my .syntax hilite files from AMC (uses syntax code from 4.5.4x)
and found that the /nn number codes has gone. I've never understood their
purpose but all my syntax files contains them after each color code.

-keyword $(*) yellow
-keyword ${*} brightgreen
+keyword $(*) yellow/24
+keyword ${*} brightgreen/16

Should I remove them, or it doesn't matter?


A'rpi / Astral  ESP-team

--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu
___
Mc-devel mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/mc-devel



extfs/uzip bug

2003-01-25 Thread Arpi
Hi,

While testing new uzip i've found that it's still(!, it didn't worked 3
years ago neither) unabel to handle zip files containing subdirs/fis with
extra chars (space etc) in the name.

my test file lists:
root@arpi:/tmp/!mc# unzip -l teszt\ 1.zip
Archive:  teszt 1.zip
  Length Date   TimeName
    
0  01-25-03 21:47   teszt/
0  01-25-03 21:47   teszt/dir 1 2 3 ! ;/
23618  12-26-02 03:19   teszt/dir 1 2 3 ! ;/fish.c
  371  11-21-98 20:36   teszt/dir 1 2 3 ! ;/fish.h
  459  09-27-02 01:13   teszt/ftpfs.h
    ---
24448   5 files

but in mc if i enter i can only see ftpfs.h

after changing line 22 of extfs/uzip to:
my $op_has_zipinfo = 0;

it started to work.
so it seems zipinfo support is broken?


A'rpi / Astral  ESP-team

--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu
___
Mc-devel mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/mc-devel



AMC merge patch #2

2003-01-25 Thread Arpi
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:
+