Newsgroups: comp.windows.open-look Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!sunc!bpowell From: bpowell@osc.edu (Brian Powell) Subject: Re: How do you edit a file with *very* long lines Message-ID: <1991Jun4.184120.4049@osc.edu> Originator: bpowell@excalibur.osc.edu Keywords: edit sun X Sender: news@osc.edu (Newsmaker) Nntp-Posting-Host: excalibur.osc.edu Reply-To: bpowell@osc.edu (Brian Powell) Organization: The Ohio Supercomputer Center References: <187@armltd.uucp> Distribution: comp Date: Tue, 4 Jun 1991 18:41:20 GMT Lines: 30 In article <187@armltd.uucp>, jbiggs@armltd.uucp (John Biggs) writes: > Does any one out there know a good way to edit a file > with long (>255) lines without them wrapping? > > I use a SPARC station2 with Open Windows and ideally > what I would like is something like textedit with a > horizontal scroll bar, so that I can have a *real* > window on my file which can be scrolled both horizontally > and vertically. I have tried the clip lines in textedit > but there still seems to be hard limit on the maximum width > and it is quite hard to move horizontally. > > advTHANKSance > > --John (jbiggs@armltd.co.uk) GNU Emacs can edit your file. You can set the variable "truncate-lines" to "t" and use the "scroll-left" and "scroll-right" commands to move horizontally in your text. Heck, if you compile/run emacs under X (xemacs), you could even bind "scroll-left" and "scroll-right" to mouse operations so that you would not have to use the keyboard to do horizontal scrolling. BTW, emacs supports lines of *any* length, you can even edit binary files with it... -- Brian +--The Ohio Supercomputer Center----------------------------------------------+ | Brian S. Powell bpowell@osc.edu | +--"My other computer is a CRAY" (YMP 8/864)----------------------------------+