<?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 tab/space in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-tab-space/m-p/4551417#M652532</link>
    <description>Hi:&lt;BR /&gt;&lt;BR /&gt;I suspect that your copy buffer has the leading whitespace because of how you created the it.  In the absence of specific details of how and from where you copy-and-paste (e.g. from a Windows PC?) it is difficult to answer.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
    <pubDate>Wed, 16 Dec 2009 23:37:26 GMT</pubDate>
    <dc:creator>James R. Ferguson</dc:creator>
    <dc:date>2009-12-16T23:37:26Z</dc:date>
    <item>
      <title>vi tab/space</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-tab-space/m-p/4551416#M652531</link>
      <description>HP-UX&lt;BR /&gt;vi Editor&lt;BR /&gt;&lt;BR /&gt;I view a text file and I copy some text lines.&lt;BR /&gt;&lt;BR /&gt;Then I vi other file and try to paste the copied text lines. But it includes some tabs or spaces at the beginning of each line and the structure is TOTALLY altered. This does not happen with linux vi (just to mention another case).&lt;BR /&gt;&lt;BR /&gt;how can I avoid the inclusion of this tabs/spaces at the beginning of each copied line?</description>
      <pubDate>Wed, 16 Dec 2009 23:16:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi-tab-space/m-p/4551416#M652531</guid>
      <dc:creator>Tonatiuh</dc:creator>
      <dc:date>2009-12-16T23:16:22Z</dc:date>
    </item>
    <item>
      <title>Re: vi tab/space</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-tab-space/m-p/4551417#M652532</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;I suspect that your copy buffer has the leading whitespace because of how you created the it.  In the absence of specific details of how and from where you copy-and-paste (e.g. from a Windows PC?) it is difficult to answer.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 16 Dec 2009 23:37:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi-tab-space/m-p/4551417#M652532</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2009-12-16T23:37:26Z</dc:date>
    </item>
    <item>
      <title>Re: vi tab/space</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-tab-space/m-p/4551418#M652533</link>
      <description>It's possible your vi is running in 'autoindent' mode, which will automatically intent new lines to match the previous line.  This is very useful for interactive editing, but causes problems for copy+paste.&lt;BR /&gt;&lt;BR /&gt;Before pasting, try running this in the destination vi:  ":set noai"  (without the quotes).&lt;BR /&gt;&lt;BR /&gt;autoindent seems to be the default on HP-UX vi.  Linux doesn't have a standard 'vi', but on most of them, 'ai' is not the default.&lt;BR /&gt;&lt;BR /&gt;BTW, if you want to read an entire file into vi, you don't need to use copy/paste, you can simply use ":r /path/to/file".  This also avoids other copy+paste issues, like tabs being converted to spaces.</description>
      <pubDate>Thu, 17 Dec 2009 04:24:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi-tab-space/m-p/4551418#M652533</guid>
      <dc:creator>River Tarnell</dc:creator>
      <dc:date>2009-12-17T04:24:28Z</dc:date>
    </item>
    <item>
      <title>Re: vi tab/space</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-tab-space/m-p/4551419#M652534</link>
      <description>BINGO River!&lt;BR /&gt;&lt;BR /&gt;The ":set noai" solved my problem.&lt;BR /&gt;&lt;BR /&gt;THANK YOU!</description>
      <pubDate>Fri, 18 Dec 2009 18:33:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi-tab-space/m-p/4551419#M652534</guid>
      <dc:creator>Tonatiuh</dc:creator>
      <dc:date>2009-12-18T18:33:27Z</dc:date>
    </item>
  </channel>
</rss>

