⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 script-tso.txt

📁 开放源码的编译器open watcom 1.6.0版的源代码
💻 TXT
📖 第 1 页 / 共 4 页
字号:
 |                                                                    |        
 |                                                                    |        
 |                                                                    |        
 |              Waterloo SCRIPT - Version 88.1 (87DEC11)              |        
 |                                                                    |        
 |                          Reference Manual                          |        
 |                                                                    |        
 |                                                                    |        
 |                                                                    |        

                                                                               
                    Department of Computing Services                           

                         University of Waterloo                                

                   Waterloo, Ontario, Canada  N2L 3G1                          


                                                                               
                      Printed on October 18, 1988                              


                                                                               
                    For next updates, specify 881018                           
                                                                               
                                                                               
 Waterloo SCRIPT                                                Preface        


 |                                                                    |        
 |                              PREFACE                               |        
 |                                                                    |        


 The quality and accuracy of a document depend greatly on the ease with        
 which  revisions can  be made  to  the document.    This statement  is        
 particularly true of technical documents (into which class the present        
 manual falls),  which  should always accurately reflect  the status of        
 the things they describe.                                                     
    It is natural  that computer software solutions to  the problems of        
 document  production should  be  devised.    "Runoff" under  CTSS  and        
 MULTICS, IBM's "DCF", "Scribe", "TeX", "Troff" under UNIX and "SCRIPT"        
 represent such solutions.                                                     
    This manual describes  "Waterloo SCRIPT",  an outgrowth  of NSCRIPT        
 intended for use  under TSO (currently still available  from the SHARE        
 programme library).    NSCRIPT in turn  was derived from  CP/67 SCRIPT        
 which ran under  CMS on a System/360 model 67.    SCRIPT running under        
 OS/TSO  or VM/CMS  has  the same  outward appearance  as  it did  when        
 running under CP/67 CMS.  Its set of command words encompasses most of        
 those belonging to  SCRIPT,  MULTIC's "runoff" and  TSO's FORMAT.   In        
 many cases they perform identical functions and have the same symbolic        
 notation.                                                                     
    It has been the end users and their requirements that has sustained        
 continued development of  this software solution to  document composi-        
 tion problems.  If new output devices with enhanced function are to be        
 supported,  some care must be given to compatibility of existing input        
 files.   Issues concerning the ease of  use has prompted new primitive        
 function and modifications to existing function.   Even more important        
 has been the  development of Macro packages and  Markup Language pack-        
 ages to mask the existence of low  level detail from a person who only        
 wants their document to have a professional appearance.                       


                                                                               


                                                                               


                                                                               


                                                                               


                                                                               


                                                                               


                                                                               
                                - iii -                                        
                                                                               
 Purpose                                                Waterloo SCRIPT        


 |                                                                    |        
 |                              PURPOSE                               |        
 |                                                                    |        


 SCRIPT is  used to format  an input  file containing text  and control        
 lines.   The  file may  contain fixed-  or variable-length  records or        
 WYLBUR Edit-format records.   Formatting is specified by control lines        
 (lines  that  begin with  a  control  indicator,  normally  a  period,        
 followed by a two-letter control  word).   The appendix titled "Sample        
 Input to  SCRIPT" contains  an unformatted listing  of a  sample input        
 file.                                                                         
    The "SCRIPT"  command causes  the specified file  to be  edited and        
 formatted,  directed by control lines contained within the input file.        
 Each line read from the input file  is inspected for a first character        
 equal to the control identifier, normally a period, which identifies a        
 control line.   Control lines are not  output,  but are interpreted to        
 specify the format of the output.    The control word may be specified        
 in either upper or  lower case (or a mixture of the  two)  and must be        
 separated from its arguments (if any) by one or more spaces.   Control        
 lines may appear anywhere in the file,   and have effect on all output        
 produced after their appearance.                                              
    Output  can be  directed to  the  user's terminal,   to an  offline        
 printer,  to  a disk  file for  later processing  or to  a variety  of        
 special laser  printers by passing the  SCRIPT output through  a post-        
 processor.   Certain differences in the  processing occur depending on        
 where the output is directed and to what type of output device.  These        
 differences are described below under individual headings.                    


                                                                               


                                                                               


                                                                               


                                                                               


                                                                               


                                                                               


                                                                               


                                                                               

                                 - iv -                                        
                                                                               
 Waterloo SCRIPT                                      Table of Contents        


 谀哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪目        
 |                                                                    |        
 |                         TABLE OF CONTENTS                          |        
 |                                                                    |        
 滥哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪馁        


 Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  iii        

 Purpose . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . iv        

 Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  1        

 The CMS Environment . . . . . . . . . . . . . . . . . . . . . . . .  6        

      Input files  . . . . . . . . . . . . . . . . . . . . . . . . .  6        
      Output to the Terminal . . . . . . . . . . . . . . . . . . . .  6        
      Specifying SCRIPT Options  . . . . . . . . . . . . . . . . . .  7        
      Special Options for the SCRIPT/CMS Interface . . . . . . . . .  7        

 The TSO Environment . . . . . . . . . . . . . . . . . . . . . . . .  9        

      Input Files  . . . . . . . . . . . . . . . . . . . . . . . . .  9        
      Options  . . . . . . . . . . . . . . . . . . . . . . . . . . . 10        

 Online Terminal Support . . . . . . . . . . . . . . . . . . . . . . 12        

      "Stop" Codes . . . . . . . . . . . . . . . . . . . . . . . . . 12        
      Special Terminals  . . . . . . . . . . . . . . . . . . . . . . 12        
      Options for Special Terminals  . . . . . . . . . . . . . . . . 13        

 The OS and VS Batch Environments  . . . . . . . . . . . . . . . . . 15        

      DDnames used by SCRIPT . . . . . . . . . . . . . . . . . . . . 15        
      SCRIPT Catalogued Procedure  . . . . . . . . . . . . . . . . . 16        
      Using the Catalogued Procedure . . . . . . . . . . . . . . . . 16        

 Offline Printer Support . . . . . . . . . . . . . . . . . . . . . . 17        

      Options  . . . . . . . . . . . . . . . . . . . . . . . . . . . 17        
      How SCRIPT Handles the Printer . . . . . . . . . . . . . . . . 17        

 Creation of Input Files . . . . . . . . . . . . . . . . . . . . . . 18        

      File Format  . . . . . . . . . . . . . . . . . . . . . . . . . 18        
      Breaks . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18        
      Punctuation  . . . . . . . . . . . . . . . . . . . . . . . . . 18        
      Backspaces in the Input  . . . . . . . . . . . . . . . . . . . 18        
      Escapes  . . . . . . . . . . . . . . . . . . . . . . . . . . . 19        


                                                                               


                                                                               
                                 - v -                                         
                                                                               
 Table of Contents                                      Waterloo SCRIPT        


 Control Word Operands . . . . . . . . . . . . . . . . . . . . . . . 20        

      Positional Operands  . . . . . . . . . . . . . . . . . . . . . 20        
      BEGIN/END Operands . . . . . . . . . . . . . . . . . . . . . . 20        
      DELETE/PURGE/CANCEL Operands . . . . . . . . . . . . . . . . . 20        
      Numeric Operands . . . . . . . . . . . . . . . . . . . . . . . 20        
      Absolute Horizontal Units  . . . . . . . . . . . . . . . . . . 21        
      Absolute Vertical Units  . . . . . . . . . . . . . . . . . . . 22        

 Script Control Words  . . . . . . . . . . . . . . . . . . . . . . . 23        

 Appendix A:  Error Messages . . . . . . . . . . . . . . . . . . .  171        

      Levels of Errors . . . . . . . . . . . . . . . . . . . . . .  171        
      Message Formats  . . . . . . . . . . . . . . . . . . . . . .  171        
      Messages . . . . . . . . . . . . . . . . . . . . . . . . . .  171        

 Appendix B:  Archaic Control Words  . . . . . . . . . . . . . . .  181        

 Appendix C:  Sample Input to SCRIPT . . . . . . . . . . . . . . .  184        

 Appendix D:  Sample Output from SCRIPT  . . . . . . . . . . . . .  185        

 Appendix E:  The Output Page  . . . . . . . . . . . . . . . . . .  186        

 Appendix F:  Notes on the Organization of this Manual . . . . . .  188        

      SCRIPT Input Files . . . . . . . . . . . . . . . . . . . . .  188        
      Headings and Table of Contents . . . . . . . . . . . . . . .  188        
      Footnotes and Footnote Numbering . . . . . . . . . . . . . .  189        
      Automatic Dating with the Current Version of SCRIPT  . . . .  190        
      Formatting for Single- or Double-Sided Printing  . . . . . .  190        
      Single- or Multiple-Column Format  . . . . . . . . . . . . .  190        
      Generating Update Pages for the Manual . . . . . . . . . . .  190        

 Appendix G:  System Set Symbols and Macros  . . . . . . . . . . .  191        

      Date and Time  . . . . . . . . . . . . . . . . . . . . . . .  191        
      Current Computing Environment  . . . . . . . . . . . . . . .  191        
      Input File Processing  . . . . . . . . . . . . . . . . . . .  191        
      The Output Page  . . . . . . . . . . . . . . . . . . . . . .  192        
      The Output Device  . . . . . . . . . . . . . . . . . . . . .  192        
      Font Information . . . . . . . . . . . . . . . . . . . . . .  192        
      Error-Condition Indicators . . . . . . . . . . . . . . . . .  193        
      Current Value of Control Words . . . . . . . . . . . . . . .  193        
      SCRIPT Option Values and Indicators  . . . . . . . . . . . .  194        
      Automatic Macros . . . . . . . . . . . . . . . . . . . . . .  195        

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -