<?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 error in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-error/m-p/3285541#M885950</link>
    <description>Hi ,&lt;BR /&gt;&lt;BR /&gt;The vi permisions is OK .&lt;BR /&gt;&lt;BR /&gt;unimit -a gives me :&lt;BR /&gt;&lt;BR /&gt;time(seconds)        unlimited&lt;BR /&gt;file(blocks)         unlimited&lt;BR /&gt;data(kbytes)         1887436&lt;BR /&gt;stack(kbytes)        376832&lt;BR /&gt;memory(kbytes)       unlimited&lt;BR /&gt;coredump(blocks)     4194303&lt;BR /&gt;nofiles(descriptors) 512</description>
    <pubDate>Tue, 25 May 2004 05:15:19 GMT</pubDate>
    <dc:creator>chapaya_1</dc:creator>
    <dc:date>2004-05-25T05:15:19Z</dc:date>
    <item>
      <title>vi error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-error/m-p/3285527#M885936</link>
      <description>Hi ,&lt;BR /&gt;When i'm running vi i get :&lt;BR /&gt;Out of memory - too many lines in file&lt;BR /&gt;&lt;BR /&gt;BYE</description>
      <pubDate>Tue, 25 May 2004 01:27:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi-error/m-p/3285527#M885936</guid>
      <dc:creator>chapaya_1</dc:creator>
      <dc:date>2004-05-25T01:27:15Z</dc:date>
    </item>
    <item>
      <title>Re: vi error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-error/m-p/3285528#M885937</link>
      <description>1. Take another editor. If you like vi, try elvis (&lt;A href="http://hpux.connect.org.uk/hppd/hpux/Editors/elvis-2.1.3/" target="_blank"&gt;http://hpux.connect.org.uk/hppd/hpux/Editors/elvis-2.1.3/&lt;/A&gt; or &lt;A href="ftp://ftp.cs.pdx.edu/pub/elvis/" target="_blank"&gt;ftp://ftp.cs.pdx.edu/pub/elvis/&lt;/A&gt; ) or vim (&lt;A href="http://hpux.connect.org.uk/hppd/hpux/Editors/vim-6.2/" target="_blank"&gt;http://hpux.connect.org.uk/hppd/hpux/Editors/vim-6.2/&lt;/A&gt; )&lt;BR /&gt;2. try to increase swap&lt;BR /&gt;3. buy more memory&lt;BR /&gt;4. break the file in pieces, edit the pieces seperately, and join again&lt;BR /&gt;5. move the file to a machine with more memory/resources and edit it there, and bring it back after&lt;BR /&gt;6. try a line editor (ex, ed)&lt;BR /&gt;7. use stream editors (sed, awk, perl)&lt;BR /&gt;&lt;BR /&gt;Enjoy, Have FUN! H.Merijn [ hope one of these helps ]</description>
      <pubDate>Tue, 25 May 2004 01:34:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi-error/m-p/3285528#M885937</guid>
      <dc:creator>H.Merijn Brand (procura</dc:creator>
      <dc:date>2004-05-25T01:34:07Z</dc:date>
    </item>
    <item>
      <title>Re: vi error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-error/m-p/3285529#M885938</link>
      <description>&lt;BR /&gt;Hi ,&lt;BR /&gt;This server has 10Gbyte memory ,&lt;BR /&gt;&lt;BR /&gt;Even when i touch a file and then doing vi  ,i got this error .&lt;BR /&gt;&lt;BR /&gt;BYE</description>
      <pubDate>Tue, 25 May 2004 01:38:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi-error/m-p/3285529#M885938</guid>
      <dc:creator>chapaya_1</dc:creator>
      <dc:date>2004-05-25T01:38:09Z</dc:date>
    </item>
    <item>
      <title>Re: vi error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-error/m-p/3285530#M885939</link>
      <description>Two things to check&lt;BR /&gt;&lt;BR /&gt;1.First check the memory and swap utilization of the machine.Looks like everything is fully used.&lt;BR /&gt;Try increasing the swap and stopping un-neccessary processes.&lt;BR /&gt;&lt;BR /&gt;2.check the free space of /var file system.</description>
      <pubDate>Mon, 16 Sep 2024 09:22:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi-error/m-p/3285530#M885939</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2024-09-16T09:22:06Z</dc:date>
    </item>
    <item>
      <title>Re: vi error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-error/m-p/3285531#M885940</link>
      <description>Looks like the file very big and you could not open the file.&lt;BR /&gt;&lt;BR /&gt;There are some restrictions with vi.&lt;BR /&gt;&lt;BR /&gt;Get the vim editor as pointed in the link above and use that to open the file</description>
      <pubDate>Mon, 16 Sep 2024 09:21:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi-error/m-p/3285531#M885940</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2024-09-16T09:21:58Z</dc:date>
    </item>
    <item>
      <title>Re: vi error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-error/m-p/3285532#M885941</link>
      <description>chapaya,&lt;BR /&gt;You are seeing that error because the file that you are trying to edit is beyond the size that vi can handle &lt;LI-EMOJI id="lia_slightly-smiling-face" title=":slightly_smiling_face:"&gt;&lt;/LI-EMOJI&gt;&lt;BR /&gt;&lt;BR /&gt;As advised in the posts prior to this, i would urge that you try using other editors.&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;Mobeen</description>
      <pubDate>Mon, 16 Sep 2024 09:21:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi-error/m-p/3285532#M885941</guid>
      <dc:creator>Mobeen_1</dc:creator>
      <dc:date>2024-09-16T09:21:52Z</dc:date>
    </item>
    <item>
      <title>Re: vi error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-error/m-p/3285533#M885942</link>
      <description>Hi ,&lt;BR /&gt;&lt;BR /&gt;/var is OK ,no memory problem .&lt;BR /&gt;&lt;BR /&gt;Even doing vi to new file i got this error .&lt;BR /&gt;&lt;BR /&gt;BYE</description>
      <pubDate>Tue, 25 May 2004 01:53:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi-error/m-p/3285533#M885942</guid>
      <dc:creator>chapaya_1</dc:creator>
      <dc:date>2004-05-25T01:53:19Z</dc:date>
    </item>
    <item>
      <title>Re: vi error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-error/m-p/3285534#M885943</link>
      <description>Hi,&lt;BR /&gt;Have you tried to open any text file with another editor?&lt;BR /&gt;What happend?, is it possible opent it or the problem is only with the vi?&lt;BR /&gt;&lt;BR /&gt;You could try download vim and try with it, is a vi improved.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://hpux.connect.org.uk/hppd/hpux/Editors/vim-6.2/" target="_blank"&gt;http://hpux.connect.org.uk/hppd/hpux/Editors/vim-6.2/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Frank.</description>
      <pubDate>Tue, 25 May 2004 02:03:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi-error/m-p/3285534#M885943</guid>
      <dc:creator>Francisco J. Soler</dc:creator>
      <dc:date>2004-05-25T02:03:06Z</dc:date>
    </item>
    <item>
      <title>Re: vi error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-error/m-p/3285535#M885944</link>
      <description>&lt;BR /&gt;Hi ,&lt;BR /&gt;&lt;BR /&gt;I think that the problem is related to buffer cache ,&lt;BR /&gt;dbc_max_pct needed to increase .&lt;BR /&gt;&lt;BR /&gt;I will know if it solve the problem in the next reboot ,&lt;BR /&gt;&lt;BR /&gt;BYE</description>
      <pubDate>Tue, 25 May 2004 02:14:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi-error/m-p/3285535#M885944</guid>
      <dc:creator>chapaya_1</dc:creator>
      <dc:date>2004-05-25T02:14:24Z</dc:date>
    </item>
    <item>
      <title>Re: vi error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-error/m-p/3285536#M885945</link>
      <description>dbc_max_pct may not be involved in this : it fixes the max size of the I/O cache.&lt;BR /&gt;&lt;BR /&gt;You should better look at memory parameters. Is vi using shared memory ? In that case, it could be shmxxx parameters. Otherwise it could be maxdsiz, or even ulimit for your user...&lt;BR /&gt;&lt;BR /&gt;Can an other user do vi ?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Fred&lt;BR /&gt;</description>
      <pubDate>Tue, 25 May 2004 02:37:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi-error/m-p/3285536#M885945</guid>
      <dc:creator>Fred Ruffet</dc:creator>
      <dc:date>2004-05-25T02:37:03Z</dc:date>
    </item>
    <item>
      <title>Re: vi error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-error/m-p/3285537#M885946</link>
      <description>have you tried 'ex -v' ? maybe vi is aliased/linked to a bad program&lt;BR /&gt;&lt;BR /&gt;And you didn't tell what OS you have&lt;BR /&gt;&lt;BR /&gt;Latest versions/updates I have (11i is lacking a bit):&lt;BR /&gt;&lt;BR /&gt;10.20: # XSW800GR1020.PHCO_22228  B.10.00.00.AA  ex(1),vi(1),expreserve(1) cumulative patch&lt;BR /&gt;$Revision: 78.2.1.21 $ 32-bit NLS $&lt;BR /&gt;&lt;BR /&gt;11.00: # QPK1100.PHCO_26021  1.0  ex(1),vi(1) cumulative patch.&lt;BR /&gt;$Revision: 82.6.1.21 $ 32-bit NLS $&lt;BR /&gt;&lt;BR /&gt;11.11: # GOLDBASE11i.PHCO_27057  1.0  vi(1) cummulative patch&lt;BR /&gt;$Revision: @(#) all CUP11.11_BL2002_0521_14 PATCH_11.11 PHCO_27057</description>
      <pubDate>Tue, 25 May 2004 02:47:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi-error/m-p/3285537#M885946</guid>
      <dc:creator>H.Merijn Brand (procura</dc:creator>
      <dc:date>2004-05-25T02:47:57Z</dc:date>
    </item>
    <item>
      <title>Re: vi error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-error/m-p/3285538#M885947</link>
      <description>&lt;BR /&gt;I have 11i OS version , and the current patch.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 25 May 2004 04:12:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi-error/m-p/3285538#M885947</guid>
      <dc:creator>chapaya_1</dc:creator>
      <dc:date>2004-05-25T04:12:38Z</dc:date>
    </item>
    <item>
      <title>Re: vi error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-error/m-p/3285539#M885948</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Check the vi permission first. It should be &lt;BR /&gt;like below:&lt;BR /&gt;-r-xr-xr-t&lt;BR /&gt;Also try to increame ulimit if everything others are ok.&lt;BR /&gt;&lt;BR /&gt;Rgds&lt;BR /&gt;Tapas</description>
      <pubDate>Tue, 25 May 2004 04:41:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi-error/m-p/3285539#M885948</guid>
      <dc:creator>Tapas Jha</dc:creator>
      <dc:date>2004-05-25T04:41:43Z</dc:date>
    </item>
    <item>
      <title>Re: vi error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-error/m-p/3285540#M885949</link>
      <description>L.S.&lt;BR /&gt;&lt;BR /&gt;What happens if you just start vi (without any arguments)? If you still get the error message, either you have a software installation problem, or a memory problem.&lt;BR /&gt;&lt;BR /&gt;You say you have 10 GB RAM, and swapinfo (or whatever you used) showed that there is enough memory to run vi. If that's so, it must be a software installation / configuration problem.&lt;BR /&gt;&lt;BR /&gt;1 Did you start vi with the full path name (to rule out aliases)&lt;BR /&gt;2 Try view, vedit&lt;BR /&gt;3 do you have a .exrc file or EXINIT variable?&lt;BR /&gt;4 check other EXTERNAL INFLUENCES and WARNINGS of vi's manpage (or ex's manpage).&lt;BR /&gt;&lt;BR /&gt;5 Use swverify to verify the installation of the vi patch installed.&lt;BR /&gt;&lt;BR /&gt;Finally, some library may be incorrect. That's difficult to trace...&lt;BR /&gt;&lt;BR /&gt;JP.</description>
      <pubDate>Tue, 25 May 2004 04:45:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi-error/m-p/3285540#M885949</guid>
      <dc:creator>Jeroen Peereboom</dc:creator>
      <dc:date>2004-05-25T04:45:58Z</dc:date>
    </item>
    <item>
      <title>Re: vi error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-error/m-p/3285541#M885950</link>
      <description>Hi ,&lt;BR /&gt;&lt;BR /&gt;The vi permisions is OK .&lt;BR /&gt;&lt;BR /&gt;unimit -a gives me :&lt;BR /&gt;&lt;BR /&gt;time(seconds)        unlimited&lt;BR /&gt;file(blocks)         unlimited&lt;BR /&gt;data(kbytes)         1887436&lt;BR /&gt;stack(kbytes)        376832&lt;BR /&gt;memory(kbytes)       unlimited&lt;BR /&gt;coredump(blocks)     4194303&lt;BR /&gt;nofiles(descriptors) 512</description>
      <pubDate>Tue, 25 May 2004 05:15:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi-error/m-p/3285541#M885950</guid>
      <dc:creator>chapaya_1</dc:creator>
      <dc:date>2004-05-25T05:15:19Z</dc:date>
    </item>
    <item>
      <title>Re: vi error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-error/m-p/3285542#M885951</link>
      <description>&lt;BR /&gt;Hi all ,&lt;BR /&gt;&lt;BR /&gt;I still have this problem , any ideas ?&lt;BR /&gt;&lt;BR /&gt;BYE</description>
      <pubDate>Tue, 25 May 2004 13:34:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi-error/m-p/3285542#M885951</guid>
      <dc:creator>chapaya_1</dc:creator>
      <dc:date>2004-05-25T13:34:37Z</dc:date>
    </item>
    <item>
      <title>Re: vi error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-error/m-p/3285543#M885952</link>
      <description>If this is happening when you start vi with no arguments or a non-existent file (ie, create a new file), then either the executable for vi has been trashed or a shared library has been trashed. Before you go too far, find out just what it is that you are running when you type the command vi. Do not use which or whereis! Use the shell built-in:&lt;BR /&gt; &lt;BR /&gt;type vi&lt;BR /&gt; &lt;BR /&gt;If it does not report:&lt;BR /&gt; &lt;BR /&gt;vi is a tracked alias for /usr/bin/vi&lt;BR /&gt; &lt;BR /&gt;then someone has been messing with /etc/PATH or created an alias. To bypass all of this, don't use the shorcut vi, type the full pathname:&lt;BR /&gt; &lt;BR /&gt;/usr/bin/vi&lt;BR /&gt; &lt;BR /&gt;and see if it works OK. If there is still a problem, look at the executable. On a reasonably patched 11i system, vi looks like this:&lt;BR /&gt; &lt;BR /&gt;ll /usr/bin/vi&lt;BR /&gt;-r-xr-xr-t   6 bin        bin         249856 May 21  2002 /usr/bin/vi&lt;BR /&gt; &lt;BR /&gt;# sum /usr/bin/vi&lt;BR /&gt;42893 488 /usr/bin/vi&lt;BR /&gt; &lt;BR /&gt;# what /usr/bin/vi&lt;BR /&gt;/usr/bin/vi:&lt;BR /&gt;         ex.c $Date: 2002/05/16 04:22:01 $Revision: r11.11/1 PATCH_11.11 (PHCO_2&lt;BR /&gt;7057)&lt;BR /&gt;         ex_addr.c $Date: 2002/03/13 22:55:37 $Revision: r11.11/2 PATCH_11.11 (P&lt;BR /&gt;HCO_25987)&lt;BR /&gt;         ex_cmds.c $Date: 2002/03/13 22:55:48 $Revision: r11.11/2 PATCH_11.11 (P&lt;BR /&gt;HCO_25987)&lt;BR /&gt;         ex_io.c $Date: 2002/03/13 22:55:59 $Revision: r11.11/2 PATCH_11.11 (PHC&lt;BR /&gt;O_25987)&lt;BR /&gt;         ex_put.c $Date: 2002/03/13 22:56:11 $Revision: r11.11/2 PATCH_11.11 (PH&lt;BR /&gt;CO_25987)&lt;BR /&gt;         ex_subr.c $Date: 2002/03/13 22:56:24 $Revision: r11.11/2 PATCH_11.11 (P&lt;BR /&gt;HCO_25987)&lt;BR /&gt;         ex_v.c $Date: 2002/03/13 22:56:36 $Revision: r11.11/3 PATCH_11.11 (PHCO&lt;BR /&gt;_25987)&lt;BR /&gt;         ex_vops2.c $Date: 2002/03/13 22:56:59 $Revision: r11.11/2 PATCH_11.11 (&lt;BR /&gt;PHCO_25987)&lt;BR /&gt;         ex_vput.c $Date: 2002/03/13 22:57:11 $Revision: r11.11/2 PATCH_11.11 (P&lt;BR /&gt;HCO_25987)&lt;BR /&gt;         ex_vwind.c $Date: 2002/03/13 22:57:22 $Revision: r11.11/2 PATCH_11.11 (&lt;BR /&gt;PHCO_25987)&lt;BR /&gt;         $Revision: @(#) all CUP11.11_BL2002_0521_14 PATCH_11.11 PHCO_27057&lt;BR /&gt;         Tue May 21 20:22:11 PDT 2002 $&lt;BR /&gt;         $ B.11.11_LR  Oct 27 2000 00:57:16 $</description>
      <pubDate>Tue, 25 May 2004 14:32:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi-error/m-p/3285543#M885952</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2004-05-25T14:32:41Z</dc:date>
    </item>
    <item>
      <title>Re: vi error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-error/m-p/3285544#M885953</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;How is your swap utilization.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regds&lt;BR /&gt;</description>
      <pubDate>Tue, 25 May 2004 14:36:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi-error/m-p/3285544#M885953</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2004-05-25T14:36:17Z</dc:date>
    </item>
    <item>
      <title>Re: vi error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-error/m-p/3285545#M885954</link>
      <description>Chapaya,&lt;BR /&gt;&lt;BR /&gt;any feedback on my suggestions?&lt;BR /&gt;&lt;BR /&gt;JP</description>
      <pubDate>Tue, 25 May 2004 15:05:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi-error/m-p/3285545#M885954</guid>
      <dc:creator>Jeroen Peereboom</dc:creator>
      <dc:date>2004-05-25T15:05:14Z</dc:date>
    </item>
    <item>
      <title>Re: vi error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-error/m-p/3285546#M885955</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;How many lines are there in the file?. vi has limitations. From the man page,&lt;BR /&gt;&lt;BR /&gt; Maximum File Size&lt;BR /&gt;      The maximum file length of 234,239 lines is silently enforced.&lt;BR /&gt;&lt;BR /&gt;If that is not the case, then follow Bill's suggestions.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Tue, 25 May 2004 15:21:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi-error/m-p/3285546#M885955</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-05-25T15:21:49Z</dc:date>
    </item>
  </channel>
</rss>

