Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

putc(3)

tparm(3)

terminfo(4)

tputs(3)  —  Subroutines

Digital

NAME

tputs − pad and output string

SYNOPSIS

#include <curses.h>

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. 

RELATED INFORMATION

putc(3), tparm(3), terminfo(4)

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