pjs/extensions/xmlterm/base
svn%xmlterm.org 83ef03b719 XMLterm changes only; NOT PART OF DEFAULT SEAMONKEY BUILD
Implemented full screen operations for LineTerm only; works with Jan12 build
2000-01-17 01:16:14 +00:00
..
.cvsignore Initial import of XMLterm extension; not part of default SeaMonkey build 1999-12-06 06:32:12 +00:00
Makefile.in NOT PART OF SEAMONKEY BUILD; 1999-12-26 15:19:45 +00:00
README XMLterm changes; NOT PART OF SEAMONKEY BUILD; 1999-12-08 02:50:54 +00:00
lineterm.h XMLterm changes only; NOT PART OF DEFAULT SEAMONKEY BUILD 2000-01-17 01:16:14 +00:00
ltermEscape.c XMLterm changes only; NOT PART OF DEFAULT SEAMONKEY BUILD 2000-01-17 01:16:14 +00:00
ltermIO.c XMLterm changes only; NOT PART OF DEFAULT SEAMONKEY BUILD 2000-01-17 01:16:14 +00:00
ltermInput.c XMLterm changes only; NOT PART OF DEFAULT SEAMONKEY BUILD 2000-01-17 01:16:14 +00:00
ltermManager.c XMLterm changes only; NOT PART OF DEFAULT SEAMONKEY BUILD 2000-01-17 01:16:14 +00:00
ltermOutput.c XMLterm changes only; NOT PART OF DEFAULT SEAMONKEY BUILD 2000-01-17 01:16:14 +00:00
ltermPrivate.h XMLterm changes only; NOT PART OF DEFAULT SEAMONKEY BUILD 2000-01-17 01:16:14 +00:00
mozILineTerm.idl XMLterm changes only; NOT PART OF DEFAULT SEAMONKEY BUILD 2000-01-17 01:16:14 +00:00
mozILineTermAux.h XMLterm changes only; NOT PART OF DEFAULT SEAMONKEY BUILD 2000-01-17 01:16:14 +00:00
mozIXMLTermShell.idl Initial import of XMLterm extension; not part of default SeaMonkey build 1999-12-06 06:32:12 +00:00
mozIXMLTermStream.h Initial import of XMLterm extension; not part of default SeaMonkey build 1999-12-06 06:32:12 +00:00
mozIXMLTerminal.h NOT PART OF SEAMONKEY BUILD; 1999-12-26 15:19:45 +00:00
mozLineTerm.cpp XMLterm changes only; NOT PART OF DEFAULT SEAMONKEY BUILD 2000-01-17 01:16:14 +00:00
mozLineTerm.h XMLterm changes only; NOT PART OF DEFAULT SEAMONKEY BUILD 2000-01-17 01:16:14 +00:00
mozXMLT.h Initial import of XMLterm extension; not part of default SeaMonkey build 1999-12-06 06:32:12 +00:00
mozXMLTermFactory.cpp Initial import of XMLterm extension; not part of default SeaMonkey build 1999-12-06 06:32:12 +00:00
mozXMLTermListeners.cpp Converting usage of ::GetIID() to NS_GET_IID(). 2000-01-11 20:49:15 +00:00
mozXMLTermListeners.h Initial import of XMLterm extension; not part of default SeaMonkey build 1999-12-06 06:32:12 +00:00
mozXMLTermSession.cpp XMLterm changes only; NOT PART OF DEFAULT SEAMONKEY BUILD 2000-01-17 01:16:14 +00:00
mozXMLTermSession.h XMLterm changes only; NOT PART OF DEFAULT SEAMONKEY BUILD 2000-01-17 01:16:14 +00:00
mozXMLTermShell.cpp Converting usage of ::GetIID() to NS_GET_IID(). 2000-01-11 20:49:15 +00:00
mozXMLTermShell.h Initial import of XMLterm extension; not part of default SeaMonkey build 1999-12-06 06:32:12 +00:00
mozXMLTermStream.cpp XMLterm changes only; NOT PART OF DEFAULT SEAMONKEY BUILD 2000-01-17 01:16:14 +00:00
mozXMLTermStream.h NOT PART OF SEAMONKEY BUILD; 1999-12-26 15:19:45 +00:00
mozXMLTermUtils.cpp NOT PART OF SEAMONKEY BUILD; 1999-12-26 15:19:45 +00:00
mozXMLTermUtils.h Initial import of XMLterm extension; not part of default SeaMonkey build 1999-12-06 06:32:12 +00:00
mozXMLTerminal.cpp XMLterm changes only; NOT PART OF DEFAULT SEAMONKEY BUILD 2000-01-17 01:16:14 +00:00
mozXMLTerminal.h Removed obsolete arguments from nsIDocumentLoaderObserver OnEndDocumentLoad and OnStartURLLoad. 1999-12-29 07:32:59 +00:00
ptystream.c Initial import of XMLterm extension; not part of default SeaMonkey build 1999-12-06 06:32:12 +00:00
ptystream.h Initial import of XMLterm extension; not part of default SeaMonkey build 1999-12-06 06:32:12 +00:00
tracelog.c Initial import of XMLterm extension; not part of default SeaMonkey build 1999-12-06 06:32:12 +00:00
tracelog.h Initial import of XMLterm extension; not part of default SeaMonkey build 1999-12-06 06:32:12 +00:00
unistring.c Initial import of XMLterm extension; not part of default SeaMonkey build 1999-12-06 06:32:12 +00:00
unistring.h Initial import of XMLterm extension; not part of default SeaMonkey build 1999-12-06 06:32:12 +00:00

