* tar mode and package.el can't support bsdtar in mac OSX
@ 2013-04-14 2:04 陈云星
2013-04-14 6:30 ` Eli Zaretskii
2013-04-14 9:40 ` Peter Dyballa
0 siblings, 2 replies; 4+ messages in thread
From: 陈云星 @ 2013-04-14 2:04 UTC (permalink / raw)
To: help-gnu-emacs
i create a tarball with bsdtar( the default tar tool in Mac osx) then open it with emacs tar-mode.
but it can't be opened.
and i also found the package.el only support gnutar format of tar , not the bsdtar.
can any method to solve these problem ?
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: tar mode and package.el can't support bsdtar in mac OSX
2013-04-14 2:04 tar mode and package.el can't support bsdtar in mac OSX 陈云星
@ 2013-04-14 6:30 ` Eli Zaretskii
2013-04-14 9:40 ` Peter Dyballa
1 sibling, 0 replies; 4+ messages in thread
From: Eli Zaretskii @ 2013-04-14 6:30 UTC (permalink / raw)
To: help-gnu-emacs
> Date: Sat, 13 Apr 2013 19:04:47 -0700 (PDT)
> From: 陈云星 <chen.yack@gmail.com>
> Injection-Date: Sun, 14 Apr 2013 02:04:47 +0000
>
> i create a tarball with bsdtar( the default tar tool in Mac osx) then open it with emacs tar-mode.
>
> but it can't be opened.
>
> and i also found the package.el only support gnutar format of tar , not the bsdtar.
>
> can any method to solve these problem ?
This should be sent to emacs-devel@gnu.org, as they seem to be bugs or
missing features.
Please also give details about how you used bsdtar to create a tarball
that Emacs couldn't open.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: tar mode and package.el can't support bsdtar in mac OSX
2013-04-14 2:04 tar mode and package.el can't support bsdtar in mac OSX 陈云星
2013-04-14 6:30 ` Eli Zaretskii
@ 2013-04-14 9:40 ` Peter Dyballa
2013-04-15 12:47 ` ChinaXing
1 sibling, 1 reply; 4+ messages in thread
From: Peter Dyballa @ 2013-04-14 9:40 UTC (permalink / raw)
To: 陈云星; +Cc: help-gnu-emacs
Am 14.04.2013 um 04:04 schrieb 陈云星:
> i create a tarball with bsdtar( the default tar tool in Mac osx) then open it with emacs tar-mode.
>
> but it can't be opened.
On Mac OS X 10.6.8, Snow Leopard, I cannot reproduce this. The bsdtar archive I created can be opened with /usr/bin/emacs -Q. What's puzzling is that bsdtar includes the metadata resource forks of regular files into the archive, as in:
-rw-r--r-- 501/80 452 ./._vishnusmriti.txt
-rw-r--r-- 501/80 402641 vishnusmriti.txt
-rwxr-xr-x 501/80 323 emacs.sh
-rw-r--r-- 501/80 10913 dot-emacs
-rw-r--r-- 501/80 478 ./._test-vertical.tex
-rw-r--r-- 501/80 268 test-vertical.tex
-rw-r--r-- 501/80 477 ./._ThreeKingdomsCh1.tex.zip
-rw-r--r-- 501/80 9639 ThreeKingdomsCh1.tex.zip
What I cannot open successfully is the ZIP archive inside the bsdtar archive.
For help give more details! How did you create the bsdtar archive? What was the command line? How did you launch GNU Emacs? Did you try it with -Q, i.e., without any customisation? What is your Mac OS X version? Which version of GNU Emacs are you using?
--
Greetings
Pete
Think of XML as Lisp for COBOL programmers.
- Tony-A (some guy on /.)
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: tar mode and package.el can't support bsdtar in mac OSX
2013-04-14 9:40 ` Peter Dyballa
@ 2013-04-15 12:47 ` ChinaXing
0 siblings, 0 replies; 4+ messages in thread
From: ChinaXing @ 2013-04-15 12:47 UTC (permalink / raw)
To: Peter Dyballa; +Cc: help-gnu-emacs
the ._xxx file was generated by Mac sox when creating tar ball,
you can disable this by set environment variable COPYFILE_DISABLE=1:
COPYFILE_DISABLE=1 gnutar cf dir.tar dir
在 2013-4-14,下午5:40,Peter Dyballa <Peter_Dyballa@Web.DE> 写道:
>
> Am 14.04.2013 um 04:04 schrieb 陈云星:
>
>> i create a tarball with bsdtar( the default tar tool in Mac osx) then open it with emacs tar-mode.
>>
>> but it can't be opened.
>
> On Mac OS X 10.6.8, Snow Leopard, I cannot reproduce this. The bsdtar archive I created can be opened with /usr/bin/emacs -Q. What's puzzling is that bsdtar includes the metadata resource forks of regular files into the archive, as in:
>
> -rw-r--r-- 501/80 452 ./._vishnusmriti.txt
> -rw-r--r-- 501/80 402641 vishnusmriti.txt
> -rwxr-xr-x 501/80 323 emacs.sh
> -rw-r--r-- 501/80 10913 dot-emacs
> -rw-r--r-- 501/80 478 ./._test-vertical.tex
> -rw-r--r-- 501/80 268 test-vertical.tex
> -rw-r--r-- 501/80 477 ./._ThreeKingdomsCh1.tex.zip
> -rw-r--r-- 501/80 9639 ThreeKingdomsCh1.tex.zip
>
> What I cannot open successfully is the ZIP archive inside the bsdtar archive.
>
> For help give more details! How did you create the bsdtar archive? What was the command line? How did you launch GNU Emacs? Did you try it with -Q, i.e., without any customisation? What is your Mac OS X version? Which version of GNU Emacs are you using?
>
> --
> Greetings
>
> Pete
>
> Think of XML as Lisp for COBOL programmers.
> - Tony-A (some guy on /.)
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-04-15 12:47 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-14 2:04 tar mode and package.el can't support bsdtar in mac OSX 陈云星
2013-04-14 6:30 ` Eli Zaretskii
2013-04-14 9:40 ` Peter Dyballa
2013-04-15 12:47 ` ChinaXing
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).