Debian Codegraph @

ru/refpages/elements/screen/refentry.xml

raw symbols SCIP
1 <refentry id="screen.element">
2 <?dbhtml filename="screen.html"?>
3 <refentryinfo>
4 <pubdate>$Date$</pubdate>
5 <releaseinfo>$Revision$</releaseinfo>
6 </refentryinfo>
7
8 <refmeta>
9 <indexterm><primary>elements</primary>
10 <secondary>screen</secondary></indexterm>
11 <refentrytitle>screen</refentrytitle>
12 <refmiscinfo>Element</refmiscinfo>
13 </refmeta>
14 <refnamediv>
15 <refname>screen</refname>
16 <refpurpose>&screen.purpose;</refpurpose>
17 </refnamediv>
18
19 &screen.synopsis.gen;
20 <refsect1 condition='ref.description'><title>Description</title>
21
22 <para>
23 A <sgmltag>Screen</sgmltag> is a verbatim environment for displaying text that
24 the user might see on a computer terminal. It is often used to display
25 the results of a command.
26 </para>
27
28 <para>
29 Having less specific semantic overtones, <sgmltag>Screen</sgmltag> is
30 often used wherever a verbatim presentation is desired, but the
31 semantic of <sgmltag>ProgramListing</sgmltag> is inappropriate.
32 </para>
33
34 <refsect2><title>Processing expectations</title>
35 <para>
36 &pexp.linespecific; <sgmltag>Screen</sgmltag>s are usually
37 displayed in a fixed width font.
38 </para>
39 </refsect2>
40
41 <refsect2 role='fu' revision="4.0"><title>&FutureChanges;</title>
42 <para>
43 <!--do not index this occurance-->
44 &fu.interfacedefinition;
45 </para>
46 </refsect2>
47
48 <refsect2 role='fu' revision="5.0"><title>&FutureChanges;</title>
49 <para>The <literal>xml:space</literal> attribute is automatically
50 provided in the XML DTD.
51 </para>
52 </refsect2>
53
54
55 &screen.parents.gen;
56 &screen.children.gen;
57 </refsect1>
58 <refsect1 condition='ref.elem.attrdesc'><title>Attributes</title>
59 <variablelist>
60 <varlistentry><term>format</term>
61 <listitem>
62 <para>
63 The <sgmltag class="attribute">Format</sgmltag> attribute applies the
64 <literal>linespecific</literal> notation to all <sgmltag>Screen</sgmltag>s.
65 All white space and line breaks must be preserved.
66 </para>
67 </listitem>
68 </varlistentry>
69 <varlistentry><term>linenumbering</term>
70 <listitem>
71 <para revision="4.0">Line numbering indicates whether or not the lines
72 of a <sgmltag>Screen</sgmltag> are to be automatically numbered. The details
73 of numbering (every line or only selected lines, on the left or right, etc.)
74 are left up to the processing application. Be aware that not all processors
75 are capable of numbering lines.</para>
76 </listitem>
77 </varlistentry>
78 <varlistentry><term>width</term>
79 <listitem>
80 <para>
81 <sgmltag class="attribute">Width</sgmltag> specifies the width (in characters)
82 of the longest line in this <sgmltag>Screen</sgmltag> (formatters may use
83 this value to determine scaling or rotation).
84 </para>
85 </listitem>
86 </varlistentry>
87 </variablelist>
88 </refsect1>
89 <refsect1 condition='ref.elem.seealso'><title>See Also</title>
90 &screen.seealso.gen;
91 </refsect1>
92 <refsect1><title>Examples</title>
93
94 <informalexample role="example-source">
95 <programlisting>&screen.example.1.txt;</programlisting>
96 </informalexample>
97
98 <anchor id="ex.os.screen.1" role="HACK-ex.out.start"/>
99 &screen.example.1.gen;
100 <anchor id="ex.oe.screen.1" role="HACK-ex.out.end"/>
101
102 &screen.example.seealso.gen;
103 </refsect1>
104 </refentry>
105