Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!cbosgd!hal!ncoast!allbery From: allbery@ncoast.UUCP Newsgroups: comp.unix.questions Subject: Re: Multiscreen on Unix Message-ID: <2690@ncoast.UUCP> Date: Sat, 20-Jun-87 17:36:48 EDT Article-I.D.: ncoast.2690 Posted: Sat Jun 20 17:36:48 1987 Date-Received: Sun, 21-Jun-87 11:57:12 EDT References: <910@minnow.UUCP> <5942@brl-smoke.ARPA> <103@rb442.UUCP> <696@mrstve.UUCP> <20837@sun.uucp> <699@mrstve.UUCP> Reply-To: allbery@ncoast.UUCP (Brandon Allbery) Followup-To: comp.unix.questions Organization: Cleveland Public Access UN*X, Cleveland, Oh Lines: 27 As quoted from <699@mrstve.UUCP> by rjk@mrstve.UUCP (Richard Kuhns): +--------------- | I didn't mean to emulate the entire curses library -- I just want to | keep track of what is on 1 or more virtual screens (via an array/structure | indicating size/location/etc). On receipt of (say) a certain escape | sequence, the appropriate module of the terminal driver would redraw | the physical screen so it looked like the requested virtual screen. | | The terminal driver shouldn't have to care about the *type* of the | terminal at all -- it just passes whatever terminal control sequences | it receives right on thru (thru to the structure (a queue, maybe), anyhow, | which would later, when requested, just dump to the terminal). +--------------- Ah, but it does! How is the protocol module to know that ESC [ is a lead-in for an escape sequence on ANSI terminals and "position cursor to row" (may be column?) on Wyse 50's? It'll get the current cursor position wrong if it treats ESC [1;1H as "home" when the Wyse 50 moves to line 18 and prints ";1H". -- Copyright (C) 1987 Brandon S. Allbery. Redistribution permitted only if the redistributor permits further redistribution. (Stargate take heed!) ---- Moderator for comp.sources.misc and comp.binaries.ibm.pc ---- Brandon S. Allbery {decvax,cbosgd}!cwruecmp!ncoast!allbery aXcess Company {ames,mit-eddie,talcott}!necntc!ncoast!allbery 6615 Center St. #A1-105 necntc!ncoast!allbery@harvard.HARVARD.EDU Mentor, OH 44060-4101 +01 216 974 9210 (also eddie.MIT.EDU)