BB Unix Network Monitor - Message

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: {bb} BB on RedHat 5.1



Raed Nashef wrote:
> 
> Brothers,
> 
> It looks like mkbb.sh is acting weird on the RH 5.1 system I got here. I have BB
> installed in "/usr/local/src/bb/1.08/", the mkbb.sh script is reporting the
> following error:
> 
> --
> /usr/local/src/bb/1.08/web/mkbb.sh: /usr/local/src/bb/1: No such file or directory
> --
> 
> It looks like somehow mkbb.sh does not like the "." (dot in 1.08) in this path!
> It is truncating it!
> 
> Any ideas which command in the mkbb.sh is causing that??

If it's 1.08b, then in mkbb.sh there's some code that 
has the infamous OLDIFS=$IFS line.  Remove that block
of code as it is unnecessary and troublesome.

#
# SMM 1.09 - SOME MAY WANT TO PAGE ON PURPLE DISPLAYS...
# UNCOMMENT THIS IF BLOCK IF YOU DO ***BETA***
# UNDOCUMENTED CODE 411 - INFO...
        if test "$PAGER" != ""
        then
                OLDIFS=$IFS
                IFS='.'
                set $BBDISP >/dev/null 2>/dev/null
                IPADDR=${1}${2}${3}${4}
                $BB $BBPAGE "page 411${IPADDR} No report from $FNAME"
                IFS=$OLDIFS
        fi

Remove this offending code ...

bye,
-- 
Robert-Andre Croteau	BSD,MOTU	robert@unix.sh
Systemes Informatiques RAC Enrg		robert@motu.ca
(514) 465-3057				rcroteau@videotron.ca
http://www.motu.ca/
	Si le bonheur ne s'achete pas alors louez le.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  Please send mail for the mailing list to: bb@taex001.tamu.edu
  To [un]subscribe to this list, send e-mail to majordomo@taex001.tamu.edu
     with [un]subscribe bb in the BODY of the message.
  Please contact the mailing-list-owner as: bb-owner@taex001.tamu.edu


Home | Main Index | Thread Index