Nano text editor reformats pasted text. How to disable

When using nano text editor in terminal to edit a shell file, it reformats text that I paste in from the clipboard. I can't find any way to disable this. There is nothing in the nanorc docs that at all seems to apply. This is on a default configuration for nano on OS X Snow leopard.
Here is an example:
If I cut the following text from text edit or bbedit:
#!/bin/bash --
# /usr/local/bin/fixsyncpermissions.sh
# Eden Nelson - 4/14/08
# Sam Smith 4/15/08
# 755 = rwxrwxr-x
#set -vx
SHAREPOINTPATH="/Volumes/SBData/ServerSync"
CHMODMODE="775"
CHMODUSER="admin"
CHMODGROUP="admin"
echo "Start Permissions Fix on $SHAREPOINTPATH"
chown -R "$CHMODUSER":"$CHMODGROUP" "$SHAREPOINTPATH"
chmod -R "$CHMODMODE" "$SHAREPOINTPATH"
echo "Completed Permissions Fix on Volumes/Aux/ServerSync"
exit
Then paste it into nano
$ sudo nano fixsyncpermissions.sh
and then command v to paste
It shows up like this in Nano
#!/bin/bash --
# /usr/local/bin/fixsyncpermissions.sh Eden Nelson - 4/14/08 Sam Smith 4/15/08 755 = rwxrwxr-x set -vx
SHAREPOINTPATH="/Volumes/SBData/ServerSync" CHMODMODE="775" CHMODUSER="admin" CHMODGROUP="admin" echo "Start Permissions Fix on $SHAREPOINTPATH" chown -R
"$CHMODUSER":"$CHMODGROUP" "$SHAREPOINTPATH" chmod -R "$CHMODMODE" "$SHAREPOINTPATH" echo "Completed Permissions Fix on Volumes/Aux/ServerSync" exit
Notice that is stripped the comment symbols '#' from the comment lines and concatenated them
then it stripped the carriage returns from the other lines and concatenated them.
Anybody have a clue as to what is causing this?

There is a special unix forum that may also be helpful:
http://discussions.apple.com/forum.jspa?forumID=735

