Joined: 19 Dec 2006 Posts: 331 Location: Leeds,UK or Birmingham, UK
Posted: Fri 24 Aug 2007, 10:40 Post_subject:
A lot of files try to open with Vi Sub_title: But Vi has been removed.
I know that you can just right click and open as text, but that's irritating, and this behaviour breaks the functiopnality of 'crontab -e'
A really simple fix would be put 'exec e3 "$@"' at the end of the script '/bin/vi'. That way the file is still opened, although the message is not displayed. I guess there should be a simple way to get the script to wait for user input after showing the message, but being a linux noob I don't know it.