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.

LAYERS (l) LAYERS (!)<br />

NAME<br />

layers - layer multiplexor for windowing terminals<br />

SYNOPSIS<br />

layers [-s] [-t] [-d] [-p] [-f file] [layersys-prgm]<br />

DESCRIPTION<br />

layers manages asynchronous windows (see layers(5)) on a windowing<br />

terminal. Upon invocation, layers finds an unused xt(7) channel group<br />

and associates it with the terminal line on its standard output. It then<br />

waits for commands from the terminal.<br />

Command-line options:<br />

-s Reports protocol statistics on standard error at the end of the<br />

session after you exit from layers. The statistics may be printed<br />

during a session by invoking the program xts(lM).<br />

-t Turns on xt(7) driver packet tracing, and produces a trace<br />

dump on standard error at the end of the session after you exit<br />

from layers. The trace dump may be printed during a session<br />

by invoking the program xtt(lM).<br />

-d If a firmware patch has been downloaded, prints out the sizes<br />

of the text, data, and bss portions of the firmware patch on<br />

standard error.<br />

·<br />

-p If a firmware patch has been downloaded, prints the downloading<br />

protocol statistics and a trace on standard error.<br />

-ffile Starts layers with an initial configuration specified by file.<br />

Each line of the file represents a layer to be created, and has<br />

the following format:<br />

origin x origin -y corner x corner<br />

_<br />

y<br />

command list<br />

The coordinates specify the size and position of the layer on<br />

the screen in the terminal's coordinate system. If all four are 0,<br />

the user must define the layer interactively. command list, a<br />

list of one or more commands, must be provided. It is executed<br />

in the newlayer using the user's shell (by executing: $SHELL -i<br />

-c "command list"). This means that the last command should<br />

invoke a shelf, such as lbinlsh. (If the last command is not a<br />

shell, then, when the last command has completed, the layer ·<br />

will not be functional.)<br />

layersys-prgm<br />

A file containing a firmware patch that the layers command<br />

downloads to the terminal before layers are created and<br />

command list is executed.<br />

Each layer is in most ways functionally identical to a separate terminal.<br />

Characters typed on the keyboard are sent to the standard input of the<br />

UNIX system process attached to the current layer (called the host process),<br />

and characters written on the standard output by the host process<br />

appear in that layer. When a layer is created, a separate shell is established<br />

and bound to the layer. If the environment variable SHELL is set,<br />

the user will get that shell: otherwise, lbinlsh will be used. In order to<br />

enable communications with other users via write(!), layers invokes the<br />

- 1-

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

Saved successfully!

Ooh no, something went wrong!