PAL CARD CATALOG ENTRY

SHORT DESCRIPTION

Window editor for integer,char,string


MOVEMENT WITHIN THE PAL CARD CATALOG
Move to top-level taxonomy
Move to keyword list

ASSET PROFILE

UNIT NAME
Window_Io_Package
VERSION
1
REVIEW CODE
C1 1.0 B
INET ADDRESS
sun1.disacim.osd.mil (134.152.9.140)
AUTHOR
U.S. Army Information System Engineering Command
Ft. Belvoir, VA 22060-5456
RIGHTS
Approved for Public Release; Distribution Unlimited
COPYRIGHT
None -- Public Domain.
DATE CREATED
February 5, 1990
DATE RELEASED
January 17, 1994
DATE LAST UPDATED
January 17, 1994
LOCATION
DSRS Library
PAL
ENVIRONMENT
DEC VAX/VMS with DEC Ada Compilation System (ACS)
LIMITATIONS
Not documented in PAL database
CERTIFICATION
Ada System Certifier_1 1.0
Date/Time of Processing: Wednesday 25 May       1994 02:42:54Pm
Overall Assessment of System: OK
Classification of System: B
Basis of Classification --
Syntax Errors                               PASS
Completeness                                PASS
Independence from External Libraries        FAIL
Independence from a Specific Ada Compiler   PASS

Explanations for failures --
System withs non-standard library units that are not provided

Number of ...
Files               4
Library Units       8
Lines            6786
Statements       1133
Comments         3623

Unidentified Withed Units --
2 unidentified withed units

FILE LISTING

Directory Display


languages/ada/swcomps/dsrs/windowio:
  File Name                 Size
  ---------                 ----
  windowio.zip            48,732

languages/ada/swcomps/dsrs/termio:
  File Name                 Size
  ---------                 ----
  termio.zip              44,570

languages/ada/swcomps/dsrs/immedio:
  File Name                 Size
  ---------                 ----
  immedio.zip             22,827

languages/ada/swcomps/dsrs/vmsutil:
  File Name                 Size
  ---------                 ----
  vmsutil.zip             13,718


Totals
  ==============  ==============
    4 Files              129,847

ABSTRACT

                               Window_Io_Package
                                   01D001OM.1
                               (Old ID: RID0007A)
PURPOSE/INTENDED USE:
Window_Io_Package is an Ada package providing operations for a
window-oriented editor that processes the world-related functions;
window-related functions; viewport-related functions; and integer,
character, and string I/O functions. 

EXAMPLE APPLICATIONS:
Reuse of Window_Io_Package would be appropriate for a window-oriented
editing  system.  Such a system may be used to set up a form with
protected windows for  keywords, and unprotected windows for user
inputs.  Cursor action would parse  the screen according to the
unprotected windows and expect a user input, or  accept a default value.

CERTIFICATION LEVEL:
Window_IO_Package is certified at Level 4.  This means that the Defense 
Information Systems Agency/Center for Information Management Software
Reuse  Program (SRP) management office has successfully compiled the
code of this  Reusable Software Asset (RSA) and measured
maintainability, portability,  reliability and reusability.  In
addition, this RSA includes a test suite and a  Reuser's Manual, which
will be provided when the asset is extracted. 
 
IMPLEMENTATION ISSUES:
Window_Io_Package depends on (withs) the Ada predefined package 
Unchecked_Deallocation, Terminal_Io_Package (01D001OD) and
Immediate_Io_Package (01D001OB).

No assets of Window_Io_Package can be used separately because of the 
dependencies of the subprograms upon the other package definitions and
upon the  capabilities of the other subprograms in the package.

HARDWARE/ENVIRONMENT CONSTRAINTS AND LIMITATIONS:
This package was compiled, linked, and tested on a DEC VAX/VMS machine
using the Ada Compilation System (ACS).

SUBUNITS:
Window_Io_Package has the following visible subunits, which are grouped
according to their functionality:

Window Position Manipulation:

   ">="                      Returns TRUE if the left line number is
                             greater than the right line number, or if
                             the line numbers are the same and the left
                             column is greater than or equal the right
                             column.
   "<"                       Returns TRUE if the left line number is less 
                             than the right line number, or if the line 
                             numbers are the same and the left column is
                             less than the right column.
   Refresh_Viewport          Puts each character in its screen relative
                             position in the viewport.
   Set_Position              Sets a desired cursor position in the window
                             object.
   Set_Position_And_Window   Sets a new desired cursor position in
                             the window object.

I/O Subprograms (Overloaded for Character I/O, String, I/O, and Integer
I/O):

   Get                       Gets a character from the user.
   Put                       Puts a character in the window for the user.
Window Scrolling:

   Scroll_Up                 Scrolls the window up without exceeding the
                             world bounds.
   Scroll_Down               Scrolls the window down without exceeding the
                             world bounds.
   
Window Specific Subprograms:

   Clear_Window_Object       Fills the world with blanks.
   Create_Window_Object      Creates a window description.
   Delete_Window             Deletes the window object by deallocating the
                             storage associated with the world.
   Highlight_Field           Highlights a window field on the screen.
   Clear_Physical_Screen     Clears the physical screen.

DSRS CLASSIFICATION:
availability:  extractable
certification level:  level_4
component type:  implementation
data representation:  private
environment:  mvii/vms/vaxada
function:  compare
function:  control
function:  create
function:  delete
function:  display
function:  edit
function:  get
function:  put
language:  ada
object:  window
originator:  rapid
unit type:  package

LEGAL RESTRICTIONS:
This RSA contains public domain data with unlimited rights for all
users.   Extraction is permitted to all authorized library users. This
software and its documentation are provided "as is" and without any
expressed or implied warranties whatsoever.  No warranties as to
performance, merchantability, or fitness for a particular purpose exist.

The user is advised to test the software thoroughly before relying on
it.  The user must assume the entire risk and liability of using this
software.  In no event shall any person or organization of people be
held responsible for any direct, indirect, consequential or
inconsequential damages or lost profits. 

MISCELLANEOUS:
The standard for Level 4 certification has recently been upgraded. This
asset is currently undergoing modification to meet the new Level 4
requirements. 


REVISION HISTORY

January 17, 1994 Version 1 Original submission to PAL


RELEASE NOTICE

This prologue must be included in all copies of this software.
Restrictions on use or distribution:  NONE

LEGAL RESTRICTIONS:
This RSA contains public domain data with unlimited rights for all
users.   Extraction is permitted to all authorized library users. This
software and its documentation are provided "as is" and without any
expressed or implied warranties whatsoever.  No warranties as to
performance, merchantability, or fitness for a particular purpose exist.


DISCLAIMER

 This software and its documentation are provided "AS IS" and
without any expressed or implied warranties whatsoever.  No warranties
as to performance, merchantability, or fitness for a particular
purpose exist. 
 The user is advised to test the software thoroughly before
relying on it.  The user must assume the entire risk and liability of
using this software.  In no event shall any person or organization of
people be held responsible for any direct, indirect, consequential or
inconsequential damages or lost profits.