OESF Portables Forum
General Forums => Off Topic forum => Topic started by: cybersphinx on November 09, 2004, 04:23:36 pm
-
Does anyone know how to browse .ipk-files with midnight commander (like .deb-files)? I found a thread here on how to display info on viewing, but I'd like to be able to open them like other archives. Adapting the .deb rules doesn't work, because .ipks are tar-files and .debs are ar archives. I could use the .tar.gz rule, but then I'd always have to open the data.tar.gz file separately. Any other solutions? Thanks.
-
Dont use MC so I not sure if this is what you want, but I have a shell script for viewing the contents of ipks.
#!/bin/bash
tar xzOf $1 ./data.tar.gz | tar tzf -
You should be able to convert the tar command to work in MC
Stu
-
Does anyone know how to browse .ipk-files with midnight commander (like .deb-files)? I found a thread here on how to display info on viewing, but I'd like to be able to open them like other archives. Adapting the .deb rules doesn't work, because .ipks are tar-files and .debs are ar archives. I could use the .tar.gz rule, but then I'd always have to open the data.tar.gz file separately. Any other solutions? Thanks.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=51236\"][{POST_SNAPBACK}][/a][/div]
Hi
I have just done this on my setup for MC
Open $HOME/mc/bindings
Amoungst the Archives section of the script add the following
# ipk
regex/\.ipk$
Open=%cd %p#utar
View=%view{ascii} tar tvvf %f
The gaps are tabs and finish with a carraige return
This will open up the archive and typically display:-
control.tar.gz
data.tar.gz
debian-binary
The tar.gz files can then be opened as normal with the bindings for those files and there you have the whole lot to browse through or extract etc
regards
-
Does anyone know how to browse .ipk-files with midnight commander (like .deb-files)? I found a thread here on how to display info on viewing, but I'd like to be able to open them like other archives. Adapting the .deb rules doesn't work, because .ipks are tar-files and .debs are ar archives. I could use the .tar.gz rule, but then I'd always have to open the data.tar.gz file separately. Any other solutions? Thanks.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=51236\"][{POST_SNAPBACK}][/a][/div]
Hi
I have just done this on my setup for MC
Open $HOME/mc/bindings
Amoungst the Archives section of the script add the following
# ipk
regex/\.ipk$
Open=%cd %p#utar
View=%view{ascii} tar tvvf %f
The gaps are tabs and finish with a carraige return
This will open up the archive and typically display:-
control.tar.gz
data.tar.gz
debian-binary
The tar.gz files can then be opened as normal with the bindings for those files and there you have the whole lot to browse through or extract etc
regards
[div align=\"right\"][a href=\"index.php?act=findpost&pid=72095\"][{POST_SNAPBACK}][/a][/div]
This will not work for me - but this does the job:
regex/\.ipk$
Open=%cd %p#utar
View=%view{ascii} gzip -dc %f 2>/dev/null | tar tvvf %f
by the way - if you want to browse your C860 backup file for restoring a single file these lines are your friends:
regex/\.backup_SCL860-JP-1$
Open=%cd %p#utar
View=%view{ascii} tar tvvf %f
-
I think the problem is that View=%view{ascii} tar tvvf %f
should be View=%view{ascii} tar ztvf %f
z for the gunzip
-
Open $HOME/mc/bindings
Amoungst the Archives section of the script add the following
There is no ~/mc directory on my Zaurus.
There is an ~/.mc directory but in it there is no bindings file.
Should I just create it? And what should it look like?
-
Open $HOME/mc/bindings
Amoungst the Archives section of the script add the following
There is no ~/mc directory on my Zaurus.
There is an ~/.mc directory but in it there is no bindings file.
Should I just create it? And what should it look like?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=72222\"][{POST_SNAPBACK}][/a][/div]
You should better take a binding file from an existing desktop mc and modify it.
-
You should better take a binding file from an existing desktop mc and modify it.
Can someone send me a functioning bindings file for the use on a Zaurus? I don't have a desktop mc version...
-
Open $HOME/mc/bindings
Amoungst the Archives section of the script add the following
There is no ~/mc directory on my Zaurus.
There is an ~/.mc directory but in it there is no bindings file.
Should I just create it? And what should it look like?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=72222\"][{POST_SNAPBACK}][/a][/div]
Hi
The setup on the Zaurus package of MC is a little different
On mine the /home/etc/mc/mc.ext file has the key bindings in it
I don't use the copy of MC on the Z to browse .ipk files so don't know if it works, however it does on the desktop set and I can check what I am installing before I do it and check what is already on the Z for any overwrites or conflicts.
regards
-
The setup on the Zaurus package of MC is a little different
On mine the /home/etc/mc/mc.ext file has the key bindings in it
Thanks, I use Cacko 1.22 and found the file is in /home/root/usr/share/mc/mc.ext