Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!usenet.ins.cwru.edu!ncoast!allbery From: allbery@NCoast.ORG (Brandon S. Allbery KB8JRR) Newsgroups: comp.unix.programmer Subject: Re: How to map the screen of a terminal without using the cursor library Message-ID: <1991Jan1.040104.27526@NCoast.ORG> Date: 1 Jan 91 04:01:04 GMT References: <1990Dec31.172424.27028@cubmol.bio.columbia.edu> Reply-To: allbery@ncoast.ORG (Brandon S. Allbery KB8JRR) Followup-To: comp.unix.programmer Organization: North Coast Computer Resources (ncoast) Lines: 21 As quoted from <1990Dec31.172424.27028@cubmol.bio.columbia.edu> by ping@cubmol.bio.columbia.edu (Shiping Zhang): +--------------- | I want to know how to get the characters at different locations on the screen | of a terminal other than the control terminal. I want to control the screen | pattern of that terminal based on what is on the screen. Unfortunately the | cursor library seems only work on the control terminal. The routine initscr() | does not allow you to specify a terminal. Thanks for any help. +--------------- If you can find an AT&T terminfo-based curses, there is multiple-terminal support in it. Rather than calling initscr(), one calls a function that returns a SCREEN pointer; there are then functions for changing the current SCREEN, which then makes curses operate on that instead. Curses will maintain separate screen images for all SCREENs defined. ++Brandon -- Me: Brandon S. Allbery VHF/UHF: KB8JRR on 220, 2m, 440 Internet: allbery@NCoast.ORG Packet: KB8JRR @ WA8BXN America OnLine: KB8JRR AMPR: KB8JRR.AmPR.ORG [44.70.4.88] uunet!usenet.ins.cwru.edu!ncoast!allbery Delphi: ALLBERY