home *** CD-ROM | disk | FTP | other *** search
- ===============================================================================
- bsddev.doc emx 0.8f BSD LIBRARIES INFORMATION 03-Jan-1993
- ===============================================================================
-
- Table of Contents
- =================
-
- 1 Introduction
- 2 libbsd
- 3 curses
-
-
- 1 Introduction
- --------------
-
- BSD curses has been ported to emx by Kai Uwe Rommel.
-
- The emx C library is complemented by the BSD C library: The random()
- function is in libbsd.a and libbsd.lib.
-
-
- 2 libbsd
- --------
-
- libbsd.a and libbsd.lib contain the following functions:
-
- initstate()
- random()
- setstate()
- srandom()
-
- Use -lbsd to link with this library. You have to obey the BSD
- copyright rules, see /emx/dos/copying.bsd.
-
- You'll find manual pages in /emx/bsd/man.
-
-
- 3 curses
- --------
-
- The BSD curses library provides functions for updating screens. You
- have to obey the BSD copyright rules, see /emx/doc/copying.bsd. In
- addition to libcurse.a or libcurse.lib, you have to link with
- libtermc.a or libtermc.lib. For this library, you have to obey the
- GNU copyleft rules, see /emx/doc/copying.
-
- See /emx/bsd/man/curses.man for a short list of library functions.
- See the the files in /emx/bsd/curses/doc for a complete manual (you
- might want to use groff for formatting).
-
- Use `-lcurse -ltermc' for linking programs that use BSD curses. (If
- the -t emx option is set, you can use -lcurses -ltermcap.)
-
- Here's how to compile a sample program:
-
- cd \emx\test
- copy \emx\bsd\curses\doc\twinkle1.c
- [use an editor to remove the first 33 lines of twinkle1.c]
- gcc -o twinkle1.exe twinkle1.c -lcurse -ltermc
-
-
- Note: twinkle1.c is the only complete program in /emx/bsd/curses/doc.
-
- --------------------------- END OF BSDDEV.DOC ------------------------------
-