Re: Lynx and .deb

1999-11-21 Thread Hamish Moffatt
On Sun, Nov 07, 1999 at 01:53:26PM -0500, Todd Suess wrote:
 Pressing d or D on the .deb file links downloads them fine, AS TEXT.

No, it just downloads them without any interpretation at all.
Same as wget downloads a file.

Hamish
-- 
Hamish Moffatt VK3SB. CCs of replies on mailing lists are welcome.


Re: Lynx and .deb

1999-11-08 Thread Brian May
In article [EMAIL PROTECTED] you write:

Pressing d or D on the .deb file links downloads them fine, AS TEXT.
and alas, quite nonfunctional ...   But I did get the source files and
compiled it eventually.

For the Linux version, whats the difference?

I am sure I have quite successfully downloaded a number of binary files
using D.

Only problem I have is sometimes Lynx will abort a long transfer without
displaying any error message, so the user is left with an smaller the
desired file and wondering why it is currupt. There is a long standing
bug report against Lynx on this, including a patch (I don't think it has
ever been integrated but I haven't got any response from the maintainer,
either).

So, whenever you download a file with Lynx, check that the destination
file size is correct.
-- 
Brian May [EMAIL PROTECTED]


Re: Lynx and .deb

1999-11-07 Thread Todd Suess

I am actually trying to download the debs from the pine 4.20
web page.  No matter how I try to download them, using http,
they come out as corrupt when dpkg tries to install them.

They are not available via ftp from the web site in question,
and even using my windows machine I can't get them to
download and moved to my potato box without them being
corrupt.  I tried to download the tar source, and that worked
ok, but the web browser whacked the diffs file and it would
not compile.

Any suggestions would be appreiciated.

Todd


At 10:36 AM 11/7/1999 +1100, Brian May wrote:

In article [EMAIL PROTECTED] you write:
True, but not really relevant. The MIME type returned by the server
determines if the client sees the deb as text or not. Contact the server
admins and have them add entries to mime.types.

Only applies if http is used.

If some other protocol (eg ftp) is used (possibly via http proxy), the
server cannot return a MIME type. I don't know how good programs (eg
Lynx and Squid) are at determining the file type by the extension.

Unfortunately, the original poster failed to specify how the file is
downloaded.
--
Brian May [EMAIL PROTECTED]


--
Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  
/dev/null


Re: Lynx and .deb

1999-11-07 Thread Peter Ross
On 06-Nov-1999, Todd Suess [EMAIL PROTECTED] wrote:
 I am actually trying to download the debs from the pine 4.20
 web page.  No matter how I try to download them, using http,
 they come out as corrupt when dpkg tries to install them.
 
 They are not available via ftp from the web site in question,
 and even using my windows machine I can't get them to
 download and moved to my potato box without them being
 corrupt.  I tried to download the tar source, and that worked
 ok, but the web browser whacked the diffs file and it would
 not compile.
 
 Any suggestions would be appreiciated.
 
 Todd
 
If you are downloading them using netscape, try pressing shift when you
click on the file you wish to download.

Pete


Re: Lynx and .deb

1999-11-07 Thread Dylan Thurston
On Sat, Nov 06, 1999 at 09:57:13PM -0500, Todd Suess wrote:
 I am actually trying to download the debs from the pine 4.20
 web page.  No matter how I try to download them, using http,
 they come out as corrupt when dpkg tries to install them.
 
 They are not available via ftp from the web site in question,
 and even using my windows machine I can't get them to
 download and moved to my potato box without them being
 corrupt.  I tried to download the tar source, and that worked
 ok, but the web browser whacked the diffs file and it would
 not compile.
 
 Any suggestions would be appreiciated.

Try using wget or dog.  They'll download http documents
non-interactively and with no interpretation.

There was a thread on these particular .deb's a few days ago on this
list; did you read it?

--Dylan Thurston
  [EMAIL PROTECTED]


