Debian Codegraph @

en/refpages/elements/prompt/refentry.xml

raw symbols SCIP
1 <refentry id="prompt.element">
2 <?dbhtml filename="prompt.html"?>
3 <refentryinfo>
4 <pubdate>$Date$</pubdate>
5 <releaseinfo>$Revision$</releaseinfo>
6 </refentryinfo>
7
8 <refmeta>
9 <indexterm><primary>elements</primary>
10 <secondary>prompt</secondary></indexterm>
11 <refentrytitle>prompt</refentrytitle>
12 <refmiscinfo>Element</refmiscinfo>
13 </refmeta>
14 <refnamediv>
15 <refname>prompt</refname>
16 <refpurpose>&prompt.purpose;</refpurpose>
17 </refnamediv>
18
19 &prompt.synopsis.gen;
20 <refsect1 condition='ref.description'><title>Description</title>
21
22 <para>
23 A <sgmltag>Prompt</sgmltag> is a character or character string marking
24 the beginning of an input field. <sgmltag>Prompt</sgmltag>s are
25 generally associated with command-line interfaces and not
26 graphical user interfaces (<acronym>GUI</acronym>s). In <acronym>GUI</acronym>s, <sgmltag>GUILabel</sgmltag> is usually more appropriate.
27 </para>
28
29 <refsect2><title>Processing expectations</title>
30 <para>
31 &format.inline; &pexp.moreinfo;
32 </para>
33 </refsect2>
34
35 <refsect2 role='fu' revision="4.0"><title>&FutureChanges;</title>
36 <para>
37 <sgmltag>Prompt</sgmltag> was added in DocBook V3.0. It duplicates the
38 semantics of <sgmltag class='starttag'>systemitem class="prompt"</sgmltag>.
39 The <literal>prompt</literal> attribute will be removed from
40 <sgmltag>SystemItem</sgmltag> in the future.
41 </para>
42 </refsect2>
43
44
45 &prompt.parents.gen;
46 &prompt.children.gen;
47 </refsect1>
48 <refsect1 condition='ref.elem.attrdesc'><title>Attributes</title>
49 <variablelist>
50 <varlistentry><term>moreinfo</term>
51 <listitem>
52 <para>
53 If <sgmltag class='attribute'>MoreInfo</sgmltag> is set to <literal>RefEntry</literal>,
54 it implies that a <sgmltag>RefEntry</sgmltag> exists which further describes the
55 <sgmltag>Prompt</sgmltag>.
56 </para>
57 </listitem>
58 </varlistentry>
59 </variablelist>
60 </refsect1>
61 <refsect1 condition='ref.elem.seealso'><title>See Also</title>
62 &prompt.seealso.gen;
63 </refsect1>
64 <refsect1><title>Examples</title>
65
66 <informalexample role="example-source">
67 <programlisting>&prompt.example.1.txt;</programlisting>
68 </informalexample>
69
70 <anchor id="ex.os.prompt.1" role="HACK-ex.out.start"/>
71 &prompt.example.1.gen;
72 <anchor id="ex.oe.prompt.1" role="HACK-ex.out.end"/>
73
74 &prompt.example.seealso.gen;
75 </refsect1>
76 </refentry>
77