[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: chat script & ppp



Well, I'm a newbie too, but my first guess would be to try "ervice\>" to
escape the redirection, as below:

 /usr/sbin/chat -v -t 45 "" ATZ OK ATDT<phone-number> \
        CONNECT "" ername: <my login name> ssword: <my password> ervice\> ppp

-Bob

On  2 Apr 98 at 9:33,  "Jas" <dhaliwal pathcom com> wrote:

> Hello
> 
> First thanks to all for suggestions...they have been helpful...
> 
> However, on closer examination my ISP requires that I login with a username, 
> password, and enable ppp explicitly...as shown from a minicom.cap file
> 
> username: <me>
> password: <my password>
> service>  ppp
> 
> I was wondering how to incorporate that last line in a script without having it 
> output results to a file called "ppp"
> 
> My current script is
> 
> /usr/sbin/chat -v -t 45 "" ATZ OK ATDT<phone-number> \
>        CONNECT "" ername: <my login name> ssword: <my password>
> 
> I tried this (dont laugh...its a newbie mistake! ;-)  which just outputs to a 
> file "ppp".
> 
> /usr/sbin/chat -v -t 45 "" ATZ OK ATDT<phone-number> \
>        CONNECT "" ername: <my login name> ssword: <my password>  ervice> ppp
> 
> My problem is the prompt for service is a  ">" not a ":"
> How can I get it to take the character ">" and not think its a redirection?
> 
> Any assistance would, as always, be appreciated... :-)
> 
> 
> Regards
> Jas
> 
> ---------------------------------------------------------------------------
> Thought for the day:-
> 
>   Government is an association of men who do violence to the rest of us.   
>          -- Leo Tolstoy 
> *The Kingdom of God is Within You,* 1893   
> 
> ---------------------------------------------------------------------------
> 
> 
> -- 
>   PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
> http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
>          To unsubscribe: mail redhat-install-list-request redhat com
>                      with "unsubscribe" as the Subject.
> 
> 	Problems should be addressed to <listmaster redhat com>.
> 
> 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]