On Fri, Dec 18, 2009 at 12:09:41AM -0600, Chris Bennett wrote: > Brad Tilley wrote: > >On Thu, 17 Dec 2009 17:12 -0800, "Randal L. Schwartz" > ><[email protected]> wrote: > > > >>>>>>>"Brad" == Brad Tilley <[email protected]> writes: > >>>>>>> > >>Brad> I use ed in emergencies when /usr is inaccessible, but I'm a lot > >>more > >>Brad> comfortable with vi. Will a static vi ever live in /bin? Helping > >>someone > >>Brad> use ed remotely, who has never used ed, when I myself don't use it > >>Brad> regularly is always an adventure. > >> > >>Solution: learn "ed" a bit more. > >> > >>It's really *not* that hard. :) > >> > > > >Good advice. Guess I'm looking for the easy way out. I'll make myself > >edit in ed every Friday or something. > > > >Brad > > > > > > > Just out of curiosity, my "emergencies" usually involve having to edit > /etc/fstab that has entries that no longer apply after moving disks around. > I just export TERM=xterm, fsck /usr and / mount both rw and vi away > > Is there a common emergency that comes up where /usr is not available? >
When working on changed to the dynamic linker, vi was always the first test program (sanity testing). And yes, it broke quite a number of times. Dale Rahn [email protected]

