Plain ascii files have (ctrl-v)(ctrl-m) characters on the end of every line.

Mac book Pro running 10.8 mountain lion.
My preferred editor is vim (it comes with 10.8).
When I re-edit a plain ascii file, every line ends with (ctrl-v) (ctrl-m).
They appear after saving the file to hard drive.
It started doing this just after moving from 10.7 to 10.8.
question 1: Is there some way to turn off this feature?
question 2: I wonder what I did to accidently turn on this feature?

Hi,
>>A CHAR datatype and VARCHAR2 datatype are stored identically (eg: the word 'WORD' stored in a CHAR(4) and a varchar2(4) consume exactly the same amount of space on disk, both have leading byte counts).
Ok, but on the other hands:
SGMS@ORACLE10> create table x (name char(10), name2 varchar2(10));
Table created.
SGMS@ORACLE10> insert into  x values ('hello','hello');
1 row created.
SGMS@ORACLE10> commit;
Commit complete.
SGMS@ORACLE10> select vsize(name),vsize(name2) from x;
VSIZE(NAME) VSIZE(NAME2)
         10            5
SGMS@ORACLE10> select dump(name),dump(name2) from x;
DUMP(NAME)                                         DUMP(NAME2)
Typ=96 Len=10: 104,101,108,108,111,32,32,32,32,32  Typ=1 Len=5: 104,101,108,108,111Cheers

