This program is compiled for 80486 (or higher) processors for Windows
95, 98, NT, ME and 2000. It is a win32 console program (no windows GUI) that
supports long filenames. Also filenames can be any case and the directory 
separator can be either '/' or '\' (it gets forced to '/' within cscope) and
there is no "8.3" dos filename convention imposed. However, due to problems 
reading in references, it is advisable not to use "full" pathnames that 
include spaces, as cscope cannot handle this.

The -q (quick search) option does not work due to unresolved problems
with the sort command.

The "Change this grep pattern:" is not implemented due to problems with the 
ed command.

The curses library has been replaced with Public Domain Curses
(http://www.lightlink.com/hessling/PDCurses). You need the pdcurses and win32
subdirectories plus the header files. You will need to edit the win32/pdckbd.c
file to remove code which causes ctrl, shift and alt keys to not work. This
is in PDC_get_bios_key after having got a win32 character. Add the #if 0 and 
the #endif.

#if 0
            switch(save_ip.Event.KeyEvent.wVirtualKeyCode)
            {
               case 16: /* shift */
                  return KEY_SHIFT_R;
                  break;
               case 17: /* control */
                  if (save_ip.Event.KeyEvent.dwControlKeyState & LEFT_CTRL_PRESSED)
                     return KEY_CONTROL_L;
                  else
                     return KEY_CONTROL_R;
                  break;
               case 18: /* alt */
                  if (save_ip.Event.KeyEvent.dwControlKeyState & LEFT_ALT_PRESSED)
                     return KEY_ALT_L;
                  else
                     return KEY_ALT_R;
                  break;
               default:
                  break;
            }
#endif

You need Microsoft Visual C++ version 6.0 to compile PDcurses and cscope.

For PDcurses, create a new blank workspace for a win32 library followed by
a new blank project. Add the source files into the project, set the 
preprocessor definition PDC_STATIC_BUILD and include the path to the 
PDcurses source directory containing the curses.h file.

For cscope, create a new blank workspace for a win32 console application 
followed by a new blank project. Insert the existing PDcurses project into 
this workspace and add the source files into the cscope project. 
Set the following preprocessor definitions: VOID_PROTOTYPE, USING_PD_CURSES, 
FOR_WIN32 and MULTILINGUAL (the latter only if you want the multi-lingual 
capabilities of mlcscope). Also include the path to the PDcurses source 
directory containing the curses.h file. The cscope project needs to be 
dependent on the PDcurses project.

You must run lex on UNIX to generate the scanner.c file. Note this must be a 
Solaris 5.5.1 machine not Solaris 5.6 or higher.

You must run flex on UNIX to generate the cscanner.c, jscanner.c and 
sscanner.c files for mlcscope. This can be on any machine.

Copy the standard includes into C:\Usr\Include and you will find that that
cscope will find files in /usr/include as on UNIX.

Cscope does not come with an editor and the standard MS-DOS editor
does not understand the +linenumber convention like VI or EMACS.
Versions of both VI and EMACS are available for MS-DOS elsewhere.

As this is a Windows program, you can also specify a Windows program
as the editor.  For instance:

	set EDITOR=C:\winemacs\mewinnt.exe
	cscope
		...

This will use this freeware editor (an emacs clone) which also happens
to understand the +linenumber convention.

Changes needed for going from the UNIX version to Windows Console
are marked in the code with #ifdef FOR_WIN32

