Re: rpm --nosignature
Hello! I think that mc.ext should become a script some day. It would either run something itself or it would return a command (like %view) back to mc. It would be easier to write such rules without having to put them on one line. May be it worth the efforts to implement multiline support there with \ as last character at end of line, just like bash and C. Yes. I think we can simply rewrite consecutive backslash and newline with two spaces in regex_command() without moving data. It can even be done immediately after loading the data, before the huge loop. I don't like idea with script. As for me it will be difficult to implement this in shell, and I will complain about perl. You don't like Perl? OK, we'll see how far we can go before some radical changes become necessary. BTW, mc.ext's Include feature is not documented in manual, as far as Charset Conversion. Walery Studennikov will be in army soon, so he has more vital tasks now ;-( I've added Include. I think the charset support will become default soon, maybe even in 4.6.1. The dialog needs to be redesigned. Ctrl-T should be in the menu. The documentation will be added. Best luck to Walery. -- Regards, Pavel Roskin ___ Mc-devel mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/mc-devel
Re: rpm --nosignature
Hello! +# 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 That's something different. Checking for programs in PATH from mc.ext is not implemented, but it's planned. Stupid me :-( I didn't realize that lib/mc.ext.in was also changed, not just vfs/extfs/rpm. I didn't even test it. Good that I've had a chance to test it now - there was a missing semicolon there. It's fixed now. I think that mc.ext should become a script some day. It would either run something itself or it would return a command (like %view) back to mc. It would be easier to write such rules without having to put them on one line. -- Regards, Pavel Roskin ___ Mc-devel mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/mc-devel
Re: rpm --nosignature
Hello, Arpi Fixed in CVS: 2002-12-29 Andrew V. Samoilov [EMAIL PROTECTED] * extfs/rpm: Use --nosignature only if rpm supports this. but in mc.ext it's still there: # RPM packages (SuSE uses *.spm for source packages) regex/\.(rpm|spm)$ Open=%cd %p#rpm View=%view{ascii} rpm -qivlp --nosignature --scripts %f Can somebody with RH 8.x distro test attached patch. I don't know is that rpm option order sensitive. -- Regards, Andrew V. Samoilov --- mc.ext.in Mon Jan 27 15:20:47 2003 +++ mc.ext.in Mon Jan 27 15:14:27 2003 @@ -487,7 +489,7 @@ # RPM packages (SuSE uses *.spm for source packages) regex/\.(rpm|spm)$ Open=%cd %p#rpm + View=%view{ascii} if rpm --nosignature --version /dev/null 21; then +RPM=rpm --nosignature ; else RPM=rpm fi ; $RPM -qivlp --scripts %f - View=%view{ascii} rpm -qivlp --nosignature --scripts %f # deb regex/\.deb$
Re: rpm --nosignature
Hi, Hello! Can somebody with RH 8.x distro test attached patch. I don't know is that rpm option order sensitive. It's working fine. Thank you! hmm. then teh same trick (if ... then) could be used for dpkg-less systems, to fallback to ar+tar if no dpkg installed: +# 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 A'rpi / Astral ESP-team -- Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu However, many people beg for its inclusion in Debian. Why? - Gabucino Because having new software in Debian is good. - Josselin Mouette Because having good software in Debian is new. - Gabucino ___ Mc-devel mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/mc-devel
Re: rpm --nosignature
Hello! Can somebody with RH 8.x distro test attached patch. I don't know is that rpm option order sensitive. It's working fine. Thank you! hmm. then the same trick (if ... then) could be used for dpkg-less systems, to fallback to ar+tar if no dpkg installed: Yes, except that rpm and rpm --nosignature accept the same parameters, while ar and dpkg accept very different parameters. Maybe if dpkg is missing, the dpkg script should behave exactly as the uar script. +# 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 That's something different. Checking for programs in PATH from mc.ext is not implemented, but it's planned. -- Regards, Pavel Roskin ___ Mc-devel mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/mc-devel
Re: rpm --nosignature
Pavel Roskin wrote: Hello! It could be a good idea to remove the --nosignature options (rpm) from the extension files. As an example, neither Mandrake's RPM 4.0.3 (Mandrake 8.2) nor 4.0.4 (Mandrake 9.0) has this option. (Is it RH-specific, or is it only present in newer versions?) The CHANGES file in rpm-4.1 says that --nosignature appeared in the version 4.1. I wanted to suppress the warning about signature but retain other error messages. I didn't know that it's a very new option. I think I'll remove it for now and redirect all errors from rpm to /dev/null. Fixed in CVS: 2002-12-29 Andrew V. Samoilov [EMAIL PROTECTED] * extfs/rpm: Use --nosignature only if rpm supports this. -- Regards, Andrew V. Samoilov ___ Mc-devel mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/mc-devel