ppp.8.m4 (53733) | ppp.8.m4 (55246) |
---|---|
1.\" $FreeBSD: head/usr.sbin/ppp/ppp.8.m4 53733 1999-11-26 22:44:33Z brian $ | 1.\" $FreeBSD: head/usr.sbin/ppp/ppp.8.m4 55246 1999-12-29 22:31:10Z brian $ |
2.Dd 20 September 1995 3.nr XX \w'\fC00' 4.Os FreeBSD 5.Dt PPP 8 6.Sh NAME 7.Nm ppp 8.Nd Point to Point Protocol (a.k.a. user-ppp) 9.Sh SYNOPSIS --- 3871 unchanged lines hidden (view full) --- 3881and substituted as the expect or send string. If 3882.Nm 3883is running in interactive mode, file descriptor 3 is attached to 3884.Pa /dev/tty . 3885.Pp 3886For example (wrapped for readability); 3887.Bd -literal -offset indent 3888set login "TIMEOUT 5 \\"\\" \\"\\" login:--login: ppp \e | 2.Dd 20 September 1995 3.nr XX \w'\fC00' 4.Os FreeBSD 5.Dt PPP 8 6.Sh NAME 7.Nm ppp 8.Nd Point to Point Protocol (a.k.a. user-ppp) 9.Sh SYNOPSIS --- 3871 unchanged lines hidden (view full) --- 3881and substituted as the expect or send string. If 3882.Nm 3883is running in interactive mode, file descriptor 3 is attached to 3884.Pa /dev/tty . 3885.Pp 3886For example (wrapped for readability); 3887.Bd -literal -offset indent 3888set login "TIMEOUT 5 \\"\\" \\"\\" login:--login: ppp \e |
3889word: ppp \\"!sh \\\\\\\\-c \\\\\\"echo \\\\\\\\-n label: >&2\\\\\\"\\" \e | 3889word: ppp \\"!sh \\\\-c \\\\\\"echo \\\\-n label: >&2\\\\\\"\\" \e |
3890\\"!/bin/echo in\\" HELLO" 3891.Ed 3892.Pp 3893would result in the following chat sequence (output using the 3894.Sq set log local chat 3895command before dialing): 3896.Bd -literal -offset indent 3897Dial attempt 1 of 1 --- 983 unchanged lines hidden --- | 3890\\"!/bin/echo in\\" HELLO" 3891.Ed 3892.Pp 3893would result in the following chat sequence (output using the 3894.Sq set log local chat 3895command before dialing): 3896.Bd -literal -offset indent 3897Dial attempt 1 of 1 --- 983 unchanged lines hidden --- |