Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 01 May 1998 23:16:24 +0100
From:      Brian Somers <brian@Awfulhak.org>
To:        George Vagner <vagner@spdc.ti.com>
Cc:        questions@FreeBSD.ORG
Subject:   Re: commands 
Message-ID:  <199805012216.XAA16902@awfulhak.org>
In-Reply-To: Your message of "Fri, 01 May 1998 05:14:35 CDT." <199805011014.FAA11290@epcot.spdc.ti.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
> where can I learn about those neet commands on the "set login" line?
> 
> i am still trying to figure out the "\"\ \ "\ thingy  hehe..
> 
> thanks

I think the best examples are in the man page:

[.....]
        set dial chat-script
[.....]
           For example (wrapped for readability);

                 set login "TIMEOUT 5 \"\" \"\" login:--login: ppp \
                 word: ppp \"!sh \\\\-c \\\"echo \\\\-n label: >&2\\\"\" \
                 \"!/bin/echo in\" HELLO"
[.....]

And if you think that's confusing, take a look at the ppp.8 source:

.Pp
For example (wrapped for readability);
.Bd -literal -offset indent
set login "TIMEOUT 5 \\"\\" \\"\\" login:--login: ppp \e
word: ppp \\"!sh \\\\\\\\-c \\\\\\"echo \\\\\\\\-n label: >&2\\\\\\"\\" \e
\\"!/bin/echo in\\" HELLO"
.Ed 


-- 
Brian <brian@Awfulhak.org>, <brian@FreeBSD.org>, <brian@OpenBSD.org>
      <http://www.Awfulhak.org>;
Don't _EVER_ lose your sense of humour....



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199805012216.XAA16902>