<?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 editor problem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor-problem/m-p/4868959#M844348</link>
    <description>hi there!&lt;BR /&gt;&lt;BR /&gt;When I try to open a file with VI, does not open the file and send this message:&lt;BR /&gt;&lt;BR /&gt;*A copy of an editor buffer of your file "./pant.xxx"&lt;BR /&gt;was saved when the editor was killed.&lt;BR /&gt;This buffer can be retrieved using the "recover" command of the editor.&lt;BR /&gt;An easy way to do this is to give the command "ex -r ./pant.xxx".&lt;BR /&gt;This works for "edit" and "vi" also.*&lt;BR /&gt;&lt;BR /&gt;Any clarification would be nice.&lt;BR /&gt;Thank you in advance.&lt;BR /&gt;&lt;BR /&gt;Alara&lt;BR /&gt;</description>
    <pubDate>Thu, 04 Nov 2004 18:08:00 GMT</pubDate>
    <dc:creator>Jose A. Lara</dc:creator>
    <dc:date>2004-11-04T18:08:00Z</dc:date>
    <item>
      <title>VI editor problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor-problem/m-p/4868959#M844348</link>
      <description>hi there!&lt;BR /&gt;&lt;BR /&gt;When I try to open a file with VI, does not open the file and send this message:&lt;BR /&gt;&lt;BR /&gt;*A copy of an editor buffer of your file "./pant.xxx"&lt;BR /&gt;was saved when the editor was killed.&lt;BR /&gt;This buffer can be retrieved using the "recover" command of the editor.&lt;BR /&gt;An easy way to do this is to give the command "ex -r ./pant.xxx".&lt;BR /&gt;This works for "edit" and "vi" also.*&lt;BR /&gt;&lt;BR /&gt;Any clarification would be nice.&lt;BR /&gt;Thank you in advance.&lt;BR /&gt;&lt;BR /&gt;Alara&lt;BR /&gt;</description>
      <pubDate>Thu, 04 Nov 2004 18:08:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor-problem/m-p/4868959#M844348</guid>
      <dc:creator>Jose A. Lara</dc:creator>
      <dc:date>2004-11-04T18:08:00Z</dc:date>
    </item>
    <item>
      <title>Re: VI editor problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor-problem/m-p/4868960#M844349</link>
      <description>vi keeps recovery information. Back in the days of modem dialups, it was not uncommon for a user to just be disconnected.&lt;BR /&gt; &lt;BR /&gt;This recovery helps protect a user from loss of changes.&lt;BR /&gt; &lt;BR /&gt;HTH&lt;BR /&gt; &lt;BR /&gt;-- Rod Hills</description>
      <pubDate>Thu, 04 Nov 2004 18:10:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor-problem/m-p/4868960#M844349</guid>
      <dc:creator>Rodney Hills</dc:creator>
      <dc:date>2004-11-04T18:10:40Z</dc:date>
    </item>
    <item>
      <title>Re: VI editor problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor-problem/m-p/4868961#M844350</link>
      <description>When you edit a file a backup copy is made. If the session is terminated abnormally, you get a chance to recovery the file you were weorking on.&lt;BR /&gt;&lt;BR /&gt;A temporary filelocation should be indicated so you can grab it. You may be prompted if you wish to recover the file.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 04 Nov 2004 18:11:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor-problem/m-p/4868961#M844350</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-11-04T18:11:12Z</dc:date>
    </item>
    <item>
      <title>Re: VI editor problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor-problem/m-p/4868962#M844351</link>
      <description>Thanks a lot for your answer&lt;BR /&gt;&lt;BR /&gt;But I have this problem when I edit any file, I have to retry 1 to 3 times and then the file open.&lt;BR /&gt;&lt;BR /&gt;Any suggestions on making this work?&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;AL</description>
      <pubDate>Thu, 04 Nov 2004 18:28:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor-problem/m-p/4868962#M844351</guid>
      <dc:creator>Jose A. Lara</dc:creator>
      <dc:date>2004-11-04T18:28:03Z</dc:date>
    </item>
    <item>
      <title>Re: VI editor problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor-problem/m-p/4868963#M844352</link>
      <description>Suggestion:&lt;BR /&gt;&lt;BR /&gt;erase the file its asking you to recover.&lt;BR /&gt;&lt;BR /&gt;rm &lt;FILENAME displayed="" when="" you="" start=""&gt;&lt;BR /&gt;&lt;BR /&gt;Then it should stop happening.&lt;BR /&gt;&lt;BR /&gt;SEP&lt;/FILENAME&gt;</description>
      <pubDate>Thu, 04 Nov 2004 18:36:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor-problem/m-p/4868963#M844352</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-11-04T18:36:14Z</dc:date>
    </item>
    <item>
      <title>Re: VI editor problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor-problem/m-p/4868964#M844353</link>
      <description>Now I'm not trying to be insulting here.  I'm sure you don't do this.  &lt;BR /&gt;&lt;BR /&gt;This is the scenario I know.  A user edits a file using vi.  They make changes to it.  Then they never save the changes or log off or anything.  They just drive home for the day.&lt;BR /&gt;&lt;BR /&gt;A batch (cron) process comes along and kills any user logins that are idle for over 4 hours.  Or a network process times out the session, effectively killing it.  Somehow the vi session is killed.  The usual reason is the person was idle for hours.   &lt;BR /&gt;&lt;BR /&gt;The user comes back into work the next day, and gets "*A copy of an editor buffer of your file "./pant.xxx"&lt;BR /&gt;was saved when the editor was killed.&lt;BR /&gt;This buffer can be retrieved ...."&lt;BR /&gt;&lt;BR /&gt;So the moral is:&lt;BR /&gt;When you edit a file, and make changes, save the changes. &lt;BR /&gt;When you are done working, log off.&lt;BR /&gt;&lt;BR /&gt;steve</description>
      <pubDate>Fri, 05 Nov 2004 08:04:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor-problem/m-p/4868964#M844353</guid>
      <dc:creator>Steve Post</dc:creator>
      <dc:date>2004-11-05T08:04:26Z</dc:date>
    </item>
    <item>
      <title>Re: VI editor problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor-problem/m-p/4868965#M844354</link>
      <description>I reread your problem.  You're obviously NOT idle for hours on end.  &lt;BR /&gt;But there is something that seems strange to me....&lt;BR /&gt;&lt;BR /&gt;"You try to get into the file a few times, before it lets you in."&lt;BR /&gt;&lt;BR /&gt;That means you are actively trying to modify the file.  Yet you are not able to get in. &lt;BR /&gt;Is this file being edited by someone else?&lt;BR /&gt;Is this file being deleted every 2 seconds?&lt;BR /&gt;Is the directory the file is in being moved?&lt;BR /&gt;Is this file a database file being accessed by large numbers of people? &lt;BR /&gt;&lt;BR /&gt;How big is the file?  If it is small enough, copy it to your home directory.  Use view instead of vi.  &lt;BR /&gt;&lt;BR /&gt;Ah one more question.  When you are in the file, editing it, can you exit successfully?&lt;BR /&gt;&lt;BR /&gt;Oh one more.....When vi runs, a copy of the file in question goes somewhere under the tmp directory.  Is /tmp full?  Do you have permission to use the /tmp directory?&lt;BR /&gt;&lt;BR /&gt;Yes. even another question for you....Are you editing a FILE?  Perhaps it's a pipe, or device, or something that's NOT editable.  &lt;BR /&gt;&lt;BR /&gt;steve</description>
      <pubDate>Fri, 05 Nov 2004 09:02:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor-problem/m-p/4868965#M844354</guid>
      <dc:creator>Steve Post</dc:creator>
      <dc:date>2004-11-05T09:02:53Z</dc:date>
    </item>
    <item>
      <title>Re: VI editor problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor-problem/m-p/4868966#M844355</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Try the rm and if there are any permission problems you will know.&lt;BR /&gt;&lt;BR /&gt;Make sure vi is ok&lt;BR /&gt;&lt;BR /&gt;ll -d /usr/bin/vi&lt;BR /&gt;-r-xr-xr-t   6 bin        bin         233472 Oct 27  1997 /usr/bin/vi&lt;BR /&gt;&lt;BR /&gt;If the t is missing can give odd things&lt;BR /&gt;&lt;BR /&gt;see man chmod&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;              Steve Steel</description>
      <pubDate>Fri, 05 Nov 2004 09:03:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor-problem/m-p/4868966#M844355</guid>
      <dc:creator>Steve Steel</dc:creator>
      <dc:date>2004-11-05T09:03:33Z</dc:date>
    </item>
    <item>
      <title>Re: VI editor problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor-problem/m-p/4868967#M844356</link>
      <description>thanks a lot to all for your help.&lt;BR /&gt;&lt;BR /&gt;I just delete the temporary file ./pant.xxx</description>
      <pubDate>Fri, 05 Nov 2004 10:46:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor-problem/m-p/4868967#M844356</guid>
      <dc:creator>Jose A. Lara</dc:creator>
      <dc:date>2004-11-05T10:46:14Z</dc:date>
    </item>
    <item>
      <title>Re: VI editor problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor-problem/m-p/4868968#M844357</link>
      <description>jose, i had a similar issue ...what may be of interest to you is where the temporary file vi makes is located&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=732974" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=732974&lt;/A&gt;</description>
      <pubDate>Fri, 05 Nov 2004 12:03:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor-problem/m-p/4868968#M844357</guid>
      <dc:creator>Marc Ahrendt</dc:creator>
      <dc:date>2004-11-05T12:03:39Z</dc:date>
    </item>
    <item>
      <title>Re: VI editor problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor-problem/m-p/4868969#M844358</link>
      <description>thanks for your help</description>
      <pubDate>Thu, 31 Mar 2005 12:39:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor-problem/m-p/4868969#M844358</guid>
      <dc:creator>Jose A. Lara</dc:creator>
      <dc:date>2005-03-31T12:39:18Z</dc:date>
    </item>
  </channel>
</rss>

