home *** CD-ROM | disk | FTP | other *** search
/ Programmer's ROM - The Computer Language Library / programmersrom.iso / ada / misc / sdepdg.pro < prev    next >
Encoding:
Text File  |  1988-05-03  |  4.1 KB  |  83 lines

  1.  
  2. -------- SIMTEL20 Ada Software Repository Prologue ------------
  3. --                                                           -*
  4. -- Unit name    : SYSDEP
  5. -- Version      : 1.0
  6. -- Author       : Stewart French, Richard Powers, Richard Conn
  7. --              : Texas Instruments
  8. --              : PO Box 801, MS 8007
  9. --              : McKinney, TX  75069
  10. -- DDN Address  : RCONN at SIMTEL20
  11. -- Copyright    : (c) 1985 Richard Conn
  12. -- Date created :  21 Jan 85
  13. -- Release date :  21 Jan 85
  14. -- Last update  :  21 Jan 85
  15. -- Machine/System Compiled/Run on : DG MV 10000, ROLM ADE
  16. --                                                           -*
  17. ---------------------------------------------------------------
  18. --                                                           -*
  19. -- Keywords     :  SYSTEM
  20. ----------------:  SYSTEM-DEPENDENCIES
  21. --
  22. -- Abstract     :  SYSDEP - System Dependency Package
  23. ----------------:  
  24. ----------------:  SYSDEP provides GET, PUT, and IS_VALID_CHARACTER
  25. ----------------:  as basic I/O routines which are defined as follows:
  26. ----------------:
  27. ----------------:  GET  - return the next character from the console
  28. ----------------:  without any interpretation (all 128 ASCII characters
  29. ----------------:  may be input with exceptions as noted by IS_VALID_CHARACTER)
  30. ----------------:  and without echo (echo must be supplied by the user)
  31. ----------------:
  32. ----------------:  PUT  - output the indicated character without interpretation
  33. ----------------:  (any valid character, noted by IS_VALID_CHARACTER, may be
  34. ----------------:  output by PUT
  35. ----------------:
  36. ----------------:  This simple pair of defined functions permits a more
  37. ----------------:  flexible and constant I/O configuration than that
  38. ----------------:  provided by TEXT_IO and opens up the door to future
  39. ----------------:  tools written in Ada, such as communications servers.
  40. ----------------:  Adaption of SYSDEP to interface thru CAIS definitions,
  41. ----------------:  when such definitions are established and placed in use,
  42. ----------------:  can be done at a later time.  OPEN_CONSOLE and CLOSE_CONSOLE
  43. ----------------:  must be called before the first use of PUT or GET and after
  44. ----------------:  the last use of PUT or GET, resp.
  45. ----------------:  
  46. --                                                           -*
  47. ------------------ Revision history ---------------------------
  48. --                                                           -*
  49. -- DATE         VERSION    AUTHOR                  HISTORY
  50. -- 1/21/85      1.0    Richard Conn        Initial Release
  51. --                                                           -*
  52. ------------------ Distribution and Copyright -----------------
  53. --                                                           -*
  54. -- This prologue must be included in all copies of this software.
  55. --
  56. -- This software is copyright by the author.
  57. --
  58. -- This software is released to the Ada community.
  59. -- This software is released to the Public Domain (note:
  60. --   software released to the Public Domain is not subject
  61. --   to copyright protection).
  62. -- Restrictions on use or distribution:  NONE
  63. --                                                           -*
  64. ------------------ Disclaimer ---------------------------------
  65. --                                                           -*
  66. -- This software and its documentation are provided "AS IS" and
  67. -- without any expressed or implied warranties whatsoever.
  68. -- No warranties as to performance, merchantability, or fitness
  69. -- for a particular purpose exist.
  70. --
  71. -- Because of the diversity of conditions and hardware under
  72. -- which this software may be used, no warranty of fitness for
  73. -- a particular purpose is offered.  The user is advised to
  74. -- test the software thoroughly before relying on it.  The user
  75. -- must assume the entire risk and liability of using this
  76. -- software.
  77. --
  78. -- In no event shall any person or organization of people be
  79. -- held responsible for any direct, indirect, consequential
  80. -- or inconsequential damages or lost profits.
  81. --                                                           -*
  82. -------------------END-PROLOGUE--------------------------------
  83.