OS4 DepotLogo by DaveyD 
(anonymous IP: 3.144.43.194,2258) 
 HomeRecentStatsSearchSubmitUploadsMirrorsContactInfoDisclaimerConfigAdmin
 Menu

 Features
   Crashlogs
   Bug tracker
   Locale browser
 

 Categories

   o Audio (343)
   o Datatype (51)
   o Demo (203)
   o Development (602)
   o Document (24)
   o Driver (97)
   o Emulation (149)
   o Game (1011)
   o Graphics (500)
   o Library (118)
   o Network (234)
   o Office (66)
   o Utility (932)
   o Video (69)

Total files: 4399

Full index file
Recent index file

 Links

  Amigans.net
  OpenAmiga
  Aminet
  IntuitionBase


Support the site


 Readme for:  Utility » Shell » loggerwindow.lha

Loggerwindow

Description: LoggerWindow is a program to provide a logging win
Download: loggerwindow.lha       (TIPS: Use the right click menu if your browser takes you back here all the time)
Size: 48kb
Version: 0.1
Date: 01 Apr 2008
Author: Tom Breeden
Submitter: Tom Breeden
Email: tmb/virginia edu
Requirements: AOS 4 July release
Category: utility/shell
License: Other
Distribute: yes
Min OS Version: 4.0
FileID: 3583
 
Comments: 1
Snapshots: 0
Videos: 0
Downloads: 343  (Current version)
343  (Accumulated)
Votes: 0 (0/0)  (30 days/7 days)

Show comments Show snapshots Show videos Show content Show crashlogs Replace file 
                                 3/31/2008
--------------------
Program LoggerWindow   v0.1
--------------------
    LoggerWindow is a program to provide a logging window for multiple clients.

    It opens a console window and an Amiga named pipe. It monitors the named
pipe and
    displays whatever text arrives through the pipe onto the window.

    Use from the shell:     RUN LoggerWindow MyLoggerName

    Multiple writers can display their logging information by writing to, or
    redirecting a standard output to PIPE:MyLoggerName. e.g.,

                            DATE > PIPE:MyLoggerName

    Modula-2 programs can use LoggerDefs.WriteLoggerString().

    LoggerWindow also implements the "special text" commands:

       $QUIT$ for ending the LoggerWindow program. e.g.,

                            ECHO $QUIT$ > PIPE:MyLoggerName

       $FRONT$, $POS$x$y$, $SIZ$x$y$, $CLR$ for control of the display window.

    See Loggerdefs.def for more information.

    A0S4 support only.

-----------------
Module LoggerDefs    v1.3
-----------------
  M2 Module to provide support for a logging program.

  The logging channel is implemented by a named Amiga pipe.

  Use: Open the logging reader:   Reader := OpenLogger()
                                  ObtainLoggerPipe(Reader, LoggerRead, "MyName",
...)

       REPEAT

          Open a logging writer:
                 Writer := OpenLogger();
                 ObtainLoggerPipe(Writer, LoggerWrite, "MyName", ...)

          Do the desired logging:
                 WriteLoggerString(Writer, "string to be logged")
                 ...
                 ReadLoggerLine(Reader, ...)

          Close a logging writer:
                 CloseLogger(Writer)

       UNTIL finished

       Close the logging reader:
              CloseLogger(Writer)

  Note:  Because Amiga named pipes are system-wide, the reader and writer do not
have to be in the same process.

  A special text sequence, "$QUIT$" should be written in order to tell the
reading logger to shut down.

  A set of text based commands is defined for use when the reading logger is
displaying the incoming text in an Amiga window: e.g.,

      $FRONT$        - move the logging window to the front.
      $POS$x$y$      - position the LeftEdge and TopEdge of the logging window.
      $SIZE$w$h$     - set the Width and Height of the logging window.
      $CLR           - clear the logging window.

  Note:  This module does not implement any of the commands, it just provides
support for easily writing one of the commands, and for the reader to easily
test for an incoming command.

-------------
Module PipeIO      v0.2
-------------
   M2 Module for support in using Amiga Pipes.

   Currently, Reads and Writes are handled synchronously. Reads will block
   until data is available.

   You open a Pipe either as a reader or a writer. Expected use is as follows:

      Open a Reader
      LOOP
         Open one or more Writers
         Do the writing
         Close the Writer(s)
      END
      Close the Reader

   Other permutations may work or may cause trouble.

   If the last Reader closes and there is unread data in the pipe there may be
   trouble. At the least, the named pipe will become unusable until OS reboot.




Copyright © 2004-2024 by Björn Hagström All Rights Reserved