view docs/nitros9guide/display.refentry @ 2677:c58baa9276c8 lwtools-port

Fix string constants used as numbers More cases of string constants being used instead of ascii constants.
author William Astle <lost@l-w.ca>
date Sun, 10 Jun 2012 14:33:53 -0600
parents 4dae346c4969
children
line wrap: on
line source

<refentry id="display">
<refnamediv>
<refname>DISPLAY</refname>
<refpurpose>Display Converted Characters</refpurpose>
</refnamediv>

<refsynopsisdiv>
<cmdsynopsis>
<command>display</command>
<arg choice="plain">
  <replaceable>hex</replaceable>
</arg>
<arg choice="plain">
  &repeatst;<replaceable>hex</replaceable>&repeaten;
</arg>
</cmdsynopsis>
</refsynopsisdiv>

<refsect1><title>Description</title>
<para>
Display reads one or more hexadecimal numbers given as parameters,
converts them to ASCII characters, and writes them to the standard
output. It is commonly used to send special characters (such as
cursor and screen control codes) to terminals and other I/O devices.

</para>
</refsect1>
<refsect1><title>Examples</title>
<screen>
display 0C 1F 02 7F


display 15 &gt;/p      (sends &quot;form feed&quot; to printer)

OS9: display 41 42 43 44 45 46
ABCDEF
</screen>
</refsect1>
</refentry>