This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Markup for shell-like typescripts


>>>>> "Norman" == Norman Walsh <ndw@nwalsh.com> writes:

 Norman> / Jochen Hein <jochen@jochen.org> was heard to say: | I'd
 Norman> like to mark something like (unchecked): | | <figure>
 Norman> <title>an simple example</title> <screen> |
 Norman> <computeroutput>bash#</computeroutput> <userinput>echo input
 Norman> | sed -e | <computeroutput>'s/in/out/'</userinput>
 Norman> output</computeroutput>

 Norman> One simple answer would be to present the screen without
 Norman> additional markup. Or are you making presentation
 Norman> distinctions between these?

Yes, I like to have a distinct representation.  In legacy documents I
have I use bold for userinput, and have LaTeX commands for shell
prompts, input and output representation.  And I like that
represention. 

 Norman> | This works fine with %number-screen-lines% set to #f or
 Norman> short | listings.  I do have (define %number-screen-lines%
 Norman> #t) which messes it | up in longer examples (line numbers are
 Norman> missing, text bounces to the | left and back).

 Norman> Short example that demonstrates the problem, please.

Here we are.

Jochen

sgml source

Title: Test 1

Abbildung 1. Oracle hacken

    sidadm> setenv TNS_ADMIN $HOME/
    sidadm> setenv ORACLE_HOME /oracle/SID
    sidadm> setenv ORACLE_SID SID
    sidadm> svrmgrlOracle Server Manager Release 3.0.6.0.0 - Production

(c) Copyright 1999, Oracle Corporation.  All Rights Reserved.

Oracle8 Enterprise Edition Release 8.0.6.1.0 - Production
PL/SQL Release 8.0.6.1.0 - Production

SVRMGR> connect /@SID (1)
    Connected.
SVRMGR> select * from sapuser;
    USERID PASSWD
------ ------
SAPR3  geheim
1 row selected.
SVRMGR> connect SAPR3/geheim@SID (2)
    Connected.
SVRMGR>
(1)
Wir verbinden uns an die Datenbank als OPS$-User. Dieser ist im Oracle angelegt als identified externally, so dass wir hier kein Paßwort angeben müssen. Da wir nicht direkt auf dem Datenbank-Server arbeiten, geben wir die SID an, diese wird mit Hilfe der SQL-NetV2-Konfiguration aufgelöst.
(2)
Mit dem in der Tabelle SAPUSER gespeicherten Paßwort können wir und nun an die Datenbank anmelden.

-- 
Nicht weil die Dinge schwierig sind, wagen wir sie nicht,
sondern weil wir sie nicht wagen, sind sie schwierig.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]