From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from int-mx1.corp.redhat.com (nat-pix.rdu.redhat.com [10.255.18.200]) by listman.rdu-colo.redhat.com (8.11.6/8.11.6) with ESMTP id h54CCE527785 for ; Wed, 4 Jun 2003 08:12:14 -0400 Received: (from mail@localhost) by int-mx1.corp.redhat.com (8.11.6/8.11.6) id h54CClh03351 for blinux-list@listman.rdu-colo.redhat.com; Wed, 4 Jun 2003 08:12:47 -0400 Received: from mx1.redhat.com (mx1.redhat.com [172.16.48.31]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with SMTP id h54CClI03347 for ; Wed, 4 Jun 2003 08:12:47 -0400 Received: from lmaschm.cit.wayne.edu (lmaschm.cit.wayne.edu [141.217.4.24]) by mx1.redhat.com (8.11.6/8.11.6) with SMTP id h54CCkH25800 for ; Wed, 4 Jun 2003 08:12:46 -0400 Received: from lmaschm.cit.wayne.edu (localhost.localdomain [127.0.0.1]) by lmaschm.cit.wayne.edu (8.12.9/8.12.9) with ESMTP id h54CCfNQ001254 for ; Wed, 4 Jun 2003 08:12:41 -0400 Received: (from lmaschm@localhost) by lmaschm.cit.wayne.edu (8.12.9/8.12.9/Submit) id h54CCfgc001253 for blinux-list@redhat.com; Wed, 4 Jun 2003 08:12:41 -0400 Date: Wed, 4 Jun 2003 08:12:41 -0400 From: Lee Maschmeyer To: blinux-list@redhat.com Subject: Re: Editing Control Characters, Linefeeds, Etc. Message-ID: <20030604121241.GA1105@wayne.edu> References: <20030603181619.GC3040@wayne.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030603181619.GC3040@wayne.edu> User-Agent: Mutt/1.4.1i X-Loop: blinux-list@redhat.com Sender: blinux-list-admin@redhat.com Errors-To: blinux-list-admin@redhat.com X-BeenThere: blinux-list@redhat.com X-Mailman-Version: 2.0.13 Precedence: list Reply-To: blinux-list@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: Linux for blind general discussion List-Unsubscribe: , List-Archive: I realized as I got up this morning that top-of-file is M-<, not C-M-<. This is corrected in the version below: On Tue, Jun 03, 2003 at 02:16:19PM -0400, Lee Maschmeyer wrote: > John, > > Emacs can do this, though it's taken me six months to find out how and I > may not be doing it the best way (part of the reason I'm responding). > > To enter a control character, precede it with a C-Q. To replace all > occurrences of a string after Point, use the replace-string function. > > For example: Recently I had to repair a Web Braille file (Captains > Courageous) with faulty end-of-page sequences that my bb.sh script > couldn't handle. The key sequence was as follows: > > M-< (top-of-file) > M-xreplace-s (resulted in replace-string) > > ^q^m^q^l > > ^q^m^q^j^q^l > > > All done. > > I've been using emacs for the past 6 months solid and am still by no > means fond of its interface, but it seems to be able to do lots of > stuff if you have a few lifetimes to find out how. > > On a very distantly-related note, how can people not on Debian handle > Debian packages? I tried once getting edbrowse but got depressed > before figuring out how to deal with .deb files. No fair cheating by > telling me I don't need the Debian distribution; I want to know about > .deb files whether or not it's necessary in this case. > > Thanks and hope this helps, > > Lee > > On Tue, Jun 03, 2003 at 10:51:28AM -0500, John J. Boyer wrote: > > Hello, > > > > This also pertains tho the websirte I am maintaining, which is for > > Wisconsin Braille, Inc. The original website was created using Frontpage. > > I've been trying out Tidy on it and may use Edbrowse also. Some of the > > material that goes on it is originally from Word files. This material has > > a lot of extra linefeeds and a lot of tabs when it is converted to text. > > Is there an editor which can do a find and replace on these characters? > > > > Thanks, > > John