README

 base --- core source code for XMLterm and LineTerm

XMLterm may be invoked in one of two ways:
 1. By loading the URL "chrome://xmlterm/content/xmlterm.html" in mozilla, or
 2. By running the stand-alone executable "../geckoterm/xmlterm".
The diagram below shows the control-flow/layering hierarchy for both ways
of invoking XMLterm.

              XMLterm control-flow/layering hierarchy
              =======================================
  
          mozilla-executable                xmlterm-executable
                 |                                 |
       ../ui/content/xmlterm.html                  |
                 |                                 |
          mozXMLTermShell              ../geckoterm/mozGeckoTerm
                 |                              |        |
                 +--------------+---------------+        |
                                |                  mozSimpleContainer
                          mozXMLTerminal
                                |
            +-------------------+--------------------+
            |                   |                    |
     mozXMLTermSession    mozLineTermAux      mozXMLTermListeners
            |                   |                    |
            |                   |                    |
   mozXMLTermStream...      (LineTerm)          (user input)
   (rendering ...)      (pseudo-TTY/shell)


2 Dec 1999
===========================================================================
FILES:

The core source code for XMLterm in this directory consists of two distinct
families of files, those with names that begin with the prefix "moz" and all
the other files. The former are the Mozilla-specific portions of XMLterm,
written in C++. The remaining files constitute the Mozilla-independent portion
of XMLterm, referred to as "LineTerm".

============================================================================
LINETERM:

LineTerm is a line-oriented terminal program, in some respects similar in
functionality to the GNU Readline package. It is completely independent of the
Mozilla source code, is written in plain C, and dually licensed under GPL and
MPL.

============================================================================
INTERFACES:

lineterm.h              Plain C interface to LineTerm
                          (used by mozLineTerm)

mozILineTerm.idl        Scriptable XPCOM/XPCONNECT interface to LineTerm
                          (not used at the moment)

mozILineTermAux.h       XPCOM interface to LineTerm, with extra features
                          (used by mozXMLTerminal)
 
mozIXMLTermShell.h      Scriptable XPCOM/XPCONNECT interface to XMLterm
                          (used by the Javascript glue code in the XMLterm
                           start page at ../ui/content/xmlterm.html)

mozIXMLTerminal.h       XPCOM interface to XMLterm
                          (used by mozXMLTermShell, ../geckoterm/mozGeckoterm)

mozIXMLTermStream.h     XPCOM interface for displaying HTML/XML streams in
                          IFRAMES (used by mozXMLTermSession)


IMPLEMENTATIONS:


mozLineTerm.h
mozLineTermcpp             Implementation of mozILineTerm, mozILineTermAux
                             Uses LineTerm to access shell

mozXMLTermShell.h
mozXMLTermShell.cpp        Implementation of mozIXMLTermShell
                             Uses mozIXMLTerminal to create XMLterm

mozXMLTerminal.h
mozXMLTerminal.cpp         Implementation of mozIXMLTerminal,
                                             nsIDocumentLoaderObserver, and
                                             nsIObserver
                             Uses mozILineTermAux to create LineTerm
                             Uses mozXMLTermListeners to capture user input
                             Uses mozXMLTermSession to display input/output

mozXMLTermListeners.h
mozXMLTermListeners.cpp    Implementations of nsIDOMKeyListener,
                                              nsIDOMTextListener,
                                              nsIDOMMouseListener,
                                              nsIDOMDragListener

mozXMLTermStream.h
mozXMLTermStreamcpp        Implementation of mozIXMLTermStream


CLASSES:


mozXMLTermSession.h/cpp    Class to manage session input/output display
                             (used by mozXMLTerminal)
                             Uses mozIXMLTermStream to display streams

mozXMLTermUtils.h/cpp      Abstract class for static utility functions
                             (for use by all classes)

============================================================================
The following are dually licensed under MPL and GPL:

LineTerm package:

lineterm.h        Public interface to LineTerm

ltermPrivate.h    Private common header file

ltermManager.c    LineTerm manager
ltermIO.c         Overlapping I/O functions
ltermInput.c      Input handler
ltermOutput.c     Output handler
ltermEscape.c     Escape sequence handler

Low-level packages:

ptystream.h
ptystream.c       Stream-like interface to Unix pseudo-TTY

tracelog.h
tracelog.c        Simple tracing/logging diagnostic library

unistring.h
unistring.c       Simple Unicode manipulation library

============================================================================