view docs/nitros9guide/build.refentry @ 2772:0a3f4d8ea6d5

Found ENDC in wrong location in dwread.asm and dwwrite.asm. Corrected. Moved the native 6309 code in dwread.asm and dwwrite.asm into the H6309 labeled area and changed IFEQ H6309 to IFNE H6309. Also moved the 57600bps 6809 code to the default location. This change had been done in the old dwread.asm and dwwrite.asm files to make it easier to follow. Though these two files were overwritten from the HDBDOS project dwread.asm and dwwrite.asm files. So this conversion needed to be done again so it made the source easier to follow.
author drencor-xeen
date Wed, 23 Jan 2013 12:36:55 -0600
parents b00cf13c9f61
children
line wrap: on
line source

<refentry id="build">
<refnamediv>
<refname id="buildname">BUILD</refname>
<refpurpose>Build a text file from standard input</refpurpose>
</refnamediv>

<refsynopsisdiv>
<cmdsynopsis>
<command>build</command>
<arg choice="plain"><replaceable>path</replaceable></arg>
</cmdsynopsis>
</refsynopsisdiv>

<refsect1><title>Description</title>
<para>
This command is used to build short text files by copying the
standard input path into the file specified by
<replaceable>path</replaceable>. <command>Build</command> creates a file according to the pathlist parameter,
then displays a &quot;?&quot;
prompt to request an input line. Each line entered is written to
the output path (file). Entering a line consisting of a carriage
return only causes <command>build</command> to terminate.
</para>

</refsect1>
<refsect1><title>Example:</title>

<screen>
build small_file
build /p                  (copies keyboard to printer)
</screen>
<para>
The standard input path may also be redirected to a file. Below is
an example:
</para>
<screen>
build &lt;mytext /T2      (copies file &quot;mytext&quot; to terminal T2)


OS9: build newfile

? The powers of the NitrOS-9
? operating system are truly
? fantastic.
? [RETURN]

OS9: list newfile

The powers of the NitrOS-9
operating system are truly
fantastic.
</screen>
</refsect1>
</refentry>