On Fri, Dec 12, 2003 at 08:58:41AM -0500, Thomas Dickey wrote: > On Fri, 12 Dec 2003, David Yitzchak Cohen wrote: > > On Fri, Dec 12, 2003 at 08:01:25AM -0500, David T-G wrote: > > > ...and then David Yitzchak Cohen said... > > > % One particular annoyance I just came across while trying to edit this > > > % message with VIM is that historical VI beeps when you're at the last > > > word, > > > % while VIM insists on going to the last char. > > > > > > I don't get it... When does vi beep and when does it not go to the last > > > char? > > > > Try editing this message. Now, hold down the W key, and don't let go > > until the cursor stops moving. If you're in elvis, it'll start beeping > > with the cursor on the beginning of the URL below. If you're in VIM, > > it'll simply stop moving the cursor once it's on the "l" at the very end > > of the URL (which it has no right to be on - I didn't tell it to go to > > the end of the current word). > > Solaris vi goes to the end of the word. > (It repeats the beeping - in vile I made that behavior optional). Okay, now this is getting even more interesting. . . Tru64's (BSD-based) VI stops at the start of the last word and starts beeping away, like elvis. Now, does that mean BSD's VIs all behave like elvis? Do we have any *BSD dudes here who can help out? (I'm way too tired to hop on the console of my local firewall at this hour.) My next question would be about SunOS's VI. (Unfortunately, I have no access to a SunOS (pre-namechange-to-Solaris - i.e., 100% BSD-based) machine.) I'm also curious about AIX (AT&T-based), but I have friends with AIX access, so I can hopefully report on that myself soon. - Dave -- Uncle Cosmo, why do they call this a word processor? It's simple, Skyler. You've seen what food processors do to food, right? Please visit this link: http://rotter.net/israel
Attachment:
pgphvKp0Hl8zF.pgp
Description: PGP signature