Of all the gin joints in all the towns in all the world, Chris Frey had to 
walk into mine and say:

> On Wed, Jan 21, 2009 at 07:31:15PM -0800, Bill Paul wrote:
> > Anyway, this seems to have done the trick. I think you can safely remove
> > the debug code that was added previously. Thanks a lot everyone everyone
> > for your hard work.
>
> Thanks for the report!  I've reverted the experimental -c code.
>
> > Now if I can just get ppp(8) to handle those damn double quotes
> > properly...
>
> If you find out, please let me know, so I can add it to Barry's
> documentation.
>
> Thanks,
> - Chris

I finally figured it out. Apparently you have to quote the quote, and use 
backslashes to escape the quotes. So:

"

expands to:

\\"\"\\"

Yeah, I don't like it either.

Anyway, I did a quick write-up and put it at:

http://www.freebsd.org/~wpaul/bb/blackberry_freebsd.txt

Feel free to cut&paste whatever portions of this you want. The same directory 
also contains a copy of the ptyexec script and a copy of the ppp.conf file 
that I'm using on my laptop.

The one thing that's a little awkward is that ppp.conf has to specify the same 
pseudo-terminal device that ptyexec chooses to bind to pppob. Right now, the 
script just selects the first pty that's not already in use. I usually start 
the tethering as soon as I've booted my laptop (and before I launch X), so I 
know that ttyp0 will always be the terminal that's selected (nothing else is 
using any ptys yet). But if ptyexec selects a different pseudo-terminal, then 
ppp.conf must be changed to match.

-Bill

-- 
=============================================================================
-Bill Paul            (510) 749-2329 | Senior Engineer, Master of Unix-Fu
                 wp...@windriver.com | Wind River Systems
=============================================================================
   "I put a dollar in a change machine. Nothing changed." - George Carlin
=============================================================================


------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Barry-devel mailing list
Barry-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/barry-devel

Reply via email to