Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/5/84; site umd5.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!genrad!panda!talcott!harvard!seismo!lll-crg!gymble!umcp-cs!cvl!umd5!zben From: zben@umd5.UUCP Newsgroups: net.unix-wizards Subject: Re: Pagination in TTY driver Message-ID: <733@umd5.UUCP> Date: Thu, 5-Sep-85 21:53:53 EDT Article-I.D.: umd5.733 Posted: Thu Sep 5 21:53:53 1985 Date-Received: Sat, 7-Sep-85 06:05:12 EDT References: <2067@ucf-cs.UUCP> <363@cuae2.UUCP> <2423@sun.uucp> <5915@utzoo.UUCP> <124@cithep.UucP> Reply-To: zben@umd5.UUCP (Ben Cranston) Organization: U of Md, CSC, College Park, Md Lines: 48 Summary: Requires mucho smarts in terminal if you use windows. In article <124@cithep.UucP> tim@cithep.UucP (Tim Smith ) writes: >Time for a third point of view here. Pagination belongs in the terminal! >Note that the terminal already knows how many lines long the screen is. It >also knows what happens at the last column. It alread knows about escape >sequences recognized by itself, so it can deal with cursor addressing >programs. > >And with what RAM prices have been doing, it is not unreasonable for a >terminal to have lots of memory, so you can back up. Besides, in the >future, I think most "terminals" will be personal computers running >terminal emulator programs. > >While I'm at it, the terminal is also where history belongs... I agree with the thrust of the arguments. The latest complaint of my boss is that his Zenith PC with Ethernet interface can dump stuff to the screen faster than it can be read (by several orders of magnitude, probably). After having talked him OUT of modifying every program in creation to meter its output, and having convinced him that the place to solve the problem is in the micro, your argument looks very good. Most clones have oodles of memory to spare when running terminal simulators. Why not just accept the hundred thousand bytes into memory directly, then either scroll them onto the screen with keyboard control, or let the user page the screen up and down in the circular buffer with the last 250,000 bytes received. But, consider the difficulties of doing paging and history in the terminal if a window environment is used. You probably want to have N history streams, at least one for each window running the shell, probably one for each window in general. The paging would also have to know which window is filling up, and how big it is. While one COULD extract this information from the cursor addressing sequences on the fly, the principle-of-least-messiness requires us to at least look at other solutions. So, do all the window stuff in the terminal! Tag output on the host-micro link with which window it is destined for, and let software in the micro do the actual screen management. Since it knows which window the output is for, it can do the MORE? stuff easily enough. It could probably know enough about where you are on the screen to determine which window you are typing into, and know which history stack to pull from, push to, and use the same information to tag incoming lines so the software on the host knows which of the processes to which to deliver the input. I dunno, just random thoughts. I mean, I use a Volker Craig in ADM3 mode. This window stuff is still hypothetical here... -- Ben Cranston ...{seismo!umcp-cs,ihnp4!rlgvax}!cvl!umd5!zben zben@umd2.ARPA