File: INSTALL

package info (click to toggle)
vtprint 2.0.2-13
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, jessie, jessie-kfreebsd, sid, stretch
  • size: 452 kB
  • ctags: 191
  • sloc: ansic: 1,122; sed: 733; makefile: 291; sh: 96
file content (80 lines) | stat: -rw-r--r-- 3,001 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
INSTALL --  Installation directions for vtprint 2.0
=======

I. What you need

    * an ANSI C compiler (vtprint won't compile without an ANSI C
      compiler, but "unprotoize" might solve this)

    * UNIX or similar system with one of termios, termio, or sgtty

    * about 10 minutes of your time to install vtprint


II. Before you compile

    * First, you'll need to edit the Makefile.  There are a number
      options, but you'll probably only want/need to change a few of
      them.

    * If your system uses something other than /dev/tty as the tty
      device, change DEVTTY and SEDDEVTTY.  (SED* defines are used
      only in building the man pages.)

    * If you want to place the vtprintcap file somewhere other than
      /usr/local/lib/vtprint/vtprintcap, please change the LIBFILE
      and SEDLIBFILE defines.

    * If you are installing vtprint for a whole system (you are the
      sysadmin), please check/edit the *_DIR destination directories
      and OWNER and GROUP defines (for file ownership).

    * If you are an ordinary user and want to install a *private* copy
      of vtprint, please check/edit the USR_* destination directories.

    * Check the CFLAGS and compiler section.  If your system is old and
      doesn't support POSIX termios, please either define SYSV_TERMIO
      or SGTTY in the CFLAGS.  (Depending on which your system has!)

    * If you wish to rebuild the man pages, please verify that the 
      commands given in MAN_* will produce correct output.

III. Compiling vtprint

    * If you run "make", a vtprint binary should be created.  (Some
      systems make get warning messages, those are probably normal.)

    * If you run "make test" from a station you think should/will work
      with vtprint, a test file should be printed.  Please read 
      "testfile" about this.

IV. Installing vtprint

    * If the above step worked, either do "make install" as "root", or
      do "make userinstall" to install a private copy of vtprint.

    * If you wish to rebuild man pages, you may attempt to do so by
      doing "make man".  (You need 'roff and sed to do this!)

    * Install the man pages by doing "make install.man" or
      "make userinstall.man"

    * Add any definitions you need to the "vtprintcap" file (forward
      your changes to garrett@sciences.sdsu.edu).

    * Read the man pages for vtprint, vtprintcap, and vtprtoff.

    * Use vtprint!

    * Write to "garrett@sciences.sdsu.edu" letting him now how it
      works!  You should fill out an entry for the COMPAT file using
      the template COMPAT.templ if your configuration doesn't already
      appear in the COMPAT file.

    * Enjoy!

=================================================================
Garrett D'Amore                 |     garrett@sciences.sdsu.edu
Student Programmer/Analyst      |     SDSU College of Sciences
SDSU Computer Science Major     |     Physics Bldg., Room 238
=================================================================