From owner-freebsd-questions Fri May 1 15:41:54 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA06794 for freebsd-questions-outgoing; Fri, 1 May 1998 15:41:54 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from awfulhak.org (awfulhak.demon.co.uk [158.152.17.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA06726 for ; Fri, 1 May 1998 15:41:42 -0700 (PDT) (envelope-from brian@Awfulhak.org) Received: from gate.lan.awfulhak.org (localhost [127.0.0.1]) by awfulhak.org (8.8.8/8.8.8) with ESMTP id XAA16902; Fri, 1 May 1998 23:16:24 +0100 (BST) (envelope-from brian@gate.lan.awfulhak.org) Message-Id: <199805012216.XAA16902@awfulhak.org> X-Mailer: exmh version 2.0.1 12/23/97 To: George Vagner cc: questions@FreeBSD.ORG Subject: Re: commands In-reply-to: Your message of "Fri, 01 May 1998 05:14:35 CDT." <199805011014.FAA11290@epcot.spdc.ti.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 01 May 1998 23:16:24 +0100 From: Brian Somers Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > 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 , , 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