From owner-freebsd-questions Fri May 1 17:23:41 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA25572 for freebsd-questions-outgoing; Fri, 1 May 1998 17:23:41 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from gatekeep.ti.com (gatekeep.ti.com [192.94.94.61]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA25548 for ; Fri, 1 May 1998 17:23:32 -0700 (PDT) (envelope-from vagner@spdc.ti.com) Received: from tilde.csc.ti.com ([157.170.1.149]) by gatekeep.ti.com (8.8.8) with ESMTP id TAA08889; Fri, 1 May 1998 19:22:57 -0500 (CDT) Received: from spdc.ti.com (ox.spdc.ti.com [192.226.26.51]) by tilde.csc.ti.com (8.8.8/8.8.8) with ESMTP id TAA02295; Fri, 1 May 1998 19:22:56 -0500 (CDT) Received: from epcot.spdc.ti.com (epcot [192.226.26.53]) by spdc.ti.com (8.8.5/8.8.5) with ESMTP id TAA18173; Fri, 1 May 1998 19:22:54 -0500 (CDT) Received: from vagnernt (dhcp22-158.spdc.ti.com [192.226.22.158]) by epcot.spdc.ti.com (8.8.8/8.8.8) with SMTP id TAA11336; Fri, 1 May 1998 19:22:54 -0500 (CDT) Date: Fri, 1 May 1998 19:22:54 -0500 (CDT) Message-Id: <199805020022.TAA11336@epcot.spdc.ti.com> X-Sender: vagner@epcot.spdc.ti.com X-Mailer: Windows Eudora Pro Version 2.1.2 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: Brian Somers From: George Vagner Subject: Re: commands Cc: questions@FreeBSD.ORG Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 11:16 PM 5/1/98 +0100, you wrote: >> 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 > so how in the &^#% can a normal user configure their login without knowing this cryptic symbolism? your telling me that anyone who wants to log into a provider has to send a message to questions so the guru's can debug their login script or the user has to learn the symbolisms. I think there has to be an easier way, this kind of cryptic trickery is just what turns people off about freebsd, it takes 3 phd's and 17 techs to figure out how to log into another computer! how do you expect "normal" people to figure this out on their own. i think the "expect" program has an easier way of doing things but what do i know i am just a user. > >-- >Brian , , > >Don't _EVER_ lose your sense of humour.... > > > > Laszlo Vagner Texas Instruments Email:kf7nn@ti.com FreeBSD The OS of choice. http://mutsgo.dyn.ml.org telnet://mutsgo.dyn.ml.org Pg. 598-5217 Wk. 995-4297 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message