home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sources / misc / 3973 < prev    next >
Encoding:
Text File  |  1992-09-15  |  27.0 KB  |  936 lines

  1. Newsgroups: comp.sources.misc
  2. Path: sparky!kent
  3. From: wht@n4hgf.Mt-Park.GA.US (Warren Tucker)
  4. Subject:  v32i081:  ecuman - Manual for ECU comm package rev 3.20, Part05/05
  5. Message-ID: <1992Sep15.165809.7772@sparky.imd.sterling.com>
  6. Followup-To: comp.sources.d
  7. X-Md4-Signature: 5e242a8f6e492c1945edd6d89e5be414
  8. Sender: kent@sparky.imd.sterling.com (Kent Landfield)
  9. Organization: Sterling Software
  10. References: <csm-v32i077=ecuman.115248@sparky.IMD.Sterling.COM>
  11. Date: Tue, 15 Sep 1992 16:58:09 GMT
  12. Approved: kent@sparky.imd.sterling.com
  13. Lines: 921
  14.  
  15. Submitted-by: wht@n4hgf.Mt-Park.GA.US (Warren Tucker)
  16. Posting-number: Volume 32, Issue 81
  17. Archive-name: ecuman/part05
  18. Environment: SCO,XENIX,ISC,SUNOS,SYSVR4,HDB,Curses
  19. Supersedes: ecuman: Volume 21, Issue 90-93
  20.  
  21. ---- Cut Here and feed the following to sh ----
  22. #!/bin/sh
  23. # this is ecuman320.05 (part 5 of ecuman320)
  24. # do not concatenate these parts, unpack them in order with /bin/sh
  25. # file doc/proc.man continued
  26. #
  27. if test ! -r _shar_seq_.tmp; then
  28.     echo 'Please unpack part 1 first!'
  29.     exit 1
  30. fi
  31. (read Scheck
  32.  if test "$Scheck" != 5; then
  33.     echo Please unpack part "$Scheck" next!
  34.     exit 1
  35.  else
  36.     exit 0
  37.  fi
  38. ) < _shar_seq_.tmp || exit 1
  39. if test ! -f _shar_wnt_.tmp; then
  40.     echo 'x - still skipping doc/proc.man'
  41. else
  42. echo 'x - continuing file doc/proc.man'
  43. sed 's/^X//' << 'SHAR_EOF' >> 'doc/proc.man' &&
  44. X    return/linefeed pairs.  If '-a' is omitted,    the file(s) are    transmitted
  45. X    without modification.  If '-l' is supplied,    then <label-str> specifies a
  46. X    string to display on the bottom of the file    transfer screen.  If '-l' is
  47. X    omitted, then <label_str> must also    be omitted.
  48. X
  49. X    Integer variable $i0 receives the exit status from the transfer. If    0,
  50. X    transfer was normal.  Note:    procedure execution IS terminated by a
  51. X    SIGINT to the spawned file transfer    process.  This is different than for
  52. X    versions prior to 3.10.  If    $i0 is set to -1, the file transfer program
  53. X    did    not begin.
  54. X
  55. X
  56. X
  57. X
  58. X
  59. X    Public Domain by wht@n4hgf                 9/10/92
  60. X
  61. X
  62. X
  63. X
  64. X
  65. X
  66. X
  67. X    ECU    Procedure Language                      68
  68. X
  69. X
  70. X
  71. X    Examples:
  72. X
  73. X    sx -al 'sending    log file' '/tmp/log.file'
  74. X    sx -
  75. X
  76. X
  77. X
  78. X    6.77  sy
  79. X
  80. X
  81. X    usage: sy [-a[l]] [<label-str>] <filelist-str>
  82. X
  83. X    This command invokes the YMODEM Batch (not to be confused with XMODEM-
  84. X    1K)    file transfer protocol to send one or more files.
  85. X
  86. X    If switch '-a' is supplied,    newlines are converted to carriage
  87. X    return/linefeed pairs.  If '-a' is omitted,    the file(s) are    transmitted
  88. X    without modification.  If '-l' is supplied,    then <label-str> specifies a
  89. X    string to display on the bottom of the file    transfer screen.  If '-l' is
  90. X    omitted, then <label_str> must also    be omitted.
  91. X
  92. X    Integer variable $i0 receives the exit status from the transfer. If    0,
  93. X    transfer was normal.  Note:    procedure execution IS terminated by a
  94. X    SIGINT to the spawned file transfer    process.  This is different than for
  95. X    versions prior to 3.10.  If    $i0 is set to -1, the file transfer program
  96. X    did    not begin.
  97. X
  98. X
  99. X    6.78  system
  100. X
  101. X
  102. X    usage: system [-ls]    <cmdstr>
  103. X
  104. X    <cmdstr> is    passed to the Bourne shell.
  105. X
  106. X    If switch '-l', is supplied, the attached communications line becomes
  107. X    the    stdin and stdout for the command.
  108. X
  109. X    If switch '-s', is supplied, all ECU file descriptors remain open.    The
  110. X    -s option is important to include if you pass the ECU line file
  111. X    descriptor to another process.
  112. X
  113. X    Integer variable $i0 is set    to the spawned process'    exit status if the
  114. X    process exits "normally", or 0x100 if the process is killed, dumps core
  115. X    or interrupted.
  116. X
  117. X    Note:  procedure execution is NOT terminated by a SIGINT to    the spawned
  118. X    process.  It is the    responsibility of the procedure    to process the exit
  119. X    status returned in $i0.  If    $i0 is set to -1, the file transfer program
  120. X    did    not begin.
  121. X
  122. X
  123. X
  124. X
  125. X    Public Domain by wht@n4hgf                 9/10/92
  126. X
  127. X
  128. X
  129. X
  130. X
  131. X
  132. X
  133. X    ECU    Procedure Language                      69
  134. X
  135. X
  136. X
  137. X    Examples:
  138. X
  139. X        $s2    = '/tmp/ecu'+%itos(%pid,05)
  140. X    system ' fgrep foo bar > '+$s2
  141. X
  142. X    system -s '/etc/NBSsetclk -i '+%itos(%conn)
  143. X
  144. X
  145. X
  146. X    6.79  sz
  147. X
  148. X
  149. X    usage: sz [-anf[l]r] [<label-str>] <filelist-str>
  150. X
  151. X    This command sends files using ZMODEM/CRC-32.  The remote protocol must
  152. X    have been started prior to the execution of    this command unless the
  153. X    remote has automatic ZMODEM    frame detection.
  154. X
  155. X    Switch '-a'    specifies an ASCII transfer; the default is binary.
  156. X
  157. X    Switch '-f'     causes    the full pathname of each file to be sent;
  158. X    otherwise, the simple filename is transmitted.
  159. X
  160. X    Switch '-l'    with the <label-str> argument specifies    a string to display
  161. X    on the bottom of the file transfer screen.    If '-l'    is omitted, then
  162. X    <label_str>    must also be omitted.
  163. X
  164. X    Switch '-n'    causes the receiver to accept files with do not    already
  165. X    exist at the remote    system or which    have older times of  last access
  166. X    that at the    sending    system.     Not all remote    protocol software will
  167. X    accept or obey this    option.
  168. X
  169. X    Switch '-r'    causes an interrupted file transfer to be resumed.  if the
  170. X    remote receiver supports the ZMODEM    protocol feature.
  171. X
  172. X    Integer variable $i0 receives the exit status from the transfer. If    0,
  173. X    transfer was normal.  Other    $i0 values possible:
  174. X
  175. X      1-126:   count of    files not transmitted (see ~/.ecu/log)
  176. X      127:     127 or more files not transmitted (see ~/.ecu/log)
  177. X
  178. X    Other ecusz    error codes are    shown here for refernce, but they are
  179. X    converted by ECU to    printed    messages and result in procedure
  180. X    termination.
  181. X
  182. X      128-192: process terminated with signal==code-128
  183. X           signal 0    == program logic error
  184. X      253:     could not open any files
  185. X      254:     protocol    failed (bad line conditions,brain dead remote)
  186. X      255:     usage
  187. X
  188. X
  189. X
  190. X
  191. X    Public Domain by wht@n4hgf                 9/10/92
  192. X
  193. X
  194. X
  195. X
  196. X
  197. X
  198. X
  199. X    ECU    Procedure Language                      70
  200. X
  201. X
  202. X
  203. X    Note: procedure execution IS terminated by a SIGINT    to the spawned file
  204. X    transfer process.  This is different than for versions prior to 3.10.
  205. X    If $i0 is set to -1, the file transfer program did not begin.
  206. X
  207. X
  208. X    6.80  vidcolor
  209. X
  210. X
  211. X    usage: vidcolor <type> <fcolor> [<bcolor>]
  212. X
  213. X    This command allows    control    over the internal color    choices    ECU makes.
  214. X    <type> must    be one of the following:
  215. X
  216. X
  217. X     normal      - normal video color
  218. X     reverse  - reverse video color
  219. X     notify      - color used for low key notifications such as
  220. X            "[interactive mode]" and "[procedure finished]"
  221. X     success  - color used for modem CONNECT messages and other
  222. X            "success" notifications
  223. X     alert      - color used to alert    user for warning or caution
  224. X            purposes
  225. X     error      - color used to display error    status or messages
  226. X
  227. X
  228. X    <fcolor> and <bcolor> are color names as described in the description of
  229. X    the    color command. <fcolor>    choses the foreground color and    must be
  230. X    supplied.  <bcolor>    choses the background color and    is optional; if    not
  231. X    supplied, the background color is black.
  232. X
  233. X    Note: The vidcolor normal and reverse options are analogs of the color
  234. X    and    color -r command.
  235. X
  236. X
  237. X    Examples:  (showing    ECU default internal color list)
  238. X
  239. X    vidcolor normal    lt_green
  240. X    vidcolor reverse red white
  241. X    vidcolor notify    gray
  242. X    vidcolor success lt_green
  243. X    vidcolor alert yellow
  244. X    vidcolor error red
  245. X
  246. X
  247. X
  248. X    6.81  vidnorm
  249. X
  250. X
  251. X    usage: vidnorm
  252. X
  253. X    This command causes    later screen output to appear in the normal, as
  254. X
  255. X
  256. X
  257. X    Public Domain by wht@n4hgf                 9/10/92
  258. X
  259. X
  260. X
  261. X
  262. X
  263. X
  264. X
  265. X    ECU    Procedure Language                      71
  266. X
  267. X
  268. X
  269. X    opposed to reverse video mode.  The    color command forces normal video
  270. X    mode.
  271. X
  272. X
  273. X    6.82  vidrev
  274. X
  275. X
  276. X    usage: vidrev
  277. X
  278. X    This command causes    later screen output to appear in the reverse, as
  279. X    opposed to normal video mode.  The color command forces normal video
  280. X    mode.
  281. X
  282. X
  283. X    6.83  whilei
  284. X
  285. X
  286. X
  287. X    usage: whilei <int>    <rel-op> <int> <statement>
  288. X       whilei <int>    <rel-op> <int>
  289. X           <statement>
  290. X       whilei <int>    <rel-op> <int>
  291. X       {
  292. X           any kind    or number of statements
  293. X           (labels are not allowed inside braces)
  294. X       }
  295. X
  296. X
  297. X    This command executes a loop one or    more statements    based on a test    of
  298. X    two    integer    quantities.  The <rel-op> argument is descibed in a earlier
  299. X    subsection titled "Relational Operators." See the description of the
  300. X    break, continue, and else commmands    and many other examples    throughout
  301. X    the    document, for examples of how the command is used.
  302. X
  303. X    6.84  whiles
  304. X
  305. X
  306. X
  307. X    usage: whiles <str>    <rel-op> <str> <statement>
  308. X       whiles <int>    <rel-op> <int>
  309. X           <statement>
  310. X       whiles <int>    <rel-op> <int>
  311. X       {
  312. X           any kind    or number of statements
  313. X           (labels are not allowed inside braces)
  314. X       }
  315. X
  316. X
  317. X    This command executes a loop of one    or more    statements based on a test
  318. X    of two string values. The <rel-op> argument    is descibed in a earlier
  319. X    subsection titled "Relational Operators." See the description of the
  320. X
  321. X
  322. X
  323. X    Public Domain by wht@n4hgf                 9/10/92
  324. X
  325. X
  326. X
  327. X
  328. X
  329. X
  330. X
  331. X    ECU    Procedure Language                      72
  332. X
  333. X
  334. X
  335. X    break, continue, and else commmands    and many other examples    throughout
  336. X    the    document, for examples of how the command is used.
  337. X
  338. X    6.85  xon
  339. X
  340. X
  341. X
  342. X    usage: xon <arg>
  343. X    where <arg>    is on     input and output flow control
  344. X           off     no flow control
  345. X           in     input flow control
  346. X           out     output    flow control
  347. X
  348. X
  349. X    This command enables or disables xon/xoff flow control.
  350. X
  351. X
  352. X    Examples:
  353. X
  354. X    hangup
  355. X    dial 'mysys'
  356. X    ifi %conn != 0 parity none;xon on
  357. X
  358. X
  359. X
  360. X
  361. X
  362. X
  363. X
  364. X
  365. X
  366. X
  367. X
  368. X
  369. X
  370. X
  371. X
  372. X
  373. X
  374. X
  375. X
  376. X
  377. X
  378. X
  379. X
  380. X
  381. X
  382. X
  383. X
  384. X
  385. X
  386. X
  387. X
  388. X
  389. X    Public Domain by wht@n4hgf                 9/10/92
  390. X
  391. X
  392. X
  393. X
  394. X
  395. X
  396. X
  397. X    ECU    Procedure Language                      73
  398. X
  399. X
  400. X
  401. X    7.    Special    Procedures
  402. X
  403. X
  404. X    ECU    provides for special "hook" procedures to be executed at certain
  405. X    times.  Their use is encouraged, but you must take precautions not to
  406. X    excecute any unreasoable commands in them, for the are rather "raw"
  407. X    hooks and it is easily possible to confuse ECU by performing illogical
  408. X    operations in them.    Judicious use can, however, be quite productive.
  409. X
  410. X    They are searched for in the same manner as    any other procedure, so    you
  411. X    can    have a customised version of them in a working directory and a
  412. X    default in your ~/.ecu subdirectory.  No error is reported if they are
  413. X    not    found.
  414. X
  415. X
  416. X    7.1     _rc.ep
  417. X
  418. X
  419. X    Afer ECU is    initialized, but before    it presents the    setup screen or
  420. X    executes a -p initial procedure, procedure '_rc' is    executed with no
  421. X    arguments.    (It is named in    the tradition of /etc/rc, .mailrc, etc..)
  422. X    This procedure can be used to customize the    ecu environment    prior to
  423. X    beginning the usual    operation.  This is not    a place    to do any dialing or
  424. X    long-lived operations, nor is it possible to bypass    the setup screen:
  425. X    for    this, use the -p initial procedure.
  426. X
  427. X    The    %getenv() function may be useful in here (Am I running on an xterm?
  428. X    Do I want to change    the prompt string from the default environment
  429. X    variable $ECUPROMPT?).
  430. X
  431. X    Procedure commands likely to be of interest    here:
  432. X
  433. X       autorz
  434. X     * baud
  435. X       color
  436. X       dcdwatch
  437. X     * duplex
  438. X       prompt
  439. X       rtscts
  440. X     * setline
  441. X
  442. X
  443. X    Commands marked with an asterisk affect the    initial    (default) values
  444. X    presented on the setup screen.
  445. X
  446. X    If _rc.ep returns a    non-zero status    or fails (due to syntax    or other
  447. X    error), ecu    terminates immediately.
  448. X
  449. X
  450. X
  451. X
  452. X
  453. X
  454. X
  455. X    Public Domain by wht@n4hgf                 9/10/92
  456. X
  457. X
  458. X
  459. X
  460. X
  461. X
  462. X
  463. X    ECU    Procedure Language                      74
  464. X
  465. X
  466. X
  467. X    7.2     _connect.ep
  468. X
  469. X
  470. X    This procedure is executed after every connection success after the
  471. X    CONNECT message ("result code") is printed.     It is passed one argument,
  472. X    the    "result    code" string generated by the dialer function (e.g.,
  473. X    "CONNECT 19200").
  474. X
  475. X    You    may use    %rname and other functions and features    to customize this
  476. X    function based on the particular system just reached.  Note    that integer
  477. X    variable $i0 and string variable $s0 set zero prior    to executing the
  478. X    function.  This function may modify    the behavior of    coorperating dialer
  479. X    functions by setting the value of numbered string or integer variables.
  480. X    In particular, the dialer function will inherit the    values of $i0 and
  481. X    $s0    when this special function terminates.    Be careful of what you do in
  482. X    here since MANY ecu    procedure commands affect $i0 and $s0 as a side
  483. X    effect of their operation.    Even if    you know what you do in    _connect.ep
  484. X    does not modify $i0    or $s0,    use of the preservation    technique shown    in
  485. X    the    example    below may save you headaches if    you add    to the function    in
  486. X    the    future (long after you have forgotten this pedantic admonition).
  487. X
  488. X    If this procedure fails (abnormal procedure    termination or non-zero
  489. X    return code), ECU hangs up on the line and proceeds    as if the connection
  490. X    failed.
  491. X
  492. X
  493. X
  494. X
  495. X
  496. X
  497. X
  498. X
  499. X
  500. X
  501. X
  502. X
  503. X
  504. X
  505. X
  506. X
  507. X
  508. X
  509. X
  510. X
  511. X
  512. X
  513. X
  514. X
  515. X
  516. X
  517. X
  518. X
  519. X
  520. X
  521. X    Public Domain by wht@n4hgf                 9/10/92
  522. X
  523. X
  524. X
  525. X
  526. X
  527. X
  528. X
  529. X    ECU    Procedure Language                      75
  530. X
  531. X
  532. X
  533. X    Example:
  534. X    #+------------------------------------------------------------------
  535. X    #  _connect.ep - post-CONNECT special "hook" procedure
  536. X    #-------------------------------------------------------------------
  537. X    #+:EDITS:*/
  538. X    #:09-10-1992-13:58-wht@n4hgf-ECU release 3.20
  539. X    #:08-22-1992-15:38-wht@n4hgf-ECU release 3.20 BETA
  540. X    #:07-13-1991-14:47-wht@n4hgf-creation
  541. X
  542. X      $iv0_save    = $i0  # it is a VERY good idea    to save    the dialer
  543. X      $sv0_save    = $s0  # function return status
  544. X               # since gobs of functions and commands modify $i0
  545. X               # and/or    $s0 as a side effect of    their operation
  546. X
  547. X      $s30 = '_connect '+%rname+' ('+%argv(1)+')'
  548. X      echo $s30           # this still will also live to be visible by
  549. X               # the dialer function
  550. X
  551. X      ifi %baud    > 2400
  552. X      {
  553. X     xon    off    # turn XON/XOFF off first, then ...
  554. X     rtscts    on     # turn on RTS/CTS
  555. X      }
  556. X      else
  557. X      {
  558. X     rtscts    off    # turn off RTS/CTS, then    ...
  559. X     xon    on     # turn XON/XOFF on
  560. X      }
  561. X
  562. X      $i0 = $iv0_save  # restore dialer    return status
  563. X      $s0 = $sv0_save
  564. X
  565. X
  566. X
  567. X    7.3     _connfail.ep
  568. X
  569. X
  570. X    This procedure is executed after every connection failure after the
  571. X    failure message ("result code") is printed.     It is passed two arguments,
  572. X    the    logical    system name (the dial directory    entry name or the phone
  573. X    number) and    the "result code" string generated by the dialer function
  574. X    (e.g., "BUSY").  The function is called after $i0 has been set to 1    and
  575. X    $s0    has been set to    the result code.  This function    may modify the
  576. X    behavior of    coorperating dialer functions by setting the value of
  577. X    numbered string or integer variables.  In particular, the dialer
  578. X    function will inherit the values of    $i0 and    $s0 when this special
  579. X    function terminates.  Be careful of    what you do in here since MANY ecu
  580. X    procedure commands affect $i0 and/or $s0 as    a side effect of their
  581. X    operation.    See _connect.ep    above for further screams and moans.
  582. X
  583. X    ]If    you get    very involved with using this procedure, you'll    sooner or
  584. X
  585. X
  586. X
  587. X    Public Domain by wht@n4hgf                 9/10/92
  588. X
  589. X
  590. X
  591. X
  592. X
  593. X
  594. X
  595. X    ECU    Procedure Language                      76
  596. X
  597. X
  598. X
  599. X    later run into some    undocumented $so values.  You'll have to take a    look
  600. X    at ecuDCE.c    and hdbintf.c for an authoritative reference, but perhaps
  601. X    you    can get    along by knowing that result codes with    an exclamation point
  602. X    as their first character are generated by ECU.
  603. X
  604. X    ECU    ignores    any failure (abnormal procedure    termination or non-zero
  605. X    return code) resulting from    the execution of this procedure.
  606. X
  607. X
  608. X    7.4     _hangup.ep
  609. X
  610. X
  611. X    This procedure is executed after every connection termination.  It is
  612. X    passed one argument, a string representation of the    number of seconds
  613. X    you    were connected.     You may use %rname and    other functions    and features
  614. X    to customize this function based on    the particular system just reached.
  615. X    ECU    ignores    any error returned by the procedure.  ECU ignores any
  616. X    failure (abnormal procedure    termination or non-zero    return code)
  617. X    resulting from the execution of this procedure.
  618. X
  619. X
  620. X
  621. X
  622. X
  623. X
  624. X
  625. X
  626. X
  627. X
  628. X
  629. X
  630. X
  631. X
  632. X
  633. X
  634. X
  635. X
  636. X
  637. X
  638. X
  639. X
  640. X
  641. X
  642. X
  643. X
  644. X
  645. X
  646. X
  647. X
  648. X
  649. X
  650. X
  651. X
  652. X
  653. X    Public Domain by wht@n4hgf                 9/10/92
  654. X
  655. X
  656. X
  657. X
  658. X
  659. X
  660. X
  661. X
  662. X
  663. X
  664. X
  665. X                    CONTENTS
  666. X
  667. X
  668. X    1.    Introduction........................................   2
  669. X
  670. X    2.    Line Syntax (Labels, Commands and Comments).........   3
  671. X
  672. X    3.    Arguments...........................................   4
  673. X    3.1   Switches......................................   4
  674. X    3.2   Alphabetic Tokens.............................   4
  675. X    3.3   Integers......................................   4
  676. X          3.3.1   Constants.............................   4
  677. X          3.3.2   Variables.............................   5
  678. X          3.3.3   Functions.............................   5
  679. X          3.3.4   Expressions...........................   5
  680. X          3.3.5   Relational Operators..................   6
  681. X    3.4   Strings.......................................   6
  682. X          3.4.1   Constants.............................   6
  683. X          3.4.2   Variables.............................   7
  684. X          3.4.3   Functions.............................   7
  685. X          3.4.4   Expressions...........................   7
  686. X          3.4.5   Relational Operators..................   7
  687. X
  688. X    4.    Integer    Functions...................................   9
  689. X    4.1   %argc.........................................   9
  690. X    4.2   %baud.........................................   9
  691. X    4.3   %colors.......................................   9
  692. X    4.4   %cols.........................................  10
  693. X    4.5   %conn.........................................  11
  694. X    4.6   %curx.........................................  11
  695. X    4.7   %cury.........................................  11
  696. X    4.8   %csec.........................................  11
  697. X    4.9   %ctoi.........................................  11
  698. X    4.10  %esecs........................................  11
  699. X    4.11  %fatime.......................................  12
  700. X    4.12  %fmode........................................  12
  701. X    4.13  %fmtime.......................................  12
  702. X    4.14  %fmode........................................  13
  703. X    4.15  %ftell........................................  13
  704. X    4.16  %instr........................................  13
  705. X    4.17  %ischr........................................  14
  706. X    4.18  %isdir........................................  14
  707. X    4.19  %isreg........................................  15
  708. X    4.20  %len..........................................  15
  709. X    4.21  %lgetc........................................  16
  710. X    4.22  %lines........................................  16
  711. X    4.23  %nice.........................................  16
  712. X    4.24  %pid..........................................  16
  713. X    4.25  %match........................................  16
  714. X    4.26  %mhack........................................  17
  715. X    4.27  %rchr.........................................  17
  716. X
  717. X
  718. X
  719. X                   - i -
  720. X
  721. X
  722. X
  723. X
  724. X
  725. X
  726. X
  727. X
  728. X
  729. X
  730. X
  731. X    4.28  %rchrc........................................  17
  732. X    4.29  %rinstr.......................................  18
  733. X    4.30  %shmid........................................  18
  734. X    4.31  %stoi.........................................  18
  735. X    4.32  %uid..........................................  19
  736. X    4.33  %xchr.........................................  19
  737. X    4.34  %xchrc........................................  19
  738. X
  739. X    5.    String Functions....................................  20
  740. X    5.1   %argv.........................................  20
  741. X    5.2   %basename.....................................  21
  742. X    5.3   %cgetc........................................  21
  743. X    5.4   %cgets........................................  21
  744. X    5.5   %chr..........................................  21
  745. X    5.6   %date.........................................  22
  746. X    5.7   %datez........................................  22
  747. X    5.8   %day..........................................  22
  748. X    5.9   %dayz.........................................  22
  749. X    5.10  %dir..........................................  22
  750. X    5.11  %dirpart......................................  23
  751. X    5.12  %edate........................................  23
  752. X    5.13  %envvar.......................................  23
  753. X    5.14  %errstr.......................................  24
  754. X    5.15  %etime........................................  24
  755. X    5.16  %filepart.....................................  24
  756. X    5.17  %fmodestr.....................................  25
  757. X    5.18  %itos.........................................  25
  758. X    5.19  %left.........................................  26
  759. X    5.20  %line.........................................  26
  760. X    5.21  %logname......................................  27
  761. X    5.22  %mid..........................................  27
  762. X    5.23  %month........................................  27
  763. X    5.24  %rdesc........................................  27
  764. X    5.25  %right........................................  28
  765. X    5.26  %rname........................................  28
  766. X    5.27  %rtelno.......................................  28
  767. X    5.28  %time.........................................  28
  768. X    5.29  %times........................................  29
  769. X    5.30  %timez........................................  29
  770. X    5.31  %timezs.......................................  29
  771. X    5.32  %tty..........................................  29
  772. X    5.33  %uname........................................  29
  773. X
  774. X    6.    Commands............................................  30
  775. X    6.1   autorz........................................  30
  776. X    6.2   baud..........................................  30
  777. X    6.3   break.........................................  30
  778. X    6.4   cd............................................  31
  779. X    6.5   clrx..........................................  31
  780. X    6.6   cls...........................................  32
  781. X    6.7   color.........................................  32
  782. X
  783. X
  784. X
  785. X                   - ii -
  786. X
  787. X
  788. X
  789. X
  790. X
  791. X
  792. X
  793. X
  794. X
  795. X
  796. X
  797. X    6.8   continue......................................  32
  798. X    6.9   cursor........................................  33
  799. X    6.10  dcdwatch......................................  34
  800. X    6.11  delline.......................................  34
  801. X    6.12  dial..........................................  34
  802. X    6.13  do............................................  36
  803. X    6.14  duplex........................................  36
  804. X    6.15  echo..........................................  37
  805. X    6.16  eeol..........................................  37
  806. X    6.17  else..........................................  37
  807. X    6.18  exec..........................................  38
  808. X    6.19  exit..........................................  39
  809. X    6.20  expresp.......................................  40
  810. X    6.21  fchmod........................................  42
  811. X    6.22  fclose........................................  43
  812. X    6.23  fdel..........................................  43
  813. X    6.24  fgetc.........................................  43
  814. X    6.25  fgets.........................................  44
  815. X    6.26  fkey..........................................  44
  816. X    6.27  fkmap.........................................  44
  817. X    6.28  flush.........................................  45
  818. X    6.29  fopen.........................................  45
  819. X    6.30  fputc.........................................  46
  820. X    6.31  fputs.........................................  47
  821. X    6.32  fseek.........................................  47
  822. X    6.33  getf..........................................  47
  823. X    6.34  gosub.........................................  48
  824. X    6.35  gosubb........................................  49
  825. X    6.36  goto..........................................  49
  826. X    6.37  gotob.........................................  50
  827. X    6.38  hangup........................................  50
  828. X    6.39  hexdump.......................................  50
  829. X    6.40  home..........................................  51
  830. X    6.41  icolor........................................  51
  831. X    6.42  ifi...........................................  52
  832. X    6.43  ifs...........................................  52
  833. X    6.44  insline.......................................  52
  834. X    6.45  lbreak........................................  53
  835. X    6.46  lgets.........................................  53
  836. X    6.47  logevent......................................  53
  837. X    6.48  lookfor.......................................  54
  838. X    6.49  mkvar.........................................  54
  839. X          6.49.1  Variable Names........................  55
  840. X          6.49.2  Variable Life and    Scope...............  55
  841. X          6.49.3  String Variable Size..................  55
  842. X    6.50  nap...........................................  56
  843. X    6.51  nice..........................................  56
  844. X    6.52  parity........................................  56
  845. X    6.53  pclose........................................  57
  846. X    6.54  plog..........................................  57
  847. X    6.55  popd..........................................  58
  848. X
  849. X
  850. X
  851. X                  -    iii -
  852. X
  853. X
  854. X
  855. X
  856. X
  857. X
  858. X
  859. X
  860. X
  861. X
  862. X
  863. X    6.56  popen.........................................  58
  864. X    6.57  prompt........................................  59
  865. X    6.58  ptrace........................................  59
  866. X    6.59  pushd.........................................  60
  867. X    6.60  putf..........................................  60
  868. X    6.61  return........................................  60
  869. X    6.62  rk............................................  61
  870. X    6.63  rlog..........................................  62
  871. X    6.64  rname.........................................  62
  872. X    6.65  rs............................................  62
  873. X    6.66  rtscts........................................  63
  874. X    6.67  rx............................................  64
  875. X    6.68  ry............................................  64
  876. X    6.69  rz............................................  64
  877. X    6.70  scrdump.......................................  65
  878. X    6.71  send..........................................  65
  879. X    6.72  set...........................................  65
  880. X    6.73  setline.......................................  66
  881. X    6.74  sk............................................  66
  882. X    6.75  ss............................................  67
  883. X    6.76  sx............................................  67
  884. X    6.77  sy............................................  68
  885. X    6.78  system........................................  68
  886. X    6.79  sz............................................  69
  887. X    6.80  vidcolor......................................  70
  888. X    6.81  vidnorm.......................................  70
  889. X    6.82  vidrev........................................  71
  890. X    6.83  whilei........................................  71
  891. X    6.84  whiles........................................  71
  892. X    6.85  xon...........................................  72
  893. X
  894. X    7.    Special    Procedures..................................  73
  895. X    7.1   _rc.ep........................................  73
  896. X    7.2   _connect.ep...................................  74
  897. X    7.3   _connfail.ep..................................  75
  898. X    7.4   _hangup.ep....................................  76
  899. X
  900. X
  901. X
  902. X
  903. X
  904. X
  905. X
  906. X
  907. X
  908. X
  909. X
  910. X
  911. X
  912. X
  913. X
  914. X
  915. X
  916. X
  917. X                   - iv -
  918. X
  919. X
  920. X
  921. X
  922. SHAR_EOF
  923. echo 'File doc/proc.man is complete' &&
  924. chmod 0644 doc/proc.man ||
  925. echo 'restore of doc/proc.man failed'
  926. Wc_c="`wc -c < 'doc/proc.man'`"
  927. test 117987 -eq "$Wc_c" ||
  928.     echo 'doc/proc.man: original size 117987, current size' "$Wc_c"
  929. rm -f _shar_wnt_.tmp
  930. fi
  931. rm -f _shar_seq_.tmp
  932. echo You have unpacked the last part
  933. exit 0
  934.  
  935. exit 0 # Just in case...
  936.