<?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: option :X in editor VI in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/option-x-in-editor-vi/m-p/2966807#M119596</link>
    <description>In case others are wondering as well:&lt;BR /&gt;&lt;BR /&gt;"-C" is apparently a 'new', HP-UX 11.0 and higher, vi(1) option which is similar to (but not the same as) "-x". See the vi(1) manual page for details.</description>
    <pubDate>Thu, 08 May 2003 06:56:05 GMT</pubDate>
    <dc:creator>Frank Slootweg</dc:creator>
    <dc:date>2003-05-08T06:56:05Z</dc:date>
    <item>
      <title>option :X in editor VI</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/option-x-in-editor-vi/m-p/2966801#M119590</link>
      <description>hello , editing in vi my shell script press the key,mode&lt;BR /&gt;:X&lt;BR /&gt;enter key &lt;BR /&gt;I lost the data, with recovery or return a my shell script original&lt;BR /&gt;&lt;BR /&gt;only see caharacter type:&lt;BR /&gt;2\320ex) \301t^^$1r!</description>
      <pubDate>Tue, 06 May 2003 17:43:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/option-x-in-editor-vi/m-p/2966801#M119590</guid>
      <dc:creator>Jairo Campana</dc:creator>
      <dc:date>2003-05-06T17:43:58Z</dc:date>
    </item>
    <item>
      <title>Re: option :X in editor VI</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/option-x-in-editor-vi/m-p/2966802#M119591</link>
      <description>the :X command is to enter encryption mode.  You've encrypted the file.  Do you recall what you typed after the :X?  That is the encryption key.  You can do this:&lt;BR /&gt;&lt;BR /&gt;vi file -x&lt;BR /&gt;&lt;BR /&gt;and it will prompt you for the key.  See the man page on vi for more.  If you cannot recall the encryption key, your file is most likely lost.&lt;BR /&gt;&lt;BR /&gt;mark</description>
      <pubDate>Tue, 06 May 2003 18:03:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/option-x-in-editor-vi/m-p/2966802#M119591</guid>
      <dc:creator>Mark Greene_1</dc:creator>
      <dc:date>2003-05-06T18:03:14Z</dc:date>
    </item>
    <item>
      <title>Re: option :X in editor VI</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/option-x-in-editor-vi/m-p/2966803#M119592</link>
      <description>&lt;BR /&gt;Did you want to encrypt your file, because that's what the :X does.&lt;BR /&gt;&lt;BR /&gt;Do you remember what you typed in when it prompted you to "Enter key" ??&lt;BR /&gt;&lt;BR /&gt;If you do, then do this:&lt;BR /&gt;&lt;BR /&gt;vi -C filename&lt;BR /&gt;&lt;BR /&gt;and enter in the "key"&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
      <pubDate>Tue, 06 May 2003 18:05:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/option-x-in-editor-vi/m-p/2966803#M119592</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2003-05-06T18:05:02Z</dc:date>
    </item>
    <item>
      <title>Re: option :X in editor VI</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/option-x-in-editor-vi/m-p/2966804#M119593</link>
      <description>Harry,&lt;BR /&gt;&lt;BR /&gt;I think you mean "-x" instead of "-C". At least that is what I always use, and, as far as I know, there is no option "-C".</description>
      <pubDate>Wed, 07 May 2003 09:24:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/option-x-in-editor-vi/m-p/2966804#M119593</guid>
      <dc:creator>Frank Slootweg</dc:creator>
      <dc:date>2003-05-07T09:24:39Z</dc:date>
    </item>
    <item>
      <title>Re: option :X in editor VI</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/option-x-in-editor-vi/m-p/2966805#M119594</link>
      <description>Hi,&lt;BR /&gt;  Check the TERM value. &lt;BR /&gt;I have also attached Vi editor option, it could be helpfull for you.&lt;BR /&gt;&lt;BR /&gt;5) VI editor options&lt;BR /&gt;Three Types of Modes,&lt;BR /&gt; Command Mode,&lt;BR /&gt; Last Line Mode&lt;BR /&gt; Insert or Input Mode,&lt;BR /&gt;&lt;BR /&gt;Cursor Movement,&lt;BR /&gt;l ??? Move one Character Right&lt;BR /&gt;h- Move one Character Left&lt;BR /&gt;j- down&lt;BR /&gt;k- up&lt;BR /&gt;G- Go to Last Line of the file&lt;BR /&gt;NG- Go to line number n in the file&lt;BR /&gt;$- End of the Current line&lt;BR /&gt;^ - Beginning of the Current line&lt;BR /&gt;H- First line of the Screen&lt;BR /&gt;M- Middle line of the Screen&lt;BR /&gt;L- Last line of Screen&lt;BR /&gt;Ctrl-G find out which line your in the file&lt;BR /&gt;$G End of the last line of the file&lt;BR /&gt;&lt;BR /&gt;INSERT Command&lt;BR /&gt;&lt;BR /&gt;i ??? Insert Current Cursor location&lt;BR /&gt;I ??? Insert at the beginning of the Current line&lt;BR /&gt;,a ??? Insert text at the next character position relative to the current cursor location&lt;BR /&gt;A ??? End of the Current line&lt;BR /&gt;o- Blank line below the current line&lt;BR /&gt;O- Blank line above the current line&lt;BR /&gt;&lt;BR /&gt;Deleting command&lt;BR /&gt;&lt;BR /&gt;x delete character&lt;BR /&gt;nx n character starting from current cursor location&lt;BR /&gt;X Delete previous character from the current cursor&lt;BR /&gt;,nX n previous character from the current location&lt;BR /&gt;dd delete current line&lt;BR /&gt;db delete previous word&lt;BR /&gt;dw current cursor location forward word&lt;BR /&gt;dG delete end of the file including current line&lt;BR /&gt;&lt;BR /&gt;Replacement Command&lt;BR /&gt;r- Replace Current Character remain in command mode&lt;BR /&gt;s- Replace current Character and go to insert mode&lt;BR /&gt;R- Replace Multiple Character until the Esc key is pressed&lt;BR /&gt;cw- Change to the beginning of the next word&lt;BR /&gt;cc- change the entire line&lt;BR /&gt;cG change ot the end of the line&lt;BR /&gt;&lt;BR /&gt;Undo and Redo&lt;BR /&gt;,u  Undo the last changes&lt;BR /&gt;U  undo the Changes made to the current line&lt;BR /&gt;. Redo something changed by undo&lt;BR /&gt;&lt;BR /&gt;Scrolling text&lt;BR /&gt;&lt;BR /&gt;Ctrl ??? b Scroll one screen back&lt;BR /&gt;Ctrl ??? f  Scroll one screen forward&lt;BR /&gt;Ctrl ??? u Scroll half screen back&lt;BR /&gt;Ctrl ??? d half screen forward&lt;BR /&gt;&lt;BR /&gt;Search and Replace&lt;BR /&gt;&lt;BR /&gt;/&lt;SEARCH name=""&gt; search text forward&lt;BR /&gt;?&lt;SEARCH name=""&gt; search text backword&lt;BR /&gt;/ Repeat the search&lt;BR /&gt;? Repeat the search backword&lt;BR /&gt;n  Repeat search in the same direction&lt;BR /&gt;N Repeat search in the opposite direction&lt;BR /&gt;:s/old/new search and replace&lt;BR /&gt;:m,ns/old/new from m to n line search and replace&lt;BR /&gt;:s/old/new/g search entire file and replace&lt;BR /&gt;/&lt;SPACE&gt; searchtext only the whole word are searched&lt;BR /&gt;/^text search from beginning of a line&lt;BR /&gt;/text$ search end of the line&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Yanked or copied&lt;BR /&gt;Yy ??? copy current line&lt;BR /&gt;Nyy- copy n lines starting form current line position&lt;BR /&gt;p paste the txt after the current cursor&lt;BR /&gt;P paste the txt before the current cursor&lt;BR /&gt;:ma move current line and paste after the line number ???a???&lt;BR /&gt;:a.bmc Move line from a to b and paste after line number c&lt;BR /&gt;:a,btc copy the line from a to b and paste after the line number c&lt;BR /&gt;:r &lt;FILE name=""&gt; import the another file into the current line&lt;BR /&gt;:w &lt;FILE name=""&gt; :3,37w filename copy the current edited file to another file&lt;BR /&gt;&lt;BR /&gt;:set number&lt;BR /&gt;:set all&lt;BR /&gt;:set readonly&lt;BR /&gt;:set wrapmargin =n&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Bala&lt;/FILE&gt;&lt;/FILE&gt;&lt;/SPACE&gt;&lt;/SEARCH&gt;&lt;/SEARCH&gt;</description>
      <pubDate>Wed, 07 May 2003 09:42:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/option-x-in-editor-vi/m-p/2966805#M119594</guid>
      <dc:creator>Balakumar M</dc:creator>
      <dc:date>2003-05-07T09:42:04Z</dc:date>
    </item>
    <item>
      <title>Re: option :X in editor VI</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/option-x-in-editor-vi/m-p/2966806#M119595</link>
      <description>the commadn is &lt;BR /&gt;vi -C filename &lt;BR /&gt;&lt;BR /&gt;the problem is that remember the key &lt;BR /&gt;&lt;BR /&gt;when exit the vi with x! it was activated caplocks&lt;BR /&gt;&lt;BR /&gt;write the script again.&lt;BR /&gt;&lt;BR /&gt;thanks</description>
      <pubDate>Wed, 07 May 2003 15:30:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/option-x-in-editor-vi/m-p/2966806#M119595</guid>
      <dc:creator>Jairo Campana</dc:creator>
      <dc:date>2003-05-07T15:30:34Z</dc:date>
    </item>
    <item>
      <title>Re: option :X in editor VI</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/option-x-in-editor-vi/m-p/2966807#M119596</link>
      <description>In case others are wondering as well:&lt;BR /&gt;&lt;BR /&gt;"-C" is apparently a 'new', HP-UX 11.0 and higher, vi(1) option which is similar to (but not the same as) "-x". See the vi(1) manual page for details.</description>
      <pubDate>Thu, 08 May 2003 06:56:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/option-x-in-editor-vi/m-p/2966807#M119596</guid>
      <dc:creator>Frank Slootweg</dc:creator>
      <dc:date>2003-05-08T06:56:05Z</dc:date>
    </item>
  </channel>
</rss>

