Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

putchar(3s)

terminfo(5)

tparm(3cur)

tputs(3cur)

Name

tputs − pad and output string

Syntax

tputs(str, count, putc)
register char *str;
int count;
int (*putc)();

Description

This function adds padding to the string str and outputs it. The string must be either a terminfo string variable or the return value from tparm, tgetstr or tgoto. The variable count is the number of lines affected; this is set to 1 if not applicable. The function putc is a putchar style routine. The characters are passed to putc one at a time.

See Also

putchar(3s), terminfo(5), tparm(3cur)

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026