public inbox for cygwin-talk@cygwin.com
 help / color / mirror / Atom feed
* [OT] Re: Problem [1.7]: gzip missing in brand new install
       [not found]   ` <4AFEA92A.6010801@gmail.com>
@ 2009-11-14 12:56     ` Dave Korn
  2009-11-14 13:11       ` Dave Korn
  0 siblings, 1 reply; 7+ messages in thread
From: Dave Korn @ 2009-11-14 12:56 UTC (permalink / raw)
  To: Dave Korn; +Cc: Thread TITTTL'd

[Thread TITTTL'd before it gets annoying on the main list]

Dave Korn wrote:
> Dave Korn wrote:
> 

>   So this time I also set mail.file_attach_binary to true.  Let's see if this
> one works: 

> --------------070307090509050609080100
> Content-Type: message/news;
>  name="cygcheck.out"
> Content-Transfer-Encoding: base64
> Content-Disposition: attachment;
>  filename="cygcheck.out"

  Not much.  The archive still displays it inline.  (Probably looks ok in
people's email clients though.)

  Must be the content-type being recognizable if it's not the encoding then.
That means editing t'birds' mime database looks necessary.  Hmm..


> ------------------------------------------------------------------------
> 
> 
> Q3lnd2luIENvbmZpZ3VyYXRpb24gRGlhZ25vc3RpY3MKQ3VycmVudCBTeXN0ZW0gVGltZTog
> U2F0IE5vdiAxNCAxMjo0MToyMCAyMDA5CgpXaW5kb3dzIDIwMDAgUHJvZmVzc2lvbmFsIFZl

  Also, hitting reply-to doesn't work terribly nicely either :-(

    cheers,
      DaveK

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [OT] Re: Problem [1.7]: gzip missing in brand new install
  2009-11-14 12:56     ` [OT] Re: Problem [1.7]: gzip missing in brand new install Dave Korn
@ 2009-11-14 13:11       ` Dave Korn
  2009-11-14 13:19         ` Dave Korn
  0 siblings, 1 reply; 7+ messages in thread
From: Dave Korn @ 2009-11-14 13:11 UTC (permalink / raw)
  To: Dave Korn; +Cc: Thread TITTTL'd

