<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic vi warning message in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/vi-warning-message/m-p/3527324#M17167</link>
    <description>When I onvoke vi from inside an Oracle sqlplus session, always shows this message and I have to press any key to go on.&lt;BR /&gt;&lt;BR /&gt;==============================&lt;BR /&gt;E325: ATTENTION&lt;BR /&gt;Found a swap file by the name ".afiedt.buf.swp"&lt;BR /&gt;          owned by: oracle   dated: Tue Feb  8 17:18:57 2005&lt;BR /&gt;         file name: ~oracle/afiedt.buf&lt;BR /&gt;          modified: YES&lt;BR /&gt;         user name: oracle   host name: Ita1&lt;BR /&gt;        process ID: 30863&lt;BR /&gt;While opening file "afiedt.buf"&lt;BR /&gt;             dated: Mon Apr 18 21:36:11 2005&lt;BR /&gt;      NEWER than swap file!&lt;BR /&gt;&lt;BR /&gt;(1) Another program may be editing the same file.&lt;BR /&gt;    If this is the case, be careful not to end up with two&lt;BR /&gt;    different instances of the same file when making changes.&lt;BR /&gt;    Quit, or continue with caution.&lt;BR /&gt;&lt;BR /&gt;(2) An edit session for this file crashed.&lt;BR /&gt;    If this is the case, use ":recover" or "vim -r afiedt.buf"&lt;BR /&gt;    to recover the changes (see ":help recovery").&lt;BR /&gt;    If you did this already, delete the swap file ".afiedt.buf.swp"&lt;BR /&gt;    to avoid this message.&lt;BR /&gt;"afiedt.buf" 2L, 44C&lt;BR /&gt;Hit ENTER or type command to continue&lt;BR /&gt;=========================================&lt;BR /&gt;&lt;BR /&gt;How can I force to vi to omit this message?</description>
    <pubDate>Mon, 18 Apr 2005 13:47:37 GMT</pubDate>
    <dc:creator>Tonatiuh</dc:creator>
    <dc:date>2005-04-18T13:47:37Z</dc:date>
    <item>
      <title>vi warning message</title>
      <link>https://community.hpe.com/t5/operating-system-linux/vi-warning-message/m-p/3527324#M17167</link>
      <description>When I onvoke vi from inside an Oracle sqlplus session, always shows this message and I have to press any key to go on.&lt;BR /&gt;&lt;BR /&gt;==============================&lt;BR /&gt;E325: ATTENTION&lt;BR /&gt;Found a swap file by the name ".afiedt.buf.swp"&lt;BR /&gt;          owned by: oracle   dated: Tue Feb  8 17:18:57 2005&lt;BR /&gt;         file name: ~oracle/afiedt.buf&lt;BR /&gt;          modified: YES&lt;BR /&gt;         user name: oracle   host name: Ita1&lt;BR /&gt;        process ID: 30863&lt;BR /&gt;While opening file "afiedt.buf"&lt;BR /&gt;             dated: Mon Apr 18 21:36:11 2005&lt;BR /&gt;      NEWER than swap file!&lt;BR /&gt;&lt;BR /&gt;(1) Another program may be editing the same file.&lt;BR /&gt;    If this is the case, be careful not to end up with two&lt;BR /&gt;    different instances of the same file when making changes.&lt;BR /&gt;    Quit, or continue with caution.&lt;BR /&gt;&lt;BR /&gt;(2) An edit session for this file crashed.&lt;BR /&gt;    If this is the case, use ":recover" or "vim -r afiedt.buf"&lt;BR /&gt;    to recover the changes (see ":help recovery").&lt;BR /&gt;    If you did this already, delete the swap file ".afiedt.buf.swp"&lt;BR /&gt;    to avoid this message.&lt;BR /&gt;"afiedt.buf" 2L, 44C&lt;BR /&gt;Hit ENTER or type command to continue&lt;BR /&gt;=========================================&lt;BR /&gt;&lt;BR /&gt;How can I force to vi to omit this message?</description>
      <pubDate>Mon, 18 Apr 2005 13:47:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/vi-warning-message/m-p/3527324#M17167</guid>
      <dc:creator>Tonatiuh</dc:creator>
      <dc:date>2005-04-18T13:47:37Z</dc:date>
    </item>
    <item>
      <title>Re: vi warning message</title>
      <link>https://community.hpe.com/t5/operating-system-linux/vi-warning-message/m-p/3527325#M17168</link>
      <description>Not sure you want vi to omit this message.&lt;BR /&gt;&lt;BR /&gt;It is telling you that the file you are opening with vi is already open for modifications by another process.&lt;BR /&gt;&lt;BR /&gt;For this particular instance I can see ommitting this message, but not for "all the time". &lt;BR /&gt;</description>
      <pubDate>Mon, 18 Apr 2005 14:08:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/vi-warning-message/m-p/3527325#M17168</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2005-04-18T14:08:59Z</dc:date>
    </item>
    <item>
      <title>Re: vi warning message</title>
      <link>https://community.hpe.com/t5/operating-system-linux/vi-warning-message/m-p/3527326#M17169</link>
      <description>I do not know why vi says that the file is opened. But Oracle SQL*Plus always open a file with the same name.&lt;BR /&gt;&lt;BR /&gt;I want to quito this message just to omit the need to press any anditional key when it opens.</description>
      <pubDate>Mon, 18 Apr 2005 14:17:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/vi-warning-message/m-p/3527326#M17169</guid>
      <dc:creator>Tonatiuh</dc:creator>
      <dc:date>2005-04-18T14:17:15Z</dc:date>
    </item>
    <item>
      <title>Re: vi warning message</title>
      <link>https://community.hpe.com/t5/operating-system-linux/vi-warning-message/m-p/3527327#M17170</link>
      <description>Well, if no other 'vi' sessions have the file open, just remove the tempoary file:&lt;BR /&gt;&lt;BR /&gt;rm -r .afiedt.buf.swp&lt;BR /&gt;&lt;BR /&gt;It sounds like a session once was viewing/modifying the file when a crash occured (or the process was killed), leaving the temporary file in place behind.&lt;BR /&gt;&lt;BR /&gt;Or if you aren't actually *MODIFYING* the file, just use 'view afiedt.buf' instead.  It bypasses that check.</description>
      <pubDate>Mon, 18 Apr 2005 18:45:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/vi-warning-message/m-p/3527327#M17170</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2005-04-18T18:45:46Z</dc:date>
    </item>
    <item>
      <title>Re: vi warning message</title>
      <link>https://community.hpe.com/t5/operating-system-linux/vi-warning-message/m-p/3527328#M17171</link>
      <description>Hi Tonatiuh,&lt;BR /&gt;&lt;BR /&gt;If you open an SQL*PLUS session and execute a query, automatically an afiedt.buf will be created in the current working directory.&lt;BR /&gt;I don't know why you'd like to edit the file using vi, but if you would like to edit the buffer, just type ed or edit in your SQL*PLUS session and your default text editor (hopefully vi) will be opened. If you close the editor, you will return in your SQL*PLUS session. &lt;BR /&gt;Do you now still encounter the issues?&lt;BR /&gt;I suggest creating scripts with vi and running them from SQL*PLUS.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;Renarios</description>
      <pubDate>Wed, 27 Apr 2005 06:52:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/vi-warning-message/m-p/3527328#M17171</guid>
      <dc:creator>renarios</dc:creator>
      <dc:date>2005-04-27T06:52:25Z</dc:date>
    </item>
    <item>
      <title>Re: vi warning message</title>
      <link>https://community.hpe.com/t5/operating-system-linux/vi-warning-message/m-p/3527329#M17172</link>
      <description>use ps -aux |grep afiedt.buf to see the process id of process that holds the file.&lt;BR /&gt;Then kill it.&lt;BR /&gt;Best regards.</description>
      <pubDate>Thu, 28 Apr 2005 00:04:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/vi-warning-message/m-p/3527329#M17172</guid>
      <dc:creator>Alexander Chuzhoy</dc:creator>
      <dc:date>2005-04-28T00:04:04Z</dc:date>
    </item>
    <item>
      <title>Re: vi warning message</title>
      <link>https://community.hpe.com/t5/operating-system-linux/vi-warning-message/m-p/3527330#M17173</link>
      <description>Stuart, Alexander,&lt;BR /&gt;&lt;BR /&gt;The thing I am looking for is tho press one key less. The comments from you, mean to press much more keys.&lt;BR /&gt;&lt;BR /&gt;Renarios,&lt;BR /&gt;SQL*Plus always use this fiel by default. And is common to edit a statament because I need to modify it or correct it. I maybe edit (with this process) stataments nearly a hundred of times daily.</description>
      <pubDate>Thu, 28 Apr 2005 09:39:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/vi-warning-message/m-p/3527330#M17173</guid>
      <dc:creator>Tonatiuh</dc:creator>
      <dc:date>2005-04-28T09:39:02Z</dc:date>
    </item>
    <item>
      <title>Re: vi warning message</title>
      <link>https://community.hpe.com/t5/operating-system-linux/vi-warning-message/m-p/3527331#M17174</link>
      <description>yea, but after you've removed the .swp file, does the warning go away? or does it come back again?</description>
      <pubDate>Thu, 28 Apr 2005 20:34:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/vi-warning-message/m-p/3527331#M17174</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2005-04-28T20:34:22Z</dc:date>
    </item>
    <item>
      <title>Re: vi warning message</title>
      <link>https://community.hpe.com/t5/operating-system-linux/vi-warning-message/m-p/3527332#M17175</link>
      <description>If you are not allowed to overwrite your own afiedt.buf, I should almost think that it is a privilege issue. Do you have the right session umask and rights in your directory?&lt;BR /&gt;If you change the name of the editfile does the error still occur? command: &lt;BR /&gt;set editfile "edit.buf"&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;Renarios</description>
      <pubDate>Fri, 29 Apr 2005 02:18:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/vi-warning-message/m-p/3527332#M17175</guid>
      <dc:creator>renarios</dc:creator>
      <dc:date>2005-04-29T02:18:03Z</dc:date>
    </item>
  </channel>
</rss>

