Open Object Rexx in NetBSD - MakeBSDIndexes.rexxCreated - May 16, 2007 | Modified - Sep 20, 2007 P2O2 WWW Homepage -> Open Object Rexx in NetBSD -> MakeBSDIndexes.rexx ooRexx Sources and LinksOpen Object Rexx must be compiled from sources provided by Open Object Rexx (ooRexx) website [1]. How to do it in NetBSD is explained on ooRexx Compilation page [2].
[1] Open Object Rexx Downloads
All Files Enabling Searching Localy *BSD FTP Indexes
ATTENTION
Setting make_bsd_index_files.rexx
/*---------------------------------------------------------+
| Setting variables |
+---------------------------------------------------------*/
/*---------------------------------------------------------+
| Setting index file directory |
+---------------------------------------------------------*/
homPath = "/home/lnbsd"
bsdPath = homPath"/lnbsd/dict.db/dict.bsd/"
PkgLen = 40 /* Application name span length */
/* displayed on screen */
That's all. Nothing else has to be changed in the rexx script. PkgLen defines a gap between package (application) name and its description. Some file names e.g. within p5-* scope have widths of nearly 60 characters.
Setting bsd_wget_index_files.sh
echo
echo "=========================================================="
echo "= ="
echo "= ...running bsd_wget_index_files.sh... ="
echo "= ="
echo "=========================================================="
echo
# change directory
#
cd ~/data/rexx/wget-bsd
Setting np_lb Search EngineSetting Infobase Directory
# Please set your target directory!!!
# ===================================
#
lb_dir=~/lnbsd/locate/lb
Usage Information
echo
echo ">>> grep on FreeBSD, NetBSD, OpenBSD pkgs <<<"
echo "============================================="
echo "np_lb, np_lb h, np_lb -h = this help message"
echo
echo " np_lb a x, np_lb -a x = search AllBSD"
echo " np_lb f x, np_lb -f x = search FreeBSD"
echo " np_lb n x, np_lb -f x = search NetBSD"
echo " np_lb o x, np_lb -o x = search OpenBSD"
echo
echo "Example (The GMT package): np_lb a gmt"
echo
echo "You can use ^ character at the beginning"
echo "of the x word: np_lb a ^gmt"
echo "============================================="
echo
P2O2 Screenshots
Download Files
1.) lnbsd.bsd.tar.gz - all files described above are included
|
|
Przemysław Pawełczyk - Cracow, Poland [Static website generated with Rexx scripts in NetBSD]