<?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 filename- nothing happens in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/vi-filename-nothing-happens/m-p/3908183#M26232</link>
    <description>Looks to me like your vim installation isn't complete (or vim got truncated by someone or something on Nov. 26). Note /bin/vim is zero length in your ls output. I bet if you try "/bin/vi testfile" it might actually start the editor since that binary appears to have a size.</description>
    <pubDate>Tue, 12 Dec 2006 11:24:43 GMT</pubDate>
    <dc:creator>Jeff_Traigle</dc:creator>
    <dc:date>2006-12-12T11:24:43Z</dc:date>
    <item>
      <title>vi filename- nothing happens</title>
      <link>https://community.hpe.com/t5/operating-system-linux/vi-filename-nothing-happens/m-p/3908174#M26223</link>
      <description>os: rhel 4&lt;BR /&gt;kernel: 2.6.9-22.EL&lt;BR /&gt;&lt;BR /&gt;when I issue the following command nothing happens&lt;BR /&gt;#vi /path/to/filename&lt;BR /&gt;or&lt;BR /&gt;#vim /path/to/filename&lt;BR /&gt;that is simply "vi" or "vim" doesnt execute/run(gedit or cat are working fine), and also after "vi /etc/hosts", "ps ax" also doesnt show about "vi/vim".&lt;BR /&gt;Nothing speciall in /var/log/messages.&lt;BR /&gt;&lt;BR /&gt;# rpm -q vim-enhanced&lt;BR /&gt;vim-enhanced-6.3.035-3&lt;BR /&gt;# rpm -q vim-minimal&lt;BR /&gt;vim-minimal-6.3.035-3&lt;BR /&gt;&lt;BR /&gt;# rpm -ql vim-enhanced&lt;BR /&gt;/etc/profile.d/vim.csh&lt;BR /&gt;/etc/profile.d/vim.sh&lt;BR /&gt;/usr/bin/ex&lt;BR /&gt;/usr/bin/rvim&lt;BR /&gt;/usr/bin/vim&lt;BR /&gt;/usr/bin/vimdiff&lt;BR /&gt;/usr/bin/vimtutor&lt;BR /&gt;/usr/share/man/man1/rvim.1.gz&lt;BR /&gt;/usr/share/man/man1/vimdiff.1.gz&lt;BR /&gt;/usr/share/man/man1/vimtutor.1.gz&lt;BR /&gt;&lt;BR /&gt;# rpm -ql vim-minimal&lt;BR /&gt;/bin/ex&lt;BR /&gt;/bin/rvi&lt;BR /&gt;/bin/rview&lt;BR /&gt;/bin/vi&lt;BR /&gt;/bin/view&lt;BR /&gt;/etc/vimrc&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 05 Dec 2006 14:20:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/vi-filename-nothing-happens/m-p/3908174#M26223</guid>
      <dc:creator>Maaz</dc:creator>
      <dc:date>2006-12-05T14:20:25Z</dc:date>
    </item>
    <item>
      <title>Re: vi filename- nothing happens</title>
      <link>https://community.hpe.com/t5/operating-system-linux/vi-filename-nothing-happens/m-p/3908175#M26224</link>
      <description>Can you specify the full path to the command, for example:&lt;BR /&gt;&lt;BR /&gt;/bin/vi /etc/hosts&lt;BR /&gt;&lt;BR /&gt;or&lt;BR /&gt;&lt;BR /&gt;/usr/bin/vim /etc/hosts&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Check aliases:&lt;BR /&gt;&lt;BR /&gt;alias vi</description>
      <pubDate>Tue, 05 Dec 2006 16:12:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/vi-filename-nothing-happens/m-p/3908175#M26224</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2006-12-05T16:12:38Z</dc:date>
    </item>
    <item>
      <title>Re: vi filename- nothing happens</title>
      <link>https://community.hpe.com/t5/operating-system-linux/vi-filename-nothing-happens/m-p/3908176#M26225</link>
      <description>Thanks Ivan for reply.&lt;BR /&gt;&amp;gt;Can you specify the full path to the command, for example:&lt;BR /&gt;&amp;gt;/usr/bin/vim /etc/hosts&lt;BR /&gt;&lt;BR /&gt;#/usr/bin/vim /etc/hosts&lt;BR /&gt;nothing happens ;(&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Check aliases:&lt;BR /&gt;&amp;gt;alias vi&lt;BR /&gt;here is the output of "alias"&lt;BR /&gt;#alias vi&lt;BR /&gt;alias vi='vim'&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 06 Dec 2006 13:48:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/vi-filename-nothing-happens/m-p/3908176#M26225</guid>
      <dc:creator>Maaz</dc:creator>
      <dc:date>2006-12-06T13:48:47Z</dc:date>
    </item>
    <item>
      <title>Re: vi filename- nothing happens</title>
      <link>https://community.hpe.com/t5/operating-system-linux/vi-filename-nothing-happens/m-p/3908177#M26226</link>
      <description>Try to check packages and files - &lt;A href="http://www.rpm.org/max-rpm/ch-rpm-checksig.html" target="_blank"&gt;http://www.rpm.org/max-rpm/ch-rpm-checksig.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Also try to reinstall package. &lt;BR /&gt;&lt;BR /&gt;Do you have same error with other editor ? &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;ivan</description>
      <pubDate>Wed, 06 Dec 2006 13:53:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/vi-filename-nothing-happens/m-p/3908177#M26226</guid>
      <dc:creator>Ivan Krastev</dc:creator>
      <dc:date>2006-12-06T13:53:28Z</dc:date>
    </item>
    <item>
      <title>Re: vi filename- nothing happens</title>
      <link>https://community.hpe.com/t5/operating-system-linux/vi-filename-nothing-happens/m-p/3908178#M26227</link>
      <description>what is the output of &lt;BR /&gt;&lt;BR /&gt;rpm -V vim-enhanced&lt;BR /&gt;rpm -V vim-minimal&lt;BR /&gt;ls -la /usr/bin/vim&lt;BR /&gt;ls -la /bin/vi&lt;BR /&gt;&lt;BR /&gt;echo $PATH&lt;BR /&gt;whereis vi&lt;BR /&gt;which vi&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 06 Dec 2006 15:21:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/vi-filename-nothing-happens/m-p/3908178#M26227</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2006-12-06T15:21:57Z</dc:date>
    </item>
    <item>
      <title>Re: vi filename- nothing happens</title>
      <link>https://community.hpe.com/t5/operating-system-linux/vi-filename-nothing-happens/m-p/3908179#M26228</link>
      <description>What do yo mean "nothing happened?" Is it quit or waiting for input?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;try just /usr/bin/vim&lt;BR /&gt;without any arguments to see what happens</description>
      <pubDate>Thu, 07 Dec 2006 10:38:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/vi-filename-nothing-happens/m-p/3908179#M26228</guid>
      <dc:creator>George Liu_4</dc:creator>
      <dc:date>2006-12-07T10:38:57Z</dc:date>
    </item>
    <item>
      <title>Re: vi filename- nothing happens</title>
      <link>https://community.hpe.com/t5/operating-system-linux/vi-filename-nothing-happens/m-p/3908180#M26229</link>
      <description>Hi,&lt;BR /&gt;also try `alias |grep vi`&lt;BR /&gt;&lt;BR /&gt;By nothing happens- you mean that you get the prompt back?</description>
      <pubDate>Thu, 07 Dec 2006 15:31:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/vi-filename-nothing-happens/m-p/3908180#M26229</guid>
      <dc:creator>Alexander Chuzhoy</dc:creator>
      <dc:date>2006-12-07T15:31:54Z</dc:date>
    </item>
    <item>
      <title>Re: vi filename- nothing happens</title>
      <link>https://community.hpe.com/t5/operating-system-linux/vi-filename-nothing-happens/m-p/3908181#M26230</link>
      <description>Thanks All for the help/reply... and sory for replying late.&lt;BR /&gt;&lt;BR /&gt;Dear Ivan....&lt;BR /&gt;# rpm -V vim-minimal ;[nothing happens... simply got the prompt back]&lt;BR /&gt;# rpm -V vim-enhanced&lt;BR /&gt;S.5....T.   /usr/bin/vim&lt;BR /&gt;# ls -la /usr/bin/vim&lt;BR /&gt;-rwxr-xr-x  1 root root 0 Nov 26 22:05 /usr/bin/vim&lt;BR /&gt;# ls -la /bin/vi&lt;BR /&gt;-rwxr-xr-x  1 root root 468864 Dec  5  2004 /bin/vi&lt;BR /&gt;# echo $PATH&lt;BR /&gt;/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin&lt;BR /&gt;# whereis vi&lt;BR /&gt;vi: /bin/vi /usr/share/man/man1p/vi.1p.gz /usr/share/man/man1/vi.1.gz&lt;BR /&gt;# which vi&lt;BR /&gt;alias vi='vim'&lt;BR /&gt; /usr/bin/vim&lt;BR /&gt;&lt;BR /&gt;Dear George Liu and Alexander&lt;BR /&gt;# /usr/bin/vim ;[nothing happens... simply got the prompt back.. and this is the actual prblm]&lt;BR /&gt;# alias |grep vi&lt;BR /&gt;alias vi='vim'&lt;BR /&gt;&lt;BR /&gt;"nothing happened" means "quit" or "got the prompt back" and/or even "no error" and also nothing relevant/special in /var/log/messages&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Maaz</description>
      <pubDate>Sun, 10 Dec 2006 12:56:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/vi-filename-nothing-happens/m-p/3908181#M26230</guid>
      <dc:creator>Maaz</dc:creator>
      <dc:date>2006-12-10T12:56:28Z</dc:date>
    </item>
    <item>
      <title>Re: vi filename- nothing happens</title>
      <link>https://community.hpe.com/t5/operating-system-linux/vi-filename-nothing-happens/m-p/3908182#M26231</link>
      <description>Dear Ivan Krastev &lt;BR /&gt;&lt;BR /&gt;&amp;gt;Also try to reinstall package. &lt;BR /&gt;first I want to resolve/troubleshoot this issue.. this is the last option.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Do you have same error with other editor ? &lt;BR /&gt;no</description>
      <pubDate>Sun, 10 Dec 2006 13:04:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/vi-filename-nothing-happens/m-p/3908182#M26231</guid>
      <dc:creator>Maaz</dc:creator>
      <dc:date>2006-12-10T13:04:57Z</dc:date>
    </item>
    <item>
      <title>Re: vi filename- nothing happens</title>
      <link>https://community.hpe.com/t5/operating-system-linux/vi-filename-nothing-happens/m-p/3908183#M26232</link>
      <description>Looks to me like your vim installation isn't complete (or vim got truncated by someone or something on Nov. 26). Note /bin/vim is zero length in your ls output. I bet if you try "/bin/vi testfile" it might actually start the editor since that binary appears to have a size.</description>
      <pubDate>Tue, 12 Dec 2006 11:24:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/vi-filename-nothing-happens/m-p/3908183#M26232</guid>
      <dc:creator>Jeff_Traigle</dc:creator>
      <dc:date>2006-12-12T11:24:43Z</dc:date>
    </item>
    <item>
      <title>Re: vi filename- nothing happens</title>
      <link>https://community.hpe.com/t5/operating-system-linux/vi-filename-nothing-happens/m-p/3908184#M26233</link>
      <description>Reinstall vim, because:&lt;BR /&gt;&lt;BR /&gt;# rpm -V vim-enhanced&lt;BR /&gt;S.5....T. /usr/bin/vim&lt;BR /&gt;&lt;BR /&gt;Indicates that the vim command was modified since the installation, in this case the Size, the MD5 checksum and the modification time of the file where modified (see man rpm)&lt;BR /&gt;&lt;BR /&gt;# ls -la /usr/bin/vim&lt;BR /&gt;-rwxr-xr-x 1 root root 0 Nov 26 22:05 /usr/bin/vim &lt;BR /&gt;&lt;BR /&gt;Indicates that the program has 0 bytes and will never work.&lt;BR /&gt;&lt;BR /&gt;To reinstall use:&lt;BR /&gt;&lt;BR /&gt;rpm -ivh vim-enhanced-version.rpm --force</description>
      <pubDate>Tue, 12 Dec 2006 13:14:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/vi-filename-nothing-happens/m-p/3908184#M26233</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2006-12-12T13:14:59Z</dc:date>
    </item>
    <item>
      <title>Re: vi filename- nothing happens</title>
      <link>https://community.hpe.com/t5/operating-system-linux/vi-filename-nothing-happens/m-p/3908185#M26234</link>
      <description>Thanks all(esp Ivan Ferriera) for help/support.&lt;BR /&gt;&lt;BR /&gt;for me its quite strange...why/how vim became corrupted, because I am the only person who can access this rhel box, and this box is never connected to the internet, virus/worms are not possible.&lt;BR /&gt;At the end I hardly accept(since no one can access this machine) that I myself hav done some mistake(edit the vim.. somehow)&lt;BR /&gt;&lt;BR /&gt;Anyhow thanks All&lt;BR /&gt;Regards &lt;BR /&gt;Maaz</description>
      <pubDate>Tue, 12 Dec 2006 13:27:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/vi-filename-nothing-happens/m-p/3908185#M26234</guid>
      <dc:creator>Maaz</dc:creator>
      <dc:date>2006-12-12T13:27:45Z</dc:date>
    </item>
  </channel>
</rss>

