Instructions to compile screen-3.5.0 on IBM RT running AIX-2.2.1

0) Prerequisites: gzip and patch.

1) Get screen-3.5.0.tar.gz from you favorite ftp site for GNU softwares
(for example prep.ai.mit.edu:/pub/gnu).

2) Unarchive screen-3.5.0 and go into this directory.

3) Copy screen350.diff here.

4) Apply the patch (patch < screen350.diff)

5) Run Configure.

6) You need to edit config.h to set PTYRANGE1. Configure should have
detected automatically what pseudo-terminals are defined on your system
(probably pts0 to pts9, ie ttyp0 to ttyp9). BUT some of these pts 
are reserved for telnet access. To determine which ones are not available,
take a look at /etc/ports and note the number of the pts for which the stanza 
`enabled' is set to `true'. You must remove these numbers in the definition of
PTYRANGE1 in config.h (note that 10 is a, 11 is b, and so on). 
For example, let say that Configure has detected that you have ttyp0 to
ttyp9, ie PTYRANGE1 is set to "0123456789". Let suppose that pts0 to pts4
have enabled=true in /etc/port. Then you would have to modify the definition
of PTYRANGE1 to "56789". Easy isn't !


7) Follow the instructions in INSTALLATION.

Francois Normant (fn@mathappl.polymtl.ca).
