A little trick I do is this:

1. go to ftp.someopenbsdmirror.com/pub/OpenBSD/3.9/packages/i386 and "get" the
index.txt file.

2. create another file called "1" without the quotes with the following:

pkg_add -v ftp://ftp.someopenbsdmirror.com/pub/OpenBSD/3.9/packages/i386/\

3. Whenever you want to install something, open the index.txt file with vi and
find a package you want to install.  Move your cursor to that line and type yy
and the :e 1 <enter>.  Don't type <enter> just press the button.

4. Then type p

You should see something like this:

pkg_add -v ftp://ftp.someopenbsdmirror.com/pub/OpenBSD/3.9/packages/i386/\
somepackage-1.4.2.3.tgz

5. Then type :wq

6. Then type sh 1

Reply via email to