Results 1 to 3 of 3

Thread: Problem copying script from squirrel mail.

  1. #1

    Default Problem copying script from squirrel mail.

    I have received a script for patching a perl script by email. When using Thunderbird I am able to highlight the script and save it directly to a file. I know this creates the patch file and I know it works.

    I wanted to do the same on my laptop and do not have thunderbird installed so used my browser to get my mail at isp where squirrel mail is available to access my account.

    If I now highlight the patch text I am not offered the option to save it to a file but only to copy. If I do this and paste into a file created with touch or vim, I have two problems.

    1 The first 11 characters are cut off. (I can type them back using vim as editor) Why is this? I have tried it several times and it is not an omission from the initial highlighting on my part.

    2 The longer lines of script are broken up into two (like a LF CR have been inserted as in windoze) and this means the patch does not run as there are errors in the script. This didn't happen using Thunderbird. My question:- is there a way of avoiding this and where is the problem introduced? Trouble is I cannot see which lines have been changed so cannot edit them to make corrections. I am not a coder so cannot see perl script errors at a glance.

    Can anybody suggest solution please?
    Budgie2

  2. #2
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Problem copying script from squirrel mail.

    On 2011-11-05 03:24, Budgie2 wrote:
    > This didn't happen using Thunderbird.
    > My question:- is there a way of avoiding this and where is the problem
    > introduced?


    Yes: do not use a browser. Use a real mail client.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.4 x86_64 "Celadon" at Telcontar)

  3. #3
    Join Date
    Jun 2008
    Location
    UTC+10
    Posts
    9,686
    Blog Entries
    4

    Default Re: Problem copying script from squirrel mail.

    Best solution is to ask your correspondent to send the patch as an attachment, then you can download. Otherwise can you view the original email source and save that?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •