Re: How to move vi to /bin

2009-05-19 Thread Chris Rees
2009/5/14 Mel Flynn mel.flynn+fbsd.questi...@mailing.thruhere.net: On Thursday 14 May 2009 12:38:30 Chris Rees wrote: 2009/5/13 Mel Flynn mel.flynn+fbsd.questi...@mailing.thruhere.net: On Wednesday 13 May 2009 11:34:43 Michael Powell wrote: Kind of like how those coming over from a Linux

Re: How to move vi to /bin

2009-05-15 Thread Manish Jain
Mel Flynn wrote: On Wednesday 13 May 2009 09:21:46 manish jain wrote: I want to move vi to /bin so that I have an editor available in single-user mode. The only reason to need an editor and not have /usr and /var available is to edit /etc/fstab. It is trivial to spot errors with /rescue/cat

Re: How to move vi to /bin

2009-05-15 Thread Matthew Seaman
Manish Jain wrote: Mel Flynn wrote: On Wednesday 13 May 2009 09:21:46 manish jain wrote: I want to move vi to /bin so that I have an editor available in single-user mode. The only reason to need an editor and not have /usr and /var available is to edit /etc/fstab. It is trivial to spot

Re: How to move vi to /bin

2009-05-15 Thread perryh
Manish Jain invalid.poin...@gmail.com wrote: From all the discussion I have walked through on the issue of where to place vi, it does appear FreeBSD has a skewed policy on the issue. There are plenty of reasons you might need access an editor in single-user mode - editing fstab is just one.

Re: How to move vi to /bin

2009-05-15 Thread Chad Perrin
On Thu, May 14, 2009 at 10:03:58PM -0700, per...@pluto.rain.com wrote: Chris Rees googlemail.com!utis...@agora.rdrop.com wrote: 2009/5/14 Chad Perrin per...@apotheon.com: On Thu, May 14, 2009 at 11:38:30AM +0100, Chris Rees wrote: I think the problem with that is he meant changing the

Re: How to move vi to /bin

2009-05-15 Thread Mel Flynn
On Friday 15 May 2009 08:46:46 Manish Jain wrote: Mel Flynn wrote: On Wednesday 13 May 2009 09:21:46 manish jain wrote: I want to move vi to /bin so that I have an editor available in single-user mode. The only reason to need an editor and not have /usr and /var available is to edit

Re: How to move vi to /bin

2009-05-15 Thread Michael Powell
Manish Jain wrote: Mel Flynn wrote: On Wednesday 13 May 2009 09:21:46 manish jain wrote: I want to move vi to /bin so that I have an editor available in single-user mode. [snip] From all the discussion I have walked through on the issue of where to place vi, it does appear FreeBSD has

Re: How to move vi to /bin

2009-05-14 Thread Chris Rees
2009/5/13 Mel Flynn mel.flynn+fbsd.questi...@mailing.thruhere.net: On Wednesday 13 May 2009 11:34:43 Michael Powell wrote: Kind of like how those coming over from a Linux environment all seem to want to change root's shell to bash, it serves no purpose except foot-shooting. - csh cannot

Re: How to move vi to /bin

2009-05-14 Thread Chad Perrin
On Thu, May 14, 2009 at 11:38:30AM +0100, Chris Rees wrote: 2009/5/13 Mel Flynn mel.flynn+fbsd.questi...@mailing.thruhere.net: On Wednesday 13 May 2009 11:34:43 Michael Powell wrote: Kind of like how those coming over from a Linux environment all seem to want to change root's shell to

Re: How to move vi to /bin

2009-05-14 Thread Chris Rees
2009/5/14 Chad Perrin per...@apotheon.com: On Thu, May 14, 2009 at 11:38:30AM +0100, Chris Rees wrote: 2009/5/13 Mel Flynn mel.flynn+fbsd.questi...@mailing.thruhere.net: On Wednesday 13 May 2009 11:34:43 Michael Powell wrote: Kind of like how those coming over from a Linux environment

Re: How to move vi to /bin

2009-05-14 Thread Mel Flynn
On Thursday 14 May 2009 12:38:30 Chris Rees wrote: 2009/5/13 Mel Flynn mel.flynn+fbsd.questi...@mailing.thruhere.net: On Wednesday 13 May 2009 11:34:43 Michael Powell wrote: Kind of like how those coming over from a Linux environment all seem to want to change root's shell to bash, it

Re: How to move vi to /bin

2009-05-14 Thread Mel Flynn
On Wednesday 13 May 2009 09:21:46 manish jain wrote: I want to move vi to /bin so that I have an editor available in single-user mode. The only reason to need an editor and not have /usr and /var available is to edit /etc/fstab. It is trivial to spot errors with /rescue/cat and fix with

Re: How to move vi to /bin

2009-05-14 Thread Polytropon
On Thu, 14 May 2009 20:13:02 +0200, Mel Flynn mel.flynn+fbsd.questi...@mailing.thruhere.net wrote: sh is worse then csh. But sufficient for administration tasks in maintenance mode. It's not that you spend hours of dialog sessions in SUM. Remember: It's a worst case scenario. If everything

Re: How to move vi to /bin

2009-05-14 Thread perryh
Chris Rees googlemail.com!utis...@agora.rdrop.com wrote: 2009/5/14 Chad Perrin per...@apotheon.com: On Thu, May 14, 2009 at 11:38:30AM +0100, Chris Rees wrote: I think the problem with that is he meant changing the root shell to /usr/local/bin/bash. You're better off using /bin/sh if you

Re: How to move vi to /bin

2009-05-13 Thread andrew clarke
On Wed 2009-05-13 12:51:46 UTC+0530, manish jain (invalid.poin...@gmail.com) wrote: I want to move vi to /bin so that I have an editor available in single-user mode. You may be able to use /rescue/vi. ___ freebsd-questions@freebsd.org mailing list

Re: How to move vi to /bin

2009-05-13 Thread Benjamin M. A'Lee
On Wed, May 13, 2009 at 12:51:46PM +0530, manish jain wrote: I want to move vi to /bin so that I have an editor available in single-user mode. This sounds simple (and should be if all you have is a single partition), but there are problems. For starters, terminfo can't locate its database in

Re: How to move vi to /bin

2009-05-13 Thread Chris Rees
On Wed, May 13, 2009 at 12:51:46PM +0530, manish jain wrote: I want to move vi to /bin so that I have an editor available in single-user mode. This sounds simple (and should be if all you have is a single partition), but there are problems. For starters, terminfo can't locate its database in

Re: How to move vi to /bin

2009-05-13 Thread Jose Garcia Juanino
El miércoles 13 de mayo a las 09:21:46 CEST, manish jain escribió: Hi, I want to move vi to /bin so that I have an editor available in single-user mode. This sounds simple (and should be if all you have is a single partition), but there are problems. For starters, terminfo can't locate its

Re: How to move vi to /bin

2009-05-13 Thread Michael Powell
Chris Rees wrote: On Wed, May 13, 2009 at 12:51:46PM +0530, manish jain wrote: I want to move vi to /bin so that I have an editor available in single-user mode. This sounds simple (and should be if all you have is a single partition), but there are problems. For starters, terminfo can't

Re: How to move vi to /bin

2009-05-13 Thread Mel Flynn
On Wednesday 13 May 2009 11:34:43 Michael Powell wrote: Kind of like how those coming over from a Linux environment all seem to want to change root's shell to bash, it serves no purpose except foot-shooting. - csh cannot redirect stderr seperately from stdout - on pipes the exit status from

Re: How to move vi to /bin

2009-05-13 Thread Polytropon
On Wed, 13 May 2009 05:34:43 -0400, Michael Powell nightre...@verizon.net wrote: Yes - use the /rescue/vi as it has been statically compiled so it does not rely on dynamic libraries which may not be available. The purpose here is have a fallback position for repairing a damage/problem which