<?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 Re: vi editor in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor/m-p/5021243#M761574</link>
    <description>I assume you are using Windows if you want to copy it to word.  Therefore, cat the file and highlight it all and press CTRL+C and then CTRL+V within word.  Or, you can ftp the file to your windows and then just open it within word as I assume it will just be a text file.</description>
    <pubDate>Thu, 04 Jan 2007 08:08:53 GMT</pubDate>
    <dc:creator>Coolmar</dc:creator>
    <dc:date>2007-01-04T08:08:53Z</dc:date>
    <item>
      <title>vi editor</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor/m-p/5021240#M761571</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I need to copy the contents of vi and paste in word. Want to know the command to copy the whole contents in vi editor.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;</description>
      <pubDate>Thu, 04 Jan 2007 08:03:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor/m-p/5021240#M761571</guid>
      <dc:creator>Raju_S</dc:creator>
      <dc:date>2007-01-04T08:03:05Z</dc:date>
    </item>
    <item>
      <title>Re: vi editor</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor/m-p/5021241#M761572</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You have to use your terminal emulator's built-in copy, rather than vi's "yank".  If you're using PuTTY, simply highlight the desired text, and paste (ctrl+V) into Word.  Other emulators may require a copy (ctrl+C) step after highlighting the text.&lt;BR /&gt;&lt;BR /&gt;PCS</description>
      <pubDate>Thu, 04 Jan 2007 08:07:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor/m-p/5021241#M761572</guid>
      <dc:creator>spex</dc:creator>
      <dc:date>2007-01-04T08:07:38Z</dc:date>
    </item>
    <item>
      <title>Re: vi editor</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor/m-p/5021242#M761573</link>
      <description>yG will copy the whole contents of the file, but I'm not sure how you are going to paste a vi editor buffer into word.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Thu, 04 Jan 2007 08:08:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor/m-p/5021242#M761573</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2007-01-04T08:08:34Z</dc:date>
    </item>
    <item>
      <title>Re: vi editor</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor/m-p/5021243#M761574</link>
      <description>I assume you are using Windows if you want to copy it to word.  Therefore, cat the file and highlight it all and press CTRL+C and then CTRL+V within word.  Or, you can ftp the file to your windows and then just open it within word as I assume it will just be a text file.</description>
      <pubDate>Thu, 04 Jan 2007 08:08:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor/m-p/5021243#M761574</guid>
      <dc:creator>Coolmar</dc:creator>
      <dc:date>2007-01-04T08:08:53Z</dc:date>
    </item>
    <item>
      <title>Re: vi editor</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor/m-p/5021244#M761575</link>
      <description>It's not a vi command you are looking for.  It is the copy/paste command in X.  Where X is the terminal emulator you are using.  &lt;BR /&gt;If you are on windows, you can probably just use cut and paste with the MOUSE.&lt;BR /&gt;&lt;BR /&gt;If X is some amber terminal sitting in a computer room?  I don't care how long your mouse can reach.  It can't walk to other rooms. &lt;BR /&gt;&lt;BR /&gt;So what do you do?  You need to grab copy the file to your pc via ftp.&lt;BR /&gt;But first you might want to run the ux2dos command to make it more readable.&lt;BR /&gt;&lt;BR /&gt;1. cat  myunixfile | un2dos &amp;gt; myunixfile.txt&lt;BR /&gt;(Note I added .txt to the end).&lt;BR /&gt;2. ftp file myunixfile.txt to your pc&lt;BR /&gt; c:\myunixfile.txt&lt;BR /&gt;3. open msword&lt;BR /&gt;4. open c:\myunixfile.txt&lt;BR /&gt;&lt;BR /&gt;steve</description>
      <pubDate>Fri, 05 Jan 2007 08:16:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor/m-p/5021244#M761575</guid>
      <dc:creator>Steve Post</dc:creator>
      <dc:date>2007-01-05T08:16:10Z</dc:date>
    </item>
    <item>
      <title>Re: vi editor</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor/m-p/5021245#M761576</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;if you mean to import the text into a microsoft word document then it is preferable that you ftp the file to the windows environment first.&lt;BR /&gt;&lt;BR /&gt;you can then open the file using either notepad and use copy+paste commands to put it in a word document.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;kind regards&lt;BR /&gt;yogeeraj</description>
      <pubDate>Fri, 05 Jan 2007 08:31:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor/m-p/5021245#M761576</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2007-01-05T08:31:57Z</dc:date>
    </item>
    <item>
      <title>Re: vi editor</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor/m-p/5021246#M761577</link>
      <description>Hi Ramnath,&lt;BR /&gt;&lt;BR /&gt;If you want to copy the entire content of the file , its very simple:&lt;BR /&gt;&lt;BR /&gt;"Want to know the command to copy the whole contents in vi editor."&lt;BR /&gt;&lt;BR /&gt;Suppose you have a big file , then vi will not show the entire file , it will show only 40 lines in the screen , so even if you select all the line from your mouse you cannot paste it in the word file.&lt;BR /&gt;&lt;BR /&gt;Here is some senario to get the file:&lt;BR /&gt;&lt;BR /&gt;1. ftp the file with ascii format to local pc: &lt;BR /&gt;2. From you putty session you can get the entire file:&lt;BR /&gt;&lt;BR /&gt; - In Puty --&amp;gt; right click --&amp;gt; Change Settings --&amp;gt; Logging --&amp;gt; choose "Log all Session output" --&amp;gt; provide a filename .&lt;BR /&gt;&lt;BR /&gt; - do a $ cat file_name_to_paste&lt;BR /&gt;&lt;BR /&gt; - close the session.&lt;BR /&gt;&lt;BR /&gt; - Check the file. All the entire content will be there in that file.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Raj.</description>
      <pubDate>Fri, 05 Jan 2007 09:49:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor/m-p/5021246#M761577</guid>
      <dc:creator>Raj D.</dc:creator>
      <dc:date>2007-01-05T09:49:15Z</dc:date>
    </item>
    <item>
      <title>Re: vi editor</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor/m-p/5021247#M761578</link>
      <description>Thankyou all for your suggestion. I ftp'ed the file and opened in word.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Ramnath S</description>
      <pubDate>Mon, 08 Jan 2007 02:46:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor/m-p/5021247#M761578</guid>
      <dc:creator>Raju_S</dc:creator>
      <dc:date>2007-01-08T02:46:30Z</dc:date>
    </item>
  </channel>
</rss>

