Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83 (MC840302); site boring.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!think!harvard!seismo!mcvax!boring!guido From: guido@boring.UUCP Newsgroups: net.games,net.unix Subject: cursor sensing in termcap (Re: dam (draughts, continental checkers... Message-ID: <6539@boring.UUCP> Date: Mon, 29-Jul-85 19:09:44 EDT Article-I.D.: boring.6539 Posted: Mon Jul 29 19:09:44 1985 Date-Received: Wed, 31-Jul-85 04:24:12 EDT References: <774@mcvax.UUCP> Reply-To: guido@mcvax.UUCP (Guido van Rossum) Followup-To: net.unix Organization: "Stamp Out BASIC" Committee, CWI, Amsterdam Lines: 19 Keywords: termcap, standard, cursor sensing Xref: watmath net.games:2066 net.unix:5178 Summary: proposal for standard capabilities for cursor sensing Apparently-To: rnews@mcvax.LOCAL [This is cross-posted from net.games to net.unix because it really belongs there. Follow-up only to net.unix please.] In article <774@mcvax.UUCP> aeb@mcvax.UUCP (Andries Brouwer) writes: >(Unfortunately, not all the nice >features can be expressed in this way: there is no standard capability to >ask for the position of the cursor.) Hmm. I once needed this feature and added two capabilities to termcap: sp= the escape sequence to send to the terminal (\E`\021 for HP's), cp= what it returns, using the same % escapes as the 'cm' capability (\E&a%r%3c%3Y^M for HP's). In the absence of a standard way to do it, this could as well be declared the standard -- unless there are conflicts with other local additions of which I am not aware. Since termcap is slowly being replaced by terminfo, does anyone bother? (Is that true altogether? What will be in 4.3BSD?) Guido van Rossum, CWI, Amsterdam guido@mcvax.UUCP