Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Sep 1996 20:53:02 +1000 (EST)
From:      Carey Nairn <cp_nairn@its.utas.edu.au>
To:        Gary Chrysler <tcg@ime.net>
Cc:        FreeBSD-Questions <questions@freebsd.org>
Subject:   Re: ppp login script..
Message-ID:  <Pine.BSI.3.93.960907205204.8457B-100000@krondor.cpn.org.au>
In-Reply-To: <3230A9AF.2563@ime.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 6 Sep 1996, Gary Chrysler wrote:

> I'm trying to help Eka Kelana <park@manado.wasantara.net.id> out
> and I'm unsure of how to handle a '>' prompt in the login script.
> Does it need to be escaped?? ie: \>
> 
> The login prompts are:
> 	Login: username
> 	Password: password
> 	> ppp
> 
> Is this about right??
> set login "TIMEOUT 10 ogin:-\\r-ogin: UUUUUUUU word: PPPPPPPP \> ppp"
> 
> The main concernd here is the `\> ppp`.
> 
> Thanks folx..
> 
> -Enjoy
> Gary
> ~~~~~~~~~~~~~~~~
> Improve America's Knowledge... Share yours
> The Borg... Where minds meet
> (207) 929-3848
> 
>

Just checked my script (which waits for a ">" prompt.  No need to escape
the character. 

Cheers,
Carey

=========================================================================     
Carey Nairn                     ! email : Carey.Nairn@its.utas.edu.au
Infrastructure Services         ! phone : (002) 20 7419
Information Technology Services ! fax   : (002) 20 7898
University of Tasmania.         !
=========================================================================






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSI.3.93.960907205204.8457B-100000>