summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiels Provos <provos@cvs.openbsd.org>1999-10-17 16:27:48 +0000
committerNiels Provos <provos@cvs.openbsd.org>1999-10-17 16:27:48 +0000
commit078754326be36e0829aa1d34ed371b76cf37f66c (patch)
treebb47a9720100dbfa6a5ca3b1bce8c9d9e1a8079a
parent584d953cebc576682c38640dc67968c46c98d9a2 (diff)
explain about using pkg_add interactivly from within the ftp client
-rw-r--r--usr.sbin/pkg_install/add/pkg_add.122
1 files changed, 21 insertions, 1 deletions
diff --git a/usr.sbin/pkg_install/add/pkg_add.1 b/usr.sbin/pkg_install/add/pkg_add.1
index 361f1aec250..4d95facafb2 100644
--- a/usr.sbin/pkg_install/add/pkg_add.1
+++ b/usr.sbin/pkg_install/add/pkg_add.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pkg_add.1,v 1.12 1999/10/09 20:35:45 beck Exp $
+.\" $OpenBSD: pkg_add.1,v 1.13 1999/10/17 16:27:47 provos Exp $
.\"
.\" FreeBSD install - a package for the installation and maintainance
.\" of non-core utilities.
@@ -69,6 +69,26 @@ as a package name causes
.Nm
to read from the standard input.
.Pp
+Alternativly, it is possible to add packages interactivly from within
+the ftp client. For example, the following works:
+.Bd -literal
+ $ ftp ftp://ftp.openbsd.org/pub/OpenBSD/2.6/packages/i386
+ 250 CWD command successful
+ ftp> ls m*
+ 227 Entering Passive Mode (129,128,5,191,164,73)
+ 150 Opening ASCII mode data connection for m*.
+ m4-1.4.tgz
+ metamail-2.7.tgz
+ mh-6.8.4.tgz
+ mm-1.0.12.tgz
+ mpeg_lib-1.2.1.tgz
+ mpeg_play-2.4.tgz
+ mpg123-0.59q.tgz
+ mutt-0.95.7i.tgz
+ 226 Transfer complete.
+ ftp> get m4-1.4tgz "|pgk_add -v -"
+.Ed
+.Pp
.Sy Warning:
Since the
.Nm