discuss: how to describe a command prompt?
Subject:
Re: how to describe a command prompt?
From:
"Martin A. Brown" ####@####.####
Date:
19 Nov 2003 14:56:39 -0000
Message-Id: <Pine.LNX.4.58.0311190853590.9392@copula.wonderfrog.net>
Artemio,
: I need to know how to describe a command prompt.
: Say, I want to write in my howto:
: # cd /some/dir
: # ls -l
: What tags should I put the shell commands into?
I would do this:
<programlisting>
<prompt># </prompt><userinput>cd /some/dir</userinput>
<prompt># </prompt><userinput>ls -l</userinput>
</programlisting>
You may find the DocBook reference quite handy:
http://www.docbook.org/tdg/en/html/
Note that if you have DocBook questions, you can also use the
####@####.#### list.
-Martin