Similar Messages

  • How do I have a totalizer reset at the end of every month?

    We are using Lookout 5.1 in an application that is receiving a Modbus input giving us a totalizer value.  We need to have this value reset to zero at the end of every month.  Also want the monthly total to be sent to an excell spread sheet.  All help is much appreciated.

    I think this NI Post will help you out....
    Regards

  • The starting quote marks at the end of a line in my epub file are separated from the words quoted.

    The starting quote marks at the end of a line in my epub file are routinely separated from the word quoted which appears on the next line. The formatting contractor accurance.com who prepared this epub file tells me that this is a feature of Adobe Digital Edition 2.0 and that there is nothing they can do to correct this. Are they correct, or else how can this problem be overcome?

    I'm not sure about buying css style sheets. 
    You don't need one for each book; if you want to have a series of books all with the same general format,
    then they should all use the same style sheet on a given device, but maybe different style sheets for different devices.
    All the books will then have one consistent look on a given device, and a different consistent look on another device.
    ADE only runs on PCs and Macs.  There are lots of different ereader software apps out there for running on different devices.
    For a dedicated device, you are stuck with the reader the device provides.
    For tablets you can download different ereader apps, for example Bluefire (my favourite, ios, Android), Aldiko (android) and DReader and DL Reader (windows RT).
    I don't know if the readers/apps are derived from the same root as ADE in any way and likely to show similar bugs.
    If it is not DRM, you should certainly try on Calibre, which is the most popular (free) ereader app for computers.
    If you care to create a very short non DRM extract (complete with css) and post it somewhere on the web I'll have a quick look.
    If you have inclination to get more involved yourself,
    there is free software called sigil (https://code.google.com/p/sigil/) that will help you get off the ground and experiment.

  • BUG: Extra characters at the end of attachment file names

    I received complaints that my attachments didn't open on the PC's of the recipients. After I saw the messages I noticed there were extra characters at the end of their file names. That's why they wouldn't open. When I looked into my sent mail folder it was there as well. The addition took place when I sent the mail, while composing everything looked fine. It took me a while to realize the pattern. There was one extra for every non-ASCII character in the file name.
    Apparently Mail.app is using two different libraries. The other one counts the non-ASCII characters as two while the other doesn't. I don't know whether Finder still uses MacRoman or Unicode, but this seems to relate to double-byte characters.
    The short term solution is to use only ASCII for file names, but that's not what OS X is all about.

    The class files are broken. Recompile them. If you're uploading them, doublecheck if the FTP program used doesn't do mad things with binary files.

  • CR & LF characters at the end of records when using delimited flat file (CR is missing)

    Hi All,
    I have a requirement where data of SQL query needs to be loaded to a CSV file.
    The row delimiter of the CSV file has to be CR-LF.
    In the flat file connection manager, I have mentioned Header Row delimiter as "{CR}{LF}" and under columns section, row delimiter is specified as "{CR}{LF}".
    But when I open the detsnation CSV file using notepad++, I see only "LF" at the end of all rows.
    Can you please let me know how can I get both CR & LF at the end of each row
    Below is the screen shot of the flat file connection manager which I have used for CSV destination file:
    Raksha

    Hi Raksha,
    Just as Vaibhav said, I’m curious why you need use “CR & LF” as row delimiter in Flat File Connection Manage. Since you can use "CR" as row delimiter in Flat File Connection Manager and it worked fine, you can directly specify "CR"
    as row delimiter in Flat File Connection Manage.
    Besides, if you still want to replace “LF” with “CR & LF” in the text file, we can use Notepad++’s Find/Replace feature or Edit -> EOL Conversion to achieve the goal. Then we can specify "CR & LF" as row delimiter in Flat File
    Connection Manage.
    The following blog about conversion between “LF” and “CR & LF” row delimiter in Notepad++ is for your reference:
    http://sqlblog.com/blogs/jamie_thomson/archive/2012/08/07/replacing-crlf-with-lf-using-notepad.aspx
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • I have changed the email signature on my iPhone, when composing a new email the signature is there, however when I am replying to an email it is not, how can I make sure that the signature is at the end of every email I send?

    I have changed the email signature on my iPhone, when composing a new email the signature is there, however when I am replying to an email it is not, how can I make sure that the signature is at the end of every email I send?

    Yes I know what you mean about it cluttering the thread and for personal emails it is better without the signature. However this relates to sending business emails from an iPhone so I need the signature present on every email.
    I can't find anything in Settings so I was hoping someone may have some knowledge/information/experience regarding this problem.

  • How to delete a character at the end of each line in a file

    Hi
    How to remove a character or symbol at the end of each line in a file?
    I am having a file with every end of line conatins special chars @.
    I need to remove or delete that sysmbol from file.
    Regards

    JoeBorland wrote:
    File is large about above 20,000 lines.
    I need to find the optimum solution.
    Like reading a file and find the end of character and writing into a file.
    The above way is correct or any other way?Try it and see. Such a program will only be a dozen lines long.

  • When I send a email I would like to have my photo and signature added at the end of my email. How do I add that?

    When I send a email I would like to have my photo and signature added at the end of my email. How do I add that?

    Firefox doesn't do email, it's a web browser.
    If you are using Firefox to access your mail, you are using "web-mail". You need to seek support from your service provider or a forum for that service.
    If your problem is with Mozilla Thunderbird, see this forum for support.
    [http://www.mozillamessaging.com/en-US/support/] <br />
    or this one <br />
    [http://forums.mozillazine.org/viewforum.php?f=39]

  • When i update my mac when i have restarted it and everything, right at the end it say none of your updates could be downloaded

    When i update my mac when i have restarted it and everything, right at the end it say none of your updates could be downloaded
    how can i fix this? because i cant download apps and update them
    thanks so much if you can help me

    You purchase and install Mac OS X 10.5 or 10.6.
    (59236)

  • Does .swf file have to be in same folder as the .htm file that it is embedded in?

    I'm experiencing something odd that does not seem right.  I am trying to embed an .swf file on a web page.  I have the player file in a separate resource folder from the other files.  In the object tags data attribute value, I am able to have the .swf file be in another folder.  However, in the <param name="movie" value attribute, I am not.  Can anyone tell me why?
    <object id="Object1" type="application/x-shockwave-flash" data="../VideoResources/player_flv_maxi.swf" width="480" height="360">  THIS WORKS
    < param name="movie" value="player_flv_maxi.swf" />     this works if I put a copy of the .swf file in the same folder as the .htm file (but I don't want to)
    but this does not work if I put the .swl file in the a folder one level up (which I want to):
    < param name="movie" value="../VideoResources/player_flv_maxi.swf" />   
    Thanks for any ideas.

    I copied the value from data attribute value and pasted it into the value attribute value... 
    Here is the entire code for the <object> tag. 
    <object id="Object1" type="application/x-shockwave-flash" data="../VideoResources/player_flv_maxi.swf" width="480" height="360">
           <noscript><a href="youtube" _mce_href="http://www.dvdvideosoft.com/products/dvd/Free-YouTube-Download.htm">youtube">h ttp://www.dvdvideosoft.com/products/dvd/Free-YouTube-Download.htm">youtube video downloader</a></noscript>
           <param name="movie" value="../VideoResources/player_flv_maxi.swf" />
           <param name="allowFullScreen" value="true" />
           <param name="wmode" value="opaque" />
                       <param name="allowScriptAccess" value="sameDomain" />
                       <param name="quality" value="high" />
                       <param name="menu" value="true" />
                       <param name="autoplay" value="false" />
                       <param name="autoload" value="false" />
           <param name="FlashVars" value="configxml=DVD_VIDEO.xml" />
          </object>

  • IDoc to file - how to delete a blank record at the end of the file.

    Hi,
    My senario is IDoc to file.  I have successfully implemented this using FCC. But when i checked the flat file, it has a blank record at the end of the file( i think PI adds one blank line/record at the end of the file).  Please suggest me What i need to do, to delete the blank record .
    Thanks & regards
    Sreeni

    Kindly Check below.
    Check whether the problem is at mapping level of  adapter level.. to do this count no. of rows/IDOC before mapping and after mapping in IE and no. of rows in the output file.
    Thnx
    Subbu

  • The name of File when Saving New Keynote has "~" attached at the end

    When I do a save file in Keynote, the name of file has "~" attached at the end. It creates a new file so now I have two files which look like this:
    StolbaCh22.key
    StolbaCh22~.key
    Why is this happening? What am I doing wrong - can I delete either one of these?

    Have you nominated in Preferences to have a backup version every time you save?
    Or this maybe be a temporary file whilst you are working on the original.
    If they are both on your desktop without Keynote being open, you could safely assi=ume the one with the most recent time/date is the last one you worked on.
    Peter

  • How to remove # from the end of each lines of .csv file.

    Hi ,
    I have uploaded .csv file from my local m/c (windows) to application server (unix) thru. FM 'ARCHIVFILE_CLIENT_TO_SERVER'
    Issue is when I open the file in AL11 it is showing # at end of each line. Click below link to see the output file.
    [https://docs0.google.com/document/edit?id=1PzjhljdCC2Wgj9L1dZ51G4pHJ0G_7jJwQAMqcJHdggc&hl=en#]
    Pls. help me how to remove all the # from the file.
    Thanks in advance.
    Devinder

    Hi ,
    use this
    Declare this 
    that # value is actually use of   Tab in file 
    so in order to remove that  use below code 
    DATA :C_TAB(1) TYPE c VALUE   cl_abap_char_utilities=>HORIZONTAL_TAB .
    loop at it_data .
    refno = it_data-line .
    REPLACE ALL OCCURRENCES OF c_tab IN refno WITH ''.
    modify it_data .
    endloop.
    Regards
    Deepak.

  • Imported a file of music, tracks 1-3 stuck at the end of the album....

    I imported a file of music and hand added a few tracks. I went through and numbered them 1 through 30something, for some reason tracks 1, 2, and 3 are at the end of the album, in that order. The Get Info pages are all the same, compilation feature is on (there are different artists). All the other track numbers are fine with no repeats and are in proper numerical order.
    I know it's something simple, lol, I know it.

    Hi, Kenna1313.
    Have a look at this article in the Apple Knowledge Base and let us know if it brings you any combination of joy and/or satisfaction.

  • Audio problem: large avi file / audio out of sync getting worse towards the end

    Hi,
    We have an 11 hours avi file (about 500GB) that plays fine in Windows Media Player and is in sync.
    When we import it into Premiere Pro CS6 audio and video tracks are of the same length. At the beginning of the video sound is fine and in sync as well. But at the end of the video the audio is out of sync by a couple of frames (but still the same length). We tried different things and the only thing that worked was setting the audio buffer size to maximum. Now the audio is in sync at the beginning, middle and end of video. But of course editing is impossible like this (if you hit pause the audio needs some time to stop).
    Any help or suggestions are welcome.
    Cheers

    AVI is a wrapper... what is inside YOUR wrapper?
    Codec & Format information, with 2 links inside for you to read http://forums.adobe.com/thread/1270588
    Report back with the codec details of your file, use the programs below... A screen shot works well to SHOW people what you are doing
    http://forums.adobe.com/thread/592070?tstart=30 for screen shot instructions
    Free programs to get file information for PC/Mac http://mediaarea.net/en/MediaInfo/Download
    Also, When your project sequence is correct, you will not see a red line over your timeline at first import, before you do anything to the video
    http://blogs.adobe.com/premiereprotraining/2011/02/red-yellow-and-green-render-bars.html
    If you have a red line over the timeline after importing a video and before adding any effects... your project is wrong for your video
    The NEW ITEM process will ensure that your sequence matches your video file
    CS5-thru-CC PPro/Encore tutorial list http://forums.adobe.com/thread/1448923 has a link to learn about the NEW ITEM process
    Now that you have your video DETAILS available, check to see if you have a video file with a Variable FRAME Rate
    IF YES, you will most likely need to find a program to convert to a CONSTANT Frame Rate to edit in Premiere Elements

Maybe you are looking for