Re: mc 4.7.0pre3 support for .tlz archives
On Tue, Oct 27, 2009 at 3:21 PM, Paul Marwick pa...@waitrose.com wrote: Paul Hartman wrote: On Tue, Oct 27, 2009 at 2:40 PM, Paul Marwick pa...@waitrose.com wrote: After a bit of a hunt, I found this in /etc/mc/mc.ext # .tar.lzma, .tlz regex/\.t(ar\.lzma|lz)$ Open=%cd %p#utar View=%view{ascii} lzma -dc %f 2/dev/null | tar tvvf - :) I'm not exactly expert on mc regex, but I can't see what the problem is. I also tried renaming a .tlz to .tar.lzma. After doing this, no problem opening it, and no problems with mc not recognizing it as a compressed tar file. Can anyone see what the problem is? Anyone reproduce the problem? :) Even better, any suggestions as to a fix that works? Do you have the program lzma on your system? (I think lzma is probably a symlink to xz nowdays) Yes, I have /usr/bin/lzma, which is a symlink to xz. As I mentioned, if the file is renamed from .tlz to .tar.lzma, it can be opened correctly, so the system must be finding lzma. So I think the error must be in the regex used to support the .tlz extention. I just can't see it... Ah, sorry about that, I mis-read it. I think I can see the same problem now. I just tried to rename a file.tar.lzma (which MC opened normally) to file.tlz and MC told me it doesn't look like a tar archive. However, when I manually ran the command: lzma -dc file.tlz 2/dev/null | tar tvvf - it listed the file's contents as you would expect. md5sum of both files are identical. ___ Mc mailing list http://mail.gnome.org/mailman/listinfo/mc
Re: mc 4.7.0pre3 support for .tlz archives
On Tue, Oct 27, 2009 at 3:56 PM, Paul Marwick pa...@waitrose.com wrote: I assume that it must be an error in the way the regex is structured, but I certainly can't see it. I think the regex looks okay, but found this in util.c which looks like it may be a clue: /* HACK: we must belive to extention of LZMA file :) ...*/ if (strlen(name) 5 strcmp(name[strlen(name)-5],.lzma) == 0) return COMPRESSION_LZMA; Maybe try to change that to look for tlz and see if it fixes the problem. ___ Mc mailing list http://mail.gnome.org/mailman/listinfo/mc
Re: mc 4.7.0pre3 support for .tlz archives
On Tue, 27 Oct 2009, /dev/rob0 wrote: On Tuesday 27 October 2009 15:16:57 Theodore Kilgore wrote: Does anyone happen to know if similar procedures will open a Slackware .txz file or not? Slackware 13's mc works fine with .txz packages. Sorry, this is on my list of things to look into, but I am also rather busy trying to hold my end up over here and I simply have not had time to do much in that direction. I found it rather simple to upgrade everything on a 12.2 system using the 13.0 Slackbuild scripts. pkgtools itself can be upgradepkg'ed on older systems, but you also need xz. Oh, now that I think of it, I recall that I just installpkg'ed the slackware64 xz package on my slamd64-12.2 system. I didn't try that with mc; right now I just ssh to a 13.0 host if I want to look inside any txz/tlz packages. :) -- I am running Slackware-current right now, as I said. And the mc package which is installed is mc-20090714_git-i486-1.txz, dated July 14. It will _not_ open a txz file out of the box. So, are you saying it can be thus configured in the extension file? Theodore Kilgore ___ Mc mailing list http://mail.gnome.org/mailman/listinfo/mc
Re: mc 4.7.0pre3 support for .tlz archives
On Tue, 27 Oct 2009, Helmut Hullen wrote: Hallo, Theodore, Du meintest am 27.10.09 zum Thema Re: mc 4.7.0pre3 support for .tlz archives: After a bit of a hunt, I found this in /etc/mc/mc.ext # .tar.lzma, .tlz regex/\.t(ar\.lzma|lz)$ Open=%cd %p#utar View=%view{ascii} lzma -dc %f 2/dev/null | tar tvvf - Does anyone happen to know if similar procedures will open a Slackware ..txz file or not? mc-20090714_git_i486-1.txz (Slackware-current, ap) works fine with *.txz packages. OK, that's nice. How to implement such a pleasant feature? Because as a matter of fact it does not work over here. Theodore Kilgore ___ Mc mailing list http://mail.gnome.org/mailman/listinfo/mc
Re: mc 4.7.0pre3 support for .tlz archives
Paul Hartman wrote: On Tue, Oct 27, 2009 at 3:56 PM, Paul Marwick pa...@waitrose.com wrote: I assume that it must be an error in the way the regex is structured, but I certainly can't see it. I think the regex looks okay, but found this in util.c which looks like it may be a clue: /* HACK: we must belive to extention of LZMA file :) ...*/ if (strlen(name) 5 strcmp(name[strlen(name)-5],.lzma) == 0) return COMPRESSION_LZMA; Maybe try to change that to look for tlz and see if it fixes the problem. :) I've chickened out and left it to the experts. Raised a ticket, looks as though the problem should be fixed with 4.7.0-pre4. I may try in the meantime, but at least it should be properly fixed soon... I'll also have to have a look at adding DAR support, which is something I use a bit. Had it working with 4.6.1, but I've not had time to fiddle with it since... paul. ___ Mc mailing list http://mail.gnome.org/mailman/listinfo/mc
Re: ncurses or slang
* Slava Zanko slavaza...@gmail.com schrieb: Hi folks, snip unless there's a damn good reason for slang, I'd prefer dropping slang in favour of ncurses. cu -- - Enrico Weigelt== metux IT service - http://www.metux.de/ - Please visit the OpenSource QM Taskforce: http://wiki.metux.de/public/OpenSource_QM_Taskforce Patches / Fixes for a lot dozens of packages in dozens of versions: http://patches.metux.de/ - ___ Mc-devel mailing list http://mail.gnome.org/mailman/listinfo/mc-devel
Re: building 4.6.2 with glib1
* Gabor Z. Papp g...@papp.hu schrieb: Hi, Compiling current git with glib1 fails with the following error: you shouldn't be much surprised: glib1 and glib2 are totally different, very incompatible libraries, just happen to share the name and some ideas behind. BTW: I'm (again) working on getting rid of it at all, since glib is utterly broken/unusable on certain platforms (especially embedded ones) cu -- - Enrico Weigelt== metux IT service - http://www.metux.de/ - Please visit the OpenSource QM Taskforce: http://wiki.metux.de/public/OpenSource_QM_Taskforce Patches / Fixes for a lot dozens of packages in dozens of versions: http://patches.metux.de/ - ___ Mc-devel mailing list http://mail.gnome.org/mailman/listinfo/mc-devel
Re: ncurses or slang
On Tue, 2009-10-27 at 18:42 +0100, Enrico Weigelt wrote: unless there's a damn good reason for slang, I'd prefer dropping slang in favour of ncurses. Why would you drop anything at all unless there's a damn good reason for that? -- Sincerely yours, Yury V. Zaytsev ___ Mc-devel mailing list http://mail.gnome.org/mailman/listinfo/mc-devel
Re: building 4.6.2 with glib1
On Tue, 2009-10-27 at 18:45 +0100, Enrico Weigelt wrote: BTW: I'm (again) working on getting rid of it at all, since glib is utterly broken/unusable on certain platforms (especially embedded ones) Would you please elaborate on how broken it is? P.S. It would be interesting to see your repo at some point. The links in your signature ATM are, unfortunately, broken/unusable on my platform ;-) Do you have a public mirror yet? -- Sincerely yours, Yury V. Zaytsev ___ Mc-devel mailing list http://mail.gnome.org/mailman/listinfo/mc-devel
Re: ncurses or slang
* Yury V. Zaytsev y...@shurup.com schrieb: On Tue, 2009-10-27 at 18:42 +0100, Enrico Weigelt wrote: unless there's a damn good reason for slang, I'd prefer dropping slang in favour of ncurses. Why would you drop anything at all unless there's a damn good reason for that? To make the whole code smaller and cleaner ;-P cu -- - Enrico Weigelt== metux IT service - http://www.metux.de/ - Please visit the OpenSource QM Taskforce: http://wiki.metux.de/public/OpenSource_QM_Taskforce Patches / Fixes for a lot dozens of packages in dozens of versions: http://patches.metux.de/ - ___ Mc-devel mailing list http://mail.gnome.org/mailman/listinfo/mc-devel
Re: ncurses or slang
On Tue, 2009-10-27 at 20:03 +0100, Enrico Weigelt wrote: * Yury V. Zaytsev y...@shurup.com schrieb: On Tue, 2009-10-27 at 18:42 +0100, Enrico Weigelt wrote: unless there's a damn good reason for slang, I'd prefer dropping slang in favour of ncurses. Why would you drop anything at all unless there's a damn good reason for that? To make the whole code smaller and cleaner ;-P Does not sound compelling enough to me. Did you try LFS? :-P -- Sincerely yours, Yury V. Zaytsev ___ Mc-devel mailing list http://mail.gnome.org/mailman/listinfo/mc-devel
Re: building 4.6.2 with glib1
* Yury V. Zaytsev y...@shurup.com schrieb: On Tue, 2009-10-27 at 18:45 +0100, Enrico Weigelt wrote: BTW: I'm (again) working on getting rid of it at all, since glib is utterly broken/unusable on certain platforms (especially embedded ones) Would you please elaborate on how broken it is? For example makes trouble on uclibc (eg. Gentoo folks have theirs reasons to have it hardmasked on uclibc profiles). Oh, and it's quite fat - too fat for the targets I need mc for. P.S. It would be interesting to see your repo at some point. The links in your signature ATM are, unfortunately, broken/unusable on my platform ;-) Do you have a public mirror yet? Just was too lazy to reconfigure the signature for that list (because, since i'd been driven out of the team, i rarely come around here ...). My current projects are now exclusively in git repos - if you're interested in sth., just let me know. cu -- - Enrico Weigelt== metux IT service - http://www.metux.de/ - Please visit the OpenSource QM Taskforce: http://wiki.metux.de/public/OpenSource_QM_Taskforce Patches / Fixes for a lot dozens of packages in dozens of versions: http://patches.metux.de/ - ___ Mc-devel mailing list http://mail.gnome.org/mailman/listinfo/mc-devel
Re: ncurses or slang
* Yury V. Zaytsev y...@shurup.com schrieb: On Tue, 2009-10-27 at 20:03 +0100, Enrico Weigelt wrote: * Yury V. Zaytsev y...@shurup.com schrieb: On Tue, 2009-10-27 at 18:42 +0100, Enrico Weigelt wrote: unless there's a damn good reason for slang, I'd prefer dropping slang in favour of ncurses. Why would you drop anything at all unless there's a damn good reason for that? To make the whole code smaller and cleaner ;-P Does not sound compelling enough to me. Did you try LFS? :-P yet too big for my targets. I've got my own build/distro system (which builds everything exclusively w/ sysroot'ed crosscompilers) cu -- - Enrico Weigelt== metux IT service - http://www.metux.de/ - Please visit the OpenSource QM Taskforce: http://wiki.metux.de/public/OpenSource_QM_Taskforce Patches / Fixes for a lot dozens of packages in dozens of versions: http://patches.metux.de/ - ___ Mc-devel mailing list http://mail.gnome.org/mailman/listinfo/mc-devel
Re: building 4.6.2 with glib1
On Tue, 2009-10-27 at 20:12 +0100, Enrico Weigelt wrote: Just was too lazy to reconfigure the signature for that list (because, since i'd been driven out of the team, i rarely come around here ...). My current projects are now exclusively in git repos - if you're interested in sth., just let me know. I'm interested in peeking in your branches :-) -- Sincerely yours, Yury V. Zaytsev ___ Mc-devel mailing list http://mail.gnome.org/mailman/listinfo/mc-devel
Re: building 4.6.2 with glib1
* Yury V. Zaytsev y...@shurup.com schrieb: On Tue, 2009-10-27 at 20:12 +0100, Enrico Weigelt wrote: Just was too lazy to reconfigure the signature for that list (because, since i'd been driven out of the team, i rarely come around here ...). My current projects are now exclusively in git repos - if you're interested in sth., just let me know. I'm interested in peeking in your branches :-) free-mc: git://git.metux.de/free-mc.git libmvfs: git://git.metux.de/libmvfs.git libmixp: git://git.metux.de/libmixp.git libmixpsrv: git://git.metux.de/libmixpsrv.git cu -- - Enrico Weigelt== metux IT service - http://www.metux.de/ - Please visit the OpenSource QM Taskforce: http://wiki.metux.de/public/OpenSource_QM_Taskforce Patches / Fixes for a lot dozens of packages in dozens of versions: http://patches.metux.de/ - ___ Mc-devel mailing list http://mail.gnome.org/mailman/listinfo/mc-devel
Re: building 4.6.2 with glib1
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 27.10.2009 21:12, Enrico Weigelt wrote: Just was too lazy to reconfigure the signature for that list (because, since i'd been driven out of the team, i rarely come around here ...). My current projects are now exclusively in git repos - if you're interested in sth., just let me know. Enrico, 'been driven out of the team' is an incorrect words. At present time you have write access on git in m-c.o: midnight-commander:/home/slavaz/.ssh# hostname midnight-commander.org midnight-commander:/home/slavaz/.ssh# getent passwd metux metux:x:1003:112::/home/metux:/bin/sh midnight-commander:/home/slavaz/.ssh# ls /home/metux/.ssh/ authorized_keys If you wasn't lose your private ssh-key, you may continue development in team right now. Is some your ideas was rejected by team? Well, shit happens. Some my grandiose ideas was reject by team too... but I continue to develop. If you absolutely don't like glib - please, propose FULLY-replace library. Not library with young age and/or poor-featured - need stable and fully-functional library. You want to support own library code? Excellent, just try^w do it. This is not so easy like pronounce. :) We, Russian, have phrases: make own bicycle or Invent the wheel again. Select what you like:) Is you have reason for drop glib (except embedded systems)? Glib may be smallest. For this, need to tuning glib (via glib bugzilla's feature request etc). MC just use convenient and 'soft' library. Many current features and thinks will impossible or will much harder to realize without glib. Isn't it? WBR, Slavaz. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ iEYEARECAAYFAkrnlX0ACgkQb3oGR6aVLpquDACfdqTSSGe+rQ/VHEoZnW6gVOua L5wAoIAGLYDboZMMrVgWiih/yFLUR3ce =MeuE -END PGP SIGNATURE- ___ Mc-devel mailing list http://mail.gnome.org/mailman/listinfo/mc-devel
Re: ncurses or slang
On 10/27/2009 07:42 PM, Enrico Weigelt wrote: * Slava Zankoslavaza...@gmail.com schrieb: Hi folks, snip unless there's a damn good reason for slang, I'd prefer dropping slang in favour of ncurses. The bug in mcedit where pressing the DEL key deletes the background in ncurses should be reason enough :P ___ Mc-devel mailing list http://mail.gnome.org/mailman/listinfo/mc-devel