home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Professional / OS2PRO194.ISO / os2 / prgramer / unix / emx / bsd / curses / doc / intro.0 < prev    next >
Encoding:
Text File  |  1991-04-17  |  3.3 KB  |  97 lines

  1. .\" Copyright (c) 1980 The Regents of the University of California.
  2. .\" All rights reserved.
  3. .\"
  4. .\" Redistribution and use in source and binary forms, with or without
  5. .\" modification, are permitted provided that the following conditions
  6. .\" are met:
  7. .\" 1. Redistributions of source code must retain the above copyright
  8. .\"    notice, this list of conditions and the following disclaimer.
  9. .\" 2. Redistributions in binary form must reproduce the above copyright
  10. .\"    notice, this list of conditions and the following disclaimer in the
  11. .\"    documentation and/or other materials provided with the distribution.
  12. .\" 3. All advertising materials mentioning features or use of this software
  13. .\"    must display the following acknowledgement:
  14. .\"    This product includes software developed by the University of
  15. .\"    California, Berkeley and its contributors.
  16. .\" 4. Neither the name of the University nor the names of its contributors
  17. .\"    may be used to endorse or promote products derived from this software
  18. .\"    without specific prior written permission.
  19. .\"
  20. .\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  21. .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  22. .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  23. .\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  24. .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  25. .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  26. .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  27. .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  28. .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  29. .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  30. .\" SUCH DAMAGE.
  31. .\"
  32. .\"    @(#)intro.0    6.3 (Berkeley) 4/17/91
  33. .\"
  34. .tp
  35. .(l C
  36. .ps 12
  37. .ft B
  38. Screen Updating and Cursor Movement Optimization:
  39. .fl
  40. A Library Package
  41. .ft
  42. .ps
  43. .sp
  44. .i "Kenneth C. R. C. Arnold"
  45. .sp
  46. Computer Science Division
  47. Department of Electrical Engineering and Computer Science
  48. University of California, Berkeley
  49. Berkeley, California  94720
  50. .sp 3
  51. .bi ABSTRACT
  52. .sp 2
  53. .)l
  54. .(q
  55. .pp
  56. This document describes a package of C library functions
  57. which allow the user to:
  58. .ie t .ip \ \ \ \(bu
  59. .el .ip 1)
  60. update a screen with reasonable optimization,
  61. .ie t .ip \ \ \ \(bu
  62. .el .ip 2)
  63. get input from the terminal
  64. in a screen-oriented fashion,
  65. and
  66. .ie t .ip \ \ \ \(bu
  67. .el .ip 3)
  68. independent from the above, move the cursor optimally
  69. from one point to another.
  70. .pp
  71. These routines all use the
  72. \*(tc \*(db to describe the capabilities of the terminal.
  73. .)q
  74. .b Acknowledgements
  75. .pp
  76. This package would not exist
  77. without the work of Bill Joy,
  78. who,
  79. in writing his editor,
  80. created the capability to generally describe terminals,
  81. wrote the routines which read this \*(db,
  82. and, most importantly,
  83. those which implement optimal cursor movement,
  84. which routines I have simply lifted nearly intact.
  85. Doug Merritt and Kurt Shoens also were extremely important,
  86. as were both willing to waste time listening to me rant and rave.
  87. The help and/or support of
  88. Ken Abrams,
  89. Alan Char,
  90. Mark Horton,
  91. and
  92. Joe Kalash,
  93. was, and is,
  94. also greatly appreciated.
  95. .sp 2
  96. Revised 16 April 1986
  97.