<?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: copy and paste from one file to another opened in vi simultaneously in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/copy-and-paste-from-one-file-to-another-opened-in-vi/m-p/3898366#M96579</link>
    <description>And one important setting. The default stty values does not include an important value for pasting large amounts of data. It is the ixoff option. Even though you are probably using a LAN connection, stty values do configure the connection. This is recommended for all machines:&lt;BR /&gt; &lt;BR /&gt;stty erase "^H" kill "^U" intr "^C" eof "^D" -parity ixoff&lt;BR /&gt; &lt;BR /&gt;The ixoff tells the connection to pause when data is arriving too fast. Without ixoff, slow machines (especially less than 100 Mhz) will drop lines of text when you are pasting a lot of data.</description>
    <pubDate>Tue, 14 Nov 2006 19:48:58 GMT</pubDate>
    <dc:creator>Bill Hassell</dc:creator>
    <dc:date>2006-11-14T19:48:58Z</dc:date>
    <item>
      <title>copy and paste from one file to another opened in vi simultaneously</title>
      <link>https://community.hpe.com/t5/operating-system-linux/copy-and-paste-from-one-file-to-another-opened-in-vi/m-p/3898363#M96576</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I need to open 2 files and edit them simultaniously in vi.&lt;BR /&gt;&lt;BR /&gt;What are the sequence of commands i need to perform to copy/cut and paste from one file to another ?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Shi</description>
      <pubDate>Tue, 14 Nov 2006 17:08:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/copy-and-paste-from-one-file-to-another-opened-in-vi/m-p/3898363#M96576</guid>
      <dc:creator>Shivkumar</dc:creator>
      <dc:date>2006-11-14T17:08:55Z</dc:date>
    </item>
    <item>
      <title>Re: copy and paste from one file to another opened in vi simultaneously</title>
      <link>https://community.hpe.com/t5/operating-system-linux/copy-and-paste-from-one-file-to-another-opened-in-vi/m-p/3898364#M96577</link>
      <description>Hi Shiv:&lt;BR /&gt;&lt;BR /&gt;Position your cursor in file-1 where you want to paste file-2.  Type:&lt;BR /&gt;&lt;BR /&gt;:r file-2&lt;BR /&gt;&lt;BR /&gt;...and file-2 will be copied into file-1.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Tue, 14 Nov 2006 17:22:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/copy-and-paste-from-one-file-to-another-opened-in-vi/m-p/3898364#M96577</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2006-11-14T17:22:48Z</dc:date>
    </item>
    <item>
      <title>Re: copy and paste from one file to another opened in vi simultaneously</title>
      <link>https://community.hpe.com/t5/operating-system-linux/copy-and-paste-from-one-file-to-another-opened-in-vi/m-p/3898365#M96578</link>
      <description>Are you talking about copying your text with the mouse buttons?  Or using vi's yank buffers?&lt;BR /&gt;&lt;BR /&gt;For the former, I just copy then paste.  The buttons depend on which terminal emulator you are using.&lt;BR /&gt;&lt;BR /&gt;For vi, you must have both files on the command line, yank into a named buffer, "a then a yank command.  ("a5Y will yank 5 lines into buffer a.)  Then you use :n or :rew to go to the other file and use "ap to do a put.</description>
      <pubDate>Tue, 14 Nov 2006 17:26:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/copy-and-paste-from-one-file-to-another-opened-in-vi/m-p/3898365#M96578</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2006-11-14T17:26:30Z</dc:date>
    </item>
    <item>
      <title>Re: copy and paste from one file to another opened in vi simultaneously</title>
      <link>https://community.hpe.com/t5/operating-system-linux/copy-and-paste-from-one-file-to-another-opened-in-vi/m-p/3898366#M96579</link>
      <description>And one important setting. The default stty values does not include an important value for pasting large amounts of data. It is the ixoff option. Even though you are probably using a LAN connection, stty values do configure the connection. This is recommended for all machines:&lt;BR /&gt; &lt;BR /&gt;stty erase "^H" kill "^U" intr "^C" eof "^D" -parity ixoff&lt;BR /&gt; &lt;BR /&gt;The ixoff tells the connection to pause when data is arriving too fast. Without ixoff, slow machines (especially less than 100 Mhz) will drop lines of text when you are pasting a lot of data.</description>
      <pubDate>Tue, 14 Nov 2006 19:48:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/copy-and-paste-from-one-file-to-another-opened-in-vi/m-p/3898366#M96579</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2006-11-14T19:48:58Z</dc:date>
    </item>
    <item>
      <title>Re: copy and paste from one file to another opened in vi simultaneously</title>
      <link>https://community.hpe.com/t5/operating-system-linux/copy-and-paste-from-one-file-to-another-opened-in-vi/m-p/3898367#M96580</link>
      <description>Bill, &lt;BR /&gt;&lt;BR /&gt;I appreciate the settings advice, but best I can tell is has nothing to do witht he question on hand. The cut &amp;amp; paste discussed is the desirable one, within the same program. Terminal/network IO is only used to display the result, not to perform the atual copying.&lt;BR /&gt;&lt;BR /&gt;Just an observation,&lt;BR /&gt;Cheers,&lt;BR /&gt;Hein.</description>
      <pubDate>Tue, 14 Nov 2006 21:34:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/copy-and-paste-from-one-file-to-another-opened-in-vi/m-p/3898367#M96580</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2006-11-14T21:34:56Z</dc:date>
    </item>
    <item>
      <title>Re: copy and paste from one file to another opened in vi simultaneously</title>
      <link>https://community.hpe.com/t5/operating-system-linux/copy-and-paste-from-one-file-to-another-opened-in-vi/m-p/3898368#M96581</link>
      <description>&lt;P&gt;&amp;gt;Hein: but best I can tell is has nothing to do with the question on hand.&lt;BR /&gt;&lt;BR /&gt;I don't see why not. That's why I gave two answers. If I do "opened in vi simultaneously", I would have two windows and use the mouse.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Terminal/network I/O is only used to display the result, not to perform the actual copying.&lt;BR /&gt;&lt;BR /&gt;(I assume you meant pasting not copying?) Not true. I've have seen users that have problems pasting mass quantities. While I use hpterm and don't seem to have any problems. I also have ixoff set.&lt;BR /&gt;&lt;BR /&gt;So Bill's comments may be useful.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Oct 2011 02:29:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/copy-and-paste-from-one-file-to-another-opened-in-vi/m-p/3898368#M96581</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2011-10-24T02:29:20Z</dc:date>
    </item>
    <item>
      <title>Re: copy and paste from one file to another opened in vi simultaneously</title>
      <link>https://community.hpe.com/t5/operating-system-linux/copy-and-paste-from-one-file-to-another-opened-in-vi/m-p/3898369#M96582</link>
      <description>Dennis, You are correct.&lt;BR /&gt;&lt;BR /&gt;I read the question as :&lt;BR /&gt;&lt;BR /&gt;"copy and paste from one file to another opened in vi simultaneously ... in the same vi session"&lt;BR /&gt;&lt;BR /&gt;That's the only proper way to do it, but it is not too often used&lt;BR /&gt;&lt;BR /&gt;Shi may have referring to two seperate windows, each with a vi session. In that case the terminal settings can become important. However, the 'sequence of [vi] commands' suggest to me that intend is nto to use a terminal emulator / windows-system buffer but either a vi internal buffer or a temporary file.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Hein&lt;BR /&gt;</description>
      <pubDate>Tue, 14 Nov 2006 22:53:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/copy-and-paste-from-one-file-to-another-opened-in-vi/m-p/3898369#M96582</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2006-11-14T22:53:06Z</dc:date>
    </item>
    <item>
      <title>Re: copy and paste from one file to another opened in vi simultaneously</title>
      <link>https://community.hpe.com/t5/operating-system-linux/copy-and-paste-from-one-file-to-another-opened-in-vi/m-p/3898370#M96583</link>
      <description>&lt;!--!*#--&gt;hi,&lt;BR /&gt;Just on quick observation.&lt;BR /&gt;&lt;BR /&gt;As per Dennis post, since if we want to do a CUT and PASTE, the strokes would be:&lt;BR /&gt;&lt;BR /&gt;"a5dd    : will cut 5 lines and put into buffer a&lt;BR /&gt;&lt;BR /&gt;:w       : save current file&lt;BR /&gt;&lt;BR /&gt;:e &lt;FILENAME&gt;  : edit &lt;FILENAME&gt; where we wish to insert the lines&lt;BR /&gt;&lt;BR /&gt;"ap      : Paste the lines at the current cursor position&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;hope this helps too!&lt;BR /&gt;&lt;BR /&gt;kind regards&lt;BR /&gt;yogeeraj&lt;BR /&gt;&lt;/FILENAME&gt;&lt;/FILENAME&gt;</description>
      <pubDate>Wed, 15 Nov 2006 00:00:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/copy-and-paste-from-one-file-to-another-opened-in-vi/m-p/3898370#M96583</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2006-11-15T00:00:34Z</dc:date>
    </item>
  </channel>
</rss>

