layers, layertitle - Protocol for MacLayers Multiwindow Terminal Emulator for Unix
layers [-l] [command] - create new window
layertitle string - retitle current layers window
MacLayers provides multi-window capability for a Macintosh (greater than 128K) connected to a host UNIX(TM) system with sockets support. Each window may be associated with a shell, login to a different host, or an individual command. Complete facilities are available for controlling the window and the associated host processes attached thereto.
To use MacLayers, you must have the MacLayers vt-100 terminal emulation program on a Macintosh and the layers protocol program installed on your Unix host.
The Maclayers Application on the Mac starts up as a garden variety host-to-terminal vt-100 emulator. (As such you can run it with any host, not just a Unix machine.) Baud rate and other configurations are set by selections in the Control Menu.
Enter the layers command to the Unix host using no options or parameters to start the layers protocol. The initial terminal window will be closed and replaced with a layers protocol window. A shell is run in this window, either /bin/sh or the shell indicated by your $SHELL variable.
You can start a new shell layer by picking "New" on the Layers menu. You can also start a new layer window by issuing the layers command to a shell layer window. If you use no operands then the new layer window will be a shell. However, you can specify any command you wish by simply adding it as a parameter. Examples: "layers vi testfile.c", "layers telnet earth."
If you are specifying a shell then you can also elect to have it be a login shell by adding a -l option. This allows broadcast/write/talk capabilities for that window. The initial layer window shell defaults to a login shell.
When a layer process group terminates its window is automatically closed. MacLayers exits layers mode when the last (or only) layer window is closed. You may also use the Layers Menu "Shutdown" to terminate layers mode. You cannot quit the MacLayers application while in layers mode but must Shutdown the multi-window mode first.
You can abort host layers by using the Control Menu "Abort Host Layers" item which is always available. This may be necessary if your Mac loses contact with the host and you restart the MacLayers application at which time the host would still be in multi-window layers mode while the application would not. If the MacLayers application terminates due to a non-recoverable problem it will always issue an order to terminate layers mode on the host before returning to the Finder.
MacLayers has a download facility for downloading XMODEM MacTerminal ('macput' command) and MacBinary ('macbput' command) files. Straight vanilla XMODEM is not supported. Only one window can be doing a XMODEM download at any one time. Downloading does not effect any other MacLayers operations so you can freely use any other windows or applications (with MultiFinder) while a download is in progress. Remember though that the topmost window receives the highest priority data transfer from the host. So for the fastest downloading keep the XMODEM layer window the active window.
/usr/tmp/layers/<login> Directory created by
layers
/usr/tmp/layers/<login>/host.ttySocket Created by
layers
*) The shell TERM variable must have the same value in your
layer shells as it does when you initially start
layers
up.
*) If you set the BSD shell TERMCAP variable then that variable must
be set in your .login file. It may not be changed to something
different in .cshrc.
*) The
layers
command will not properly work when being issued from a
remote login into the same machine which is already running the
initial
layers
startup command.
*) There is no file upload facility.
*) MacLayers will access the disk less often if you have RAM Cache
enabled on the Macintosh.
*)Layers must be installed as set-uid with owner root in order
to be able to correctly change the owner of the tty device
file for each window. Special permission may also be
required to write the file "/etc/utmp".
The MacLayers program is completely described in the manual that accompanies it.
Manual page courtesy of Peter Newton.
UNIX(TM) is a registered trademark of American Telephone and Telegraph. Macintosh is a trademark of McIntosh Laboratories and is licensed to Apple Computer.