01.01.2013 Views

AT&T UNIX™PC Unix System V Users Manual - tenox

AT&T UNIX™PC Unix System V Users Manual - tenox

AT&T UNIX™PC Unix System V Users Manual - tenox

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

TAM (3T)<br />

wputc()<br />

wputs()<br />

wprintf()<br />

(AT&T UNIX PC only ) TAM(3T)<br />

Outputs a specified character to a specified window<br />

(wn).<br />

Outputs a specified character string to a specified<br />

window ( wn ). (Similar to wputc() above.)<br />

wprintf(} does print/{} 's to a specified window<br />

( wn ). (Similar to wputc() above.)<br />

In output to windows, a subset of the ANSI X3.64 escape sequences<br />

may be sent, and they are translated, if possible, for the particular<br />

terminal (see termcap (5) for information on defining to TAM the<br />

sequences recognized by a particular terminal). In the following<br />

four output routines, however, only standard ASCII text characters<br />

can be sent.<br />

wslk()<br />

wcmd()<br />

wprompt()<br />

wlabel()<br />

wrefresh()<br />

wuser()<br />

wgoto()<br />

Outputs a null-terminated string to a screen<br />

labeled key, lines 28 and 29 on the screen. The<br />

arguments include the specified window ( wn ), the<br />

key number, and at least one character string.<br />

The first form of wslk(} writes a single key; the<br />

alternate form writes all the screen labeled keys at<br />

once more efficiently. kn =0 indicates that this<br />

wslk{} call is the alternate form. Slong1 and slong2<br />

point to two 80-char strings of long SLK labels ( 16<br />

characters each, 8 for the top label line followed<br />

by 8 for the bottom label line). Sshort points to a<br />

single 80-char string of short SLK labels (8 characters<br />

each).<br />

Outputs a null-terminated string to the command<br />

entry/echo line, line 27 on the screen. The arguments<br />

are the specified window ( wn) and the character<br />

string.<br />

Outputs a null-terminated string to the prompt<br />

line, line 26 on the screen. The arguments are the<br />

specified window ( wn ) and the character string.<br />

Outputs a null-terminated string to the window<br />

label line in the top window border. The arguments<br />

are the specified window ( wn) and the character<br />

string.<br />

Flushes all output to the specified window. Output<br />

is normally buffered until input is read from<br />

the window. Wrefresh ( =-1) refreshes the entire<br />

screen. If the terminal is remote, the wrefresh(}<br />

call redisplays all windows known to the application<br />

in the remote terminal.<br />

Writes the "user line" of the window. The user<br />

line is displayed by the wmgr process whenever it<br />

displays a list of windows.<br />

Moves the window's cursor to a specified row,<br />

column within the window . Arguments are wn<br />

and the row, column.<br />

- 6-

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!