summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/ppp.8.m4
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1998-10-27 22:53:22 +0000
committerbrian <brian@FreeBSD.org>1998-10-27 22:53:22 +0000
commit4e483e71e2e95ad274f3a88b0cc7cdf1d5290bc5 (patch)
tree1fee5c906f35334ee2892371474e20579f6e1608 /usr.sbin/ppp/ppp.8.m4
parent2b23dbce042044ec20c571600164b14b7d6d6543 (diff)
downloadFreeBSD-src-4e483e71e2e95ad274f3a88b0cc7cdf1d5290bc5.zip
FreeBSD-src-4e483e71e2e95ad274f3a88b0cc7cdf1d5290bc5.tar.gz
Add ``set proctitle'' for changing argv[0]. All substitutions
are done in the same way as command execution. For example, ``set proctitle USER INTERFACE PROCESSID'' would be useful in a -direct profile for identifying who's connected.
Diffstat (limited to 'usr.sbin/ppp/ppp.8.m4')
-rw-r--r--usr.sbin/ppp/ppp.8.m417
1 files changed, 16 insertions, 1 deletions
diff --git a/usr.sbin/ppp/ppp.8.m4 b/usr.sbin/ppp/ppp.8.m4
index ddd3cf0..e868941 100644
--- a/usr.sbin/ppp/ppp.8.m4
+++ b/usr.sbin/ppp/ppp.8.m4
@@ -1,4 +1,4 @@
-.\" $Id: ppp.8,v 1.130 1998/10/27 22:53:18 brian Exp $
+.\" $Id: ppp.8,v 1.131 1998/10/27 22:53:19 brian Exp $
.Dd 20 September 1995
.Os FreeBSD
.Dt PPP 8
@@ -2389,6 +2389,10 @@ CHAP. Normally, this variable is assigned only in -direct mode. This value
is available irrespective of whether utmp logging is enabled.
.El
.Pp
+These substitutions are also done by the
+.Dq set proctitle
+command.
+.Pp
If you wish to pause
.Nm
while the command executes, use the
@@ -3319,6 +3323,17 @@ the maximum number of times specified by
below. In
.Fl background
mode, each number is attempted at most once.
+.It set [proc]title Op Ar value
+The current process title as displayed by
+.Xr ps 1
+is changed according to
+.Ar value .
+If
+.Ar value
+is not specified, the original process title is restored. All the
+word replacements done by the shell commands (see the
+.Dq bg
+command above) are done here too.
.It set reconnect Ar timeout ntries
Should the line drop unexpectedly (due to loss of CD or LQR
failure), a connection will be re-established after the given
OpenPOWER on IntegriCloud