Hello, Sometimes I don't like to install the ports tree to search for packages, because I know what I want to install. But I don't know the exact package name.
I've done a little script to get the index.txt from the ftp (or do a ls *.tgz) and the search with regex in package names. Example: $ pkg_find ^vim packages.lst not found, downloading from: ftp.openbsd.org/pub/OpenBSD/3.8/packages/i386 Trying index.txt... Done! vim-6.3.85p0-gtk.tgz vim-6.3.85p0-no_x11.tgz vim-lang-6.3.85-gtk.tgz vim-lang-6.3.85-no_x11.tgz 4 packages match... $ pkg_find ^vim-6.*-no_x11 vim-6.3.85p0-no_x11.tgz Install it? n OK, may be later. If you answer yes being root, it performs a pkg_add -r. It's a 15 mins hack, but may be someone finds it useful. The shell script: http://blackshell.usebox.net/pub/shell/pkg_find.gz I bet there are more elaborated solutions out there, but this silly script does the work for me. regards, Juanjo -- Desarrollo y sistemas: http://www.usebox.net/ Pagina Personal: http://www.usebox.net/jjm/