Re: The question of moving vi to /binHi,
On Fri, Jun 26, 2009 at 1:23 AM, Gary Kline wrote: [snip] > > what about j, k [down, up]. and h,l [left, right]? > why reach over for the arrow keys! oh, and o, and O > [open line below/Above], and > > \search > > and that's 97 and 44/100ths of what you'll ever need. > > gary > > > ps: when bill j. dies and meets st. pete at the pearly > gate, pete'll say: "So what did you do--" And bill > will say, "I wrote vi." red-carpet is rolled out > :_) > You really should give credit where it is due. "I wrote vi -- in one weekend!" ;) -- Glen Barber ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: The question of moving vi to /binHi,
On Fri, Jun 26, 2009 at 06:11:57AM +0200, Polytropon wrote: > On Fri, 26 Jun 2009 12:03:21 +0800, Erich Dollansky > wrote: > > What kind of editor do you need for rescue? Just edit one or two > > lines in some config file to allow the full system to start > > again. > > > > Rescue does not need an editor programmers are used to edit their > > source files. > > I won't say anything different. For the usual "maintenance and > get the damn thing working again" tasks the /rescue editor, > especially vi, should be enough. Commands are i, a, and :wq. > >From my experience, I can't remember to have used anything > else. > what about j, k [down, up]. and h,l [left, right]? why reach over for the arrow keys! oh, and o, and O [open line below/Above], and \search and that's 97 and 44/100ths of what you'll ever need. gary ps: when bill j. dies and meets st. pete at the pearly gate, pete'll say: "So what did you do--" And bill will say, "I wrote vi." red-carpet is rolled out :_) > > > -- > Polytropon > >From Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org For FBSD list: http://transfinite.thought.org/slicejourney.php The 4.98a release of Jottings: http://jottings.thought.org/index.php ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: The question of moving vi to /binHi,
2009/6/28 Mark E Doner : > Erich Dollansky wrote: >> >> On 26 June 2009 am 10:02:30 Polytropon wrote: >> >>> >>> Polytropon >>> From Magdeburg, Germany >>> >> >> big brother is watching me. >> >> An xterm just came up with this message: >> >> "The default editor in FreeBSD is vi, which is efficient to use when you >> have learned it, but somewhat user-unfriendly. To use ee (an easier but >> less powerful editor) instead, set the environment variable EDITOR to >> /usr/bin/ee" >> >> Isn't this the best reasoning why it should stay as it is? >> > > Wouldn't it be cool if there was an option you could toss in make.conf, like > VI_PREFIX=foo, which defaults to /usr of course? Then people who want to > move vi to /bin could rebuild world without worrying about it redoing such a > move after every big upgrade, and people who don't want it moved, do > nothing. > > Not that I encourage feature creep or anything. Or: /usr/home/chris amnesiac# ln -s /rescue/vi /bin/vi ### Stop anything meddling with vi! /usr/home/chris amnesiac# chflags -h schg /bin/vi Chris -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in a mailing list? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: The question of moving vi to /binHi,
Erich Dollansky wrote: On 26 June 2009 am 10:02:30 Polytropon wrote: Polytropon From Magdeburg, Germany big brother is watching me. An xterm just came up with this message: "The default editor in FreeBSD is vi, which is efficient to use when you have learned it, but somewhat user-unfriendly. To use ee (an easier but less powerful editor) instead, set the environment variable EDITOR to /usr/bin/ee" Isn't this the best reasoning why it should stay as it is? Wouldn't it be cool if there was an option you could toss in make.conf, like VI_PREFIX=foo, which defaults to /usr of course? Then people who want to move vi to /bin could rebuild world without worrying about it redoing such a move after every big upgrade, and people who don't want it moved, do nothing. Not that I encourage feature creep or anything. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: The question of moving vi to /binHi,
2009/6/26 Glen Barber : > On Fri, Jun 26, 2009 at 12:11 AM, Polytropon wrote: >> On Fri, 26 Jun 2009 12:03:21 +0800, Erich Dollansky >> wrote: >>> What kind of editor do you need for rescue? Just edit one or two >>> lines in some config file to allow the full system to start >>> again. >>> >>> Rescue does not need an editor programmers are used to edit their >>> source files. >> >> I won't say anything different. For the usual "maintenance and >> get the damn thing working again" tasks the /rescue editor, >> especially vi, should be enough. Commands are i, a, and :wq. > > Don't forget about dd ;) > > > -- > Glen Barber Or :wq! for when it _just_ _won't_ _write_! Chris -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in a mailing list? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: The question of moving vi to /binHi,
On Fri, Jun 26, 2009 at 12:11 AM, Polytropon wrote: > On Fri, 26 Jun 2009 12:03:21 +0800, Erich Dollansky > wrote: >> What kind of editor do you need for rescue? Just edit one or two >> lines in some config file to allow the full system to start >> again. >> >> Rescue does not need an editor programmers are used to edit their >> source files. > > I won't say anything different. For the usual "maintenance and > get the damn thing working again" tasks the /rescue editor, > especially vi, should be enough. Commands are i, a, and :wq. Don't forget about dd ;) -- Glen Barber ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: The question of moving vi to /binHi,
On Fri, 26 Jun 2009 12:03:21 +0800, Erich Dollansky wrote: > What kind of editor do you need for rescue? Just edit one or two > lines in some config file to allow the full system to start > again. > > Rescue does not need an editor programmers are used to edit their > source files. I won't say anything different. For the usual "maintenance and get the damn thing working again" tasks the /rescue editor, especially vi, should be enough. Commands are i, a, and :wq. >From my experience, I can't remember to have used anything else. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: The question of moving vi to /binHi,
Hi, On 26 June 2009 am 10:58:08 Polytropon wrote: > On Fri, 26 Jun 2009 10:33:56 +0800, Erich Dollansky wrote: > > On 26 June 2009 am 10:02:30 Polytropon wrote: > > > Polytropon > > > From Magdeburg, Germany > > > > big brother is watching me. > > Yes, Dr. Schäuble does so. :-) > yeah, he rolls but he does not rock.. > The ee editor isn't that bad. Especially ^K and ^L are more > easy to use than vi's edit buffer equivalent. > What kind of editor do you need for rescue? Just edit one or two lines in some config file to allow the full system to start again. Rescue does not need an editor programmers are used to edit their source files. Erich ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: The question of moving vi to /binHi,
On Fri, 26 Jun 2009 10:33:56 +0800, Erich Dollansky wrote: > > On 26 June 2009 am 10:02:30 Polytropon wrote: > > Polytropon > > From Magdeburg, Germany > > big brother is watching me. Yes, Dr. Schäuble does so. :-) > An xterm just came up with this message: > > "The default editor in FreeBSD is vi, which is efficient to use > when you have learned it, but somewhat user-unfriendly. To use > ee (an easier but less powerful editor) instead, set the > environment variable EDITOR to /usr/bin/ee" > > Isn't this the best reasoning why it should stay as it is? The ee editor isn't that bad. Especially ^K and ^L are more easy to use than vi's edit buffer equivalent. While there's ed and ex in /rescue, ee isn't. % which ee | xargs ldd /usr/bin/ee: libncurses.so.7 => /lib/libncurses.so.7 (0x28088000) libc.so.7 => /lib/libc.so.7 (0x280c6000) Relies on ncurses, but so does dialog / sysinstall... -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: The question of moving vi to /binHi,
On 26 June 2009 am 10:02:30 Polytropon wrote: > Polytropon > From Magdeburg, Germany big brother is watching me. An xterm just came up with this message: "The default editor in FreeBSD is vi, which is efficient to use when you have learned it, but somewhat user-unfriendly. To use ee (an easier but less powerful editor) instead, set the environment variable EDITOR to /usr/bin/ee" Isn't this the best reasoning why it should stay as it is? Erich ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"