view docs/nitros9guide/printerr.refentry @ 1053:b5ff125a1d60

Since this book was only typeset in fixed width, single-font, they used capitalization and quotes (") to show what was commands, files and just text. With today's formatting, this is not necessary, so everywhere capitalization was used to show a command the <command> element is now used instead, and everywhere a file is mentioned the <filename> element is used.
author roug
date Thu, 20 Mar 2003 20:19:53 +0000
parents d9631713b7cd
children 4dae346c4969
line wrap: on
line source

<refentry id="printerr">
<refnamediv>
<refname>PRINTERR</refname>
<refpurpose>Print Full Text Error Messages</refpurpose>
</refnamediv>

<refsynopsisdiv>
<cmdsynopsis>
<command>PRINTERR</command>
</cmdsynopsis>
</refsynopsisdiv>

<refsect1><title>Description</title>
<para>
This command replaces the basic OS-9 error printing routine (F$PERR
service request) which only prints error code numbers, with a
routine the reads and displays textual error messages from the file
<filename>/d0/SYS/errmsg</filename>. Printerr's effect is system-wide.
</para>
<para>
A standard error message file is supplied with OS-9. This file can
be edited or replaced by the system manager. The file is a normal
text file with variable length line. Each error message line begins
with the error number code (in ASCII characters), a delimiter, and
the error message text. The error messages need not be in any
particular order. Delimiters are spaces or any character numerically lower then
$20. Any line having a delimiter as its first
character is considered a contintjation of the previous line(s) which
permits multi-line error messages.
</para>
<para>
WARNING: Once the <command>printerr</command> command has been used,
it can not be undone. Once
installed, the <command>printerr</command> module should not be unlinked.
<command>Printerr</command> uses the current user's stack for an I/O buffer, so users
are encouraged to reserve reasonably large stacks.
</para>
<para>
For more information see: 4.7, 6.2
</para>
</refsect1>
<refsect1><title>Examples</title>
<screen>

OS9: printerr

</screen>
</refsect1>
</refentry>