Bug 3113 - Calling vi from more doesn't work
Calling vi from more doesn't work
Status: CLOSED CURRENTRELEASE
Product: Red Hat Linux
Classification: Retired
Component: util-linux (Show other bugs)
6.0
i386 Linux
low Severity low
: ---
: ---
Assigned To: Jay Turner
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 1999-05-28 07:00 EDT by pmelo
Modified: 2015-01-07 18:37 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 1999-05-28 13:49:35 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description pmelo 1999-05-28 07:00:13 EDT
Hi.

Just a simple bug, with a very simple fix-up: in util-linux,
the "more" program searches for vi (on a v key) in
/usr/bin/vi. However, vi is on /bin/vi, so it allways fails.

Two simple solutions:
1) change /usr/bin/vi to /bin/vi on the source - you need to
change the manual page too, since it explicitly refers
/usr/bin/vi
	or
2) to create a symlink from /usr/bin/vi to /bin/vi


Workaround:
Use "less"
Best regards,
	Paulo Melo
Comment 1 Dale Lovelace 1999-05-28 10:34:59 EDT
Perhaps you have installed a non-standard vim package?

[root@gandalf SPECS]# cat /etc/redhat-release
Red Hat Linux release 6.0 (Hedwig)
[root@gandalf SPECS]# rpm -qa | grep vim
vim-common-5.3-7
vim-enhanced-5.3-7
vim-minimal-5.3-7
vim-X11-5.3-7
[root@gandalf SPECS]# whereis vim
vim: /usr/bin/vim /usr/share/vim /usr/man/man1/vim.1
Comment 2 Dale Lovelace 1999-05-28 10:37:59 EDT
Oh yeah:

[root@gandalf SPECS]# whereis vi
vi: /bin/vi /usr/bin/vi /usr/man/man1/vi.1


------- Email Received From  Paulo Melo <pmelo@fe.uc.pt> 05/28/99 10:51 -------

Note You need to log in before you can comment on or make changes to this bug.