Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 5/3/83; site cbosgd.UUCP Path: utzoo!linus!philabs!cmcl2!floyd!clyde!ihnp4!cbosgd!mark From: mark@cbosgd.UUCP (Mark Horton) Newsgroups: net.news.b,net.unix-wizards Subject: Re: Fixes to vnews terminal handler Message-ID: <344@cbosgd.UUCP> Date: Mon, 26-Sep-83 04:02:43 EDT Article-I.D.: cbosgd.344 Posted: Mon Sep 26 04:02:43 1983 Date-Received: Wed, 28-Sep-83 06:33:12 EDT References: <465@spanky.UUCP>, <491@spanky.UUCP>, <1185@rlgvax.UUCP> Organization: Bell Labs, Columbus Lines: 13 The vt100 cs string should NOT have a %r in it. The two arguments to tgoto have always been backwards from what you would expect. This is especially noticable when you only pass one parameter (e.g. to one of the parameterized local motion capabilities) since you must call tgoto(UP, 0, nlines) instead of the expected tgoto(UP, nlines). This also makes it impossible to have more than 2 parameters passed through tgoto - the code just alternates between the two parms passed. This was fixed in terminfo by replacing tgoto with tparm, which accepts up to 9 parameters: tparm(parm_up_cursor, nlines) Mark Horton