<?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 problems with repeating commands with dot in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-problems-with-repeating-commands-with-dot/m-p/6812241#M494802</link>
    <description>&lt;P&gt;I'm having an issue in my HPUX vi sesssions when attempting to repeat the previous &lt;STRONG&gt;r &lt;/STRONG&gt;command (single char replace)&lt;BR /&gt;The first time I use the &lt;STRONG&gt;r&lt;/STRONG&gt; command it works as expected.&amp;nbsp;&lt;BR /&gt;For example, I do the single character replace command:&amp;nbsp; &lt;STRONG&gt;rA&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;The character at my current location is changed to the character &lt;STRONG&gt;'A' &lt;/STRONG&gt;as desired.&lt;BR /&gt;I can go to another location in the file and issue the&amp;nbsp;. (dot) command and again my current character is changed to an '&lt;STRONG&gt;A&lt;/STRONG&gt;'.&lt;/P&gt;
&lt;P&gt;In the same session, if I issue another &lt;STRONG&gt;r&lt;/STRONG&gt; command.&amp;nbsp; For example:&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;rB&lt;/STRONG&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;the character at my current location is changed to the character '&lt;STRONG&gt;B&lt;/STRONG&gt;' as desired.&lt;BR /&gt;However, if I&amp;nbsp;go to another location in the file and issue the&amp;nbsp;. (dot) command to repeat the replacement&lt;BR /&gt;instead of replacing the current character with a &lt;STRONG&gt;'B' &lt;/STRONG&gt;as desired&lt;STRONG&gt;, &lt;/STRONG&gt;it replaces it with an &lt;STRONG&gt;'A&lt;/STRONG&gt;' from the first &lt;STRONG&gt;r&lt;/STRONG&gt; command.&lt;/P&gt;
&lt;P&gt;It's seems like whatever buffer the r command uses during the repeat command doesn't get updated after the first use.&lt;/P&gt;
&lt;P&gt;Is anyone else experiencing this issue?&lt;/P&gt;
&lt;P&gt;I've tried repeating other commands with the . (dot)&amp;nbsp;command and they all seem fine:&amp;nbsp; R, cw, C&lt;/P&gt;
&lt;P&gt;Thanks in advance for any help.&lt;BR /&gt;Curtis.&lt;/P&gt;</description>
    <pubDate>Tue, 29 Dec 2015 11:32:00 GMT</pubDate>
    <dc:creator>C-Mays</dc:creator>
    <dc:date>2015-12-29T11:32:00Z</dc:date>
    <item>
      <title>vi problems with repeating commands with dot</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-problems-with-repeating-commands-with-dot/m-p/6812241#M494802</link>
      <description>&lt;P&gt;I'm having an issue in my HPUX vi sesssions when attempting to repeat the previous &lt;STRONG&gt;r &lt;/STRONG&gt;command (single char replace)&lt;BR /&gt;The first time I use the &lt;STRONG&gt;r&lt;/STRONG&gt; command it works as expected.&amp;nbsp;&lt;BR /&gt;For example, I do the single character replace command:&amp;nbsp; &lt;STRONG&gt;rA&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;The character at my current location is changed to the character &lt;STRONG&gt;'A' &lt;/STRONG&gt;as desired.&lt;BR /&gt;I can go to another location in the file and issue the&amp;nbsp;. (dot) command and again my current character is changed to an '&lt;STRONG&gt;A&lt;/STRONG&gt;'.&lt;/P&gt;
&lt;P&gt;In the same session, if I issue another &lt;STRONG&gt;r&lt;/STRONG&gt; command.&amp;nbsp; For example:&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;rB&lt;/STRONG&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;the character at my current location is changed to the character '&lt;STRONG&gt;B&lt;/STRONG&gt;' as desired.&lt;BR /&gt;However, if I&amp;nbsp;go to another location in the file and issue the&amp;nbsp;. (dot) command to repeat the replacement&lt;BR /&gt;instead of replacing the current character with a &lt;STRONG&gt;'B' &lt;/STRONG&gt;as desired&lt;STRONG&gt;, &lt;/STRONG&gt;it replaces it with an &lt;STRONG&gt;'A&lt;/STRONG&gt;' from the first &lt;STRONG&gt;r&lt;/STRONG&gt; command.&lt;/P&gt;
&lt;P&gt;It's seems like whatever buffer the r command uses during the repeat command doesn't get updated after the first use.&lt;/P&gt;
&lt;P&gt;Is anyone else experiencing this issue?&lt;/P&gt;
&lt;P&gt;I've tried repeating other commands with the . (dot)&amp;nbsp;command and they all seem fine:&amp;nbsp; R, cw, C&lt;/P&gt;
&lt;P&gt;Thanks in advance for any help.&lt;BR /&gt;Curtis.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Dec 2015 11:32:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi-problems-with-repeating-commands-with-dot/m-p/6812241#M494802</guid>
      <dc:creator>C-Mays</dc:creator>
      <dc:date>2015-12-29T11:32:00Z</dc:date>
    </item>
    <item>
      <title>Re: vi problems with repeating commands with dot</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-problems-with-repeating-commands-with-dot/m-p/6822988#M494803</link>
      <description>&lt;P&gt;I tried it with "r" then dot then changing "r" then dot but it worked fine for me.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jan 2016 05:29:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi-problems-with-repeating-commands-with-dot/m-p/6822988#M494803</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2016-01-11T05:29:03Z</dc:date>
    </item>
  </channel>
</rss>

