[285] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Re: Please help with RH 4.0 silly install problems

daemon@ATHENA.MIT.EDU (Kyle Ferrio)
Mon Oct 21 19:00:52 1996

Date: Mon, 21 Oct 1996 16:09:42 -0400 (EDT)
From: Kyle Ferrio <kbf@phy.duke.edu>
To: redhat-list@redhat.com
In-Reply-To: <199610211841.OAA10705@tristan.redhat.com>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com


On Mon, 21 Oct 1996, Michael K. Johnson wrote:

> On Sat, 19 Oct 1996, Kyle Ferrio wrote:
> > 5 Net Configurator encloses expect/send pairs that yo enter (for chat 
> >   scripts) in single quotes.  This might seem like a good idea, unless your
> >   password happens to include a single quote.  Tracking down where this
> >   info is stored (i.e., -not- in /usr/lib/ppp) was fun.  locate got a 
> >   workout.
> 
> Enter the ' as \' -- just as you would do if you were writing a chat
> script.  I *think* that will work.  I seem to remember testing the
> PPP setup in the new netcfg using a password with a ' in it, and it
> worked.
> 
> (It's debatable whether this is the right approach; however, I want to
> allow people to insert pauses and such with backslash sequences, so
> I couldn't just escape everything escapable in chat strings.)
> 
> michaelkjohnson

Thanks.  I thought about that, too, but didn't try it.  I realized I had 
already thought too hard, so I just edited chat-ppp0 by hand.  If I were 
really ambitious, I'd write a perl script to filter a string with any and 
all self-consistent escapes to expand into what the user typed, verbatim.
But not today. :)

Kyle Ferrio


--
  PLEASE read the Red Hat FAQ, Tips, HOWTO and the MAILING LIST ARCHIVES!
  ________________________________________________________________________
  http://www.redhat.com/RedHat-FAQ   http://www.redhat.com/RedHat-HOWTO 
  http://www.redhat.com/RedHat-Tips  http://www.redhat.com/mailing-lists
  ------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post