home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 18 REXX
/
18-REXX.zip
/
duc10.zip
/
ducppp.cmd
< prev
next >
Wrap
OS/2 REXX Batch file
|
2002-12-31
|
449b
|
24 lines
/*
* Scaffold for PPP termination handling (ducppp.cmd)
*
* Starts PPP and makes sure termination is registered in all cases.
*/
parse arg connection ppp_args
/* Set queue to one named for this connection */
call RXQueue 'Set', connection'Queue'
/* Invoke PPP with passed parms piping stdout to connection queue */
'@ppp' ppp_args '| RXQueue' connection'Queue'
/* Indicate PPP ended on queue */
queue '[ENDED]'