2001-01-24 00:31:17 +00:00
|
|
|
<sect2>
|
|
|
|
<title>Command explanations</title>
|
|
|
|
|
|
|
|
<para>
|
2001-01-31 00:59:28 +00:00
|
|
|
<userinput>sed "s/-ltermcap/-lncurses/" Makefile | make -f -:</userinput>
|
|
|
|
This will replace -ltermcap with -lncurses in the Makefile and pipe the
|
2001-01-24 00:31:17 +00:00
|
|
|
output of sed (the modified Makefile) directly to the make program. This
|
|
|
|
is an alternate and more efficient way to direct the output to a file
|
2001-01-31 00:59:28 +00:00
|
|
|
and tell make to use that alternate file. We do this because libtermcap
|
|
|
|
is declared obsolete in favour of libncurses.
|
2001-01-24 00:31:17 +00:00
|
|
|
</para>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|