Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site mit-eddie.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!rh From: rh@mit-eddie.UUCP (Randy Haskins) Newsgroups: net.info-terms Subject: Re: autowrapping terminals Message-ID: <3034@mit-eddie.UUCP> Date: Wed, 31-Oct-84 20:32:47 EST Article-I.D.: mit-eddi.3034 Posted: Wed Oct 31 20:32:47 1984 Date-Received: Fri, 2-Nov-84 04:58:10 EST References: <459@uwvax.UUCP>, <436@cbosgd.UUCP> <4541@utzoo.UUCP> Organization: MIT, Cambridge, MA Lines: 22 > > As to people who want a 99% solution with 10% of the code, I > > wish you the best of luck. ... > > Actually, a 99% solution with virtually no code is to set up > your screen-oriented programs so they simply *don't* *use* the > last column of the screen. Sure, it's a waste, but in practice > it seldom bothers people. The U of T paginator program, "p", > wrapped lines one character short for just this reason, and it > was years before anybody noticed. > Yeah, that's what I've done in a file-viewing program I'm writing for a DEC-20. I've since become more sensitive to the problems of dealing with files that have lines wider than the screen. Don't forget that you can't just spit out W-1 characters, because some of those characters may be Tabs. Also, you have to keep track of when you do lines that take up more than one line on the screen so that you don't try to put too many on the screen. And I just wanted a little program to look at files bigger than those Emacs could deal with.... -- Randwulf (Randy Haskins); Path= genrad!mit-eddie!rh