echo "Setting up NComm: assignment ..."
assign NComm:
assign NComm: ""

makedir ram:NCommTemp                ;Make a temporary directory
failat 100

copy libs/#? ram:NCommTemp ;Copy to temporary dir

makedir ram:NCommTemp/fonts

copy fonts/#? ram:NCommTemp/fonts ALL
                                     ;Change Directory to temp
cd ram:NCommTemp

echo "Installing XPRZmodem.library in libs: ..."
copy xprzmodem.library libs:

echo "Installing XPRKermit.library in libs: ..."
copy xprkermit.library libs:

echo "Installing Req.library in libs: ..."
copy req.library libs:

echo "Installing Rybakken IBM fonts in fonts: ..."
echo "(if the makedir fails, the directories already exist)"

copy ram:NCommTemp/fonts/#? fonts: ALL

cd NComm:
delete >NIL: ram:NCommTemp ALL       ;Delete temporary dir and files

echo "All done. You may have to reset your machine if an"
echo "old version of req.library is already in memory..."
endcli                               ;Needed for XIcon
