home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso / misc / volume32 / ecuman / part05 < prev    next >
Text File  |  1992-09-16  |  27KB  |  930 lines

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