Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site brl-tgr.ARPA Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!think!harvard!seismo!brl-tgr!gwyn From: gwyn@brl-tgr.ARPA (Doug Gwyn ) Newsgroups: net.info-terms Subject: Re: need termcap/cm help - tvi955 Message-ID: <1156@brl-tgr.ARPA> Date: Mon, 2-Sep-85 02:55:31 EDT Article-I.D.: brl-tgr.1156 Posted: Mon Sep 2 02:55:31 1985 Date-Received: Tue, 3-Sep-85 01:39:28 EDT References: <362@varian.UUCP> Distribution: net Organization: Ballistic Research Lab Lines: 18 > For columns 1 through 80, the cursor motion is the same as for other > TeleVideo terminals (and many other terminals as well) -- > cm = \E=%+\040%+\040 > (ESC = r c, where row and column are added to space to > make them printable). > > BUT .. for columns 81 through 132, the sequence is: > ESC = r ~ c > and the value of c is calculated by subtracting 80 from > the column number and then adding space. > > This is the first time I've seen a cursor motion sequence like this, and I > can't find anyway to specify something like this. Does anyone have any > ideas? Or is this something that termcap can't handle without modifications > (adding new definitions to termcap and adding new code to termlib/tgoto)? Nope, termcap is incapable of handling this. Use terminfo, or restrict your use of the TVI 955 to 80 columns.