Re: perl program control -- wvdial

2003-03-05 Thread jdavis
On Wed, 2003-03-05 at 07:19, zentara wrote: > On 04 Mar 2003 22:58:20 -0700, [EMAIL PROTECTED] (Jdavis) wrote: > > >Hello, > > I am writing a script to help a user turn a modem > >on and off and adjust the routing tables on a > >Linux box. I am trying to call wvdial to do the dialing, > >but it

Re: perl program control -- wvdial

2003-03-05 Thread zentara
On 04 Mar 2003 22:58:20 -0700, [EMAIL PROTECTED] (Jdavis) wrote: >Hello, > I am writing a script to help a user turn a modem >on and off and adjust the routing tables on a >Linux box. I am trying to call wvdial to do the dialing, >but it does not give control back to my script. I call >it like s

Re: perl program control -- wvdial

2003-03-05 Thread Rob Dixon
Jdavis wrote: > Hello, > I am writing a script to help a user turn a modem > on and off and adjust the routing tables on a > Linux box. I am trying to call wvdial to do the dialing, > but it does not give control back to my script. I call > it like so > > if( $choice == 1){ > `wvdial`; > print "c

Re: perl program control -- wvdial

2003-03-05 Thread LaVei
Jdavis wrote: > > Hello, Hello! > if( $choice == 1){ > `wvdial`; > print "connected"; > } > > I also have tried.. > > if( $choice == 1){ > `wvdial&`; > } > > but nothing after `wvdial` gets ran. > could someone offer me some advice...please :) ? try: if( $choice == 1) {

perl program control -- wvdial

2003-03-04 Thread jdavis
Hello, I am writing a script to help a user turn a modem on and off and adjust the routing tables on a Linux box. I am trying to call wvdial to do the dialing, but it does not give control back to my script. I call it like so if( $choice == 1){ `wvdial`; print "connected"; } I