Implementation Notes for C-Kermit for CMU-OpenVMS/IP and CMU-OpenVMS/IP LIBCMU BSD Socket Library These notes apply to C-Kermit v5a(189) and later. Comments to: Mike O'Malley Digital Equipment Corporation Mike.OMalley@aqo.mts.dec.com or mlomall@sandia.GOV THE INFORMATION IN THIS NOTE IS SUBJECT TO CHANGE WITHOUT NOTICE. THESE NOTES SHOULD NOT BE CONSTRUED AS SUGGESTIONS OF, OR A COMMITMENT BY, DIGITAL EQUIPMENT CORPORATION. VAXC Header files This distribution contains replacement C header files for use with the VAXC v3.1 and later compiler. These header files contain information found in header files on most UNIX systems, in fact some of the header files have been copied from UNIX systems. The header files should be extracted from the LIBCMU package to the directory SYS$COMMON:[SYSLIB]. The file protection should be set to s:RWED, o:RWED, g:RWED, w:RE. Because other VAXC header files use the include syntax "#include types", causing the include file to be extracted from the text library SYS$LIBRARY:VAXCDEF.TLB, these replacement modules should be replaced in the header text library using the following commands: $ SET DEF SYS$COMMON:[SYSLIB] $ COPY VAXCDEF.TLB VAXCDEF.TLB_ORIGINAL $ LIBRARY/REPLACE/TEXT VAXCDEF.TLB TYPES.H,TIME.H,SOCKET.H VMS MAKE and the CKVKER.MAK file. The CKVKER.MAK makefile, supplied with the C-Kermit distribution, has all the appropriate logic to build the CMU-OpenVMS/IP version. The CKVKER.MAK makefile is intended for use with the VMS-MAKE utility. VMS-Make can be found on the kermit.columbia.edu anonymous ftp file server. The make procedure determines that the CMU version is to be built by locating the object library LIBCMU.OLB. The default library file specification used is CMUIP_ROOT:[SYSLIB]LIBCMU.OLB. The logical name LIBCMU may be use to modify all or part of the library file specification (e.g. $ DEFINE LIBCMU UD:[MYDIR.LIBCMU]). Using the OpenVMS Debugger and LIBCMU Socket Library Included in the LIBCMU distribution is a DEBUG version of the LIBCMU object library (LIBCMU_DEBUG.OLB). If the resultant image file is linked with this object module the LIBCMU source code can be displayed in the debugger using the debug command: DBG> SET SOURCE DIRECTORY dev:[directory] Where `dev:[directory]' is the device and directory where the LIBCMU.C source module can be found. As an additional example, to set a breakpoint at the LIBCMU `socket' routine use the following debugger commands: DBG> SET SOURCE UD:[MYDIR.LIBCMU] DBG> SET MODULE LIBCMU DBG> SET BREAK socket DBG> GO