From n5xwb@inetport.com Wed Mar 4 22:53:58 1998 From: n5xwb@inetport.com To: users@lists.opensuse.org Subject: Re: [S.u.S.E. Linux] VIM bug + buglet? Date: Wed, 04 Mar 1998 23:53:58 +0100 Message-ID: <6dkm26$b6n$1@Galois.suse.de> In-Reply-To: <[S.u.S.E. Linux] VIM bug + buglet?> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1260358991039061846==" --===============1260358991039061846== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Matthew Aylward EG201 G219 SL CKR wrote: > (Ted Harding) wrote: > > > > Hi Folks, > > > > I have observed misbehaviour in the "vim" supplied with S.u.S.E. Linux. > > > > This was already present in the version that came with S.u.S.E.-5.0, and I > > hoped it would be cured in 5.1 after upgrade, but apparently it isn't. > > > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > 1. BUG > > > > You have a line with several instances of "A" and you want to replace all= of > > them with "B". So, with the cursor at the start of the line, you do > > > > :s/A/B/g > > > > This has the effect of replcing only the first "A" with "B". > > > > Then you do the same again, and this time all the remaining replacements > > happen. > > > > 2. BUGLET > > > > When you want to make a "visual" block (with "V", "v" or "^V"), the chara= cter > > under the cursor appears blanked out at any rate if you revisit it when m= oving > > the cursor around with the arrow keys. > > > > It may also take two presses of "v" to exit from "visual". > > > > This doesn't appear to affect anything important, however. > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > > > I apparently have vim version 4.0 and, from the time-stamp on /usr/bin/vi= m, it > > was the one installed from S.u.S.E.-5.0, with no upgrade when 5.1 was ins= talled. > > > > Best wishes, > > Ted. > > > > Ted, > I use vim 4.6 from the SuSE 5.1 cd, compiled from the sources to include > gui-vim and such. This does not show the behavior you describe. > I have tried to compile the new 5.0 alpha (with code colour > highlighting) on SuSE without much luck, though I haven't tried very > hard. > see http://www.math.fu-berlin.de/~guck= es/vim/> > for any vim info > > Good luck, > Matt > > -- > Matt Aylward > Dept of Geography (GIS), UWA > email: maylward(a)sunny.gis.uwa.edu.au > Linux Lover and GIS Geek > ..............LINUX..................... > OS for the people by the people > -- > To get out of this list, please send email to majordomo(a)suse.com with > this text in its body: unsubscribe suse-linux-e Hey Group: I believe that I have seen the same problem. I used either vi (vim) or ed an= d I only got 1 change per line not a global change. I used even "1,$s/xxx/yyy/". 73 Donn aka N5XWB -- To get out of this list, please send email to majordomo(a)suse.com with this text in its body: unsubscribe suse-linux-e --===============1260358991039061846==--