File: README

package info (click to toggle)
sudoku 1.0.5-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 344 kB
  • ctags: 373
  • sloc: ansic: 3,483; makefile: 49
file content (66 lines) | stat: -rwxr-xr-x 2,495 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
LICENSE: This work has been placed into the Public Domain by Michael
Kennett (July 2005), and may be freely used by anybody for any purpose
whatsoever. No warranty, of any kind, applies to this work.

** Sudoku Installation Notes (Unix/Minix)

As the root user, or with the appropriate permissions, type:

    $ make install

This will compile and install the sudoku program into /usr/bin,
install the manpage into /usr/man/man6, and the template file
into /usr/share/sudoku. It is necessary to edit the Makefile if
you want to install the program into a different location, or
on some systems, to set an alternative path for the man page.

Dependencies:
Sudoku depends on curses library. For Windows the win32 folder contains
the necessary source files.

On Linux, the courses library is needed.
Home page: http://invisible-island.net/ncurses/ncurses.html
Currently it can be 'apt-get install'-ed as libncurses5 or
libncurses5-dev.

Other possible way of getting it is to install the CDK.
CDK stands for "Curses Development Kit", and CDK sits
on top of the curses library. This package contains the
header files and development libraries for the CDK library.
(Home page: http://invisible-island.net/cdk/)

Under Minix it is recommended that /etc/termcap be edited to
add 'bell' capability (see termcap(5)). This can be done by
adding a record for 'bl' in the minix console entry:

    mx|minix|minix console:\
        :am:xn:bs:\
        :co#80:li#25:\
        :bl=^G:\                       <<<< ADD THIS
        :is=\E[0m:\
        :cd=\E[0J:cl=\E[H\E[0J:\
    [etc...]

** Sudoku Installation Notes (Windows)

The source distribution provides Microsoft Visual Studio (v6) project
files, along with a simple NMAKE makefile suitable for the Microsoft
compilers. The distribution does not include makefiles for other
compilers (e.g. Borland, Open Watcom, etc...), but you should have no
difficulty in using these compilers.

The Microsoft Visual Studio files are contained in the VC6 subdirectory,
and the workspace file is VC6\sudoku.dsw. Open the workspace, and compile
the project. There is an updated workspace in the VC2012 directory, and
another makefile in MinGW folder for compiling with MinGW.

Alternatively, from the command line, enter:

    > nmake /f Makefile.msc

to build the program.

Note that there is no install script for the Windows distribution, and
the program is configured to search for the template file, at runtime,
in the current working directory of the process.