This file is indexed.

/usr/share/mozart/doc/op/node1.html is in mozart-doc 1.4.0-8ubuntu1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

1
2
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>1 Introduction</TITLE><LINK href="ozdoc.css" rel="stylesheet" type="text/css"></HEAD><BODY><TABLE align="center" border="0" cellpadding="6" cellspacing="6" class="nav"><TR bgcolor="#DDDDDD"><TD><A href="toc.html#label1">&lt;&lt; Prev</A></TD><TD><A href="index.html">- Up -</A></TD><TD><A href="node2.html#chapter.data">Next &gt;&gt;</A></TD></TR></TABLE><DIV id="chapter.intro"><H1><A name="chapter.intro">1 Introduction</A></H1><P> This document describes how to connect Mozart applications to the rest of the computational world. Sometimes this is paraphrased as <A name="label2"></A><SPAN class="index">interoperability</SPAN>. </P><P> Interoperability is supported in Mozart by the modules <CODE>Open</CODE> and <CODE>OS</CODE>. The module <CODE>Open</CODE> provides the following classes: </P><OL type="1"><LI><P>The class <CODE>Open<SPAN class="keyword">.</SPAN>file</CODE> for reading and writing files. </P></LI><LI><P>The class <CODE>Open<SPAN class="keyword">.</SPAN>socket</CODE> for sending and receiving data over the Internet. </P></LI><LI><P>The class <CODE>Open<SPAN class="keyword">.</SPAN>pipe</CODE> to create operating system processes and to communicate with them. </P></LI><LI><P>The class <CODE>Open<SPAN class="keyword">.</SPAN>text</CODE> for reading and writing texts character by character or line by line. This class can be combined with any of the classes from above. </P></LI></OL><P> </P><P> Each of these classes is described by a chapter on its own (<A href="node5.html#chapter.files">Chapter&nbsp;3</A>, <A href="node10.html#chapter.sockets">Chapter&nbsp;5</A>, <A href="node16.html#chapter.pipe">Chapter&nbsp;6</A>, and <A href="node8.html#chapter.text">Chapter&nbsp;4</A>). The chapters explain the basic concepts to use the classes and contain a small example. Reference information to the classes can be found as usual in the document <A href="../system/node55.html#chapter.open">Chapter&nbsp;20 of ``System Modules''</A>. </P><P> The module <CODE>OS</CODE> provides procedures for random numbers, for manipulating files, directories, sockets, and the like. The module makes functionality found in the operating system available within Oz. Since Oz runs both on Unix based and Windows based platforms, the functionality provided is limited to what is defined by the POSIX.1 Standard&nbsp;<A href="bib.html#posix1">[IEE90]</A>. Its documentation can be found in <A href="../system/node56.html#chapter.os">Chapter&nbsp;21 of ``System Modules''</A>. </P><P> It is important to understand the data structures needed for reading, writing, and sending. For this reason <A href="node2.html#chapter.data">Chapter&nbsp;2</A> discusses these data structures in some detail. </P><H2><A name="label3">1.1 Local Computation Spaces</A></H2><P> There is very little to say about local computation spaces and input/output: </P><DIV class="danger"><P class="margin"><IMG align="top" alt="Danger" src="danger.gif"></P><P> input and output do <EM>not</EM> work in local computation spaces! </P></DIV><H2><A name="label4">1.2 Conventions</A></H2><P> Throughout this document we refer to Unix <A name="label5"></A><SPAN class="index">manual pages</SPAN> for further information. For example, <CODE>open(2)</CODE> means that you should look up the manual page with title ``open'' in Section&nbsp;2. Type <CODE>man&nbsp;2&nbsp;open</CODE><A href="node1.html#label7"><SUP>1</SUP></A> to your Unix shell to see the manual page. In case you are running a Windows based system, information can be found in a good Unix book or a book describing the POSIX.1 standard (e.&nbsp;g., <A href="bib.html#lewine.91">[Lew91]</A>). </P><H2><A name="label6">1.3 The Examples</A></H2><P> This document contains quite a number of examples. It is recommended to read this document and try the examples while reading. All the examples collected into a single file can be found <A href="OpenProgramming.oz">here</A>.</P></DIV><TABLE align="center" border="0" cellpadding="6" cellspacing="6" class="nav"><TR bgcolor="#DDDDDD"><TD><A href="toc.html#label1">&lt;&lt; Prev</A></TD><TD><A href="index.html">- Up -</A></TD><TD><A href="node2.html#chapter.data">Next &gt;&gt;</A></TD></TR></TABLE><HR align="left" width="30%"><DIV class="footnote"><A name="label7">1. </A>On some systems you have to type <CODE>man&nbsp;-s&nbsp;2&nbsp;open</CODE> instead.</DIV><HR><ADDRESS><A href="http://www.ps.uni-sb.de/~schulte/">Christian&nbsp;Schulte</A><BR><SPAN class="version">Version 1.4.0 (20110908185330)</SPAN></ADDRESS></BODY></HTML>