## Name

PRINTERR — Print Full Text Error MessagesOS-9 Level One

## Synopsis

`printerr`

## Description

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 `/d0/SYS/errmsg`. Printerr's effect is system-wide.

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 continuation of the previous line(s) which permits multi-line error messages.

### Warning

Once the printerr command has been used, it can not be undone. Once installed, the printerr module should not be unlinked. Printerr uses the current user's stack for an I/O buffer, so users are encouraged to reserve reasonably large stacks.

For more information see: the section called “Error Reporting”, the section called “The SYS Directory”.

## Examples

    OS9: printerr