Re: [Cooker] vim-minimal-6.0-0.10mdk.i586.rpm
On Tue, Jan 30, 2001 at 11:58:20AM +0200, Valdas Andrulis wrote: vim-minimal-6.0-0.10mdk.i586.rpm is bad: it does not include /bin/vi No. And it won't. This should be handled by update-alternative. I.e, when you install vim-minimal a link is created between /bin/vim and /bin/vi, unless vim-enhanced is already installed. To sum up, /bin/vi is only pointing to /bin/vim (minimal) if only vim minimal is installed, else, it's pointing to /usr/bin/vim (enhanced). DindinX -- [EMAIL PROTECTED]
Re: [Cooker] vim-minimal-6.0-0.10mdk.i586.rpm
On 2001.01.30 15:54:19 +0400 David Odin wrote: On Tue, Jan 30, 2001 at 11:58:20AM +0200, Valdas Andrulis wrote: vim-minimal-6.0-0.10mdk.i586.rpm is bad: it does not include /bin/vi No. And it won't. This should be handled by update-alternative. I.e, when you install vim-minimal a link is created between /bin/vim and /bin/vi, unless vim-enhanced is already installed. To sum up, /bin/vi is only pointing to /bin/vim (minimal) if only vim minimal is installed, else, it's pointing to /usr/bin/vim (enhanced). then post-install script must be broken : [guillaume@agathe guillaume]$ vi test bash: vi: command not found I had vi - /usr/bin/vim in /etc/alternative altough. I used update-alternative -- auto vi to correct this. -- If an experiment works, something has gone wrong -- Murphy's Laws on Technology n25
Re: [Cooker] vim-minimal-6.0-0.10mdk.i586.rpm
David Odin [EMAIL PROTECTED] writes: To sum up, /bin/vi is only pointing to /bin/vim (minimal) if only vim minimal is installed, else, it's pointing to /usr/bin/vim (enhanced). pbs: - /bin/vim not included in vim-minimal - people used to call "vim" will get vim-minimal as /bin is usually before /usr/bin in $PATH
Re: [Cooker] vim-minimal-6.0-0.10mdk.i586.rpm
On Tue, Jan 30, 2001 at 03:49:39PM +0400, Guillaume Rousse wrote: On 2001.01.30 15:54:19 +0400 David Odin wrote: On Tue, Jan 30, 2001 at 11:58:20AM +0200, Valdas Andrulis wrote: vim-minimal-6.0-0.10mdk.i586.rpm is bad: it does not include /bin/vi No. And it won't. This should be handled by update-alternative. I.e, when you install vim-minimal a link is created between /bin/vim and /bin/vi, unless vim-enhanced is already installed. To sum up, /bin/vi is only pointing to /bin/vim (minimal) if only vim minimal is installed, else, it's pointing to /usr/bin/vim (enhanced). then post-install script must be broken : [guillaume@agathe guillaume]$ vi test bash: vi: command not found I had vi - /usr/bin/vim in /etc/alternative altough. I used update-alternative -- auto vi to correct this. Ahem... No _I_ am broken :-/ I've forgotten to include /bin/vim in vim-minimal. Sorry for this. I fix this asap. DindinX -- [EMAIL PROTECTED]
Re: [Cooker] vim-minimal-6.0-0.10mdk.i586.rpm
On Tue, 30 Jan 2001, Pixel wrote: David Odin [EMAIL PROTECTED] writes: To sum up, /bin/vi is only pointing to /bin/vim (minimal) if only vim minimal is installed, else, it's pointing to /usr/bin/vim (enhanced). pbs: - /bin/vim not included in vim-minimal That's what I meant in my message. - people used to call "vim" will get vim-minimal as /bin is usually before /usr/bin in $PATH So it is beter to call vim-minimal /bin/vim-minimal or wathever but not /bin/vim. update-alternatives takes care of /bin/vi setting to /bin/vim-minimal or /usr/bin/vim. Valdas
Re: [Cooker] vim-minimal-6.0-0.10mdk.i586.rpm
On Tue, 30 Jan 2001, Valdas Andrulis wrote: On Tue, 30 Jan 2001, Pixel wrote: David Odin [EMAIL PROTECTED] writes: To sum up, /bin/vi is only pointing to /bin/vim (minimal) if only vim minimal is installed, else, it's pointing to /usr/bin/vim (enhanced). pbs: - /bin/vim not included in vim-minimal That's what I meant in my message. - people used to call "vim" will get vim-minimal as /bin is usually before /usr/bin in $PATH So it is beter to call vim-minimal /bin/vim-minimal or wathever but not /bin/vim. update-alternatives takes care of /bin/vi setting to /bin/vim-minimal or /usr/bin/vim. And at the installation time if user set / and /usr to two separate partitions vim-minimal should be marked mandatory and installed in order to retain the purpose of /bin/vi IMHO. Valdas Valdas
Re: [Cooker] vim-minimal-6.0-0.10mdk.i586.rpm
On Tue, Jan 30, 2001 at 03:15:12PM +0200, Valdas Andrulis wrote: On Tue, 30 Jan 2001, Valdas Andrulis wrote: On Tue, 30 Jan 2001, Pixel wrote: David Odin [EMAIL PROTECTED] writes: To sum up, /bin/vi is only pointing to /bin/vim (minimal) if only vim minimal is installed, else, it's pointing to /usr/bin/vim (enhanced). pbs: - /bin/vim not included in vim-minimal That's what I meant in my message. - people used to call "vim" will get vim-minimal as /bin is usually before /usr/bin in $PATH So it is beter to call vim-minimal /bin/vim-minimal or wathever but not /bin/vim. update-alternatives takes care of /bin/vi setting to /bin/vim-minimal or /usr/bin/vim. And at the installation time if user set / and /usr to two separate partitions vim-minimal should be marked mandatory and installed in order to retain the purpose of /bin/vi IMHO. All this should be fixed in vim-6.0-0.11mdk where : vim (minimal) is /bin/vim-minimal vim (enhanced) is /usr/bin/vim-enhanced /bin/vim and /bin/vi are links to one of the above. DindinX -- [EMAIL PROTECTED]