Similar Messages

  • HT204302 My ipod nano is not recognized in itunes on my computer, when it has in the past. How do I fix this?

    My ipod nano is not recognized in itunes on my computer, when it has in the past. How do I fix this problem?

    I would think, Twins1995, that if we are having the problem, others are as well. Hopefully, Apple will shortly issue a follow-up software release to fix the problem. Or is that just wishful thinking on my part.
    It would be helpful, if there were some kind of work-around in the interim, so we can use our devices. Pretty frustrating when you consider that all of the hardware and software is produced by Apple.

  • I need to know how to edit a drawing - basically remove the arrows and text but at the same time match the background of the existing pic. then re add new text. how do i erase the arrows and text and arrows but match current background of pic. step by ste

    i need to know how to edit a drawing - basically remove the arrows and text but at the same time match the background of the existing pic. then re add new text. how do i erase the arrows and text and arrows but match current background of pic. step by step explanation please beginner

    Please post (a relevant section of) it right on this Forum.

  • When i go to new sms typing their is always show a text, how can solve this problem?

    when i go to new sms typing their is always show a text, how can solve this problem?

    Delete them and then download them from the desired Apple ID. This may require repurchasing paid applications.
    (95675)

  • My phone displays numbers instead of contact names for incoming calls and text - how do I fix?

    My phone displays numbers instead of contact names for incoming calls and text - how do I fix?  It used to display the names if there was a contact listed, now it just shows numbers regardless of whether or not the number corresponds to a contact name in the contact list.  Can anyone help?  I googled this problem and lots of folks have experienced it, however there is not a consensus for a resolution.

    Alexandribill, I have been having the exact same issue.  I got a new phone and restored my contacts.  If the # doesn't have the area code first then the name isn't shown.  I just added my husbands area code to my phone and called my phone from his and now his name shows up...Ugh, I have to go through and manually add the area code to all my contacts....
    I'd say Verizon needs to rewrite their program to include the area code in the restoring from backup process!

  • How to disable auto clear feature in a text box in IE10

    How to disable auto clear button in Text box in IE10
    Hi Team,
    I saw this question on Microsoft forum but I did not find any reply to this question, therefore, I am re-posting it.
    When I run web interface application on IE10, i see there is a new feature which has 'X' at the end of text box and on clicking it it clears the text.
    Are there any settings of IE10 that can be changed to disable it or some code snippet?
    I find the 'X' sign at the end of text box very annoying and would like to turn it off and make it compatible with older versions of IE and other explorers.
    Looking forward to your answer at the earliest.
    Regards
    Sakshi

    Hi,
    Please try the steps in the following thread to see whether it could help:
    Remove IE10's “clear field” X button on certain inputs?
    http://stackoverflow.com/questions/14007655/remove-ie10s-clear-field-x-button-on-certain-inputs
    Regards,
    Vincent Wang
    TechNet Community Support

  • Receiving Group Text : How do i see who else is in the distribution list???

    Receiving Group Text : How do i see who else is in the distribution list???
    other phones seem to have this, how can i see this? 
    Post relates to: Pre p100eww (Sprint)

    Use his/her Apple ID for iMessage on your phone...you'll actually receive the messages in real time.

  • How to disable text can be adopted from inforecord (PO text)

    Hi,
    I have a issue in PO output, when I try to create a PO through ME21N transaction, the inforecord PO text is not printing in PO output.
    It is printing only when I click on the option text can be adopted from inforecord (PO text).
    This option is there in item details text tab.
    Please let me know how to disable this option, because when I create PO automatically, it is not printing inforecord PO text.
    Here we almost all PO's create through automatically, so we should not have any restriction to print this.
    When we create PO, automatically the text should print.
    Please advise.
    Thanks,
    Sandhya

    In customizing for purchasing , under SPRO -? materials management-?Purchasing-? Purchase Order->Texts of rpurchas eorders->define copying rules for item texts , here select 02-info record PO text  and click on "text linkages" .
    Here for sequence 0 ,"Info record PO text " , the fix indicator should be " "  BLANK.  In this case, the text should automatically be adopted in the PO , and should come in print

  • Just got iPhone 4 but doesn't have a mic for speech to text. downloaded dragon dictation but too many steps to make it work for texting. how can I get easy speech to text

    just got iphone4 but it has no mic for speech to text. downloaded dragon dictation but too many steps to make it work with texting. how can I do simple speech texting?

    To get speech to text you need an iPhone that supports Siri. The iPhone 4S and the iPhone 5 both support Siri

  • I put a new sim card and a new number on this phone but for some reason it is paired with a Lady who can read all my texts how do i fix this

    i put a new sim card and a new number on this phone but for some reason it is paired with a Lady who can read all my texts how do i fix this?

    You bought the phone from this lady right and she did not turn off imessage.  Try turning off imessage and restart the phone. Hold down the Sleep/Wake button and the home button together until the apple logo appears (ignore the ON/OFF slider) then let both buttons go and wait for device to restart (no data will be lost).  Wait a few minutes and turn imessage back on

  • How to disable dragging selected text to web search?

    How to disable dragging selected text to web search?

    Hmm, I haven't heard of that before. It's a new tab page with no relation to what you were dragging?
    I wonder whether this might be a feature of one of your extensions. You can review them, and disable/remove any that are nonessential or unrecognized, here:
    orange Firefox button (or Tools menu) > Add-ons > Extensions category
    If you disable extensions, usually a link will appear above at least one of them to restart Firefox. You can complete your work on the tab and click one of the links as the last step.
    If that makes no difference, you could test in Firefox's Safe Mode -- that's a standard diagnostic tool to bypass interference by extensions (and some custom settings). More info: [[Troubleshoot Firefox issues using Safe Mode]].
    You can restart Firefox in Safe Mode using
    Help > Restart with Add-ons Disabled
    In the dialog, click "Start in Safe Mode" (''not'' Reset)
    Any difference?

  • I have opened scanned pages in to acrobat X1 pro and cannot edit, it says its not editable text how do I scan it as an editable text

    I have opened scanned pages in to acrobat X1 pro and cannot edit, it says its not editable text how do I scan it as an editable text

    All scanners output one thing only -- an image, a picture of the stuff on the paper that was scanned.
    There is not "text". There is a picture of text characters.
    This image / picture can be brought into a PDF. What is in the PDF is still an image / picture of text.
    Open the PDF with Acrobat. Use Acrobat's OCR feature.
    If you desire to touchup some characters use the "ClearScan" OCR.
    (Review Acrobat's Help to resolve any questions on this.)
    Note that PDF is not a word processor file format and does not tolerate word processor like "editing".
    Use Acrobat to do touchups to characters and short character strings. Save As often.
    Be well...

  • Converted file is pic not text - how to make text?

    Converted file is pic not text - how to make text?

    Hi,
    I am moving your posting to Adobe ExportPDF forum as you posted this at Acrobat.com forum.
    It seems that you did not turn on "OCR" when you convert your PDF file or your PDF file contains too small text/graphics/complex layout. 
    Please send your file to us if possible using below site so that we can look into the problem:
    https://adobeformscentral.com/?f=qJiclooYWGGNFtWfj8g3wg#
    Thank you.
    Hisami

  • 8310 cannot text how do I rectify this

    8310 cannot text how do I rectify this

    You have to ask your cell-phone operator for instructions for your phone model (assuming you ask about SMS - Short Message Service).

  • When spellcheck suggests a replacement text, how do I accept it or not?

    When spellcheck suggests replacement text, how do I deselect it?

    To reject the correction touch the "x" to the right of the correction. To accept just type a space or punctuation.

Maybe you are looking for

  • Messages are not showing in the moni

    hi..... i am doing rfc - soap scenario, in the sender communication channel monitoring it was showing success, in the receiver communication channel monitoring it was showing status is Yellow colour (Channel Started but inactive) and not found any me

  • Upgrading Wireless in PB 12", Latest OSX

    Morning all. My roomate has a 12" PowerBook. All of the network devices in my apartment are wireless. I'm running a Linksys WRT54G router on open firmware, a MacBook Pro first generation, and a Core Duo Mac Mini. There's also an xbox 360 on wireless.

  • GL 400000 ACCOUNT ERROR

    HI,     When we are converting purchase requsition to purchase order we get this error- G/L account 400000 cannot be used (please correct) Message no. ME045 Diagnosis Comparison of the field selection strings from the G/L account 400000 and the accou

  • Composite Primary Key in Form

    Hi, I have a table which maintains versions. This has a composite primary key - eg - Company_id + version_no. I tried creating a form based on a template with Primary key as Company_id and primary key column 2 as Version_no. When I try to run the for

  • All-New Crop Tool in Photoshop CS6 | Visual Design CS6 | Adobe TV

    Crop images faster and with greater precision using the all-new, nondestructive Crop tool. Rapidly manipulate your images on canvas and see your adjustments happen live thanks to the Mercury Graphics Engine. http://adobe.ly/I7ORrm