Posted: Fri 24 Aug 2007, 10:40 Post subject:
A lot of files try to open with ViSubject 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 forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot vote in polls in this forumYou cannot attach files in this forumYou can download files in this forum