home *** CD-ROM | disk | FTP | other *** search
- .pg wi full clr
-
- ■█│ │█■
- ╨─═ ═╨
- .gr reset
- /WALK R 2 13 "C O M M U N I C A T I O N S F U N C T I O N S" 100
- .ye reset
- /WALK R 2 13 " " 50
- /WALK L 2 61 "C O M M U N I C A T I O N S F U N C T I O N S" 100
- /cw
- »%t«DO»#« has a complete set of »ye«communications functions»#« which allow you
- to perform »wh«asynchronous ASCII communications»#«. These include »gr«DEC
- VT100 terminal emulation»#«.
-
- .pg
- »%t«DO»#« can communicate with most modems or over direct connections at speeds
- between »ye«300»#« and »ye«9600»#« characters per second (baud). It is not intended
- to provide you with complete telecommunications functionality. For
- example, »%t«DO»#« does not have a directory dialer (although you COULD write
- one using the script language).
-
- However, »%t«DO»#« can provide basic communications functions to extend
- the functionality of your scripts.
-
- .pg clr
- Since we do not know the capabilities of the system on which you
- are running this tutorial, it does »re«NOT»#« include a working communications
- demonstration. However, all communications functions are described
- and the script »gr«COMM.SCR»#« contains a functioning communications script.
-
- You will have to modify »gr«COMM.SCR»#« to fit your setup, however, it will
- provide basic communications functionality and demonstrate some
- of the features available in the »%t«DO»ye« script processor»#«.
- .pg clr
- »ma«BASICS OF »%t«DO»ma« COMMUNICATIONS»#«
- .wi 4 8 80 25
- All »%t«DO»#« communications scripts have the same basic requirements.
- the following statements are the minimum requirements to have
- a full-screen interactive communication session using »%t«DO»#«.
- »wh«
- /INITCOM . . .
- /TERM . . .
- /CLOSECOM
- »#«
- .pg clr
- »ye«/INITCOM . . .»#«
-
- The »%t«/INITCOM»#« command initializes the communications parameters
- and sets up the buffers used for communications. »wh«It must be
- executed »re«before»wh« any other communications command.»#«
-
- .pg clr
- »cy«/INITCOM . . .
- »ye«/TERM . . .»#«
-
- The »%t«/TERM»#« command starts the actual interactive session. Pressing
- »bo«<alt-X>»#« ends the terminal session.
-
- .pg clr
- »cy«/INITCOM . . .
- /TERM . . .
- »ye«/CLOSECOM»#«
-
- The »%t«/CLOSECOM»#« command »re«ends»#« the communications session and
- releases the communications buffers and other resources set
- up for the session.
-
- /ENDEXEC CLEAR
-