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 (5) LAYERS (5)<br />

identical to the command packet, with the two command<br />

bytes replaced by the return code: 0 for success, -1 for<br />

failure. Note that the routines in the libwindows (3X) library<br />

all send parameters in an agentrect structure. The agent<br />

command codes and their parameters are as follows:<br />

A_NEWLAYER followed by a two-byte channel number<br />

and a rectangle structure (four two-byte<br />

coordinates).<br />

A CURRENT followed by a two-byte channel number.<br />

A DELETE<br />

A_TOP<br />

A_BOTTOM<br />

A MOVE<br />

A_RESHAPE<br />

A NEW<br />

A EXIT<br />

A_ROMVERSION<br />

followed by a two-byte channel number.<br />

followed by a two-byte channel number.<br />

followed by a two-byte channel number.<br />

followed by a two-byte channel number<br />

and a point to move to (two two-byte<br />

coordinates).<br />

followed by a two-byte channel number<br />

and the new rectangle (four two-byte<br />

coordinates).<br />

followed by a two-byte channel number<br />

and a rectangle structure (four two-byte<br />

coordinates).<br />

no parameters needed.<br />

no parameters needed. The response<br />

packet contains the size byte, two-byte<br />

return code, two unused bytes, and the<br />

parameter part of the terminal id string<br />

(e.g., "8;7;3").<br />

Packets from the windowing terminal to the UNIX system all take the following<br />

form:<br />

command, data ...<br />

The single-byte commands are as follows:<br />

c_SENDCHAR Send the next byte to the UNIX system process.<br />

C_NEW<br />

C_UNBLK<br />

C_DELETE<br />

Create a new UNIX system process group for<br />

this layer. Remember the window size<br />

parameters for this layer. The data for this<br />

command is in the form described by the<br />

jwinsize structure. The size of the window is<br />

specified by two 2-byte integers, sent low<br />

byte first.<br />

Unblock transmission to this layer. There is<br />

no data for this command.<br />

Delete the UNIX system process group<br />

attached to this layer. There is no data for<br />

-2-

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

Saved successfully!

Ooh no, something went wrong!