[-- Attachment #1: Type: text/plain, Size: 346 bytes --]

Dave Korn wrote:
>   Not much.  The archive still displays it inline.  (Probably looks ok in
> people's email clients though.)
> 
>   Must be the content-type being recognizable if it's not the encoding then.
> That means editing t'birds' mime database looks necessary.  Hmm..

  Don't mind me... just testing a theory.

    cheers,
      DaveK


[-- Attachment #2: cygcheck.otter --]
[-- Type: text/plain, Size: 2111 bytes --]


Cygwin Configuration Diagnostics
Current System Time: Sat Nov 14 12:41:20 2009

Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 4

Path:	F:\cygwin-1.7\usr\local\bin
	F:\cygwin-1.7\bin
	F:\cygwin-1.7\bin
	F:\cygwin-1.7\usr\X11R6\bin
	F:\cygwin-1.7\bin
	C:\WINNT\system32
	C:\WINNT
	C:\WINNT\System32\Wbem
	C:\Program Files\Support Tools\
	C:\openssl\bin
	C:\Program Files\Microsoft SDK\Bin\
	C:\Program Files\Microsoft SDK\Bin\WinNT\
	C:\Program Files\Smart Projects\IsoBuster
	C:\Program Files\Microsoft Visual Studio\Common\Tools\WinNT
	C:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin
	C:\Program Files\Microsoft Visual Studio\Common\Tools
	C:\Program Files\Microsoft Visual Studio\VC98\bin
	C:\Program Files\Microsoft SDK\Bin\
	C:\Program Files\Microsoft SDK\Bin\WinNT\
	F:\cygwin-1.7\lib\lapack

Output from F:\cygwin-1.7\bin\id.exe (nontsec)
UID: 500(DKAdmin)   GID: 513(None)
0(root)             544(Administrators) 545(Users)          513(None)
544(Administrators) 545(Users)          513(None)

Output from F:\cygwin-1.7\bin\id.exe (ntsec)
UID: 500(DKAdmin)   GID: 513(None)
0(root)             544(Administrators) 545(Users)          513(None)
544(Administrators) 545(Users)          513(None)

SysDir: C:\WINNT\system32
WinDir: C:\WINNT

USER = 'DKAdmin'
PWD = '/home/DKAdmin'
HOME = '/home/DKAdmin'

MSSdk = 'C:\Program Files\Microsoft SDK\.'
HOMEPATH = '\Documents and Settings\Administrator'
MANPATH = '/usr/local/man:/usr/share/man:/usr/man::/usr/ssl/man'
APPDATA = 'C:\Documents and Settings\Administrator\Application Data'
HOSTNAME = 'ubik'
Mstools = 'C:\Program Files\Microsoft SDK\.'
TERM = 'cygwin'
_NT_SYMBOL_PATH = 'srv*c:\symbols*http://referencesource.microsoft.com/symbols*http://msdl.microsoft.com/download/symbols'
PROCESSOR_IDENTIFIER = 'x86 Family 15 Model 3 Stepping 2, AuthenticAMD'
WINDIR = 'C:\WINNT'
TEXDOCVIEW_txt = 'cygstart %s'
TEXDOCVIEW_dvi = 'cygstart %s'
OLDPWD = '/usr/bin'
DEVMGR_SHOW_DETAILS = '1'
USERDOMAIN = 'UBIK'
OS = 'Windows_NT'
ALLUSERSPROFILE = 'C:\Documents and Settings\All Users'

  [ snipped ... should be sufficient for testing. ]


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [OT] Re: Problem [1.7]: gzip missing in brand new install
  2009-11-14 13:11       ` Dave Korn
@ 2009-11-14 13:19         ` Dave Korn
  2009-11-14 13:26           ` Dave Korn
  0 siblings, 1 reply; 7+ messages in thread
From: Dave Korn @ 2009-11-14 13:19 UTC (permalink / raw)
  To: Dave Korn; +Cc: Thread TITTTL'd

[-- Attachment #1: Type: text/plain, Size: 391 bytes --]

Dave Korn wrote:
> Dave Korn wrote:
>>   Not much.  The archive still displays it inline.  (Probably looks ok in
>> people's email clients though.)
>>
>>   Must be the content-type being recognizable if it's not the encoding then.
>> That means editing t'birds' mime database looks necessary.  Hmm..
> 
>   Don't mind me... just testing a theory.
> 

  And now ...

    cheers,
      DaveK


[-- Attachment #2: cygcheck.txt --]
[-- Type: text/plain, Size: 2111 bytes --]


Cygwin Configuration Diagnostics
Current System Time: Sat Nov 14 12:41:20 2009

Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 4

Path:	F:\cygwin-1.7\usr\local\bin
	F:\cygwin-1.7\bin
	F:\cygwin-1.7\bin
	F:\cygwin-1.7\usr\X11R6\bin
	F:\cygwin-1.7\bin
	C:\WINNT\system32
	C:\WINNT
	C:\WINNT\System32\Wbem
	C:\Program Files\Support Tools\
	C:\openssl\bin
	C:\Program Files\Microsoft SDK\Bin\
	C:\Program Files\Microsoft SDK\Bin\WinNT\
	C:\Program Files\Smart Projects\IsoBuster
	C:\Program Files\Microsoft Visual Studio\Common\Tools\WinNT
	C:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin
	C:\Program Files\Microsoft Visual Studio\Common\Tools
	C:\Program Files\Microsoft Visual Studio\VC98\bin
	C:\Program Files\Microsoft SDK\Bin\
	C:\Program Files\Microsoft SDK\Bin\WinNT\
	F:\cygwin-1.7\lib\lapack

Output from F:\cygwin-1.7\bin\id.exe (nontsec)
UID: 500(DKAdmin)   GID: 513(None)
0(root)             544(Administrators) 545(Users)          513(None)
544(Administrators) 545(Users)          513(None)

Output from F:\cygwin-1.7\bin\id.exe (ntsec)
UID: 500(DKAdmin)   GID: 513(None)
0(root)             544(Administrators) 545(Users)          513(None)
544(Administrators) 545(Users)          513(None)

SysDir: C:\WINNT\system32
WinDir: C:\WINNT

USER = 'DKAdmin'
PWD = '/home/DKAdmin'
HOME = '/home/DKAdmin'

MSSdk = 'C:\Program Files\Microsoft SDK\.'
HOMEPATH = '\Documents and Settings\Administrator'
MANPATH = '/usr/local/man:/usr/share/man:/usr/man::/usr/ssl/man'
APPDATA = 'C:\Documents and Settings\Administrator\Application Data'
HOSTNAME = 'ubik'
Mstools = 'C:\Program Files\Microsoft SDK\.'
TERM = 'cygwin'
_NT_SYMBOL_PATH = 'srv*c:\symbols*http://referencesource.microsoft.com/symbols*http://msdl.microsoft.com/download/symbols'
PROCESSOR_IDENTIFIER = 'x86 Family 15 Model 3 Stepping 2, AuthenticAMD'
WINDIR = 'C:\WINNT'
TEXDOCVIEW_txt = 'cygstart %s'
TEXDOCVIEW_dvi = 'cygstart %s'
OLDPWD = '/usr/bin'
DEVMGR_SHOW_DETAILS = '1'
USERDOMAIN = 'UBIK'
OS = 'Windows_NT'
ALLUSERSPROFILE = 'C:\Documents and Settings\All Users'

  [ snipped ... should be sufficient for testing. ]


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [OT] Re: Problem [1.7]: gzip missing in brand new install
  2009-11-14 13:19         ` Dave Korn
@ 2009-11-14 13:26           ` Dave Korn
  2009-11-14 13:31             ` Dave Korn
  0 siblings, 1 reply; 7+ messages in thread
From: Dave Korn @ 2009-11-14 13:26 UTC (permalink / raw)
  To: Dave Korn; +Cc: Thread TITTTL'd

[-- Attachment #1: Type: text/plain, Size: 449 bytes --]

Dave Korn wrote:
> Dave Korn wrote:
>> Dave Korn wrote:
>>>   Not much.  The archive still displays it inline.  (Probably looks ok in
>>> people's email clients though.)
>>>
>>>   Must be the content-type being recognizable if it's not the encoding then.
>>> That means editing t'birds' mime database looks necessary.  Hmm..
>>   Don't mind me... just testing a theory.
>>
> 
>   And now ...
> 

  Finally ....   Ta-Daaa?

    cheers,
      DaveK



[-- Attachment #2: cygcheck.out --]
[-- Type: text/plain, Size: 2111 bytes --]


Cygwin Configuration Diagnostics
Current System Time: Sat Nov 14 12:41:20 2009

Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 4

Path:	F:\cygwin-1.7\usr\local\bin
	F:\cygwin-1.7\bin
	F:\cygwin-1.7\bin
	F:\cygwin-1.7\usr\X11R6\bin
	F:\cygwin-1.7\bin
	C:\WINNT\system32
	C:\WINNT
	C:\WINNT\System32\Wbem
	C:\Program Files\Support Tools\
	C:\openssl\bin
	C:\Program Files\Microsoft SDK\Bin\
	C:\Program Files\Microsoft SDK\Bin\WinNT\
	C:\Program Files\Smart Projects\IsoBuster
	C:\Program Files\Microsoft Visual Studio\Common\Tools\WinNT
	C:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin
	C:\Program Files\Microsoft Visual Studio\Common\Tools
	C:\Program Files\Microsoft Visual Studio\VC98\bin
	C:\Program Files\Microsoft SDK\Bin\
	C:\Program Files\Microsoft SDK\Bin\WinNT\
	F:\cygwin-1.7\lib\lapack

Output from F:\cygwin-1.7\bin\id.exe (nontsec)
UID: 500(DKAdmin)   GID: 513(None)
0(root)             544(Administrators) 545(Users)          513(None)
544(Administrators) 545(Users)          513(None)

Output from F:\cygwin-1.7\bin\id.exe (ntsec)
UID: 500(DKAdmin)   GID: 513(None)
0(root)             544(Administrators) 545(Users)          513(None)
544(Administrators) 545(Users)          513(None)

SysDir: C:\WINNT\system32
WinDir: C:\WINNT

USER = 'DKAdmin'
PWD = '/home/DKAdmin'
HOME = '/home/DKAdmin'

MSSdk = 'C:\Program Files\Microsoft SDK\.'
HOMEPATH = '\Documents and Settings\Administrator'
MANPATH = '/usr/local/man:/usr/share/man:/usr/man::/usr/ssl/man'
APPDATA = 'C:\Documents and Settings\Administrator\Application Data'
HOSTNAME = 'ubik'
Mstools = 'C:\Program Files\Microsoft SDK\.'
TERM = 'cygwin'
_NT_SYMBOL_PATH = 'srv*c:\symbols*http://referencesource.microsoft.com/symbols*http://msdl.microsoft.com/download/symbols'
PROCESSOR_IDENTIFIER = 'x86 Family 15 Model 3 Stepping 2, AuthenticAMD'
WINDIR = 'C:\WINNT'
TEXDOCVIEW_txt = 'cygstart %s'
TEXDOCVIEW_dvi = 'cygstart %s'
OLDPWD = '/usr/bin'
DEVMGR_SHOW_DETAILS = '1'
USERDOMAIN = 'UBIK'
OS = 'Windows_NT'
ALLUSERSPROFILE = 'C:\Documents and Settings\All Users'

  [ snipped ... should be sufficient for testing. ]


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [OT] Re: Problem [1.7]: gzip missing in brand new install
  2009-11-14 13:26           ` Dave Korn
@ 2009-11-14 13:31             ` Dave Korn
  2009-11-14 13:35               ` Eric Blake
  2009-11-14 13:47               ` Dave Korn
  0 siblings, 2 replies; 7+ messages in thread
From: Dave Korn @ 2009-11-14 13:31 UTC (permalink / raw)
  To: Dave Korn; +Cc: Thread TITTTL'd

[-- Attachment #1: Type: text/plain, Size: 708 bytes --]

Dave Korn wrote:
> Dave Korn wrote:
>> Dave Korn wrote:
>>> Dave Korn wrote:
>>>>   Not much.  The archive still displays it inline.  (Probably looks ok in
>>>> people's email clients though.)
>>>>
>>>>   Must be the content-type being recognizable if it's not the encoding then.
>>>> That means editing t'birds' mime database looks necessary.  Hmm..
>>>   Don't mind me... just testing a theory.
>>>
>>   And now ...
>>
> 
>   Finally ....   Ta-Daaa?
> 

  Ta-daaa indeed, but it occurs to me I can probably even remove the
mail.file_attach_binary setting now that I've not got a bogus mime type being
specified.  Let's see:

http://cygwin.com/ml/cygwin-talk/2009-q4/msg00036.html

    cheers,
      DaveK


[-- Attachment #2: cygcheck.out --]
[-- Type: text/plain, Size: 2111 bytes --]


Cygwin Configuration Diagnostics
Current System Time: Sat Nov 14 12:41:20 2009

Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 4

Path:	F:\cygwin-1.7\usr\local\bin
	F:\cygwin-1.7\bin
	F:\cygwin-1.7\bin
	F:\cygwin-1.7\usr\X11R6\bin
	F:\cygwin-1.7\bin
	C:\WINNT\system32
	C:\WINNT
	C:\WINNT\System32\Wbem
	C:\Program Files\Support Tools\
	C:\openssl\bin
	C:\Program Files\Microsoft SDK\Bin\
	C:\Program Files\Microsoft SDK\Bin\WinNT\
	C:\Program Files\Smart Projects\IsoBuster
	C:\Program Files\Microsoft Visual Studio\Common\Tools\WinNT
	C:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin
	C:\Program Files\Microsoft Visual Studio\Common\Tools
	C:\Program Files\Microsoft Visual Studio\VC98\bin
	C:\Program Files\Microsoft SDK\Bin\
	C:\Program Files\Microsoft SDK\Bin\WinNT\
	F:\cygwin-1.7\lib\lapack

Output from F:\cygwin-1.7\bin\id.exe (nontsec)
UID: 500(DKAdmin)   GID: 513(None)
0(root)             544(Administrators) 545(Users)          513(None)
544(Administrators) 545(Users)          513(None)

Output from F:\cygwin-1.7\bin\id.exe (ntsec)
UID: 500(DKAdmin)   GID: 513(None)
0(root)             544(Administrators) 545(Users)          513(None)
544(Administrators) 545(Users)          513(None)

SysDir: C:\WINNT\system32
WinDir: C:\WINNT

USER = 'DKAdmin'
PWD = '/home/DKAdmin'
HOME = '/home/DKAdmin'

MSSdk = 'C:\Program Files\Microsoft SDK\.'
HOMEPATH = '\Documents and Settings\Administrator'
MANPATH = '/usr/local/man:/usr/share/man:/usr/man::/usr/ssl/man'
APPDATA = 'C:\Documents and Settings\Administrator\Application Data'
HOSTNAME = 'ubik'
Mstools = 'C:\Program Files\Microsoft SDK\.'
TERM = 'cygwin'
_NT_SYMBOL_PATH = 'srv*c:\symbols*http://referencesource.microsoft.com/symbols*http://msdl.microsoft.com/download/symbols'
PROCESSOR_IDENTIFIER = 'x86 Family 15 Model 3 Stepping 2, AuthenticAMD'
WINDIR = 'C:\WINNT'
TEXDOCVIEW_txt = 'cygstart %s'
TEXDOCVIEW_dvi = 'cygstart %s'
OLDPWD = '/usr/bin'
DEVMGR_SHOW_DETAILS = '1'
USERDOMAIN = 'UBIK'
OS = 'Windows_NT'
ALLUSERSPROFILE = 'C:\Documents and Settings\All Users'

  [ snipped ... should be sufficient for testing. ]


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [OT] Re: Problem [1.7]: gzip missing in brand new install
  2009-11-14 13:31             ` Dave Korn
@ 2009-11-14 13:35               ` Eric Blake
  2009-11-14 13:47               ` Dave Korn
  1 sibling, 0 replies; 7+ messages in thread
From: Eric Blake @ 2009-11-14 13:35 UTC (permalink / raw)
  To: cygwin-talk

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Dave Korn on 11/14/2009 6:46 AM:
>   Ta-daaa indeed, but it occurs to me I can probably even remove the
> mail.file_attach_binary setting now that I've not got a bogus mime type being
> specified.

Once you get it working to your desires, would you mind posting the magic
formula somewhere in the cygwin web pages, probably near where we talk
about TOFU and other mailing list faux pas?  Also, is the magic based
solely on file extension?  I'm always annoyed that T-bird seems to think
that .patch must be sent binary, but .patch1 is text.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             ebb9@byu.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkr+seUACgkQ84KuGfSFAYAzkQCfV+1YAexDgPzMxIE83coYw9db
pgwAniZwEGi42ZjuGZg33Q7qEQQxpUCj
=ClvU
-----END PGP SIGNATURE-----

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [OT] Re: Problem [1.7]: gzip missing in brand new install
  2009-11-14 13:31             ` Dave Korn
  2009-11-14 13:35               ` Eric Blake
@ 2009-11-14 13:47               ` Dave Korn
  1 sibling, 0 replies; 7+ messages in thread
From: Dave Korn @ 2009-11-14 13:47 UTC (permalink / raw)
  To: Dave Korn; +Cc: Thread TITTTL'd

Dave Korn wrote:
> Dave Korn wrote:
>> Dave Korn wrote:
>>> Dave Korn wrote:
>>>> Dave Korn wrote:
>>>>> Meow.
>>>> Meow.
>>> Meow.
>> Meow.
> Meow.
Meow.
>   Ta-daaa indeed, but it occurs to me I can probably even remove the
> mail.file_attach_binary setting now that I've not got a bogus mime type being
> specified.  Let's see:
> 
> http://cygwin.com/ml/cygwin-talk/2009-q4/msg00036.html

  Ok, that worked.  Here's the recipe, for Eric, and Fergus, and The Record:

#1.  Set mail.content_disposition_type to 1.  Necessary to get the correct
Content-Disposition: header, but not sufficient.

#2.  Get MIME types database under control.  I used an extension called
MimeEDIT(*), but it only works on series 2 Tbird.  OTOH the database is stored
in a plain-text xml format in a file called mimeTypes.rdf in your T'bird
profile directory, and it looks easy enough to manually edit.  Whichever
method you choose, BACK IT UP FIRST!(**)

  T'bird will select a mime Content-Type: header for your attachment based on
the fileExtension settings listed in here; in my case, the extension .out had
become associated with message/news somehow, and the archive displays
message/* attachments inline even if the content-disposition says not to.
Some sources recommend simply deleting mimeTypes.rdf wholesale, but I chose
just to tweak the content so that it now thinks .msg is the extension for
message/news.  YMMV (Your Mimetypes.rdf May Vary), but as long as it's not
choosing a bogus mime type based on your file extension, you'll get a default
of text/plain, which the archive won't expand inline.


    cheers,
      DaveK
-- 
(*)  - https://addons.mozilla.org/en-US/thunderbird/addon/4498
(**) - Just because something goes without saying, doesn't mean folk will
actually do it when the time comes.  So I said it anyway.  Not that that
generally makes a lot of difference ... :-)


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2009-11-14 13:47 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <4AFE8BA6.8000505@bonhard.uklinux.net>
     [not found] ` <4AFEA645.40508@gmail.com>
     [not found]   ` <4AFEA92A.6010801@gmail.com>
2009-11-14 12:56     ` [OT] Re: Problem [1.7]: gzip missing in brand new install Dave Korn
2009-11-14 13:11       ` Dave Korn
2009-11-14 13:19         ` Dave Korn
2009-11-14 13:26           ` Dave Korn
2009-11-14 13:31             ` Dave Korn
2009-11-14 13:35               ` Eric Blake
2009-11-14 13:47               ` Dave Korn

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).