Your best friend for file transfer.

Fetch application logoFetch

Unix line feeds convert to Mac? (7 posts)

This is an archived topic. The information in it is likely to be out-of-date and no longer applicable to current versions of Fetch.
  • Started 12 years ago by joshclark
  • Latest reply 12 years ago from Jim Matthews
  • joshclark Member

    Using Fetch 4.0.2, I find that when I download files with unix-format line breaks, they open in BBEdit as mac-format. I'm not sure if this is happening because of BBEdit or because of Fetch, but I can't seem to find a setting in either app to adjust this. I'd like to keep all files in their original line feed format when I download them.

    Thanks!
    josh

    Posted 12 years ago #

  • Jim Matthews Administrator

    There isn't (yet) a setting to tell Fetch to save text files with Unix line breaks, but you can set the download mode to "Binary" and that will stop any line-ending conversion from happening.

    Thanks,

    Jim Matthews
    Fetch Softworks

    Posted 12 years ago #

  • joshclark Member

    Many thanks -- downloading in binary did the trick! You mention a useful potential feature, though: would be great to select what type of line feeds to have downloads default to.

    Best,
    Josh

    Posted 12 years ago #

  • larsgelfan Member

    I'm having trouble with this as well, dunno if it's on the BBEdit side or not, because I can download files to disk fine - the Unix linefeeds are preserved - but when I "edit with BBEdit", it opens as a Macintosh file.

    I tried setting everything to Binary and/or Raw Data with no change. (Using Fetch 4.0.2 and BBEdit 6.5.3.)

    Any add'l suggestions would be appreciated. Thanks.

    [This message has been edited by larsgelfan (edited 09-13-2002).]

    Posted 12 years ago #

  • Jim Matthews Administrator

    So when you "Edit with BBEdit" BBEdit shows the file as having Macintosh line endings? There is a setting in the Obscure Options pop-up menu in the Misc. section of Preferences that tells Fetch whether to use binary mode (preserving line endings) or text mode (converting them to Mac-style) with the Edit with BBEdit feature -- you might check the setting there.

    Thanks,

    Jim Matthews
    Fetch Softworks

    Posted 12 years ago #

  • tankgirl Member

    I'm having the same problem. When I download from fetch, then double click to open the file in BBEdit (6.5.x), it converts it to a Mac linebreak. So if I reupload it, then telnet in, lots of mess!

    I'm not using internet config (thought that was the problem), trying to use binary download (that didn't work), that doesn't work, have the "obscure" options set as you wrote in the previous email.

    have my default binary type creator set to text and R*ch. When I try setting it to ???? and R*ch, it preserves the Unix line breaks but I can't double click on it to open it (error -39), but I can open it from BBEdit or drag and drop it on the application. . .

    Is it FETCH OR BBEDIT that is making this annoying problem happen??? I have BBedit set for Unix line breaks (when I open a new file, it's set to Unix). It's driving me CRAZY!!!! Esp. if you have to download complete sites--to convert everything back to Unix via a helper app (that BBEdit lists) or by hand is a pain in the a**. I can't figure it out for the life of me.

    Karen

    [This message has been edited by tankgirl (edited 11-20-2002).]

    Posted 12 years ago #

  • Jim Matthews Administrator

    I don't quite understand why this is happening, but I would recommend using Automatic mode for downloads and Automatic format for uploads (rather than Raw Data). The files will have Mac line endings when they are on your Mac, but they will be converted back to UNIX line endings when you upload.

    Fetch 4.0.3 will have an option to use UNIX line endings on downloaded text files -- that way you can have UNIX line endings all the way around.

    Thanks,

    Jim Matthews
    Fetch Softworks

    Posted 12 years ago #

Topic closed

This topic has been closed.