Path: utzoo!utgpu!watmath!clyde!att!pacbell!ames!mailrus!cornell!batcomputer!itsgw!steinmetz!uunet!auspex!guy
From: guy@auspex.UUCP (Guy Harris)
Newsgroups: comp.unix.wizards
Subject: Re: termcap strings that take arguments
Message-ID: <539@auspex.UUCP>
Date: 29 Nov 88 22:42:16 GMT
References: <782@stolaf.UUCP>
Reply-To: guy@auspex.UUCP (Guy Harris)
Distribution: na
Organization: Auspex Systems, Santa Clara
Lines: 11

>I know that with the cm capability you call tgoto with the x and y
>coordinates, but how is it done for capabilities that only take one
>numeric parameter?

Use "tgoto", pass the parameter as the third argument, pass whatever you
want (as long as it's integral) as the second argument.

Note that "vi" appears to be under the impression that AL, for example
("parameterized insert lines") may want to be given a second parameter,
namely the line at which insertion is to begin; it passes that parameter
as the second argument to "tgoto".