From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.62) (envelope-from ) id 1HKwnm-0008Kq-PB for garchives@archives.gentoo.org; Sat, 24 Feb 2007 13:19:03 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l1ODHETo006118; Sat, 24 Feb 2007 13:17:14 GMT Received: from mirus.exceedtech.net (ns0.exceedtech.net [70.151.169.5]) by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l1ODBpNB032357 for ; Sat, 24 Feb 2007 13:11:51 GMT Received: from [65.136.101.115] (0-1pool101-115.nas1.greenwood1.ms.us.da.qwest.net [65.136.101.115]) by mirus.exceedtech.net (8.12.8/8.12.8) with ESMTP id l1ODBkv0022425 for ; Sat, 24 Feb 2007 07:11:47 -0600 Message-ID: <45E03992.4030001@exceedtech.net> Date: Sat, 24 Feb 2007 07:11:46 -0600 From: Dale User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.9) Gecko/20070105 SeaMonkey/1.0.7 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Kwrite and CPU usage and locking up when scrolling References: <45C6535B.8090907@exceedtech.net> <45C83DD2.4000707@exceedtech.net> <45E017BC.8040005@exceedtech.net> <200702241234.29620.benno.schulenberg@gmail.com> In-Reply-To: <200702241234.29620.benno.schulenberg@gmail.com> Content-Type: multipart/alternative; boundary="------------020708080102020707020105" X-Archives-Salt: 590b954d-ac0f-4a02-855a-2a0d61af2758 X-Archives-Hash: a5adb54e14db9bddeeb279220eb8d0e7 This is a multi-part message in MIME format. --------------020708080102020707020105 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Benno Schulenberg wrote: > Dale wrote: > >> Here is the thing that is so odd, it will open any other >> large file and work fine but it will mess up on emerge.log. >> > > Open a copy of your emerge.log in vim and do: > > :%s/\*\*\*// > > After that KWrite will handle the file without a problem. As to > why, I can only guess: when the stars are still there, KWrite shows > folding markers, so it sees the file as some kind of code and tries > to "format" it, arrange it in paragraphs, and sometime searches the > entire file in vain for some matching paragraph-closing element. > When the stars are gone, it sees the file as plain text and doesn't > do any searching. > > Benno > Hmmmm, I don't have vim installed. It appears that it will pull in a good bit of dependancies too. Is there another way to do this? I'm on dial-up and it will take a good while just to download all it needs to install. What you are saying makes sense though. As soon as I try to scroll down, it locks right up. Thanks. Dale :-) :-) :-) -- www.myspace.com/dalek1967 --------------020708080102020707020105 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by robin.gentoo.org id l1ODHEU4006118 Benno Schulenberg wrote:
Dale wrote:
  
Here is the thing that is so odd, it will open any oth=
er
large file and work fine but it will mess up on emerge.log.
    

Open a copy of your emerge.log in vim and do:

  :%s/\*\*\*//=20

After that KWrite will handle the file without a problem.  As to=20
why, I can only guess: when the stars are still there, KWrite shows=20
folding markers, so it sees the file as some kind of code and tries=20
to "format" it, arrange it in paragraphs, and sometime searches the=20
entire file in vain for some matching paragraph-closing element. =20
When the stars are gone, it sees the file as plain text and doesn't=20
do any searching.

Benno
  

Hmmmm, I don't have vim installed.=C2=A0 It appears that it will pull in = a good bit of dependancies too.=C2=A0 Is there another way to do this?=C2=A0= I'm on dial-up and it will take a good while just to download all it needs to install.

What you are saying makes sense though.=C2=A0 As soon as I try to scroll down, it locks right up.

Thanks.

Dale

:-)=C2=A0 :-)=C2=A0 :-)

--=20
www.myspace.com/dalek1967
--------------020708080102020707020105-- -- gentoo-user@gentoo.org mailing list