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

01.01.2013 Views

ADF ( 4 ) (AT&T UNIX PC only ) ADF(4) NAME } The file operations which are currently supported are COPY and MOVE. There is one SOURCE keyword for each file which is to be copied or moved. The argument to the SOURCE keyword is the full path name of the file or folder to be copied or moved. The NAME keyword is optional and is necessary if the name of the destination file is different than the name of the source file. The NAME keyword is especially helpful for applications which copy files into a temporary directory before they are finally copied or moved to their ultimate destination. Here is an example of an ADF file which is used to copy attachments for Electronic Mail: VERSION 1.0 APPLICATION Electronic Mail FILOP MOVE { EOF SOURCE /tmp/EMAAAao0273 NAME homedirl SOURCE /tmp/EMBAAa00273 NAME insfmla:S SOURCE /tmp/EMCAAa00273 NAME movepasswd SOURCE /tmp/EMDAAa00273 NAME relativeatt SOURCE /tmp/EMEAAa00273 NAME addr.c } Text Data Types The TEXT keyword takes a single argument, an ASCII coded text string. White space following the TEXT keyword on the same line is ignored. The text data type is a stream of bytes, together with associated attribute and font information. Non-ASCII characters and attribute information are embedded in the text string via the backslash character (\). The text string is terminated with the \EOT\ code. All ASCII characters except backslash (\) require no interpretation. The backslash character introduces one of the following codes: Code \\ \ \ Meaning Converts to a single backslash Inserts a byte of the specified value. The legal range is 0 - 239. - 2-

ADF ( 4 ) (AT&T UNIX PC only ) \ \ \IND\ \CEN\ \RB\ \HS\ \OH\ \HH\ \HI\ \BB\ \EB\ \PN\ \EOP\ \HP\ \BF\ \EF\ \RS\ \EOT\ \UL\ \WU\ \DU\ \US\ \BL\ \BS\ \MI\ \MIS\ \MD\ \MDS\ \SUP\ \SUS\ \SUB\ \SBS\ \FONT: \ \CSIZE: \ \COLOR: \ Nothing. Used to embed new lines for formatting purposes. Un-escaped new lines are only used for paragraph ends. Indent character Center character Required backspace Hard space Optional hyphen Hard hyphen Hanging indent Begin block (keep block) End block Page number End of page Hard page end Begin field name End field name Record separator End of text string Underline start Word underline start Double underline start Underline stop Bold start Bold stop Mark insert Mark insert stop Mark delete (strike-thru) Mark delete stop Superscript Superscript stop Subscript Subscript stop Select font (predefined) Select character size (point size) Select color (1-8) ADF ( 4) A font is a mapping of the text stream byte values onto displayable characters. The form that this mapping takes depends on the output devices supported by the particular system. The font also contains pitch information and the widths of the individual characters, in the case of a proportionally spaced font. For transfers between applications running on different machines, the font information for all of the referenced fonts must be included in the ADF file. Here are some sample text data items: TEXT Short string\EOT\ - 3 -

ADF ( 4 ) (AT&T UNIX PC only )<br />

\ \<br />

\IND\<br />

\CEN\<br />

\RB\<br />

\HS\<br />

\OH\<br />

\HH\<br />

\HI\<br />

\BB\<br />

\EB\<br />

\PN\<br />

\EOP\<br />

\HP\<br />

\BF\<br />

\EF\<br />

\RS\<br />

\EOT\<br />

\UL\<br />

\WU\<br />

\DU\<br />

\US\<br />

\BL\<br />

\BS\<br />

\MI\<br />

\MIS\<br />

\MD\<br />

\MDS\<br />

\SUP\<br />

\SUS\<br />

\SUB\<br />

\SBS\<br />

\FONT: \<br />

\CSIZE: \<br />

\COLOR: \<br />

Nothing. Used to embed new<br />

lines for formatting purposes.<br />

Un-escaped new lines are only<br />

used for paragraph ends.<br />

Indent character<br />

Center character<br />

Required backspace<br />

Hard space<br />

Optional hyphen<br />

Hard hyphen<br />

Hanging indent<br />

Begin block (keep block)<br />

End block<br />

Page number<br />

End of page<br />

Hard page end<br />

Begin field name<br />

End field name<br />

Record separator<br />

End of text string<br />

Underline start<br />

Word underline start<br />

Double underline start<br />

Underline stop<br />

Bold start<br />

Bold stop<br />

Mark insert<br />

Mark insert stop<br />

Mark delete (strike-thru)<br />

Mark delete stop<br />

Superscript<br />

Superscript stop<br />

Subscript<br />

Subscript stop<br />

Select font <br />

(predefined)<br />

Select character size <br />

(point size)<br />

Select color (1-8)<br />

ADF ( 4)<br />

A font is a mapping of the text stream byte values onto displayable<br />

characters. The form that this mapping takes depends on the<br />

output devices supported by the particular system. The font also<br />

contains pitch information and the widths of the individual characters,<br />

in the case of a proportionally spaced font.<br />

For transfers between applications running on different machines,<br />

the font information for all of the referenced fonts must be<br />

included in the ADF file.<br />

Here are some sample text data items:<br />

TEXT Short string\EOT\<br />

- 3 -

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

Saved successfully!

Ooh no, something went wrong!