Re: Lynx and .deb

1999-11-07 Thread Brian May
On Sat, Nov 06, 1999 at 09:57:13PM -0500, Todd Suess wrote:
 I am actually trying to download the debs from the pine 4.20
 web page.  No matter how I try to download them, using http,
 they come out as corrupt when dpkg tries to install them.
 
 They are not available via ftp from the web site in question,
 and even using my windows machine I can't get them to
 download and moved to my potato box without them being
 corrupt.  I tried to download the tar source, and that worked
 ok, but the web browser whacked the diffs file and it would
 not compile.

Proper solution:

Inform maintainer of web site to fix up the MIME type of downloaded
files. It sounds like the web server is making files with the extension
*.deb text/plain, when this is incorrect (and should be easy to fix).

Note on Lynx:

Push 'd' to download a link to a file instead of viewing it
(or installing it).
-- 
Brian May [EMAIL PROTECTED]


Re: Lynx and .deb

1999-11-07 Thread Brian Servis
Todd Suess writes:
I am actually trying to download the debs from the pine 4.20
web page.  No matter how I try to download them, using http,
they come out as corrupt when dpkg tries to install them.

They are not available via ftp from the web site in question,
and even using my windows machine I can't get them to
download and moved to my potato box without them being
corrupt.  I tried to download the tar source, and that worked
ok, but the web browser whacked the diffs file and it would
not compile.

Any suggestions would be appreiciated.


Install the wget package:

wget url


Brian Servis
-- 

Mechanical Engineering  |  Never criticize anybody until you  
Purdue University   |  have walked a mile in their shoes,
[EMAIL PROTECTED]   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.


Re: Lynx and .deb

1999-11-07 Thread Jonathan Markevich
On Sat, Nov 06, 1999 at 09:57:13PM -0500, Todd Suess wrote:

[long, complex conversation about downloading .debs from Lynx snipped]

Wow, has everyone forgotten that you can press d on any link and download
it instead of displaying it?  This includes viewable files like HTML and
text, so should work fine with no conversion or corruption.

Or am I missing the point?

-- 
Jonathan Markevich [EMAIL PROTECTED]
http://members.xoom.com/JMarkevich

Let sleeping dogs lie.
-- Charles Dickens


Re: Lynx and .deb

1999-11-07 Thread Jaldhar H. Vyas
On Sat, 6 Nov 1999, Todd Suess wrote:

 I am actually trying to download the debs from the pine 4.20
 web page.  No matter how I try to download them, using http,
 they come out as corrupt when dpkg tries to install them.
 
 They are not available via ftp from the web site in question,
 and even using my windows machine I can't get them to
 download and moved to my potato box without them being
 corrupt.  I tried to download the tar source, and that worked
 ok, but the web browser whacked the diffs file and it would
 not compile.
 

Which web page are using?  If http://debianpine.tripod.com, don't
bother.  Use http://members.mint.net/frodo/pine the .debs there are known
to be good.  With netscape you have to right click on the link and select
save as...  If you still have problems let me know.  I am the maintainer
of those .debs.

-- 
Jaldhar H. Vyas [EMAIL PROTECTED]



Re: Lynx and .deb

1999-11-07 Thread Todd Suess

 Which web page are using?  If http://debianpine.tripod.com, don't
 bother.  Use http://members.mint.net/frodo/pine the .debs there are known
 to be good.  With netscape you have to right click on the link and select
 save as...  If you still have problems let me know.  I am the maintainer
 of those .debs.
 
 -- 
 Jaldhar H. Vyas [EMAIL PROTECTED]

Actually, yes, it was your page I was trying to get them from.  :)
I was finally able to use lynx to get the source tarball, diff and dsc
file and was able to compile it into debs myself, but every time I
tried to get the debs they were sent as text, and thus, corrupt.  I
didn't try netscape, I did try IE, Lynx and Opera, and used the
right click - save as method, but they still came out corrupt.  But at
least I did get Pine 4.20, compiling it was not a big deal.  Thanks!

