termcap strings that take arguments
Guy Harris
guy at auspex.UUCP
Wed Nov 30 08:42:16 AEST 1988
>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".
More information about the Comp.unix.wizards
mailing list