| 1 |
|
| 2 |
INSTALLATION |
| 3 |
|
| 4 |
The Makefile apparently requires GNU Make; if you have some other Make |
| 5 |
program, you'll need to edit it by hand - or install GNU Make, of course. |
| 6 |
|
| 7 |
vi Makefile |
| 8 |
make |
| 9 |
make install |
| 10 |
|
| 11 |
Or, if your distribution already contains detachtty: |
| 12 |
|
| 13 |
- on Debian, Ubuntu and other GNU/Linux systems that use ".deb" packages, |
| 14 |
"apt-get install detachtty" will download and install it |
| 15 |
- on RedHat, Fedora, CentOS and other GNU/Linux systems that use ".rpm" packages, |
| 16 |
"yum install detachtty" will download and install it |
| 17 |
|
| 18 |
|
| 19 |
PORTING |
| 20 |
|
| 21 |
detachtty is tested primarily on GNU/Linux boxes. It should work on |
| 22 |
- anything with a forkpty() call |
| 23 |
- anything with an openpty() call that the code in forkpty.c will run on |
| 24 |
but you may need to tune things |
| 25 |
|
| 26 |
(1) Look at the Makefile. Alter OS_CFLAGS, OS_LOADLIBES, OS_OBJECTS |
| 27 |
as necessary. |
| 28 |
|
| 29 |
(2) If that's insufficient (e.g. you need more header files), |
| 30 |
add the necessary stanzas to config.h and return to step 1 |
| 31 |
|
| 32 |
(3) If that's still insufficent, do something else reasonably tasteful |
| 33 |
(Note from original author Daniel Barlow: NB: auto* is _not_ reasonably tasteful) |
| 34 |
|
| 35 |
(4) Send your patch (or as last resort, your problem) to the maintainer. |
| 36 |
The preferred channel is to open a github issue at |
| 37 |
https://github.com/cosmos72/detachtty/issues |