Todd


Re: Lynx and .deb

1999-11-07 Thread Todd Suess

Pressing d or D on the .deb file links downloads them fine, AS TEXT.
and alas, quite nonfunctional ...   But I did get the source files and
compiled it eventually.

-Todd


On Sun, 07 Nov 1999, Jonathan Markevich wrote:
 On Sat, Nov 06, 1999 at 09:57:13PM -0500, Todd Suess wrote:
 
 [long, complex conversation about downloading .debs from Lynx snipped]
 
 Wow, has everyone forgotten that you can press d on any link and download
 it instead of displaying it?  This includes viewable files like HTML and
 text, so should work fine with no conversion or corruption.
 
 Or am I missing the point?
 
 -- 
 Jonathan Markevich [EMAIL PROTECTED]
 http://members.xoom.com/JMarkevich
 
 Let sleeping dogs lie.
   -- Charles Dickens


Lynx and .deb

1999-11-06 Thread root
I have used lynx for a while but am not familiar with it's advanced
functionality, I have pored through the docs but cannot seem to find
out where I can tell Lynx that when downloading a .deb file it should
NOT download it as text.  ;)  does this have to do with system mime
types, etc, or is there something I can add to lynx.cfg that will let
it know that .debs are binary?   Thanks!

Todd


Re: Lynx and .deb

1999-11-06 Thread Todd Suess
Yup, it goes to a deb file, and there is an entry for deb in
/etc/mime.types for a deb listing it as a debian package file,
but perhaps that is not explicit enough for lynx, which insists on
downloading them as content: text

-Todd



On Sat, 06 Nov 1999, Jan Ludewig wrote:
 On Sat, Nov 06, 1999 at 04:54:03AM -0500, root wrote:
  I have used lynx for a while but am not familiar with it's advanced
  functionality, I have pored through the docs but cannot seem to find
  out where I can tell Lynx that when downloading a .deb file it should
  NOT download it as text.  ;)  does this have to do with system mime
  types, etc, or is there something I can add to lynx.cfg that will let
  it know that .debs are binary?   Thanks!
 switch to advanced mode ( O to get to the options) to see wether the
 link really goes to a deb-file
 type d for download
 
 or define it as a mime-type ;)
 
 Jan


Re: Lynx and .deb

1999-11-06 Thread J.H.M. Dassen \(Ray\)
On Sat, Nov 06, 1999 at 04:54:03 -0500, root wrote:
[Why are debs being downloaded as text]

 I have pored through the docs but cannot seem to find out where I can tell
 Lynx that when downloading a .deb file it should NOT download it as text.
 ;)  does this have to do with system mime types, etc,

On Sat, Nov 06, 1999 at 05:43:24 -0500, Todd Suess wrote:
 Yup, it goes to a deb file, and there is an entry for deb in
 /etc/mime.types for a deb listing it as a debian package file,

True, but not really relevant. The MIME type returned by the server
determines if the client sees the deb as text or not. Contact the server
admins and have them add entries to mime.types.

Ray
-- 
ART  A friend of mine in Tulsa, Okla., when I was about eleven years old. 
I'd be interested to hear from him. There are so many pseudos around taking 
his name in vain. 
- The Hipcrime Vocab by Chad C. Mulligan 


Re: Lynx and .deb

1999-11-06 Thread Brian May
In article [EMAIL PROTECTED] you write:
True, but not really relevant. The MIME type returned by the server
determines if the client sees the deb as text or not. Contact the server
admins and have them add entries to mime.types.

Only applies if http is used.

If some other protocol (eg ftp) is used (possibly via http proxy), the
server cannot return a MIME type. I don't know how good programs (eg
Lynx and Squid) are at determining the file type by the extension.

Unfortunately, the original poster failed to specify how the file is
downloaded.
-- 
Brian May [EMAIL PROTECTED]