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 Subject description: 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.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum