home *** CD-ROM | disk | FTP | other *** search
/ Arawak OS/2 Shareware / PAKLED.ISO / docs / iguide.txt < prev    next >
Text File  |  1992-04-30  |  239KB  |  5,228 lines

  1.                                OS/2 2.0
  2.                     INFORMATION AND PLANNING GUIDE
  3.  
  4.  
  5.                      Document Number G326-0160-00
  6.  
  7.  
  8.  
  9. +--- NOTE -----------------------------------------------------------+
  10. |                                                                    |
  11. | Before using this information and the product it supports, be sure |
  12. | to read the general information under "Notices".                   |
  13. |                                                                    |
  14. +--------------------------------------------------------------------+
  15.  
  16.  
  17.  
  18. FIRST EDITION (APRIL 1992)
  19.  
  20. THE FOLLOWING PARAGRAPH DOES NOT APPLY TO THE UNITED KINGDOM OR ANY
  21. COUNTRY WHERE SUCH PROVISIONS ARE INCONSISTENT WITH LOCAL LAW:
  22. INTERNATIONAL BUSINESS MACHINES CORPORATION PROVIDES THIS PUBLICATION
  23. "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED,
  24. INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
  25. MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.  Some states do
  26. not allow disclaimer of express or implied warranties in certain
  27. transactions, therefore, this statement may not apply to you.
  28.  
  29. This publication could include technical inaccuracies or typographical
  30. errors.  Changes are periodically made to the information herein;
  31. these changes will be incorporated in new editions of the publication.
  32. IBM may make improvements and/or changes in the product(s) and/or the
  33. program(s) described in this publication at any time.
  34.  
  35. It is possible that this publication may contain reference to, or
  36. information about, IBM products (machines and programs), programming,
  37. or services that are not announced in your country.  Such references
  38. or information must not be construed to mean that IBM intends to
  39. announce such IBM products, programming, or services in your country.
  40.  
  41. Requests for technical information about IBM products should be made
  42. to your IBM Authorized Dealer or your IBM Marketing Representative.
  43.  
  44. (C) COPYRIGHT INTERNATIONAL BUSINESS MACHINES CORPORATION 1992.  ALL
  45. RIGHTS RESERVED.
  46. Note to U.S. Government Users -- Documentation related to restricted
  47. rights -- Use, duplication or disclosure is subject to restrictions
  48. set forth in GSA ADP Schedule Contract with IBM Corp.
  49.  
  50.  
  51.  
  52. --------
  53. CONTENTS
  54. --------
  55.  
  56.  
  57. ------------------------------------------------------------------
  58. PART I: INFORMATION  . . . . . . . . . . . . . . . . . . . . . . .
  59.  
  60. CHAPTER 1.  HIGHLIGHTS OF OS/2 2.0   . . . . . . . . . . . . . . .
  61. Workplace Shell  . . . . . . . . . . . . . . . . . . . . . . . . .
  62. The Integrating Platform   . . . . . . . . . . . . . . . . . . . .
  63.   Concurrent Processing  . . . . . . . . . . . . . . . . . . . . .
  64.   Inter-Application Communication  . . . . . . . . . . . . . . . .
  65.   Printing   . . . . . . . . . . . . . . . . . . . . . . . . . . .
  66.   Network Support  . . . . . . . . . . . . . . . . . . . . . . . .
  67.   Application and System Protection  . . . . . . . . . . . . . . .
  68.   Memory Management  . . . . . . . . . . . . . . . . . . . . . . .
  69.   File Systems   . . . . . . . . . . . . . . . . . . . . . . . . .
  70.     HPFS File System   . . . . . . . . . . . . . . . . . . . . . .
  71.     FAT File System  . . . . . . . . . . . . . . . . . . . . . . .
  72.   Multimedia Applications  . . . . . . . . . . . . . . . . . . . .
  73. Application Compatibility  . . . . . . . . . . . . . . . . . . . .
  74.   Multiple DOS Sessions  . . . . . . . . . . . . . . . . . . . . .
  75.   Windows Applications   . . . . . . . . . . . . . . . . . . . . .
  76.   Version-Specific DOS   . . . . . . . . . . . . . . . . . . . . .
  77.   Boot Manager   . . . . . . . . . . . . . . . . . . . . . . . . .
  78.   Memory Extenders   . . . . . . . . . . . . . . . . . . . . . . .
  79.   Adobe Type Manager   . . . . . . . . . . . . . . . . . . . . . .
  80. Installation   . . . . . . . . . . . . . . . . . . . . . . . . . .
  81. Migration  . . . . . . . . . . . . . . . . . . . . . . . . . . . .
  82. Online Help and Information  . . . . . . . . . . . . . . . . . . .
  83. Productivity Aids and Games  . . . . . . . . . . . . . . . . . . .
  84.   Productivity Aids  . . . . . . . . . . . . . . . . . . . . . . .
  85.   Games  . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
  86. OS/2 2.0 Tools for Application Development   . . . . . . . . . . .
  87.   Development Platform   . . . . . . . . . . . . . . . . . . . . .
  88.   32-Bit Application Programming Interface   . . . . . . . . . . .
  89.   Application Performance and Programmer Productivity  . . . . . .
  90.   Protecting Investment in 16-Bit Code   . . . . . . . . . . . . .
  91.  
  92. CHAPTER 2.  MANAGING OS/2 2.0  . . . . . . . . . . . . . . . . . .
  93. Memory Management  . . . . . . . . . . . . . . . . . . . . . . . .
  94.   Flat Memory Model  . . . . . . . . . . . . . . . . . . . . . . .
  95.   Paging   . . . . . . . . . . . . . . . . . . . . . . . . . . . .
  96.   Dynamic Linking of Modules   . . . . . . . . . . . . . . . . . .
  97.   Memory Extenders   . . . . . . . . . . . . . . . . . . . . . . .
  98.     Expanded Memory Specification  . . . . . . . . . . . . . . . .
  99.     Extended Memory Specification  . . . . . . . . . . . . . . . .
  100.     DOS Protect Mode Interface   . . . . . . . . . . . . . . . . .
  101.   Swap File  . . . . . . . . . . . . . . . . . . . . . . . . . . .
  102. File Systems Management  . . . . . . . . . . . . . . . . . . . . .
  103.   File System Caches   . . . . . . . . . . . . . . . . . . . . . .
  104.   Default File System Cache Sizes  . . . . . . . . . . . . . . . .
  105. Task Management  . . . . . . . . . . . . . . . . . . . . . . . . .
  106. DOS and WIN-OS/2 Support   . . . . . . . . . . . . . . . . . . . .
  107.   Multiple DOS Sessions  . . . . . . . . . . . . . . . . . . . . .
  108.   Windows Application Support  . . . . . . . . . . . . . . . . . .
  109.   DOS Compatibility  . . . . . . . . . . . . . . . . . . . . . . .
  110. Device Management  . . . . . . . . . . . . . . . . . . . . . . . .
  111.   Multimedia Systems and Devices   . . . . . . . . . . . . . . . .
  112.   Device Drivers   . . . . . . . . . . . . . . . . . . . . . . . .
  113.     Physical Device Drivers  . . . . . . . . . . . . . . . . . . .
  114.     Virtual Device Drivers   . . . . . . . . . . . . . . . . . . .
  115.  
  116. CHAPTER 3.  DEVELOPING OS/2 2.0 APPLICATIONS   . . . . . . . . . .
  117. Applications Running under OS/2 2.0  . . . . . . . . . . . . . . .
  118. Application Programming Interface  . . . . . . . . . . . . . . . .
  119. Comparison of 16-Bit and 32-Bit OS/2 Functions   . . . . . . . . .
  120. Object-Oriented Programming Using SOM  . . . . . . . . . . . . . .
  121. OS/2 2.0 Workplace Programming Interface   . . . . . . . . . . . .
  122. Application Development Tools  . . . . . . . . . . . . . . . . . .
  123.   C Set/2  . . . . . . . . . . . . . . . . . . . . . . . . . . . .
  124.   Developer's Workbench  . . . . . . . . . . . . . . . . . . . . .
  125.     Developer's Toolkit for OS/2 2.0   . . . . . . . . . . . . . .
  126.     WorkFrame/2  . . . . . . . . . . . . . . . . . . . . . . . . .
  127.   C Developer's WorkSet/2  . . . . . . . . . . . . . . . . . . . .
  128.   OS/2 Technical Library   . . . . . . . . . . . . . . . . . . . .
  129.  
  130. ------------------------------------------------------------------
  131. PART II: PLANNING  . . . . . . . . . . . . . . . . . . . . . . . .
  132.  
  133. CHAPTER 4.  PLANNING FOR INSTALLATION  . . . . . . . . . . . . . .
  134. Hardware Requirements  . . . . . . . . . . . . . . . . . . . . . .
  135.   Minimum Configuration  . . . . . . . . . . . . . . . . . . . . .
  136.     Microprocessor   . . . . . . . . . . . . . . . . . . . . . . .
  137.     Memory Requirement   . . . . . . . . . . . . . . . . . . . . .
  138.   Storage Capacities   . . . . . . . . . . . . . . . . . . . . . .
  139.     Memory   . . . . . . . . . . . . . . . . . . . . . . . . . . .
  140.     Hard Disk  . . . . . . . . . . . . . . . . . . . . . . . . . .
  141.   Disk Space   . . . . . . . . . . . . . . . . . . . . . . . . . .
  142.     For the Operating System   . . . . . . . . . . . . . . . . . .
  143.     For File Systems   . . . . . . . . . . . . . . . . . . . . . .
  144.     For Swapped-Out Memory   . . . . . . . . . . . . . . . . . . .
  145.     For Print-Spool Jobs   . . . . . . . . . . . . . . . . . . . .
  146. Worksheets   . . . . . . . . . . . . . . . . . . . . . . . . . . .
  147. Installation Overview  . . . . . . . . . . . . . . . . . . . . . .
  148.   Selecting Installation Media   . . . . . . . . . . . . . . . . .
  149.   Installing Multiple Operating Systems  . . . . . . . . . . . . .
  150.     Dual Boot  . . . . . . . . . . . . . . . . . . . . . . . . . .
  151.     Boot Manager   . . . . . . . . . . . . . . . . . . . . . . . .
  152.   Installing Over Existing Operating Systems   . . . . . . . . . .
  153.     OS/2 Standard Edition  . . . . . . . . . . . . . . . . . . . .
  154.     OS/2 Extended Edition  . . . . . . . . . . . . . . . . . . . .
  155.     OS/2 Version 1.3 with LAN Server 2.0   . . . . . . . . . . . .
  156.     OS/2 Version 1.3 with Extended Services 1.0  . . . . . . . . .
  157.     DOS  . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
  158.   Planning Disk Space  . . . . . . . . . . . . . . . . . . . . . .
  159.   Choosing File Systems  . . . . . . . . . . . . . . . . . . . . .
  160.   Choosing Features  . . . . . . . . . . . . . . . . . . . . . . .
  161.  
  162. CHAPTER 5.  OPTIMIZING PERFORMANCE   . . . . . . . . . . . . . . .
  163. Application Considerations   . . . . . . . . . . . . . . . . . . .
  164. OS/2 2.0 CONFIG.SYS Statements   . . . . . . . . . . . . . . . . .
  165. DOS and WIN-OS/2 Settings  . . . . . . . . . . . . . . . . . . . .
  166. Maximizing Memory in a DOS Session   . . . . . . . . . . . . . . .
  167.   Changing the OS/2 2.0 CONFIG.SYS File for a DOS Session  . . . .
  168.   Changing the OS/2 2.0 AUTOEXEC.BAT File for a DOS Session  . . .
  169.  
  170. ------------------------------------------------------------------
  171. APPENDIXES   . . . . . . . . . . . . . . . . . . . . . . . . . . .
  172.  
  173. APPENDIX A.  SUPPORTED HARDWARE  . . . . . . . . . . . . . . . . .
  174. Microprocessors  . . . . . . . . . . . . . . . . . . . . . . . . .
  175. Storage Interfaces   . . . . . . . . . . . . . . . . . . . . . . .
  176. Printers and Plotters  . . . . . . . . . . . . . . . . . . . . . .
  177.   Matrix Printers  . . . . . . . . . . . . . . . . . . . . . . . .
  178.   HP LaserJet and Compatible Printers  . . . . . . . . . . . . . .
  179.   HP PaintJet Printers   . . . . . . . . . . . . . . . . . . . . .
  180.   IBM LaserPrinters  . . . . . . . . . . . . . . . . . . . . . . .
  181.   IBM Proprinters  . . . . . . . . . . . . . . . . . . . . . . . .
  182.   IBM Quietwriter and Compatible Printers  . . . . . . . . . . . .
  183.   Plotters   . . . . . . . . . . . . . . . . . . . . . . . . . . .
  184.   PostScript Printers  . . . . . . . . . . . . . . . . . . . . . .
  185.   Miscellaneous Printers   . . . . . . . . . . . . . . . . . . . .
  186.   WIN-OS/2 Printer Drivers   . . . . . . . . . . . . . . . . . . .
  187. Graphics Adapters and Displays   . . . . . . . . . . . . . . . . .
  188.   SVGA   . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
  189.   SVGA On Utility  . . . . . . . . . . . . . . . . . . . . . . . .
  190.   SCSI Adapters and Disks  . . . . . . . . . . . . . . . . . . . .
  191.   High-Volume Devices  . . . . . . . . . . . . . . . . . . . . . .
  192.  
  193. APPENDIX B.  INTERNATIONAL LANGUAGE SUPPORT  . . . . . . . . . . .
  194. Translations   . . . . . . . . . . . . . . . . . . . . . . . . . .
  195. Bidirectional Support  . . . . . . . . . . . . . . . . . . . . . .
  196. Double-Byte Character Set  . . . . . . . . . . . . . . . . . . . .
  197. Installing National Language Versions  . . . . . . . . . . . . . .
  198.   Country Choice   . . . . . . . . . . . . . . . . . . . . . . . .
  199.   Keyboard Choice  . . . . . . . . . . . . . . . . . . . . . . . .
  200. Changing National Language Options   . . . . . . . . . . . . . . .
  201.   Temporary Changes  . . . . . . . . . . . . . . . . . . . . . . .
  202.   Permanent Changes  . . . . . . . . . . . . . . . . . . . . . . .
  203. Understanding Code Pages   . . . . . . . . . . . . . . . . . . . .
  204. Understanding DEVINFO Statements   . . . . . . . . . . . . . . . .
  205.  
  206. APPENDIX C.  DOCUMENTATION   . . . . . . . . . . . . . . . . . . .
  207. Operating System Information   . . . . . . . . . . . . . . . . . .
  208.   Hardcopy Information   . . . . . . . . . . . . . . . . . . . . .
  209.   Online Information   . . . . . . . . . . . . . . . . . . . . . .
  210. Toolkit Information  . . . . . . . . . . . . . . . . . . . . . . .
  211.   Online Documents   . . . . . . . . . . . . . . . . . . . . . . .
  212. OS/2 2.0 Technical Library   . . . . . . . . . . . . . . . . . . .
  213. Related Information  . . . . . . . . . . . . . . . . . . . . . . .
  214.  
  215. APPENDIX D.  TRAINING AND CUSTOMER SUPPORT   . . . . . . . . . . .
  216. Training   . . . . . . . . . . . . . . . . . . . . . . . . . . . .
  217.   IBM OS/2 2.0 User Workshop   . . . . . . . . . . . . . . . . . .
  218.   Technical Support Education  . . . . . . . . . . . . . . . . . .
  219.     OS/2 for Technical Support Personnel   . . . . . . . . . . . .
  220.   Application Developer Education  . . . . . . . . . . . . . . . .
  221.     Developer Assistant Workshops  . . . . . . . . . . . . . . . .
  222.     Introduction to OS/2 Version 2 Programming (P1044)   . . . . .
  223.     Introduction to DOS for OS/2 2.0 (P1042)   . . . . . . . . . .
  224.     ENFIN/2 Object-Oriented Development for OS/2 2.0 (P1049)   . .
  225.     Advanced Programming Techniques for OS/2 Version 2 (P1045)
  226.     OS/2 Version 1 to Version 2 Programming Migration (P1041)  . .
  227.     OS/2 Version 2 Facilities and Installation (P1043)   . . . . .
  228. OS/2 2.0 Service and Support   . . . . . . . . . . . . . . . . . .
  229.   Program Defect Support   . . . . . . . . . . . . . . . . . . . .
  230.   Enhanced Support Offerings   . . . . . . . . . . . . . . . . . .
  231.     Overview and Positioning of Enhanced Offerings   . . . . . . .
  232.     OS/2 Bulletin Board System (BBS)   . . . . . . . . . . . . . .
  233.     CompuServe   . . . . . . . . . . . . . . . . . . . . . . . . .
  234.     OS/2 Support Line  . . . . . . . . . . . . . . . . . . . . . .
  235.     SystemXtra for Personal Systems  . . . . . . . . . . . . . . .
  236.  
  237.  
  238.  
  239. -------
  240. NOTICES
  241. -------
  242.  
  243.  
  244. References in this publication to IBM products, programs, or services
  245. do not imply that IBM intends to make these available in all countries
  246. in which IBM operates.  Any reference to an IBM product, program or
  247. service is not intended to state or imply that only IBM's product,
  248. program, or service may be used.  Any functionally equivalent product,
  249. program, or service that does not infringe any of IBM's intellectual
  250. property rights or other legally protectible rights may be used
  251. instead of the IBM product, program, or service.  Evaluation and
  252. verification of operation in conjunction with other products,
  253. programs, or services, except those expressly designated by IBM, are
  254. the user's responsibility.
  255.  
  256. IBM may have patents or pending patent applications covering subject
  257. matter in this document.  The furnishing of this document does not
  258. give you any license to these patents.  You can send license
  259. inquiries, in writing, to the IBM Director of Commercial Relations,
  260. IBM Corporation, Purchase, NY 10577.
  261.  
  262.  
  263. TRADEMARKS AND SERVICE MARKS
  264. ____________________________
  265.  
  266. Terms denoted by a single asterisk in this file (*) are trademarks of
  267. the IBM Corporation in the United States and/or other countries.
  268. These terms include:
  269.  
  270. +----------------------------------+---------------------------------+
  271. | AIX                              | Common User Access              |
  272. +----------------------------------+---------------------------------+
  273. | CUA                              | IBM                             |
  274. +----------------------------------+---------------------------------+
  275. | IBMLINK                          | Micro Channel                   |
  276. +----------------------------------+---------------------------------+
  277. | OS/2                             | Personal System/2               |
  278. +----------------------------------+---------------------------------+
  279. | Power Platform                   | Presentation Manager            |
  280. +----------------------------------+---------------------------------+
  281. | Proprinter                       | Quickwriter                     |
  282. +----------------------------------+---------------------------------+
  283. | Quietwriter                      | SAA                             |
  284. +----------------------------------+---------------------------------+
  285. | Systems Application Architecture | SystemXtra                      |
  286. +----------------------------------+---------------------------------+
  287. | The Integrating Platform         | Ultimedia                       |
  288. +----------------------------------+---------------------------------+
  289. | WIN-OS/2                         | Workplace Shell                 |
  290. +----------------------------------+---------------------------------+
  291. | XGA                              |                                 |
  292. +----------------------------------+---------------------------------+
  293.  
  294. Terms denoted by a double asterisk in this file (**) are trademarks of
  295. other companies.  Other trademarks appearing in this file are owned by
  296. their respective companies.
  297.  
  298. Microsoft and Windows are trademarks of Microsoft Corporation.
  299.  
  300. IBM DISCLAIMS ALL WARRANTIES, WHETHER EXPRESSED OR IMPLIED, INCLUDING
  301. WITHOUT LIMITATION, WARRANTIES OF FITNESS AND MERCHANTABILITY WITH
  302. RESPECT TO THE INFORMATION IN THIS DOCUMENT.  BY FURNISHING THIS
  303. DOCUMENT, IBM GRANTS NO LICENSES TO ANY RELATED PATENTS OR COPYRIGHTS.
  304.  
  305. Copyright IBM Corporation, 1992, all rights reserved.
  306.  
  307.  
  308.  
  309. ---------------
  310. ABOUT THIS BOOK
  311. ---------------
  312.  
  313.  
  314. This book provides product and planning information about IBM OS/2
  315. 2.0.  Although this guide includes a comprehensive overview of the
  316. main features of OS/2 2.0, it is not intended to be an in-depth
  317. instruction manual.  Appendix C, "Documentation" describes additional
  318. information available for OS/2 2.0.
  319.  
  320.  
  321. WHO SHOULD READ THIS BOOK
  322. _________________________
  323.  
  324. This book is provided as an information and planning source for the
  325. person planning the installation and use of OS/2 2.0.  This
  326. publication is written for administrative personnel, technical and
  327. service support personnel, service coordinators, and IBM personnel, as
  328. well as anyone who may have responsibility for making decisions on
  329. information systems.
  330.  
  331.  
  332. HOW THIS BOOK IS STRUCTURED
  333.  
  334. This book is organized as follows:
  335.  
  336. o   Chapter 1, "Highlights of OS/2 2.0" provides a summary of the
  337.     highlights of OS/2 2.0.
  338.  
  339. o   Chapter 2, "Managing OS/2 2.0" discusses memory, file, task, and
  340.     device management.
  341.  
  342. o   Chapter 3, "Developing OS/2 2.0 Applications" summarizes aspects
  343.     of application development in the OS/2 2.0 environment.
  344.  
  345. o   Chapter 4, "Planning for Installation" provides an overview of the
  346.     hardware requirements for and installation of OS/2 2.0.
  347.  
  348. o   Chapter 5, "Optimizing Performance" discusses application and
  349.     performance considerations.
  350.  
  351. o   Appendix A, "Supported Hardware" lists the hardware that is
  352.     supported by OS/2 2.0.
  353.  
  354. o   Appendix B, "International Language Support" discusses the
  355.     extensive international language support for OS/2 2.0.
  356.  
  357. o   Appendix C, "Documentation" discusses the hardcopy and online
  358.     documentation provided with OS/2 2.0, the IBM Developer's Toolkit
  359.     for OS/2 2.0, and the OS/2 2.0 Technical Library.
  360.  
  361. o   Appendix D, "Training and Customer Support" provides information
  362.     on the training programs and service support for OS/2 2.0
  363.     available from IBM.
  364.  
  365.  
  366.  
  367. -------------------
  368. PART I: INFORMATION
  369. -------------------
  370.  
  371.  
  372.  
  373. ----------------------------------
  374. CHAPTER 1.  HIGHLIGHTS OF OS/2 2.0
  375. ----------------------------------
  376.  
  377.  
  378. Users of OS/2(*) 2.0 can run a wide range of DOS, Microsoft(**)
  379. Windows(**), and OS/2 applications side by side in a graphical user
  380. interface.  This enables users to choose the best solution for their
  381. needs from a vast application base.  The networking and client-server
  382. capabilities meet the needs of users who work in today's
  383. interconnected environments.  OS/2 2.0 exploits the 32-bit features of
  384. systems that have the Intel (or compatible) 80386SX (or higher)
  385. microprocessor.  It is a stable platform for developing and delivering
  386. all types of applications--productivity, mission-critical,
  387. educational, and entertainment.  OS/2 2.0 is the Systems Application
  388. Architecture(*) (SAA(*)) environment for the workstation.
  389.  
  390.  
  391. WORKPLACE SHELL
  392. _______________
  393.  
  394. The object-oriented approach of the OS/2 2.0 Workplace Shell(*)
  395. enables users to manage many types of objects (program, data-file,
  396. printer, network-server, and drive) from a single graphical interface
  397. called the desktop.  Users can directly manipulate objects so, for
  398. example, printing becomes as simple as dragging and dropping an icon
  399. (picture) that represents a letter onto an icon that represents a
  400. printer.
  401.  
  402. The Workplace Shell not only works the way users do, it can look the
  403. way users want it to look.  Because OS/2 2.0 is more flexible than
  404. previous OS/2 versions, users can customize their desktops, including
  405. colors, fonts, object locations, and many other aspects of appearance.
  406. Desktops can be tailored to suit an organization or an individual.
  407.  
  408. The Workplace Shell represents the culmination of earlier
  409. technologies, evolving over time from the command line to graphical
  410. icons, to the current object-oriented interface technology.  The
  411. interface implements the workplace model defined by Common User
  412. Access(*) (CUA(*)) 91.
  413.  
  414.  
  415. THE INTEGRATING PLATFORM
  416. ________________________
  417.  
  418. OS/2 2.0--The Integrating Platform(*)--provides the Workplace Shell
  419. graphical interface and automatically manages system resources for all
  420. applications running concurrently in the system.  It manages the
  421. transfer of data between an application and another application or a
  422. hardware device, such as a printer or a diskette drive.  It enables
  423. access to network resources.  The platform provides protection for
  424. OS/2 2.0 and the applications running in the system.  It manages
  425. memory and file system services.  It also provides support for
  426. multimedia extensions.
  427.  
  428.  
  429. CONCURRENT PROCESSING
  430.  
  431. OS/2 2.0 supports the concurrent processing of tasks, permitting users
  432. to perform tasks while one or many others are processing.  This
  433. reduces waiting time and improves user response times and efficiency.
  434. The management of processes and threads running in the system is
  435. simplified and enhanced under OS/2 2.0 in the following areas:
  436.  
  437. o   Support is no longer required for processes running in real mode,
  438.     such as the DOS box in previous OS/2 versions.
  439. o   DOS and Windows applications are supported in DOS sessions that
  440.     run in protect-mode.
  441. o   Support is provided for applications that use OS/2 and Windows
  442.     multimedia extensions, enabling users to integrate multimedia
  443.     applications.
  444.  
  445. Under OS/2 2.0, all applications run as protect-mode processes.  They
  446. are provided with preemptive multitasking (which enables a higher
  447. priority task to be scheduled after some system event occurs, such as
  448. an I/O interrupt) and full memory protection between processes.
  449.  
  450. Depending on the display adapter installed, users generally can run
  451. their applications in a window or full screen, in graphics or text
  452. modes, and in the foreground or background.  Full-screen operation in
  453. the foreground might be required or preferred for some advanced,
  454. graphical applications when performance or timing considerations are
  455. critical.
  456.  
  457.  
  458. INTER-APPLICATION COMMUNICATION
  459.  
  460. Cut and paste functions can be performed easily across all types of
  461. applications, reducing the need for manual transfers of data and the
  462. resulting risk of errors.  Dynamic Data Exchange (DDE) is supported
  463. between Windows and OS/2 Presentation Manager(*) applications.  (DDE
  464. enables users to update information in one application or session and
  465. have the updates applied to identical information in a different
  466. application or session.)  Object linking and embedding (OLE) is
  467. supported between Windows applications.  (OLE enables an application
  468. to use data from another application; for example, a word-processing
  469. application could link to a voice-annotation application.)
  470.  
  471.  
  472. PRINTING
  473.  
  474. Each printer is represented on the OS/2 desktop by a printer object,
  475. enabling users to drag and drop print jobs onto any local or remote
  476. printer on the network.  This integrated operation enables users to
  477. improve their productivity by decreasing significantly the number of
  478. steps needed to print.
  479.  
  480.  
  481. NETWORK SUPPORT
  482.  
  483. OS/2 2.0 meets the needs of today's users who work in interconnected
  484. environments.  OS/2 2.0 provides networking and client-server
  485. capabilities.  Network servers, such as the IBM LAN Server and the
  486. Novell, Inc. NetWare server, are represented as objects on the OS/2
  487. desktop, enabling users to access both local and remote resources with
  488. ease.  When users need access, OS/2 2.0 prompts them for information,
  489. so they do not have to remember complex commands.
  490.  
  491. In addition, users do not have to assign drive letters or port names
  492. to use the resources on the network.  From the OS/2 desktop, users can
  493. browse servers for shared resources, shared disks for files and
  494. applications, and shared printers to manage print jobs.
  495.  
  496.  
  497. APPLICATION AND SYSTEM PROTECTION
  498.  
  499. OS/2 2.0 is a platform ideally suited for running mission-critical and
  500. line-of-business applications.  OS/2 2.0 is a protected system and
  501. application environment.  OS/2 is designed so that each application is
  502. encapsulated in its own address space and cannot access system or
  503. other application data.  Sessions that contain DOS and Windows
  504. applications run in the protected mode of the Intel (or compatible)
  505. 80386SX (or higher) microprocessor.  If a Windows or DOS application
  506. that is running in a window attempts to violate the integrity of the
  507. system, the application usually will be ended without affecting the
  508. system and other active applications.  And, if a DOS or Windows
  509. application fails, for example, from unrecoverable application errors
  510. (UAEs), the session can be closed and normally restarted easily,
  511. without affecting the other applications running on the system.
  512.  
  513.  
  514. MEMORY MANAGEMENT
  515.  
  516. Memory management under OS/2 2.0 provides access to larger amounts of
  517. physical and virtual memory in a more efficient manner than in
  518. previous versions of the OS/2 operating system.  It also removes many
  519. of the constraints imposed by previous versions.  At the same time,
  520. the enhanced memory management maintains compatibility with 16-bit
  521. applications and resources.  OS/2 2.0 introduces a flat memory model
  522. with a linear address space of 4GB (GB equals 1024MB).  Designed to be
  523. used with the Intel (or compatible) 80386SX (or higher)
  524. microprocessor, OS/2 2.0 takes full advantage of such 32-bit features
  525. as 32-bit register set, 32-bit instructions and addressing, large
  526. memory objects (greater than 64KB), and paging.
  527.  
  528. Paging enables an application to request large memory objects, and
  529. access and manipulate those objects as logical entities.  Paging also
  530. enables a more efficient implementation of virtual memory, because
  531. individual pages, rather than entire memory objects, can be swapped in
  532. and out of real memory.  Paging has good performance, especially when
  533. memory objects become very large.
  534.  
  535.  
  536. FILE SYSTEMS
  537.  
  538. OS/2 2.0 comes with a choice of two file systems, High Performance
  539. File System (HPFS) and File Allocation Table (FAT).
  540.  
  541.  
  542. HPFS File System
  543.  
  544. HPFS under OS/2 2.0 supports the following:
  545.  
  546. o   Command chaining by calling the volume manager with a list of all
  547.     contiguous sector requests required to fulfill an I/O request.
  548.     This function is supported for all types of direct access storage
  549.     devices (DASD).
  550. o   Scatter and gather by passing physical pointers to each page in
  551.     the data buffer (physically not contiguous) as part of the I/O
  552.     request.  This enables I/O controllers that support the
  553.     scatter-and-gather capability, such as the IBM
  554.     small-computer-system-interface (SCSI) adapters, to perform
  555.     input/output in a single operation.
  556. o   Disk caching in the installable-file-system (IFS) driver, rather
  557.     than in the device driver
  558. o   Recognition of devices that have outboard caches (nonsystem
  559.     memory), incorporating them into the total caching scheme
  560.  
  561.  
  562. FAT File System
  563.  
  564. FAT contains the following enhancements that provide improved
  565. performance and enhanced support for disk hardware devices:
  566.  
  567. o   Command chaining by attempting to call the volume manager with a
  568.     list of all contiguous sector requests required to fill an I/O
  569.     request.  This enables multiple page-in and page-out requests in a
  570.     single logical operation.
  571. o   Scatter and gather by passing physical pointers to each page in
  572.     the data buffer (physically not contiguous) as part of the I/O
  573.     request.  This enables I/O controllers that support the
  574.     scatter-and-gather capability, such as the IBM SCSI adapters, to
  575.     perform input/output in a single operation.
  576. o   Disk caching is now within the FAT file system, rather than in the
  577.     device driver
  578. o   Recognition of devices that have outboard caches (nonsystem
  579.     memory), incorporating them into the total caching scheme
  580. o   Fast allocation of free space, using a bit map to track free
  581.     clusters on the disk
  582.  
  583.  
  584. MULTIMEDIA APPLICATIONS
  585.  
  586. OS/2 2.0 supports applications that use OS/2 and Windows multimedia
  587. extensions, enabling users to integrate multimedia applications into
  588. their environment.  Users can look ahead to the next generation of
  589. software applications--exciting multimedia solutions for entertainment
  590. and education.
  591.  
  592.  
  593. APPLICATION COMPATIBILITY
  594. _________________________
  595.  
  596. A broad range of the current 17 000 DOS applications, 4900 Windows
  597. applications, and 2500 16-bit OS/2 applications will run unchanged on
  598. OS/2 2.0.  This vast assortment of applications permits users to
  599. choose the applications that provide the most effective solutions to
  600. their needs.  This means that businesses do not have to invest in new
  601. applications and training right away.  They can migrate to the
  602. emerging, more powerful, 32-bit OS/2 applications as their needs grow.
  603.  
  604. IBM has subjected leading applications to rigorous testing.  In
  605. addition, a large number of users have beta-tested their applications
  606. on early versions of OS/2 2.0.  IBM is aware of a small number of
  607. applications that do not operate properly.  They include applications
  608. that could compromise the integrity of the system or require extremely
  609. high interrupt rates (typically, greater than 1000 interrupts per
  610. second).  Other applications might run with limited function or might
  611. require special settings.  For more information, refer to "DOS and
  612. WIN-OS/2 Settings."
  613.  
  614.  
  615. MULTIPLE DOS SESSIONS
  616.  
  617. A significant aspect of OS/2 2.0 is its ability to run multiple DOS
  618. sessions along with OS/2 sessions, using the multiple-DOS-sessions
  619. feature.  This feature enables each session to run as a
  620. single-threaded, protect-mode OS/2 task.  Each DOS session can have
  621. more than 620KB of conventional memory available.  OS/2 supports the
  622. use of the Lotus/Intel/Microsoft Extended Memory Specification (LIM
  623. EMS) and the Lotus/Intel/Microsoft/AST eXtended Memory Specification
  624. (LIMA XMS).  The ability of a DOS session to run within a window on
  625. the OS/2 desktop provides immediate productivity gains to existing DOS
  626. applications, because they can use OS/2 desktop features.  These
  627. features include window manipulation and the ability to cut, copy, and
  628. paste information between applications, using the OS/2 clipboard.
  629.  
  630. Application compatibility in the DOS session is improved over previous
  631. OS/2 versions.  The DOS session can be used to run DOS-based
  632. communications applications and other applications that address
  633. hardware I/O devices through the use of virtual device drivers (VDDs).
  634. These VDDs map the device driver calls from applications to the
  635. appropriate physical device driver within the operating system.  For
  636. more information, refer to "Virtual Device Drivers."
  637.  
  638. Application compatibility is further enhanced by the DOS Settings
  639. feature, which allows DOS sessions to be customized to suit the
  640. requirements of the applications running in them.  Settings, such as
  641. video characteristics, hardware-environment emulation, and the use of
  642. memory extenders, can be customized using this feature.  For more
  643. information, refer to "DOS and WIN-OS/2 Settings."
  644.  
  645.  
  646. WINDOWS APPLICATIONS
  647.  
  648. OS/2 2.0 provides the capability for Windows applications to run under
  649. OS/2 2.0 using the multiple-DOS-sessions feature.  This enables
  650. applications written for Windows Version 3.0 (standard and real-mode
  651. applications) and previous Windows versions to coexist and run in the
  652. same session.  Users can run Windows applications as protect-mode
  653. tasks, enabling concurrent multitasking among Windows, DOS, and OS/2
  654. applications.
  655.  
  656.  
  657. VERSION-SPECIFIC DOS
  658.  
  659. There are some applications that must run on a specific version of DOS
  660. because they require characteristics unique to that version.
  661. Therefore, OS/2 2.0 enables users to boot (start) specific versions of
  662. DOS, such as 3.3, 4.0, and 5.0, or DRDOS 6.0, in a DOS session.  This
  663. capability helps ensure compatibility with version-specific DOS
  664. applications and device drivers.  That includes block device drivers,
  665. such as local area network (LAN) requesters, that are needed for
  666. network support.
  667.  
  668.  
  669. BOOT MANAGER
  670.  
  671. OS/2 2.0 enables users to install multiple operating systems, such as
  672. DOS 3.3, 4.0, and 5.0; DRDOS 6.0; and OS/2 1.3, on the same computer
  673. on which OS/2 2.0 is installed.  This ability to select from multiple
  674. operating systems makes it possible to use a single hardware
  675. configuration but run applications that require a specific operating
  676. system.  The Boot Manager feature also enables businesses with large
  677. numbers of users migrating from one release to another to fully test
  678. the new environment while the old environment continues to be
  679. operational.  Application developers also can take advantage of this
  680. feature.
  681.  
  682.  
  683. MEMORY EXTENDERS
  684.  
  685. OS/2 2.0 provides portability for the current set of DOS applications
  686. by adhering to current industry standards for personal computing.  The
  687. ability of OS/2 2.0 to execute DOS applications that use eXtended
  688. Memory Specification (XMS) Version 2.0, Expanded Memory Specification
  689. (EMS) Version 4.0, and DOS Protected Mode Interface (DPMI Level .9)
  690. prevents existing DOS applications from becoming obsolete due to
  691. migration to OS/2 2.0.  Many DOS applications use these memory
  692. extenders to gain access to memory above the 1MB real-mode addressing
  693. limit.  Such extenders allow DOS applications to have total code and
  694. data spaces larger than the available base conventional memory, and to
  695. have very large code or data objects loaded into memory for improved
  696. speed.
  697.  
  698.  
  699. ADOBE TYPE MANAGER
  700.  
  701. OS/2 2.0 includes the Adobe Type Manager (ATM) which supports
  702. industry-standard ATM fonts for both Windows and Presentation Manager
  703. applications.  Support for Windows applications requiring ATM fonts
  704. enables users to run their applications under OS/2 2.0 without having
  705. to purchase and install the ATM for Windows.  A selection of popular
  706. ATM fonts (Type 1) also is included.
  707.  
  708.  
  709. INSTALLATION
  710. ____________
  711.  
  712. Rich colors, icons, progress indicators, and status information all
  713. help to guide users through the new OS/2 2.0 graphical installation.
  714. When users install OS/2 2.0 on a system that contains DOS, Windows, or
  715. a previous OS/2 version, applications and other environmental
  716. conditions are preserved or migrated to the OS/2 environment.
  717.  
  718. Users can choose from two preselected installations, one that is
  719. optimal for most users (installs the most commonly used features of
  720. OS/2 2.0 to your hard disk)  and another that will install the
  721. complete system.  A third installation option enables users to install
  722. only the functions they need, thereby reducing hard disk requirements.
  723. Although you must have a 60MB (or larger) hard disk, the actual hard
  724. disk requirements for OS/2 2.0 range from 15-30MB, depending on the
  725. installation options selected.
  726.  
  727. OS/2 2.0 also supports installation from a response file.  A response
  728. file contains information the installation program uses to set up a
  729. system.  The file contains the answers for all the prompts users see
  730. in a typical installation.  By using a response file, a system
  731. administrator can preselect installation options.  This type of
  732. installation is very efficient for installing OS/2 2.0 on many
  733. machines that need the same configuration, and helps reduce the user
  734. involvement in installation.  A response file can be used to install
  735. OS/2 2.0 from a LAN.
  736.  
  737.  
  738. MIGRATION
  739. _________
  740.  
  741. During installation, users can have OS/2 automatically migrate
  742. existing DOS, Windows, and OS/2 environments, mapping them to the OS/2
  743. 2.0 environment.  In addition, OS/2 2.0 contains profiles of more than
  744. 225 of the most popular DOS and Windows applications.  Program objects
  745. for those applications are placed in the appropriate DOS or Windows
  746. folder on the OS/2 desktop; OS/2 1.x groups are mapped to OS/2 2.0
  747.                                    _
  748. folders on the desktop.  OS/2 2.0 also takes care of the special
  749. settings required by a few of the 225 DOS and Windows applications.
  750. This migration process also includes the supporting DOS, WIN-OS/2(*),
  751. and 16-bit OS/2 device drivers and printer definitions, as well as the
  752. other applications on the hard disk.
  753.  
  754. To help users migrate to the Workplace Shell, the user interface can
  755. be changed to look like OS/2 Version 1.3.  To do this, an experienced
  756. user can issue a command that remakes the OS2.INI file.  For specific
  757. instructions, refer to Migrating to the OS/2 Workplace Shell.  When
  758. users are ready to use the Workplace Shell, the experienced user can
  759. again remake the OS2.INI file.
  760.  
  761.  
  762. ONLINE HELP AND INFORMATION
  763. ___________________________
  764.  
  765. Online help and information is available at any time and provides
  766. users with instant explanations of OS/2 2.0 functions, eliminating the
  767. need to keep a manual nearby.  An online, interactive tutorial teaches
  768. users how to use a mouse, how to work with objects, how to optimize
  769. the window environment, and how to use the online help and
  770. information.  An online glossary of terms also is available.
  771.  
  772. The Start Here icon on the OS/2 desktop contains a selectable list of
  773. the tasks users perform most frequently, such as adding and using
  774. applications, finding information, printing, and shutting down their
  775. systems.  Users can select the task they need to perform and go
  776. directly to the procedure for accomplishing it, which is in the Master
  777. Help Index.
  778.  
  779. The Master Help Index contains an alphabetic, selectable list of
  780. topics, enabling users to quickly locate instructions for completing
  781. any task supported by OS/2 2.0.  Some topics contain hypertext links,
  782. enabling users to select a topic of choice and view related
  783. information immediately.  Topics also can be searched and printed
  784. easily.
  785.  
  786.  
  787. PRODUCTIVITY AIDS AND GAMES
  788. ___________________________
  789.  
  790. The productivity aids and games included with OS/2 2.0 are provided to
  791. help users learn how to use the system and be productive immediately.
  792.  
  793.  
  794. PRODUCTIVITY AIDS
  795.  
  796. A calculator, a calendar, a notepad, and a sticky pad help users
  797. perform and manage their daily tasks.  A to-do list helps to remind
  798. users of things they need to do, and an alarm helps ensure they do
  799. them on time.  Daily and monthly planning applications help users keep
  800. track of upcoming events.  PM Terminal opens up a new experience for
  801. users who are unfamiliar with the world of online databases and
  802. bulletin boards.  The Enhanced Editor and the PM Chart applications
  803. are useful for daily tasks and presentations.  In all, 18 productivity
  804. aids can be installed.
  805.  
  806.  
  807. GAMES
  808.  
  809. The games provide entertainment and help users unfamiliar with a mouse
  810. to practice their skills.  The computer will give users a challenge if
  811. they try to defeat it at OS/2 Chess.  Klondike-style Solitaire is a
  812. favorite, along with Jigsaw, Scramble, and Reversi.
  813.  
  814.  
  815. OS/2 2.0 TOOLS FOR APPLICATION DEVELOPMENT
  816. __________________________________________
  817.  
  818. IBM OS/2 2.0 tools for application development provide a complete
  819. 32-bit C-language application development environment.  With these
  820. tools, which are available for purchase, the developer can take full
  821. advantage of the rich programming interface in OS/2 2.0.  The tools
  822. are packaged to enable the application developer to start using OS/2
  823. 2.0 with a small investment and continue to use their own favorite
  824. tools. Productivity and technological gains can be made by moving all
  825. development work to OS/2 2.0 and moving up to 32-bit object-based
  826. application development for OS/2 2.0.
  827.  
  828.  
  829. DEVELOPMENT PLATFORM
  830.  
  831. The power and performance of preemptive multitasking, coupled with
  832. application protection, make OS/2 2.0 the right system for application
  833. development.  In a multitasking system with the developer managing a
  834. number of projects, some of which are being debugged and experiencing
  835. failures, it is essential that system integrity be maintained.  OS/2
  836. 2.0 provides the power and integrity to handle this environment.
  837. Development for 32- and 16-bit OS/2, DOS, and Windows applications can
  838. coexist on OS/2 2.0.  IBM WorkFrame/2 makes the job easier by
  839. organizing the developer's projects and integrating preferred tools
  840. into a single, easy to use, graphical environment.
  841.  
  842.  
  843. 32-BIT APPLICATION PROGRAMMING INTERFACE
  844.  
  845. OS/2 2.0 has a rich and powerful programming interface designed to
  846. take application development into the future.  The System Object Model
  847. (SOM), which is used to build the Workplace Shell, enables developers
  848. to fully integrate their applications into the Workplace Shell using
  849. object-oriented technology.  Using Workplace Shell application
  850. programming interfaces (APIs), the objects of applications derive all
  851. the benefits of the Workplace functions, such as drag-drop.  Using the
  852. SOM compiler, a C-language programmer can extend this function and
  853. define new class libraries.  The Application Design Guide explains how
  854. to build OS/2 Workplace Shell and SOM-enabled applications while
  855. maximizing performance with 32-bit memory management, multithreading,
  856. interprocess communications, preemptive multitasking, and other
  857. features of OS/2 2.0.
  858.  
  859. The IBM Developer's Toolkit and the Technical Library enable
  860. application developers to take full advantage of the OS/2 2.0
  861. programming interface.  The Toolkit provides essential tools, such as
  862. the PM Resource compiler, the Information Presentation Facility (IPF)
  863. compiler, and the SOM compiler.  The Toolkit also includes API
  864. references in online form, sample programs that demonstrate the use of
  865. the new APIs, the required header and .LIB files, and kernel debug
  866. support.  The Technical Library supplements the Toolkit with
  867. programming guides, API references in printed form, and additional
  868. information about REXX, CUA, and device driver development.  All of
  869. these books, including The Application Design Guide, can be purchased
  870. as a group in the Technical Library or individually.  The Toolkit
  871. contains an order form.
  872.  
  873.  
  874. APPLICATION PERFORMANCE AND PROGRAMMER PRODUCTIVITY
  875.  
  876. High performance code optimization in the IBM C Set/2 C compiler
  877. provides the opportunity to produce some of the highest-performing
  878. OS/2 based applications possible.  Extensive runtime library support,
  879. online hypertext reference information, conformance to ANSI and SAA
  880. standards, and a fully graphical full-function source-level PM
  881. debugger all make C Set/2 an excellent choice for developing 32-bit
  882. OS/2 2.0 applications.  Organizing C Set/2 projects in WorkFrame/2
  883. further enhances programmer productivity.
  884.  
  885.  
  886. PROTECTING INVESTMENT IN 16-BIT CODE
  887.  
  888. Mixed-mode programming techniques supported by OS/2 2.0 and C Set/2
  889. enable the integration of 16-bit code into 32-bit programs.  For
  890. example, the user may continue to develop panels using Dialog Manager,
  891. a 16-bit Presentation Manager interface previously provided in IBM
  892. OS/2 Programming Tools and Information, version 1.3; this code can be
  893. incorporated into a 32-bit executable that takes advantage of the
  894. 32-bit interface provided by OS/2 2.0.  Both the 32-bit development
  895. environment (C Set/2 with tools) and the 16-bit development
  896. environment (a 16-bit compiler with tools) can be installed in
  897. WorkFrame/2 to enhance productivity in the mixed-mode environment.
  898.  
  899.  
  900.  
  901. -----------------------------
  902. CHAPTER 2.  MANAGING OS/2 2.0
  903. -----------------------------
  904.  
  905.  
  906. OS/2 2.0 supports the Intel (or compatible) 80386SX (or higher)
  907. microprocessor architecture.  It also has the ability to run multiple
  908. DOS applications concurrently, with full preemptive (allows higher
  909. priority task to interrupt) multitasking and memory protection for
  910. each application.  Windows applications also are supported in the same
  911. way.
  912.  
  913. This chapter describes some of the functional characteristics of the
  914. OS/2 operating system, such as managing memory, file systems, tasks,
  915. and devices.
  916.  
  917.  
  918. MEMORY MANAGEMENT
  919. _________________
  920.  
  921. Memory management under OS/2 2.0 provides access to larger amounts of
  922. physical and virtual memory in a more efficient manner than in
  923. previous versions of the OS/2 operating system.  It also removes many
  924. of the constraints imposed by previous versions.  At the same time,
  925. the enhanced memory management maintains compatibility with 16-bit
  926. applications and resources.
  927.  
  928. Designed to be used with the Intel (or compatible) 80386SX (or higher)
  929. microprocessor, OS/2 2.0 takes full advantage of such 32-bit features
  930. as:
  931.  
  932. o   32-bit register set
  933.  
  934. o   32-bit instructions and addressing
  935.  
  936. o   Large memory objects (greater than 64KB)
  937.  
  938. o   Paging
  939.  
  940. OS/2 2.0 manages its memory as a single linear address space of up to
  941. 4GB in size.  This global address space is divided into two regions:
  942.  
  943. o   The region below 512MB is known as the process address space and
  944.     is available to applications for storage of executable code,
  945.     resources, and data.
  946.  
  947. o   The region above 512MB is reserved for operating system use.
  948.  
  949. The choice of 512MB as the dividing line between the two regions
  950. allows 16-bit applications and resources written for previous versions
  951. of OS/2 to run in addressable memory within the process address space.
  952.  
  953. OS/2 2.0 allocates memory in multiples of 4KB; each 4KB unit is known
  954. as a page.  An application can request larger memory objects and can
  955. access and manipulate these objects as logical entities, but the
  956. operating system internally manages each page as a separate unit.
  957. This allows a more efficient implementation of virtual memory, because
  958. individual pages can be swapped in and out of real memory rather than
  959. entire memory objects.  Paging is typically faster, especially when
  960. memory objects become very large.
  961.  
  962. NOTE:  The fixed page size simplifies many memory management tasks,
  963.        because no special consideration is required for the various
  964.        segment sizes.  Each unit of memory allocated will always be a
  965.        multiple of 4KB.
  966.  
  967.  
  968. FLAT MEMORY MODEL
  969.  
  970. The memory model used by OS/2 2.0 is known as a flat memory model,
  971. because memory is regarded as a single, large, linear address space.
  972. This concept applies for every process in OS/2 2.0.  Memory addresses
  973. are defined by a 32-bit addressing scheme, which results in a linear
  974. address space of 4GB.
  975.  
  976. The system's address space is the entire 4GB.  Each process has its
  977. own process address space, completely distinct from that of all other
  978. processes in the system.  All threads within the process share the
  979. same process address space, which is, theoretically, 512MB.  However,
  980. the maximum size of process address space is defined at system
  981. initialization and is somewhat less than 512MB to allow space for
  982. memory used by the operating system.
  983.  
  984.  
  985. PAGING
  986.  
  987. OS/2 2.0 manages memory internally using pages of 4KB each.  When a
  988. session needs to use an area of real memory, and none is available,
  989. the control program swaps out to disk, any information in memory that
  990. has not been accessed for a period of time.  Fixed page size speeds
  991. performance when memory must be swapped, which is an improvement over
  992. the segmentation model used by earlier OS/2 versions.  Consistent with
  993. the object orientation of the operating environment, the control
  994. program can view a page, a related set of pages, or segments within a
  995. single page as a memory object.
  996.  
  997. A memory object is the term used under OS/2 2.0 for a linear,
  998. contiguous range of memory addresses, which is regarded and
  999. manipulated as a single logical unit by an application.  A memory
  1000. object is composed of one or more discrete 4KB pages.  OS/2 2.0
  1001. manages all paging internally on a page-to-page basis.
  1002.  
  1003. The 32-bit applications that run under OS/2 2.0 deal with the 32-bit
  1004. addressing scheme.  This is in contrast to the segmented memory model
  1005. implemented by the 80286 processor.  However, to maintain
  1006. compatibility for 16-bit applications, OS/2 2.0 also supports the
  1007. segmented memory model.  Code segments of 16-bit applications and
  1008. libraries are packed in memory to reduce page fragmentation.
  1009.  
  1010.  
  1011. DYNAMIC LINKING OF MODULES
  1012.  
  1013. Software in the OS/2 environment can take advantage of dynamic linked
  1014. libraries (DLLs).  Dynamic linking means loading, or calling into
  1015. memory, a portion of an application only when it is needed to perform
  1016. a requested task.  This is different from the type of environment in
  1017. which a library module becomes part of the main application for the
  1018. whole time that the application is loaded in memory.
  1019.  
  1020. By dynamically linking a module that performs a common task, the
  1021. application makes use of the module (and the resources it requires)
  1022. only if the sequence of events makes the module necessary.  Because
  1023. the linked portion resides in memory only when needed, the amount of
  1024. real memory absorbed by any one application remains minimal; this
  1025. minimizes the time devoted to page swapping.
  1026.  
  1027. Applications that need the same tasks can share the DLL.  By sharing
  1028. common software tasks, applications use less disk space and memory.
  1029.  
  1030.  
  1031. MEMORY EXTENDERS
  1032.  
  1033. Many DOS applications use memory extenders, such as EMS and XMS, to
  1034. gain access to memory above the 1MB real mode addressing limit of the
  1035. 80286 and higher microprocessors.  Such extenders allow DOS
  1036. applications to have total code and data spaces larger than the
  1037. available base memory, and to have very large code or data objects
  1038. loaded into memory for improved speed.  The standard configuration of
  1039. OS/2 2.0 provides both LIM EMS Version 4.0 and LIMA XMS Version 2.0
  1040. functions for DOS applications running in DOS sessions.  It also
  1041. supports DPMI.
  1042.  
  1043. Users can choose to have DOS load video drivers and other device
  1044. drivers into memory between 640KB and 1MB; it loads applications and
  1045. data in the area below 640KB.  DOS extenders take control to manage
  1046. upper memory.
  1047.  
  1048.  
  1049. Expanded Memory Specification
  1050.  
  1051. LIM EMS provides a standard interface that can access memory above
  1052. 1MB.  LIM EMS allows for up to 32MB of expanded memory.  A region of
  1053. expanded memory can be mapped into an address space below 1MB when a
  1054. DOS application needs the contents stored in the expanded memory.
  1055.  
  1056.  
  1057. Extended Memory Specification
  1058.  
  1059. LIMA XMS offers 18 functions for an extended memory programming
  1060. interface that can access memory above 1MB.  It is addressable by
  1061. systems with an Intel (or compatible) 80386SX (or higher)
  1062. microprocessor architecture.  LIM XMS addresses three regions of
  1063. memory:
  1064.  
  1065. o   Upper memory blocks between 640KB and 1MB that DOS can use as
  1066.     conventional memory
  1067.  
  1068. o   The high memory area, which is the first 64KB of extended memory
  1069.     (from address 1MB to 1MB plus 64KB), where a real-mode application
  1070.     can access memory as conventional memory
  1071.  
  1072. o   An extended memory block
  1073.  
  1074. A user can start a specific DOS version within a DOS session with OS/2
  1075. 2.0.  When a DOS session starts with a specific DOS version, extended
  1076. memory blocks serve only for data storage; they cannot be accessed by
  1077. an application.  When a DOS session starts, memory in an extended
  1078. memory block region can be moved to conventional memory, and a
  1079. conventional memory region can be moved to the extended memory block
  1080. region.  In practice, the maximum extended memory block region is
  1081. 16MB, divided into as many as 255 blocks.
  1082.  
  1083. If an application in a DOS session encounters an error as a result of
  1084. insufficient extended memory:
  1085.  
  1086. o   Ensure that the overall limit and the limit for the DOS session
  1087.     are large enough to accommodate the amount of extended memory
  1088.     required by the application.
  1089.  
  1090. o   Ensure that the CONFIG.SYS file contains the following statement:
  1091.  
  1092.       DEVICE=VXMS.SYS
  1093.  
  1094. o   Ensure that the expanded memory driver, VEMM.SYS, is not using all
  1095.     of the available memory.  Reduce the amount of memory allocated to
  1096.     VEMM by changing the parameters of the DEVICE= statement for VEMM
  1097.     to a lower value.
  1098.  
  1099. o   Ensure that the CONFIG.SYS file and the AUTOEXEC.BAT file do not
  1100.     start unnecessary applications that use extended memory.
  1101.  
  1102.  
  1103. DOS Protect Mode Interface
  1104.  
  1105. The DPMI can access memory above 1MB and is addressable by systems
  1106. with an Intel 80386 (or higher) microprocessor.  OS/2 2.0 DPMI
  1107. supports the process address space.
  1108.  
  1109. Protect mode refers to the operational mode that enables an Intel
  1110. microprocessor to use the address space above 1MB.  In this mode, the
  1111. microprocessor also provides memory protection and prevents access to
  1112. certain operating system instructions, called privileged instructions.
  1113.  
  1114.  
  1115. SWAP FILE
  1116.  
  1117. The swap file (SWAPPER.DAT) is the file where OS/2 2.0 stores those
  1118. memory pages it moves out of memory.  The SWAPPER.DAT file defaults to
  1119. the system startup partition.  This can be changed during installation
  1120. or later in the CONFIG.SYS file.  When the path and default size for
  1121. the swap file are changed in the CONFIG.SYS file, it takes effect the
  1122. next time the operating system is started.
  1123.  
  1124. The operating system automatically pre-allocates the SWAPPER.DAT file
  1125. based on the size (in MB) of installed memory.  This optimizes
  1126. performance and reduces disk fragmentation (file scattering).
  1127.  
  1128. NOTE:  When necessary, the operating system increases the swap file
  1129.        size beyond the initial allocation.
  1130.  
  1131. To change the pre-allocated size in the CONFIG.SYS file, modify the
  1132. SWAPPATH= statement (sizes are specified in KB).  To customize the
  1133. swap file size for a particular environment, modify the default value
  1134. to reflect the smallest default value, according to Table 1 (for
  1135. example, 2MB); then restart the system.  Start the desired
  1136. application, view the OS2\SYSTEM\SWAPPER.DAT file and record the size
  1137. periodically.  Take the largest size that you record and add 1-2MB.
  1138. If this size is larger than the recommended size in Table 1, choose
  1139. the larger value.
  1140.  
  1141. The MINFREE parameter in the SWAPPATH= statement determines when the
  1142. partition containing the SWAPPER.DAT file is running out of space.
  1143. The first warning that displays indicates that there is less space
  1144. than the amount in the MINFREE parameter.  To avoid receiving the
  1145. warning message, delete some space or adjust the MINFREE value to a
  1146. smaller value.
  1147.  
  1148. +------------------------------------------------------------+
  1149. | Table 1. Default SWAPPER.DAT Settings at Installation Time |
  1150. +-----------------+------------------+-----------------------+
  1151. | MEMORY (MB)     |   MINFREE (KB)   |   INITIAL SIZE (KB)   |
  1152. +-----------------+------------------+-----------------------+
  1153. | 4               |       4096       |          6144         |
  1154. +-----------------+------------------+-----------------------+
  1155. | 5               |       4096       |          5120         |
  1156. +-----------------+------------------+-----------------------+
  1157. | 6               |       4096       |          5120         |
  1158. +-----------------+------------------+-----------------------+
  1159. | 7               |       2048       |          4096         |
  1160. +-----------------+------------------+-----------------------+
  1161. | 8               |       2048       |          4096         |
  1162. +-----------------+------------------+-----------------------+
  1163. | 9               |       2048       |          3072         |
  1164. +-----------------+------------------+-----------------------+
  1165. | 10              |       2048       |          3072         |
  1166. +-----------------+------------------+-----------------------+
  1167. | 11 through 32   |       2048       |          2048         |
  1168. +-----------------+------------------+-----------------------+
  1169.  
  1170.  
  1171. FILE SYSTEMS MANAGEMENT
  1172. _______________________
  1173.  
  1174. OS/2 2.0 comes with a choice of two file systems, HPFS and FAT.
  1175.  
  1176. The HPFS under OS/2 2.0 supports the following:
  1177.  
  1178. o   Command chaining by calling the volume manager with a list of all
  1179.     contiguous sector requests required to fulfill an I/O request.
  1180.     This function is supported for all DASD types.
  1181.  
  1182. o   Scatter and gather by passing physical pointers to each page in
  1183.     the data buffer (physically discontiguous) as part of the I/O
  1184.     request.  This enables I/O controllers, such as the IBM SCSI
  1185.     adapters, that support the scatter and gather capability to
  1186.     perform the I/O in a single operation.
  1187.  
  1188. o   Disk caching in the IFS driver, rather than in the device driver.
  1189.  
  1190. o   Recognition of devices that have onboard caches (nonsystem
  1191.     memory), incorporating them into the total caching scheme.
  1192.  
  1193. HPFS under OS/2 2.0 supports a maximum file size of 2GB.  The maximum
  1194. size for a disk partition is 64GB.
  1195.  
  1196. The FAT file system contains the following enhancements that provide
  1197. improved performance and enhanced support for disk hardware devices:
  1198.  
  1199. o   Command chaining by attempting to call the volume manager with a
  1200.     list of all contiguous sector requests required to fill an I/O
  1201.     request, thereby enabling multiple page-in and page-out requests
  1202.     in a single logical operation.
  1203.  
  1204. o   Scatter and gather by passing physical pointers to each page in
  1205.     the data buffer (physically discontiguous) as part of the I/O
  1206.     request.  This allows I/O controllers, such as the IBM SCSI
  1207.     adapters, that support the scatter and gather capability to
  1208.     perform the I/O in a single operation.
  1209.  
  1210. o   Disk caching within the FAT file system, rather than in the device
  1211.     driver.
  1212.  
  1213. o   Recognition of devices that have onboard caches (nonsystem
  1214.     memory), incorporating them into the total caching scheme.
  1215.  
  1216. o   Faster allocation of free space on the logical drive, using a bit
  1217.     map to track free clusters on the disk.
  1218.  
  1219. The FAT file system under OS/2 2.0 supports a maximum file size of
  1220. 2GB.  The maximum supported size for a hard disk partition also is
  1221. 2GB.
  1222.  
  1223.  
  1224. FILE SYSTEM CACHES
  1225.  
  1226. Disk caching is the placing of frequently accessed data in a special
  1227. buffer storage.  It reduces access time and improves the performance
  1228. of applications that rely heavily on hard disk data.  It works with
  1229. both HPFS and the FAT file system caches.
  1230.  
  1231. o   To allow the operating system the greatest chance for finding data
  1232.     in the cache, both file systems incorporate asynchronous read
  1233.     ahead for sequential I/O.  This read-ahead capability is always
  1234.     enabled in OS/2 2.0.
  1235.  
  1236. o   To minimize the frequency with which the system ties up its
  1237.     resources writing cached data to the disk, both file systems also
  1238.     can take advantage of the lazy-writing feature (or write behind).
  1239.     Lazy writing provides a performance improvement when writing to
  1240.     the disk.
  1241.  
  1242. o   To determine when I/O should be committed to the disk, both file
  1243.     systems use a set of parameters.  See "OS/2 2.0 CONFIG.SYS
  1244.     Statements."
  1245.  
  1246. For applications that require absolute data integrity, files should be
  1247. opened with WriteThru enabled.  WriteThru ensures that disk write
  1248. operations are committed to disk before the application continues.
  1249. This is in direct contrast to lazy writing; lazy-written data can
  1250. remain in the file-system cache for several seconds after the
  1251. application has completed writing.
  1252.  
  1253. Disabling the lazy-writing feature of either file system does not
  1254. provide the same capability as enabling WriteThru, and it decreases
  1255. system performance.  When it is not possible to open a file with
  1256. WriteThru enabled, the shutdown procedure must be used to ensure that
  1257. all data is written to disk.
  1258.  
  1259.  
  1260. DEFAULT FILE SYSTEM CACHE SIZES
  1261.  
  1262. Although the installation defaults might not be specifically
  1263. customized to a particular system, it is beneficial to have access to
  1264. larger cache sizes.  Therefore, install OS/2 2.0 with larger cache
  1265. sizes when additional memory is available on the system.  Conversely,
  1266. reduce the cache size if there is less memory available on the system.
  1267.  
  1268. The default values are shown in Table 2.  If only the FAT file system
  1269. is installed, the default sizes are for the DISKCACHE= statement in
  1270. the CONFIG.SYS file.  If the system has partitions that are all HPFS,
  1271. the default size is for the IFS=HPFS statement in the CONFIG.SYS file.
  1272. If the system uses both file systems types, then OS/2 2.0 installation
  1273. changes the cache size for both file systems.  The file system with
  1274. the largest total amount of DASD (sum of the partitions) gets the
  1275. larger default value, as shown in Table 2.
  1276.  
  1277. +------------------------------------------------------------------------
  1278. | Table 2. Cache Sizes
  1279. +-------------------------+-------------------------+--------------------
  1280. |    MEMORY SIZE IN MB    |     TWO FILE SYSTEM     |     ONE FILE SYSTEM
  1281. +-------------------------+-------------------------+--------------------
  1282. |            4            |          128/64         |           128
  1283. +-------------------------+-------------------------+--------------------
  1284. |            5            |          128/64         |           128
  1285. +-------------------------+-------------------------+--------------------
  1286. |            6            |          256/64         |           256
  1287. +-------------------------+-------------------------+--------------------
  1288. |            7            |         256/128         |           256
  1289. +-------------------------+-------------------------+--------------------
  1290. |            8            |         256/256         |           384
  1291. +-------------------------+-------------------------+--------------------
  1292. |            9            |         256/256         |           384
  1293. +-------------------------+-------------------------+--------------------
  1294. |      10 through 16      |         512/512         |          1024
  1295. +-------------------------+-------------------------+--------------------
  1296. |      17 through 32      |        1024/1024        |          2048
  1297. +-------------------------+-------------------------+--------------------
  1298.  
  1299.  
  1300. TASK MANAGEMENT
  1301. _______________
  1302.  
  1303. The management of processes and threads running in the system is
  1304. simplified and enhanced under OS/2 2.0 in the following areas:
  1305.  
  1306. o   Support for processes running in real mode (such as the DOS box in
  1307.     previous OS/2 versions) is no longer required.
  1308.  
  1309. o   Support for DOS applications in DOS sessions that run in a protect
  1310.     mode process.
  1311.  
  1312. o   Protection exception management.
  1313.  
  1314. OS/2 2.0 supports the following types of applications on the desktop:
  1315.  
  1316. o   32-bit applications developed for OS/2 2.0
  1317.  
  1318. o   16-bit OS/2 applications developed for previous OS/2 versions
  1319.  
  1320. o   DOS applications in full-screen mode or in a window on the OS/2
  1321.     desktop
  1322.  
  1323. o   Windows applications running in a WIN-OS/2 full-screen session or
  1324.     in a WIN-OS/2 window session on the OS/2 desktop
  1325.  
  1326. Under OS/2 2.0, all applications run as protect mode processes.
  1327. Therefore, they are provided with preemptive multitasking and full
  1328. memory protection between processes.  Refer to the OS/2 2.0 Master
  1329. Help Index for more information on Windows application support.
  1330.  
  1331.  
  1332. DOS AND WIN-OS/2 SUPPORT
  1333. ________________________
  1334.  
  1335. A significant aspect of OS/2 2.0 is its ability to run multiple DOS
  1336. and WIN-OS/2 sessions, along with OS/2 sessions, using the multiple
  1337. DOS sessions feature.  In previous versions of the OS/2 operating
  1338. system, support for DOS applications is limited, less memory is
  1339. available, and a single DOS session operates only in full-screen mode
  1340. and is suspended when in the background.
  1341.  
  1342.  
  1343. MULTIPLE DOS SESSIONS
  1344.  
  1345. DOS supports multiple, concurrent DOS applications, where each runs as
  1346. a single-threaded, protect-mode OS/2 application.  This support
  1347. provides:
  1348.  
  1349. o   Protection of system memory and other applications
  1350.  
  1351. o   Isolation from illegal memory accesses by applications that do not
  1352.     function properly
  1353.  
  1354. o   The ability to end sessions where applications are suspended
  1355.  
  1356. o   The ability to start a specific DOS version
  1357.  
  1358. Multiple DOS sessions also can run along with other OS/2 sessions.
  1359. Each DOS session has more memory than the DOS box implemented in
  1360. previous OS/2 versions; more than 620KB of conventional memory
  1361. (DOS=HIGH,UMB statement in CONFIG.SYS) is available for each DOS
  1362. session.  OS/2 2.0 also supports the use of LIM EMS and XMS.  This
  1363. provides additional memory for those DOS applications that can use
  1364. such extensions.  OS/2 2.0 maps this extended or expanded memory into
  1365. the system's normal, linear memory address space and manages it the
  1366. same as any other allocated memory.
  1367.  
  1368. The ability of a DOS session to run within a window on the OS/2
  1369. desktop provides immediate productivity gains to existing DOS
  1370. applications, because they can use OS/2 desktop features.  These
  1371. features include window manipulation and the ability to cut, copy, and
  1372. paste information between applications using the clipboard.
  1373.  
  1374. Application compatibility in the DOS session also is improved over
  1375. previous OS/2 versions.  The DOS session can be used to run DOS-based
  1376. communications applications and other applications that address
  1377. hardware I/O devices through the use of VDDs.  These VDDs map the
  1378. device driver calls from the applications to the appropriate physical
  1379. device driver within the operating system.  For more information, see
  1380. "Virtual Device Drivers."
  1381.  
  1382. Application compatibility in a DOS session is further enhanced by the
  1383. DOS Settings feature, which allows DOS sessions to be customized to
  1384. suit the requirements of the applications running in them.  Properties
  1385. such as video characteristics, hardware environment emulation, and the
  1386. use of memory extenders all can be customized using this feature.  For
  1387. more information, see "DOS and WIN-OS/2 Settings."
  1388.  
  1389.  
  1390. WINDOWS APPLICATION SUPPORT
  1391.  
  1392. OS/2 2.0 provides the capability for Windows applications to run under
  1393. OS/2 2.0, using the multiple DOS sessions feature.  This support
  1394. allows applications written for Windows Version 3.0 (standard and real
  1395. mode applications) and previous Windows versions to coexist and run in
  1396. the same session.
  1397.  
  1398. Running Windows applications as protect-mode tasks also allows these
  1399. applications to have full preemptive multitasking between Windows
  1400. applications, DOS applications, and OS/2 applications.  The OS/2 2.0
  1401. Master Help Index has detailed information about Windows application
  1402. support.
  1403.  
  1404.  
  1405. DOS COMPATIBILITY
  1406.  
  1407. OS/2 2.0 provides a redesigned DOS compatibility environment known as
  1408. Enhanced DOS Sessions.  Features of Enhanced DOS Sessions include:
  1409.  
  1410. o   The ability to run DOS applications as V86 mode tasks.  This
  1411.     eliminates the operating system overhead of switching between real
  1412.     mode and protect mode, and provides a fully protected system
  1413.     environment.
  1414.  
  1415. o   The ability to start many concurrent DOS sessions, each operating
  1416.     in its own independent 1MB linear address space.
  1417.  
  1418. o   The ability to customize the operation of DOS sessions through DOS
  1419.     settings.
  1420.  
  1421. o   The ability to run DOS applications in windows in the PM
  1422.     environment.
  1423.  
  1424. o   Increased available base memory over previous versions of the
  1425.     operating system.
  1426.  
  1427. o   Support for EMS and XMS.  This allows DOS applications to access
  1428.     memory above the 1MB real mode addressing limit, to have total
  1429.     code and data space larger than the available base memory, and to
  1430.     have very large code or data objects loaded into memory for
  1431.     enhanced execution speed or compatibility.
  1432.  
  1433. The Enhanced DOS Session mechanism is composed of three modules, DOS
  1434. Emulation, 8086 Emulation, DOS Session Manager, which provides a full
  1435. set of control program interfaces known as Virtual Device Helper
  1436. services.  These services are invoked by VDD modules.  VDD modules
  1437. provide hardware-specific support, such as hardware virtualization,
  1438. BIOS emulation, and other low-level system functions.
  1439.  
  1440.  
  1441. DEVICE MANAGEMENT
  1442. _________________
  1443.  
  1444.  
  1445. DISPLAY ADAPTERS
  1446.           OS/2 2.0 runs DOS, Windows, and OS/2 applications
  1447.           side-by-side in window sessions on the desktop when the
  1448.           primary display adapter is configured for video graphics
  1449.           adapter (VGA) modes.  OS/2 2.0 also runs text-based DOS
  1450.           applications side-by-side in window sessions when the
  1451.           display adapter is configured for XGA(*) or 8514A modes.
  1452.           Windows applications will run on XGA or 8514/A video
  1453.           adapters only in full-screen mode.
  1454.  
  1455. OTHER PERIPHERAL DEVICES
  1456.           OS/2 2.0 supports a broad range of hardware devices,
  1457.           including hard disk drives, diskette drives, tape drives,
  1458.           CD-ROM drives, optical disc drives, display adapters, and
  1459.           pointing devices.  Support for devices utilizing the SCSI
  1460.           has been improved.  In addition, OS/2 2.0 provides a
  1461.           complete SCSI solution by supporting both the Micro
  1462.           Channel(*) and non-Micro Channel architectures.
  1463.  
  1464. OS/2 AND PRESENTATION MANAGER
  1465.           Most standard devices are supported for Presentation Manager
  1466.           and OS/2 command prompt sessions.  Devices that are
  1467.           specifically supported by OS/2 2.0 printer and other device
  1468.           drivers are listed in Appendix A, "Supported Hardware."
  1469.  
  1470. DOS
  1471.           BLOCK DEVICES - Some DOS applications rely on device drivers
  1472.           that do not work in DOS sessions.  These device drivers,
  1473.           primarily for block devices, cannot use the virtual device
  1474.           driver capacities of DOS sessions.  If a system has an
  1475.           exceptional device requirement, try the application and
  1476.           device in a DOS session to determine if there is a problem
  1477.           retrieving or recording data.
  1478.  
  1479.           To compensate for one of these devices for which there is no
  1480.           compatible OS/2 device driver, install a copy of the
  1481.           appropriate DOS version.
  1482.  
  1483.           NOTE:  Because the device drivers are supplied by DOS and
  1484.                  not by the OS/2 operating system, they will not
  1485.                  accommodate multiple session activity.
  1486.  
  1487.           Consider contacting the hardware manufacturer to find out if
  1488.           an OS/2 2.0 device driver or application exists that will
  1489.           run the device driver.
  1490.  
  1491.           TOUCH-SENSITIVE SCREEN - If you have a touch-sensitive
  1492.           screen and the mouse or touch screen pointer responds
  1493.           incorrectly when a DOS application is in a window, a DOS
  1494.           setting can be changed to correct the problem.  See "DOS and
  1495.           WIN-OS/2 Settings" for information about DOS settings.
  1496.  
  1497. WIN-OS/2 SESSIONS
  1498.           DISPLAYS - There are two types of WIN-OS/2 sessions: window
  1499.           and full screen.  A WIN-OS/2 session runs Windows
  1500.           applications in a window that covers only part of the
  1501.           screen.  By using a WIN-OS/2 window session, there is the
  1502.           advantage of displaying the contents of WIN-OS/2 sessions
  1503.           side-by-side on the desktop with other sessions.  Without
  1504.           it, it is necessary to switch between a full-screen WIN-OS/2
  1505.           session that covers the entire screen and any other window
  1506.           session that is started.
  1507.  
  1508.           At the time of this publication, VGA is the only video
  1509.           resolution that can display WIN-OS/2 window sessions.  If
  1510.           the display has super VGA or XGA capabilities, it is
  1511.           necessary to choose between running the video at its full
  1512.           capacity or running WIN-OS/2 window sessions.  If the
  1513.           display has less than VGA resolution (for example, an EGA
  1514.           display), the system only can display full-screen WIN-OS/2
  1515.           sessions.
  1516.  
  1517.           PRINTER DRIVERS - If an OS/2 printer driver is installed,
  1518.           and the system detects that WIN-OS/2 sessions are enabled,
  1519.           then OS/2 2.0 attempts to find and install the appropriate
  1520.           printer driver for applications that run in WIN-OS/2
  1521.           sessions.
  1522.  
  1523.           If a printer does not have a driver that is supplied on
  1524.           either the OS/2 2.0 distribution media or Windows 3.0
  1525.           distribution media, a manufacturer-supplied printer driver
  1526.           can be installed by selecting UNLISTED PRINTER from the
  1527.           printer list during Windows printer installation.
  1528.  
  1529.  
  1530. MULTIMEDIA SYSTEMS AND DEVICES
  1531.  
  1532.  
  1533. The following list shows some of the multimedia systems and devices
  1534. supported by OS/2 2.0:
  1535.  
  1536. o   IBM PS/2 Ultimedia(*) M57 SLC including:
  1537.     -   CD-ROM drive, plus compact disc with OS/2 2.0 and other
  1538.         software
  1539.     -   Headphone and microphone jacks
  1540.     -   XGA video adapter
  1541.     -   16-bit audio adapter
  1542.     -   Enhanced speaker
  1543. o   Other supported devices include:
  1544.     -   IBM M-Motion Control Program/2 Version 2.0-- authoring tool
  1545.         with device drivers
  1546.     -   IBM ActionMedia II--all-digital adapter
  1547.     -   IBM PS/2 TV
  1548.     -   Compression and decompression of digitized photographic images
  1549.     -   Videodisc players--two-sided
  1550.     -   High resolution and motion displays--touch display, VGA, XGA
  1551.         and cable TV
  1552.     -   Coupling of LAN for cable TV--combines data and video
  1553.     -   Teleconferencing and computer conferencing devices--in
  1554.         real-time video windows with "chalkboard" for illustrations
  1555.         and markup
  1556.     -   Audio and video capture and playback devices--adapter package
  1557.         includes new APIs for audio device drivers
  1558.  
  1559.  
  1560. DEVICE DRIVERS
  1561.  
  1562. To provide the maximum level of hardware independence for OS/2 2.0,
  1563. device drivers are used to communicate with hardware devices.  OS/2
  1564. 2.0 makes use of two distinct types of device drivers for
  1565. communication with hardware devices:
  1566.  
  1567. PHYSICAL DEVICE DRIVERS   Communicate directly with hardware devices.
  1568.                           They operate in protect mode and are
  1569.                           accessed by protect-mode processes and by
  1570.                           VDDs.
  1571.  
  1572. VIRTUAL DEVICE DRIVERS    Do not communicate directly with hardware
  1573.                           devices.  Instead, they provide a virtual
  1574.                           device driver interface for DOS applications
  1575.                           running in DOS sessions.  DOS applications
  1576.                           typically address hardware devices directly
  1577.                           using interrupts.  The virtual device driver
  1578.                           allows the DOS environment to appear to the
  1579.                           DOS application as though the application
  1580.                           had direct control over the hardware.
  1581.  
  1582. For more information about VDDs, see "Virtual Device Drivers." A new
  1583. disk driver interface has been defined for use by the HPFS.
  1584.  
  1585. The following is a summary of the device driver changes from OS/2 1.x:
  1586.  
  1587. o   The disk device driver records the information, indicating the
  1588.     type of DASD (ESDI/ST506 or SCSI) and the level of caching support
  1589.     for each logical drive (LID).
  1590.  
  1591. o   Disk caching for FAT disk partitions is performed only for devices
  1592.     where caching is not provided by the hardware.
  1593.  
  1594. o   An additional set of request control functions is supported to
  1595.     allow direct communication by the HPFS File System Driver (FSD).
  1596.  
  1597.  
  1598. Physical Device Drivers
  1599.  
  1600. By using DEVICE= statements in the CONFIG.SYS file, physical device
  1601. drivers communicate directly with hardware devices and are installed
  1602. when the OS/2 2.0 operating system starts.  For example:
  1603.  
  1604.   DEVICE=C:\OS2\COM.SYS
  1605.   DEVICE=C:\OS2\COMDMA.SYS
  1606.  
  1607.  
  1608. Virtual Device Drivers
  1609.  
  1610. The OS/2 2.0 operating system allows more than one active application
  1611. at a time.  The operating system has VDDs that manage shared access to
  1612. hardware input and output (I/O) devices for multiple DOS or WIN-OS/2
  1613. sessions.  Devices with VDD support include the keyboard, mouse, and
  1614. serial and parallel ports.
  1615.  
  1616. Virtual device drivers:
  1617.  
  1618. o   Enable each DOS or WIN-OS/2 session to act as if it has sole
  1619.     control over shared devices
  1620.  
  1621. o   Prevent any one DOS or WIN-OS/2 session from affecting any other
  1622.     session
  1623.  
  1624. o   Support fast screen I/O
  1625.  
  1626. o   Support fast communications I/O
  1627.  
  1628. The following VDDs are provided with the OS/2 2.0 operating system:
  1629.  
  1630. VDD        DESCRIPTION
  1631.  
  1632. VBIOS      ROM BIOS support
  1633. VCMOS      CMOS data area and Real Time Clock support
  1634. VCOM       Asynchronous communication ports
  1635. VDMA       Direct Memory Access
  1636. VDSK       Disk (only for INT 13 copy-protection)
  1637. VKBD       Keyboard
  1638. VLPT       Printer
  1639. VMSE       Mouse
  1640. VNPX       Numeric Processor Extension (80387)
  1641. VPIC       Programmable Interrupt Controller
  1642. VTIMER     Timer
  1643. VVIDEO     Video (VCGA, MCGA, VEGA, VVGA, V8514)
  1644. VXMS       Extended Memory Support
  1645. VEMM       Expanded Memory Support
  1646.  
  1647. By using DEVICE= statements in the CONFIG.SYS file, similar to
  1648. physical device drivers, VDDs are installed when the OS/2 2.0
  1649. operating system starts.  For example, the following CONFIG.SYS
  1650. statement installs the VCOM VDD:
  1651.  
  1652.   DEVICE=C:\OS2\MDOS\VCOM.SYS
  1653.  
  1654. VCOM.SYS communicates with the COM.SYS physical device driver to
  1655. provide virtual RS-232 asynchronous communications support in the DOS
  1656. session.
  1657.  
  1658.  
  1659.  
  1660. --------------------------------------------
  1661. CHAPTER 3.  DEVELOPING OS/2 2.0 APPLICATIONS
  1662. --------------------------------------------
  1663.  
  1664.  
  1665. This chapter summarizes aspects of application development in the OS/2
  1666. 2.0 environment that are described in detail in the Application Design
  1667. Guide in the OS/2 2.0 Technical Library.  It provides an introduction
  1668. to some OS/2 programming concepts, including guidance on using the
  1669. System Object Model (SOM) to develop applications and create workplace
  1670. objects.
  1671.  
  1672. See Appendix C, "Documentation" for a description of the programming
  1673. tools and information contained in the OS/2 2.0 Toolkit and Technical
  1674. Library.
  1675.  
  1676.  
  1677. APPLICATIONS RUNNING UNDER OS/2 2.0
  1678. ___________________________________
  1679.  
  1680. OS/2 2.0 supports four types of applications: full-screen, window, PM,
  1681. and DOS/Windows.
  1682.  
  1683. o   A full-screen application is any OS/2 application that does not
  1684.     create a PM message queue, and does not rely on the PM mouse and
  1685.     keyboard processing for input.
  1686.  
  1687. o   A window application is a full-screen application that also can
  1688.     run in a window, or PM session.
  1689.  
  1690. o   A PM application is any OS/2 application that creates a message
  1691.     queue.  Generally, PM applications create one or more windows to
  1692.     interact with the user.
  1693.  
  1694. o   A DOS/Windows application runs in an OS/2 DOS session in the
  1695.     protected, virtual 8086 mode of the 80386 microprocessor.  A
  1696.     DOS/Windows application can be full-screen or windowed, and it can
  1697.     be run concurrently with other applications.
  1698.  
  1699. OS/2 applications can be further classified as pure 16-bit, mixed
  1700. 16-bit, pure 32-bit, and mixed 32-bit applications.
  1701.  
  1702. o   Pure 16-bit applications can be run under the 16-bit and 32-bit
  1703.     versions of the operating system, but cannot take advantage of the
  1704.     features of the 32-bit programming environment.
  1705.  
  1706. o   Mixed 16-bit applications can only be run under the 16-bit version
  1707.     of the operating system.  Like pure 16-bit OS/2 applications, they
  1708.     do not have access to the 32-bit virtual address space; however,
  1709.     because they have a 32-bit EXE format, they can take advantage of
  1710.     demand paging.
  1711.  
  1712. o   Pure 32-bit applications incorporate the flat memory model and
  1713.     protection mechanisms that are common on a wide range of computer
  1714.     industry hardware platforms.  They can run only under the 32-bit
  1715.     version of the operating system.
  1716.  
  1717. o   Mixed 32-bit applications can run only under the 32-bit version of
  1718.     the operating system, although they can use 16-bit APIs.  These
  1719.     applications can access the entire 32-bit virtual address space.
  1720.  
  1721. OS/2 2.0 provides different entry points for 16-bit and 32-bit
  1722. functions, making it possible to mix 16- and 32-bit code within a
  1723. single EXE module.  It is also possible to call 32-bit functions from
  1724. a 16-bit C program, and to call 16-bit APIs from a 32-bit C program.
  1725. To support this, two different libraries--OS2286.LIB and OS2386.LIB--
  1726. are provided and changes have been made to the include file
  1727. architecture and to the compiler (such as adding new keywords to
  1728. support calling 16-bit functions).
  1729.  
  1730. OS/2 2.0 maintains compatibility with previous versions of the
  1731. operating system by supplying an interface between 16-bit and 32-bit
  1732. code, called a thunking layer.  The purpose of the thunking layer is
  1733. to convert code and memory objects from 16-bit to 32-bit and back.  A
  1734. 32-bit thunk binds 32-bit code to 16-bit code.  A 16-bit thunk binds
  1735. 16-bit code to 32-bit code.  This makes it possible for 16-bit and
  1736. 32-bit modules to coexist.  Memory is addressable from each model
  1737. through a technique called tiling.
  1738.  
  1739.  
  1740.  
  1741. APPLICATION PROGRAMMING INTERFACE
  1742. _________________________________
  1743.  
  1744. The OS/2 application programming interface (API) gives applications
  1745. access to all the features of the operating system.  These features,
  1746. such as windows, device-independent graphics, and multitasking,
  1747. enables you to create applications that make optimal use of the
  1748. computer's memory, display, and processor while still meeting the
  1749. needs of a wide range of users through either the traditional
  1750. character-based interface or the PM graphical user interface.
  1751.  
  1752. The OS/2 application programming interface consists of functions that
  1753. can be organized into the following distinct groups:
  1754.  
  1755. +--------------------------------------------------------------------+
  1756. | Table 3. OS/2 Function Groups                                      |
  1757. +----------+---------------------------------------------------------+
  1758. | GROUP    | USAGE                                                   |
  1759. +----------+---------------------------------------------------------+
  1760. | DDF      | Dynamic-data formatting functions.  Use to create and   |
  1761. |          | manage online, context-sensitive help information       |
  1762. |          | dynamically.  These functions let you display both text |
  1763. |          | and graphics and set up hypertext links between         |
  1764. |          | information units.                                      |
  1765. +----------+---------------------------------------------------------+
  1766. | DEV      | PM device functions.  Use to open and control PM device |
  1767. |          | drivers.  These functions let you create device         |
  1768. |          | contexts that you can associate with a presentation     |
  1769. |          | space and use with the Gpi functions to carry           |
  1770. |          | device-independent graphics operations for displays,    |
  1771. |          | printers, and plotters.                                 |
  1772. +----------+---------------------------------------------------------+
  1773. | DOS      | Control Program functions.  Use in full-screen and      |
  1774. |          | Presentation Manager sessions to read from and write to |
  1775. |          | disk files, to allocate memory, to start threads and    |
  1776. |          | processes, to communicate with other processes, and to  |
  1777. |          | access computer devices directly.  Most functions in    |
  1778. |          | this group can be used in PM applications.              |
  1779. +----------+---------------------------------------------------------+
  1780. | DRG      | Direct manipulation functions.  Use to move graphical   |
  1781. |          | representations (icons, for example) around the screen  |
  1782. |          | using a pointing device, such as a mouse.  Drg          |
  1783. |          | functions let you initialize the structures that convey |
  1784. |          | the necessary information about each object to the      |
  1785. |          | target and which describe the image to be displayed     |
  1786. |          | during the drag operation.  They provide the system     |
  1787. |          | with the type, rendering mechanism, suggested name,     |
  1788. |          | container or folder name, name, true type, and native   |
  1789. |          | rendering mechanism of the objects being manipulated.   |
  1790. +----------+---------------------------------------------------------+
  1791. | GPI      | Graphic-programming-interface functions.  Use to create |
  1792. |          | graphics output for a display, a printer, or other      |
  1793. |          | output devices.  The Gpi functions give you a full      |
  1794. |          | range of graphic primitives, from lines to complex      |
  1795. |          | curves to bit maps.  You choose the attributes for the  |
  1796. |          | primitives (such as color, line width, and pattern) and |
  1797. |          | then draw lines, character, and shapes.  The            |
  1798. |          | retained-graphics capability lets you save the drawings |
  1799. |          | in segments and build complex pictures by drawing a     |
  1800. |          | chain of segments.                                      |
  1801. +----------+---------------------------------------------------------+
  1802. | PRF      | Profile functions.  Use to tailor some of the aspects   |
  1803. |          | of the system, including the names of ports, printers,  |
  1804. |          | printer drivers, and queues.  Prf functions also enable |
  1805. |          | you to change the spooler path, screen colors, the      |
  1806. |          | default printer and queue, the program list, and        |
  1807. |          | application settings.                                   |
  1808. +----------+---------------------------------------------------------+
  1809. | SPL      | Spooler functions.  Use to allow your applications to   |
  1810. |          | write data direct to a spool file.  This means that     |
  1811. |          | data by-passes the presentation driver, so it must be   |
  1812. |          | in a format that the printer can understand.  Your      |
  1813. |          | applications must format the data.                      |
  1814. +----------+---------------------------------------------------------+
  1815. | WIN      | Window-manager functions.  Use to create and manage     |
  1816. |          | windows.  PM applications use windows as the main       |
  1817. |          | interface with the user.  Win functions let you create  |
  1818. |          | menus, scroll bars, and dialog boxes that let the user  |
  1819. |          | select commands and supply input.  Your application     |
  1820. |          | receives all mouse and keyboard input as messages from  |
  1821. |          | the message queue.  Win functions let you retrieve      |
  1822. |          | messages from the queue and dispatch them to the window |
  1823. |          | for which the input is intended.                        |
  1824. +----------+---------------------------------------------------------+
  1825.  
  1826.  
  1827. COMPARISON OF 16-BIT AND 32-BIT OS/2 FUNCTIONS
  1828. ______________________________________________
  1829.  
  1830. Many Control Program functions have been renamed, replaced, or
  1831. enhanced.  The new guidelines used to name functions ensure compliance
  1832. with Get, Set, and Query semantics used in PM-SAA conventions, the use
  1833. of action verbs before nouns, and the use of consistent semantics for
  1834. similar actions.  Some 16-bit functions have been redesigned for the
  1835. 32-bit environment, in particular memory-management, semaphore, and
  1836. signal functions.
  1837.  
  1838. Control Program functions that have changed in the 32-bit version of
  1839. the operating system include:
  1840.  
  1841. o   Memory management functions
  1842. o   Thread and Process functions
  1843. o   Semaphore functions
  1844. o   Pipe, queue, and timer functions
  1845. o   Dynamic linking functions
  1846. o   Device I/O functions
  1847. o   File system functions
  1848. o   Message retrieval functions
  1849. o   Code-page management functions
  1850. o   Session management functions
  1851. o   Error management functions
  1852. o   Signal functions
  1853. o   Exception management functions
  1854. o   VDD services functions
  1855.  
  1856. Many 16-bit PM functions have been replaced by new functions in the
  1857. 32-bit function set, while others are no longer available.  The
  1858. functions which are no longer available affect the following areas:
  1859.  
  1860. o   Heap management
  1861. o   Installed program list
  1862. o   Initialization file
  1863. o   Window locking
  1864.  
  1865. New functions are available for:
  1866.  
  1867. o   Printing
  1868. o   Workplace
  1869. o   Customizing help information
  1870. o   32-bit migration
  1871. o   Standard dialogs
  1872. o   Pop-up menus
  1873. o   Desktop background
  1874. o   Paths, regions, and bit maps
  1875. o   Fonts and characters
  1876. o   Polylines
  1877. o   Transformations
  1878.  
  1879. In addition, new window controls, hook capabilities, and helper macros
  1880. are provided.
  1881.  
  1882.  
  1883. OBJECT-ORIENTED PROGRAMMING USING SOM
  1884. _____________________________________
  1885.  
  1886. Object-oriented programming is a programming paradigm based on
  1887. objects, which are programming constructs designed to reflect items in
  1888. the real world.  An object consists of both the data necessary to
  1889. describe a real-world item, and the functions necessary to describe
  1890. the behavior of the item.  This is in contrast to the structured
  1891. programming model, which focuses on the things that can be done to the
  1892. data (the functions), and which treats the data only as something to
  1893. be acted on.  Objects bind together the data that describes an item
  1894. and the functions that act on the data.
  1895.  
  1896. The basic unit of organization in object-oriented programming is the
  1897. object, which is a data structure that consists of data and functions.
  1898. The data is called the object's state.  The functions that define the
  1899. object's behavior are called methods.  Objects are instances, or
  1900. instantiations, of a class.  A class is a description of an object.
  1901. It defines the data that represents the object's state, and the
  1902. methods that the object supports.
  1903.  
  1904. OS/2 2.0 includes a language-neutral object-oriented programming
  1905. mechanism called the System Object Model.  SOM is specifically
  1906. designed to support the new, object-oriented paradigm, and to be
  1907. usable with both procedural (non-object-oriented) languages and
  1908. object-oriented languages.  (This release of SOM only supports the C
  1909. language.)  SOM is not a language--it is a system for defining,
  1910. manipulating, and releasing class libraries.  SOM is used to define
  1911. classes and methods, while allowing the developer to choose a language
  1912. for implementing these methods.  Most programmers will therefore be
  1913. able to use SOM quickly without having to learn a new language syntax.
  1914. SOM objects are language-neutral.  They can be defined in one
  1915. programming language and used by applications or objects written in
  1916. another programming language.
  1917.  
  1918. SOM consists of a run-time library and a set of utility programs that
  1919. support building, externalizing, and manipulating software objects.
  1920.  
  1921.  
  1922. OS/2 2.0 WORKPLACE PROGRAMMING INTERFACE
  1923. ________________________________________
  1924.  
  1925. In OS/2 1.x, the desktop is a collection of windows or icons
  1926. representing windows associated with applications.  In OS/2 2.0, the
  1927. desktop is a collection of objects (icons) and windows associated with
  1928. those objects.  The desktop (which is also an object), the objects
  1929. that appear on the desktop, and the underlying code supporting these
  1930. objects constitute the OS/2 Workplace Shell, the default user
  1931. interface for OS/2 2.0.
  1932.  
  1933. The OS/2 Workplace Shell provides an object-oriented user environment
  1934. that is based on the 1991 CUA guidelines.  It provides a seamless
  1935. environment, where all services are task-oriented and the user is
  1936. shielded from the complexities of the operating system.  The user can
  1937. perform tasks faster and easier and with a shorter learning curve.
  1938.  
  1939. While object-oriented user interfaces share some concepts with
  1940. object-oriented programming, user objects may not necessarily
  1941. correspond to software objects.  Object-oriented programming can make
  1942. the development of an object-oriented user interface easier.  However,
  1943. an object-oriented user interface can be developed with more
  1944. traditional programming languages and tools.
  1945.  
  1946. The OS/2 Workplace Shell is an example of a user interface developed
  1947. using object-oriented programming, specifically, the IBM System Object
  1948. Model.  In fact, every user object in the OS/2 Workplace is an
  1949. instance of a Workplace software class object.  There is a one-to-one
  1950. correspondence between Workplace (user) objects and Workplace
  1951. (software) classes.
  1952.  
  1953. Class definitions for the user objects in the OS/2 Workplace are
  1954. provided in the Developer's Toolkit for OS/2 2.0.  Application
  1955. developers can create their own objects for the Workplace by
  1956. subclassing the predefined Workplace classes.
  1957.  
  1958.  
  1959. APPLICATION DEVELOPMENT TOOLS
  1960. _____________________________
  1961.  
  1962. IBM has produced a complete set of 32-bit programming tools that offer
  1963. an easy-to-use, advanced platform on which to develop complex OS/2 2.0
  1964. applications.
  1965.  
  1966.  
  1967. C SET/2
  1968.  
  1969. C Set/2 is a 32-bit SAA C-language compiler, designed to maximize the
  1970. performance of applications by exploiting the speed and power of
  1971. 80386-and 80486-based computers.  It comes complete with run-time
  1972. libraries and a fully interactive, full function, source-level
  1973. Presentation Manager debugger.
  1974.  
  1975. The C Set/2 compiler is designed to focus on code optimization.  A
  1976. number of performance-enhancing features include:
  1977.  
  1978. o   Register-linkage convention for passing parameters
  1979. o   Improved memory management
  1980. o   Inlining of selected library functions
  1981. o   Memory file I/O support
  1982. o   Fast floating-point optimization
  1983.  
  1984. During the compile operation, the application developer can view error
  1985. messages on three levels, as well as LINT-like warning messages
  1986. grouped in subsets that can be turned on and off.
  1987.  
  1988. The C Set/2 compiler provides problem determination aids including:
  1989.  
  1990. o   Debug-memory-management functions
  1991. o   Source-code listings with assembler listings
  1992. o   Expanded macros and the layout of structures
  1993. o   Precise diagnostic messages
  1994.  
  1995. The Presentation Manager debugger features a graphical user interface,
  1996. source-level debugging, step-mode debugging, and Presentation Manager
  1997. application debug support.
  1998.  
  1999. C Set/2 requires the Developer's Toolkit for OS/2 2.0 (Toolkit) and is
  2000. designed to take advantage of the IBM WorkFrame/2 product.
  2001.  
  2002. C Set/2 is available in 3.5-inch diskettes (10G2996) or 5.25-inch
  2003. diskettes (10G3293).
  2004.  
  2005.  
  2006. DEVELOPER'S WORKBENCH
  2007.  
  2008. The Toolkit and WorkFrame/2 are packaged together in the Developer's
  2009. Workbench to allow application developers to start up on OS/2 2.0 with
  2010. a small investment and to continue to use their own favorite tools.
  2011. Developers who want to make the best use of the OS/2 2.0 API functions
  2012. should have the Workbench, no matter what compiler they choose.
  2013.  
  2014. The Developer's Workbench is available in 3.5-inch diskettes (10G4333)
  2015. or 5.25-inch diskettes (10G4334).
  2016.  
  2017.  
  2018. Developer's Toolkit for OS/2 2.0
  2019.  
  2020. The Toolkit is a collection of sample application programs,
  2021. programming tools, library files, header files, include files, and
  2022. online documents.
  2023.  
  2024. The Toolkit comes with 30 sample programs.  Most sample programs are
  2025. written in C-language and demonstrate the use of API functions of the
  2026. control program (base operating system) and the Presentation Manager
  2027. interface.  There also are assembler language and REXX sample
  2028. programs.
  2029.  
  2030. The Toolkit provides several application-management tools, including
  2031. tools for creating message files that can be bound to applications,
  2032. executable files, library files, and make files.  Presentation Manager
  2033. tools enable application developers to:
  2034.  
  2035. o   Develop a user-help interface or online documents
  2036. o   Add resources to applications, such as message strings, menus, and
  2037.     dialog boxes
  2038. o   Create dialog boxes or change controls in existing dialog boxes
  2039. o   Modify raster fonts to construct images, such as lines, circles,
  2040.     or other geometric shapes
  2041. o   Create icons, pointers, and bit maps
  2042. o   Implement workplace objects
  2043. o   Create workplace object classes and instances of workplace object
  2044.     classes
  2045.  
  2046. Because OS/2 2.0 provides different names and entry points for 16-bit
  2047. and 32-bit functions, the Toolkit provides two sets of .LIB files to
  2048. support mixed-mode programming.  Also provided are source 32-bit
  2049. C-language header files that contain OS/2 API function definitions,
  2050. and source assembler language include files for the assembler-language
  2051. programmer.
  2052.  
  2053. The Toolkit contains online documents that describe:
  2054.  
  2055. o   Control Program and Presentation Manager API functions
  2056. o   The Information Presentation Facility (IPF) tag language,
  2057.     compiler, and help facility
  2058. o   REXX functions
  2059. o   Classes and Methods used for object-oriented programming
  2060. o   The tools available with the Toolkit
  2061.  
  2062. For a description of each Toolkit online document, see "Toolkit
  2063. Information."
  2064.  
  2065. The Toolkit is available in 3.5-inch diskettes (10G3355) or 5.25-inch
  2066. diskettes (10G4335).
  2067.  
  2068.  
  2069. WorkFrame/2
  2070.  
  2071. The WorkFrame/2 is a customizable, project-oriented, graphical user
  2072. interface that makes developing applications simple and
  2073. straightforward.  The WorkFrame/2 has its own set of tools,
  2074. supplementing those of the Toolkit.  It starts the Toolkit tools, as
  2075. well as other IBM and non-IBM tools, from a menu.
  2076.  
  2077. The WorkFrame/2 is available in 3.5-inch diskettes (10G2994) or
  2078. 5.25-inch diskettes (10G3292).
  2079.  
  2080.  
  2081. C DEVELOPER'S WORKSET/2
  2082.  
  2083. A complete set of tools is packaged in the C Developer's WorkSet/2,
  2084. which contains the following:
  2085.  
  2086. o   C Set/2: a 32-bit C compiler and PM debugger
  2087.  
  2088. o   Developer's Workbench for OS/2 2.0: a package containing the
  2089.     Toolkit and WorkFrame/2
  2090.  
  2091. The C Developer's WorkSet/2 is available in 3.5-inch diskettes
  2092. (10G2995) or 5.25-inch diskettes (10G3663).
  2093.  
  2094.  
  2095. OS/2 TECHNICAL LIBRARY
  2096.  
  2097. The OS/2 Technical Library is a companion product to the Toolkit.  It
  2098. contains 17 books of guidance and reference information.  The guidance
  2099. books are a complete guide to designing, writing, and building OS/2
  2100. 2.0 applications.  The reference books are a reference to all the API
  2101. functions.  For a description of each book and its corresponding part
  2102. number, see "OS/2 2.0 Technical Library."
  2103.  
  2104.  
  2105.  
  2106. -----------------
  2107. PART II: PLANNING
  2108. -----------------
  2109.  
  2110.  
  2111.  
  2112. -------------------------------------
  2113. CHAPTER 4.  PLANNING FOR INSTALLATION
  2114. -------------------------------------
  2115.  
  2116.  
  2117. This chapter presents an overview of hardware requirements and
  2118. installation procedures for OS/2 2.0.
  2119.  
  2120.  
  2121. HARDWARE REQUIREMENTS
  2122. _____________________
  2123.  
  2124. The topics that follow discuss hardware and support requirements for
  2125. the OS/2 2.0 operating system.  To help you plan user configurations,
  2126. worksheets are provided that include memory and hard disk requirements
  2127. for specific components and features.
  2128.  
  2129.  
  2130. MINIMUM CONFIGURATION
  2131.  
  2132. OS/2 2.0 is designed for personal computers with the following minimum
  2133. requirements:
  2134.  
  2135. o   Intel (or compatible) 80386SX microprocessor
  2136. o   4MB of memory
  2137. o   60MB hard disk with 15-30MB of free disk space
  2138. o   2-button mouse or other pointing device
  2139.  
  2140.  
  2141. Microprocessor
  2142.  
  2143. Because of its 32-bit addressing power, the OS/2 2.0 operating system
  2144. requires a computer that has a system unit equipped with an Intel (or
  2145. compatible) 80386 (or higher) microprocessor.  The 80386SX
  2146. microprocessor provides adequate performance for those who work in
  2147. lower-demand application environments.  In most environments that
  2148. demand multiple concurrent processes, the 80386DX will be adequate for
  2149. satisfactory performance.  For computers that will be used as network
  2150. servers, consider the 80486 series.  Also consider the 80486 series
  2151. for those who expect to switch frequently and rapidly among a large
  2152. number of concurrent tasks.  See Appendix A, "Supported Hardware" for
  2153. a list of IBM systems that fulfill this processor requirement and for
  2154. some information about the compatibility of personal computer
  2155. equipment from other manufacturers.
  2156.  
  2157.  
  2158. Memory Requirement
  2159.  
  2160. The topics that follow discuss memory and disk storage information
  2161. that you need to consider for OS/2 2.0.  Memory and disk storage are
  2162. closely related because of the ability of the operating system to
  2163. manage the allocation of memory resources between real physical memory
  2164. and hard disk space.
  2165.  
  2166. The minimum memory requirement for OS/2 2.0 is 4MB, but up to 128KB is
  2167. used on some computers for ROM-to-RAM (read-only memory to
  2168. random-access memory) remapping.  Some systems use more than 128KB for
  2169. other hardware purposes, so that less than the minimum required memory
  2170. is available.  On these systems, another 512KB to 1MB would satisfy
  2171. the minimum requirement.  You should check such systems to see if
  2172. there is a way to replace the memory so that the minimum requirement
  2173. is met.  For more information about memory and performance, see
  2174. Chapter 5, "Optimizing Performance."
  2175.  
  2176.  
  2177. STORAGE CAPACITIES
  2178.  
  2179. The OS/2 2.0 operating system can manage storage of the following
  2180. sizes:
  2181.  
  2182.  
  2183. Memory
  2184.  
  2185. TOTAL PHYSICAL MEMORY           4GB
  2186.  
  2187. VIRTUAL OS/2 SESSION SIZE       512MB
  2188.  
  2189. VIRTUAL DOS SESSION SIZE        628KB of conventional memory and 32MB
  2190.                                 of LIM EMS or LIMA XMS
  2191.  
  2192. VIRTUAL WIN-OS/2 SESSION SIZE   64MB
  2193.  
  2194.  
  2195. Hard Disk
  2196.  
  2197. USING HPFS    2GB file, 64GB partition
  2198.  
  2199. USING FAT     2GB file, 2GB partition
  2200.  
  2201.  
  2202. DISK SPACE
  2203.  
  2204. The estimates in the topics that follow apply only to the operating
  2205. system, file systems, swapped-out memory, and print-spool jobs.  They
  2206. do not consider disk space for installing application-program files,
  2207. or for using applications that result in large volumes of stored data.
  2208. Consult the documentation accompanying an application to determine
  2209. disk space requirements for the application and associated files.
  2210.  
  2211.  
  2212. For the Operating System
  2213.  
  2214. If most or all of the options are selected during operating-system
  2215. installation, OS/2 2.0 requires a partition with a minimum size of
  2216. 30MB.  If no options are selected, the basic components of the
  2217. operating system require a 15MB partition.
  2218.  
  2219. If some options are selected, the required size of OS/2 2.0 varies
  2220. between 15MB and 30MB.  For example, if the Tutorial and Command
  2221. Reference portions of the online documentation are not installed,
  2222. 850KB less disk space is required.  Each printer driver takes 250KB to
  2223. 1MB disk space, so it is advisable to install only those needed for
  2224. the installed printers.
  2225.  
  2226.  
  2227. For File Systems
  2228.  
  2229. Disk space is also required for storing file system data structures.
  2230. As data-file disk needs grow, consider increasing the amount of memory
  2231. allocated to cache, as well.  The ratio between disk cache and maximum
  2232. file system size affects the performance of applications that retrieve
  2233. data from a hard disk.
  2234.  
  2235. HPFS          Uses approximately 5% of available disk space.
  2236.  
  2237. FAT           Uses up to 64KB for each partition.
  2238.  
  2239. CD-ROM        Uses 0.1MB.
  2240.  
  2241. For large file systems, add more memory to accommodate a larger cache
  2242. size.
  2243.  
  2244.  
  2245. For Swapped-Out Memory
  2246.  
  2247. Allow disk space of approximately 8MB for the swap file (SWAPPER.DAT),
  2248. which is the file where the operating system stores those memory pages
  2249. it moves out of memory.  For more information, see "Swap File."
  2250.  
  2251.  
  2252. For Print-Spool Jobs
  2253.  
  2254. The system sets aside space for a spooler to hold print jobs while
  2255. they wait for the next available printer.  If you print large
  2256. (printer-specific or binary) jobs, or your application requirements
  2257. create many print jobs per hour, allow more space for the spool queue.
  2258.  
  2259. You can put the spool queue on a different disk by changing the path
  2260. setting of the spooler object.
  2261.  
  2262.  
  2263. WORKSHEETS
  2264. __________
  2265.  
  2266. The worksheets that follow can help determine the hardware capacity
  2267. requirements for a particular OS/2 2.0 configuration.  The first
  2268. worksheet provides suggestions for estimating memory requirements.
  2269. The second provides suggestions for estimating hard disk requirements.
  2270. If a range is given, refer to the notes to help determine the
  2271. configuration.
  2272.  
  2273. +-----------------------------------------------------------------+
  2274. | Table 4. Memory-Estimating Worksheet                            |
  2275. +--------------------------------+-----------------+--------------+
  2276. | COMPONENT                      | REQUIRED MEMORY |         USER |
  2277. |                                |                 | CONFIGURATION|
  2278. +--------------------------------+-----------------+--------------+
  2279. | Base Operating System          |           3.0MB |              |
  2280. +--------------------------------+-----------------+--------------+
  2281. | High Performance File System   |           0.3MB |              |
  2282. | (HPFS)                         |                 |              |
  2283. +--------------------------------+-----------------+--------------+
  2284. | DOS Session(1)                 |                 |              |
  2285. |                                |                 |              |
  2286. |     DOS Full Screen            |           0.3MB |              |
  2287. |     Additional Session         |           0.2MB |              |
  2288. |                                |                 |              |
  2289. |     DOS Window                 |           0.3MB |              |
  2290. |     Additional Session         |           0.3MB |              |
  2291. +--------------------------------+-----------------+--------------+
  2292. | WIN-OS/2 Session               |                 |              |
  2293. |                                |                 |              |
  2294. |     First Session              |           2.0MB |              |
  2295. |     Additional Session         |           1.0MB |              |
  2296. +--------------------------------+-----------------+--------------+
  2297. | Active Spooling                |           0.5MB |              |
  2298. +--------------------------------+-----------------+--------------+
  2299. | Dynamic Data Exchange (DDE)    |     0.2 - 0.5MB |              |
  2300. +--------------------------------+-----------------+--------------+
  2301. | Clipboard                      |           0.2MB |              |
  2302. +--------------------------------+-----------------+--------------+
  2303. | System Performance Buffer(2)   |           0.5MB |              |
  2304. +--------------------------------+-----------------+--------------+
  2305. | Applications by Category(3)    |                 |              |
  2306. |                                |                 |              |
  2307. |     Communications             |           0.5MB |              |
  2308. |     Compilers                  |           0.8MB |              |
  2309. |     Database                   |           1.0MB |              |
  2310. |     Engineering/Scientific     |           1.0MB |              |
  2311. |     Games                      |           0.2MB |              |
  2312. |     Graphics                   |           1.0MB |              |
  2313. |     Spreadsheets               |           1.0MB |              |
  2314. |     Tools                      |           0.5MB |              |
  2315. |     Utilities                  |           0.3MB |              |
  2316. |     Word Processors            |           0.5MB |              |
  2317. +--------------------------------+-----------------+--------------+
  2318. | Totals                         |                 |              |
  2319. +--------------------------------+-----------------+--------------+
  2320.  
  2321. (1) Under OS/2 2.0, the amount of memory for each DOS session is
  2322.     dependent upon the characteristics of DOS, particularly its use
  2323.     of extended, expanded, or DOS DPMI memory.
  2324.  
  2325. (2) This additional system memory allows better performance in
  2326.     conditions such as application loading, termination, and print
  2327.     spooling.
  2328.  
  2329. (3) Memory requirements for specific applications are provided by the
  2330.     suppliers.  The numbers given here are only guidelines to help
  2331.     determine total memory size.
  2332.  
  2333. +-----------------------------------------------------------------+
  2334. | Table 5. Hard Disk-Estimating Worksheet                         |
  2335. +--------------------------------+-----------------+--------------+
  2336. | COMPONENT                      | REQUIRED MEMORY |         USER |
  2337. |                                |                 | CONFIGURATION|
  2338. +--------------------------------+-----------------+--------------+
  2339. | Operating System(4)            |     15MB - 30MB |              |
  2340. +--------------------------------+-----------------+--------------+
  2341. | File System Structures         |                 |              |
  2342. |                                |                 |              |
  2343. |     HPFS(5)                    |       3MB - 5MB |              |
  2344. |     FAT                        |            64KB |              |
  2345. +--------------------------------+-----------------+--------------+
  2346. | Printer Device Drivers(6)      |     250KB - 1MB |              |
  2347. +--------------------------------+-----------------+--------------+
  2348. | Print Spool File Space(7)      |       1MB - 5MB |              |
  2349. +--------------------------------+-----------------+--------------+
  2350. | Swap File(8)                   |      6MB - >8MB |              |
  2351. +--------------------------------+-----------------+--------------+
  2352. | Application Development(9)     |                 |              |
  2353. |                                |                 |              |
  2354. |     Toolkit                    |             9MB |              |
  2355. |     Online Reference           |             8MB |              |
  2356. |     Development Tools          |             8MB |              |
  2357. |     Debug Kernel & Symbols     |             4MB |              |
  2358. |     Compiler & Libraries       |             9MB |              |
  2359. |     IBM WorkFrame/2            |             2MB |              |
  2360. +--------------------------------+-----------------+--------------+
  2361. | Other Applications & Tools(10) |                 |              |
  2362. +--------------------------------+-----------------+--------------+
  2363. | Totals                         |                 |              |
  2364. +--------------------------------+-----------------+--------------+
  2365.  
  2366. (4) See Table 7 for a detailed breakdown of space requirements for
  2367.     optional features.
  2368.  
  2369. (5) The HPFS space requirement is approximately 5% of the disk
  2370.     partition size.
  2371.  
  2372. (6) Printer drivers are listed in Appendix A.  The sizes of specific
  2373.     drivers can be found by checking the OS/2 2.0 printer driver
  2374.     installation diskettes.
  2375.  
  2376. (7) The spool file requirement varies depending on the size and number
  2377.     of jobs to print.  For a single user system, 1MB should be adequate.
  2378.  
  2379. (8) The swap file size depends on the amount of physical memory available
  2380.     on the system and the kinds of applications being run.  See Table 1
  2381.     for a breakdown of swap file default sizes.
  2382.  
  2383. (9) If the system will be used for software development, install a
  2384.     compiler and/or an assembler with the associated libraries and debug
  2385.     tools.  See "Application Development Tools" for more information.
  2386.  
  2387. (10) Applications and other tools that are separate from the operating
  2388.     system have their own space requirements.  Refer to application
  2389.     documentation for requirements.  When possible, plan ahead for
  2390.     for future application purchases and reserve extra space for them.
  2391.  
  2392.  
  2393. INSTALLATION OVERVIEW
  2394. _____________________
  2395.  
  2396. This section is an overview of the OS/2 installation program.  More
  2397. detailed information about installation can be found in the OS/2 2.0
  2398. Installation Guide.
  2399.  
  2400. When users begin the installation of OS/2 2.0, they are asked to make
  2401. decisions about formatting and partitioning the hard disk.  After they
  2402. answer these prompts, they are presented with a set of graphical
  2403. installation screens.  These screens use the standard Presentation
  2404. Manager interface and provide feedback on the progress of the
  2405. installation.
  2406.  
  2407. Users can tailor their systems by selecting only those features that
  2408. are useful to them.  They can choose to install all features, a
  2409. preselected set of features, or only those features that they specify.
  2410. These choices are further described under the heading "Choosing
  2411. Features."  If users decide not to install certain features, they can
  2412. add them later, using the Selective Install utility program in the
  2413. System Setup folder.
  2414.  
  2415. The list that follows is an overview of the choices users can make
  2416. during installation:
  2417.  
  2418. o   SYSTEM CONFIGURATION
  2419.  
  2420.     The installation program checks the configuration of the hardware
  2421.     and installs support for the devices it finds.
  2422.  
  2423. o   INSTALL DEVICE DRIVERS
  2424.  
  2425.     If a system has a hardware device that comes with a separate
  2426.     device support diskette (for example, an optical disk drive), the
  2427.     user can install that support during installation.
  2428.  
  2429. o   CONFIGURE WIN-OS/2 DESKTOP
  2430.  
  2431.     If users choose to install support for running Windows
  2432.     applications, they can tailor the way WIN-OS/2 sessions are
  2433.     displayed.
  2434.  
  2435. o   MIGRATE APPLICATIONS
  2436.  
  2437.     If users have existing OS/2, DOS, or Windows applications on a
  2438.     hard disk, they can choose to migrate them to the OS/2 desktop
  2439.     during installation.
  2440.  
  2441. o   MIGRATE CONFIG.SYS/AUTOEXEC.BAT
  2442.  
  2443.     If users have a CONFIG.SYS or AUTOEXEC.BAT file from an existing
  2444.     operating system, they can choose to have the information from
  2445.     that file copied to the OS/2 CONFIG.SYS and AUTOEXEC.BAT files.
  2446.  
  2447. o   SELECT PRINTERS
  2448.  
  2449.     Users can install only one printer driver during the initial OS/2
  2450.     2.0 installation.  If all printers use the same driver, that one
  2451.     driver is sufficient.  Users can install additional printer
  2452.     drivers later.
  2453.  
  2454. NOTE:  For faster turnaround time when multiple printers are connected
  2455.        to a system, select printers that use the same printer driver.
  2456.        Users then can pool (print to two or more ports), enabling a
  2457.        system to select the first available device for each print job.
  2458.  
  2459.  
  2460. SELECTING INSTALLATION MEDIA
  2461.  
  2462. OS/2 2.0 can be installed in the following ways:
  2463.  
  2464. o   From the OS/2 2.0 installation diskettes
  2465.  
  2466.     Much of the information needed to install OS/2 2.0 is on
  2467.     installation screens and their associated help screens.  Users
  2468.     also can consult the OS/2 2.0 Installation Guide for assistance
  2469.     during installation.
  2470.  
  2471. o   From the installation diskettes using a response file
  2472.  
  2473.     If you will be setting up several workstations for others, you
  2474.     might want to use a response file.  Typically, a person who is
  2475.     installing the operating system answers questions when prompted by
  2476.     the installation program.  If you use a response file, it is not
  2477.     necessary to answer any questions.  All the answers are in the
  2478.     response file.  First, you install OS/2 2.0 in the usual way.
  2479.     Next, you modify the sample response file provided in the INSTALL
  2480.     directory of the installed system.  Then you copy the modified
  2481.     response file and the RSPINST.EXE file to a copy of Diskette 1 and
  2482.     begin the next installation.  Now, however, the installation
  2483.     program will read the file instead of prompting you for
  2484.     information.  OS/2 2.0 will be installed in exactly the same way
  2485.     on each system, and all you have to do is insert and remove
  2486.     diskettes when prompted.
  2487.  
  2488. o   From a LAN
  2489.  
  2490.     If you are planning to install OS/2 2.0 from a LAN, you might want
  2491.     to order a copy of OS/2 Version 2.0: Remote Installation and
  2492.     Maintenance (GG24-3780).
  2493.  
  2494.  
  2495. INSTALLING MULTIPLE OPERATING SYSTEMS
  2496.  
  2497. Many of the decisions to be made about the installation of OS/2 2.0
  2498. depend upon whether an operating system is already installed and
  2499. whether it is desirable to keep that operating system in addition to
  2500. OS/2 2.0.
  2501.  
  2502. Two features of OS/2 2.0 allow users to install and use more than one
  2503. operating system:
  2504.  
  2505. o   Dual Boot
  2506.  
  2507. o   Boot Manager
  2508.  
  2509.  
  2510. Dual Boot
  2511.  
  2512. With the Dual Boot feature (available in this and earlier versions of
  2513. the OS/2 operating system), users can add OS/2 2.0 to a partition that
  2514. already contains DOS.  Users then can shut down one operating system
  2515. and switch to the other one when necessary.
  2516.  
  2517. If a DOS partition has sufficient space, a user can install OS/2 2.0
  2518. without repartitioning the hard disk.
  2519.  
  2520. The primary partition must be large enough to accommodate both DOS and
  2521. the OS/2 operating system.  (Note that the partition size required by
  2522. OS/2 2.0 depends upon which features the user installs.)  When
  2523. planning partitions, calculate the size of both operating systems and
  2524. also the growth of a swap file.  (A swap file contains segments of a
  2525. program or data temporarily moved out of main storage.)  See "Swap
  2526. File."
  2527.  
  2528. For example, if DOS currently takes up 4MB and the user is going to
  2529. install all features of OS/2 2.0 (which require 30MB), the primary
  2530. partition should be at least 40MB.  (This will allow room for a swap
  2531. file.)  If the user intends to place applications and data in the
  2532. primary partition, the partition will have to be large enough to
  2533. accommodate those also.  If the existing primary partition is not
  2534. large enough, use the DOS FDISK command to change the hard disk setup.
  2535. Follow the instructions in the DOS documentation.
  2536.  
  2537.  
  2538. Boot Manager
  2539.  
  2540. With the Boot Manager feature, each time users start their computers,
  2541. they can choose which operating system to load.  The operating systems
  2542. are installed in separate partitions on the hard disk.
  2543.  
  2544. The Boot Manager requires its own 1MB partition.  It must be installed
  2545. in a primary partition on the first hard disk that is connected to the
  2546. computer.  In addition, there must be room on the hard disk for all
  2547. operating systems that will be installed.  If there is sufficient free
  2548. space on the hard disk, some or all existing partitions can be
  2549. preserved.  However, if there is not sufficient free space, existing
  2550. applications and data must be backed up before repartitioning the hard
  2551. disk during installation.
  2552.  
  2553.  
  2554. INSTALLING OVER EXISTING OPERATING SYSTEMS
  2555.  
  2556. The following sections discuss considerations for installing OS/2 2.0
  2557. over existing operating systems.
  2558.  
  2559.  
  2560. OS/2 Standard Edition
  2561.  
  2562. When you install OS/2 2.0, it replaces any existing version of the
  2563. operating system.  For example, if OS/2 Standard Edition Version 1.3
  2564. is on the hard disk, OS/2 2.0 will replace the operating-system files,
  2565. but will leave other programs and data intact.  However, if you want
  2566. to keep the earlier version of the OS/2 operating system on the hard
  2567. disk (so that both versions are available) and there is at least 1MB
  2568. of free space on the hard disk (for the Boot Manager partition), you
  2569. can install the Boot Manager during the OS/2 installation.
  2570.  
  2571.  
  2572. OS/2 Extended Edition
  2573.  
  2574. If you install OS/2 2.0 on an OS/2 Extended Edition system, the base
  2575. operating system files will be replaced.  OS/2 2.0 does not replace
  2576. the Extended Edition components (such as Communications Manager).  You
  2577. will need to upgrade these components to products (now sold
  2578. separately) that are compatible with OS/2 2.0.  You can upgrade to
  2579. Extended Services to restore Communications Manager and Database
  2580. Manager functions.  You can upgrade to LAN Server 2.0 to restore LAN
  2581. Requester and LAN Server functions.
  2582.  
  2583.  
  2584. OS/2 Version 1.3 with LAN Server 2.0
  2585.  
  2586. If LAN Server 2.0 is already installed, install OS/2 2.0, and then
  2587. reinstall the LAN Server software.
  2588.  
  2589.  
  2590. OS/2 Version 1.3 with Extended Services 1.0
  2591.  
  2592. If Extended Services 1.0 is already installed, install OS/2 2.0, and
  2593. then issue the ESRESTOR command to restore Extended Services
  2594. functions.
  2595.  
  2596.  
  2597. DOS
  2598.  
  2599. As described earlier, you can add OS/2 2.0 to a DOS partition and use
  2600. the Dual Boot feature.  Another way to keep DOS is to place OS/2 2.0
  2601. in a separate partition of the hard disk and use the Boot Manager to
  2602. select an operating system when starting the computer.
  2603.  
  2604. If users no longer need to use DOS separate from OS/2, you can do one
  2605. of the following:
  2606.  
  2607. o   Install OS/2 2.0 without performing any of the Dual Boot setup
  2608.     procedures.  During installation, you will receive messages
  2609.     informing you of steps you can take to set up for Dual Boot.  You
  2610.     can ignore these messages.  DOS files will still exist on the hard
  2611.     disk, but the user might not have access to them.
  2612.  
  2613. o   Back up all programs and data that you want to save and then
  2614.     format the hard disk when you install OS/2 2.0.  (Refer to the DOS
  2615.     documentation for information about backing up programs and data.)
  2616.  
  2617.  
  2618. PLANNING DISK SPACE
  2619.  
  2620. If you are going to partition hard disks, you should carefully plan
  2621. the allocation of disk space.  The following table provides guidance
  2622. on the minimum partition sizes needed for various versions of DOS and
  2623. the OS/2 operating system.  This table also tells whether the
  2624. operating system must be in a primary partition or in a particular
  2625. disk position.
  2626.  
  2627. +-----------------------------------------------------------------------
  2628. | Table 6. Planning Table for Partition Sizes
  2629. +----------+---------+--------------------------------------------------
  2630. | CONTENTS | SIZE    | HARD DISK CONSIDERATIONS
  2631. +----------+---------+--------------------------------------------------
  2632. | DOS 3.3  | 2MB     | Must be in a primary partition within the first
  2633. |          |         | 32MB on the first hard disk.
  2634. +----------+---------+--------------------------------------------------
  2635. | DOS 4.0  | 3MB     | Must be in a primary partition on the first hard
  2636. |          |         | disk.
  2637. +----------+---------+--------------------------------------------------
  2638. | DOS 5.0  | 4MB     | Must be in a primary partition on the first hard
  2639. |          |         | disk.
  2640. +----------+---------+--------------------------------------------------
  2641. | OS/2 1.X | 20MB    | Must be in a primary partition on the first hard
  2642. | SE       |         | disk.  Uses less than 20MB, but segment swapping
  2643. |          |         | is inhibited.
  2644. +----------+---------+--------------------------------------------------
  2645. | OS/2 1.X | 30MB    | Must be in a primary partition on the first hard
  2646. | EE       |         | disk.  Uses less than 30MB with reduced function.
  2647. +----------+---------+--------------------------------------------------
  2648. | OS/2 2.0 | 15-30MB | Can be in a primary partition or on a logical
  2649. |          |         | drive.  The size needed varies with the features
  2650. |          |         | installed.  See Table 5.  Note also that the
  2651. |          |         | amount of hard disk space required varies
  2652. |          |         | depending upon the amount of system memory.  If
  2653. |          |         | this partition is of minimum size, you might
  2654. |          |         | want to place the swap file in another partition.
  2655. |          |         | To do this, during installation, select SELECT
  2656. |          |         | FEATURES AND INSTALL from the OS/2 Setup and
  2657. |          |         | Installation window.  Then, select SOFTWARE
  2658. |          |         | CONFIGURATION.
  2659. +----------+---------+--------------------------------------------------
  2660.  
  2661. Note that some products (such as Extended Services for OS/2) require
  2662. extra space in the OS/2 partition, even if they are installed in their
  2663. own partitions.  For more specific information about partition sizes,
  2664. see the documentation that came with the product you are installing.
  2665. For example, if you are installing Extended Services for OS/2, refer
  2666. to the Extended Services of OS/2 Hardware and Software Reference for
  2667. specific guidance.
  2668.  
  2669. If you are going to install multiple operating systems, read Chapter 4
  2670. of the OS/2 2.0 Installation Guide before starting the installation.
  2671. Determine the amount of partitioned disk space you need for each
  2672. operating system.  Consider the following:
  2673.  
  2674. o   If you prefer, you can leave existing partitions until you have
  2675.     completely transferred data-processing operations to the new OS/2
  2676.     version.
  2677.  
  2678. o   If multiple types of file systems are needed, determine if you
  2679.     want them in a separate partition, or placed on a logical drive.
  2680.  
  2681. o   If users have applications that require other operating systems,
  2682.     such as AIX(*), check the amount of storage space recommended by
  2683.     the supplier.
  2684.  
  2685. When determining how much space to allocate for the OS/2 partition,
  2686. consider some of the tools and applications you will be installing and
  2687. whether you want to install them in the OS/2 partition or on another
  2688. logical drive.  For example, suppose you are going to install the OS/2
  2689. Toolkit.  By default, the Toolkit is installed in the partition used
  2690. for OS/2 2.0.  However, you can install it on a separate logical drive
  2691. if you prefer.  See "Application Development Tools" for more
  2692. information.
  2693.  
  2694.  
  2695. CHOOSING FILE SYSTEMS
  2696.  
  2697. If you are installing OS/2 2.0 on a computer that does not contain an
  2698. operating system, or if you choose to format an existing partition,
  2699. you will be asked to choose a file system.  You can select either HPFS
  2700. or FAT.
  2701.  
  2702. The FAT file system has been enhanced under OS/2 2.0 to support
  2703. caching, lazy writing, and the use of extended attributes.  These
  2704. features (described in Chapter 5, "Optimizing Performance") were
  2705. available only with HPFS in previous versions of the OS/2 operating
  2706. system.
  2707.  
  2708. The FAT file system is used by DOS.  If users will be loading DOS from
  2709. a diskette (while OS/2 2.0 is not running) and will need to have
  2710. access to files in the OS/2 partition, format the OS/2 partition for
  2711. FAT.
  2712.  
  2713. HPFS has features that make it a better choice for larger hard disks.
  2714. It puts the directory at the seek center of the partition and is
  2715. designed to allocate contiguous space for files.  This feature helps
  2716. prevent disk fragmentation.  HPFS also handles write errors by writing
  2717. to alternate space reserved for that purpose.
  2718.  
  2719. If you format an OS/2 partition for the FAT file system and the system
  2720. memory is less than or equal to 6MB, support for HPFS is not
  2721. automatically installed.  You can add this support later (for example,
  2722. if you want to format a partition for HPFS) using the Selective
  2723. Install utility program (located in the System Setup folder).
  2724.  
  2725.  
  2726. CHOOSING FEATURES
  2727.  
  2728. You will have the opportunity to tailor the size and features of the
  2729. operating system by selecting one of the following:
  2730.  
  2731. o   INSTALL PRESELECTED FEATURES
  2732.  
  2733.     If you select this choice, the following features will not be
  2734.     installed:
  2735.  
  2736.     -   CD-ROM Device Support
  2737.     -   The following online information:
  2738.         --  Command Reference
  2739.         --  REXX Information
  2740.     -   Fonts other than System Proportional, Helvetica , Monospace,
  2741.         and Courier Outline
  2742.     -   The following utility programs:
  2743.         --  Display directory tree
  2744.         --  Label diskettes
  2745.         --  Link object modules
  2746.         --  PMREXX
  2747.         --  Recover files
  2748.     -   The following productivity aids and games:
  2749.         --  Enhanced Editor
  2750.         --  Terminal Emulator
  2751.         --  PM Chart
  2752.         --  Solitaire-Klondike
  2753.         --  Reversi
  2754.         --  Scramble
  2755.         --  Cat and Mouse
  2756.         --  Pulse
  2757.         --  Jigsaw
  2758.         --  Chess
  2759.     -   HPFS support (if you formatted your OS/2 partition for the
  2760.         file allocation table and your system has 6MB or less of
  2761.         memory)
  2762.     -   Optional bit maps
  2763.  
  2764.     You or users can, however, add these features later using the
  2765.     Selective Install utility program.
  2766.  
  2767. o   INSTALL ALL FEATURES
  2768.  
  2769.     Use this choice to install all features of the OS/2 operating
  2770.     system.  Installing all features requires approximately 30MB of
  2771.     hard disk space.
  2772.  
  2773. o   SELECT FEATURES AND INSTALL
  2774.  
  2775.     If you select this choice, you can specify exactly which features
  2776.     of the operating system you want to install.  The approximate disk
  2777.     space requirements for these features are shown in the section
  2778.     that follows.
  2779.  
  2780.     If you choose SELECT FEATURES AND INSTALL, you also can perform
  2781.     several other tasks during installation.  You can format any
  2782.     logical drives you set up earlier in the installation.  You also
  2783.     can tailor the CONFIG.SYS and AUTOEXEC.BAT files.  For example,
  2784.     you can change the parameter that controls the growth of the swap
  2785.     file.  You also can specify that the swap file be placed on a
  2786.     different drive from the one on which OS/2 2.0 is installed.
  2787.  
  2788. The table that follows lists how much disk space is needed for each of
  2789. the features that you can selectively install:
  2790.  
  2791. +------------------------------------------------------------------------
  2792. | Table 7. Disk Space Requirements for Optional Features
  2793. +--------------------------------+------------+------------+-------------
  2794. | OS/2 FEATURE                  |    OVERALL | INDIVIDUAL |         USER
  2795. |                               |    FEATURE |    FEATURE | CONFIGURATION
  2796. |                               |   SIZE (IN |  SIZES (IN |
  2797. |                               |        MB) |        KB) |
  2798. +-------------------------------+------------+------------+--------------
  2799. | CD-ROM Device Support         |        0.1 |            |
  2800. |                               |            |            |
  2801. | o   CD-ROM IFS                |            |         51 |
  2802. | o   IBM CD-ROM Device Drivers |            |         33 |
  2803. +-------------------------------+------------+------------+-------------
  2804. | Documentation                 |        0.8 |            |
  2805. |                               |            |            |
  2806. | o   OS/2 Tutorial             |            |        168 |
  2807. | o   OS/2 Command Reference    |            |        387 |
  2808. | o   REXX Information          |            |        195 |
  2809. +-------------------------------+------------+------------+-------------
  2810. | Fonts                         |        1.1 |            |
  2811. |                               |            |            |
  2812. | o   Courier                   |            |         75 |
  2813. | o   Helvetica                 |            |        201 |
  2814. | o   System Monospaced         |            |         34 |
  2815. | o   Times Roman               |            |        193 |
  2816. | o   Courier (Outline)         |            |        200 |
  2817. | o   Helvetica (Outline)       |            |        160 |
  2818. | o   Times New Roman (Outline) |            |        172 |
  2819. +-------------------------------+------------+------------+--------------
  2820. | Optional System Utility       |        1.2 |            |
  2821. | Programs                      |            |            |
  2822. |                               |            |         81 |
  2823. | o   Back up the hard disk     |            |         35 |
  2824. | o   Change file attributes    |            |         33 |
  2825. | o   Display the directory tree|            |        217 |
  2826. | o   Manage partitions         |            |         33 |
  2827. | o   Label diskettes           |            |        282 |
  2828. | o   Link object modules       |            |         83 |
  2829. | o   Use PMREXX                |            |         47 |
  2830. | o   Recover files             |            |         29 |
  2831. | o   Restore backed-up files   |            |         30 |
  2832. | o   Sort files                |            |        265 |
  2833. | o   Use the Installation Aid  |            |            |
  2834. +-------------------------------+------------+------------+-----------
  2835. | Tools and Games               |        5.7 |            |
  2836. |                               |            |            |
  2837. | o   Enhanced Editor           |            |        857 |
  2838. | o   Search and Scan Tool      |            |         69 |
  2839. | o   Terminal Emulator         |            |       1501 |
  2840. | o   PM Chart                  |            |       1159 |
  2841. | o   Personal Productivity     |            |       1333 |
  2842. | o   Solitaire-Klondike        |            |        375 |
  2843. | o   Reversi                   |            |         33 |
  2844. | o   Scramble                  |            |         59 |
  2845. | o   Cat and Mouse             |            |         51 |
  2846. | o   Pulse                     |            |         29 |
  2847. | o   Jigsaw                    |            |         68 |
  2848. | o   OS/2 Chess                |            |        250 |
  2849. +--------------------------------+------------+------------+----------
  2850. | OS/2 DOS and WIN-OS/2 Support |        4.3 |            |
  2851. |                               |            |            |
  2852. | o   DOS Protect Mode Interfac |            |            |
  2853. | o   Virtual Expanded Memory   |            |         20 |
  2854. |     Management                |            |         19 |
  2855. | o   Virtual Extended Memory   |            |            |
  2856. |     Support                   |            |          9 |
  2857. |                               |            |            |
  2858. | o   OS/2 DOS Environment      |            |            |
  2859. |     Only(11)                  |            |      1.1MB |
  2860. | o   OS/2 DOS + WIN-OS/2       |            |            |
  2861. |     Environment(11)           |            |      4.1MB |
  2862. +-------------------------------+------------+------------+----------
  2863. | High Performance File System  |        0.4 |            |
  2864. +-------------------------------+------------+------------+----------
  2865. | REXX                          |        0.4 |            |
  2866. +-------------------------------+------------+------------+----------
  2867. | Serial Device Support         |        0.1 |            |
  2868. +-------------------------------+------------+------------+----------
  2869. | Serviceability and Diagnostic |        0.6 |            |
  2870. | Aids                          |            |            |
  2871. +-------------------------------+------------+------------+----------
  2872. | Optional Bit Maps             |        0.2 |            |
  2873. +-------------------------------+------------+------------+---------
  2874. | Totals                        |            |            |
  2875. +-------------------------------+------------+------------+---------
  2876.  
  2877. (11) Select either DOS Environment Only or DOS + WIN-OS/2 Environment.
  2878.  
  2879.  
  2880. ----------------------------------
  2881. CHAPTER 5.  OPTIMIZING PERFORMANCE
  2882. ----------------------------------
  2883.  
  2884.  
  2885. The basic OS/2 2.0 system requires a minimum of 4MB of memory.  This
  2886. enables users to run applications or other system utility programs
  2887. concurrently, but it presents a constrained environment (limited
  2888. memory) for some large applications.
  2889.  
  2890. OS/2 2.0 can run concurrent applications that might require more
  2891. memory than is actually available in the system.  It does this by
  2892. moving the least recently used pages of the operating system or other
  2893. applications to disk and loading those parts of the application that
  2894. are needed to perform the requested operation.  This paging allows
  2895. applications to go beyond the system's physical memory limitation.
  2896.  
  2897. In limited memory configurations, performance of applications might be
  2898. reduced, particularly when the operating system is loading an
  2899. application or switching from one application to another or to the
  2900. desktop.  This is a result of paging.  When planning system memory
  2901. requirements, consider the functions that the environment uses.  Use
  2902. Table 4 to help determine the necessary memory for the environment.
  2903.  
  2904.  
  2905. APPLICATION CONSIDERATIONS
  2906. __________________________
  2907.  
  2908. When using applications with the Workplace Shell, consider the
  2909. following:
  2910.  
  2911. o   If an application is always used, place the application in the
  2912.     Startup folder.  The application will start at system startup.
  2913.  
  2914. o   If several different applications are used, their objects can be
  2915.     placed on the desktop or in a folder.  The folder can be set to
  2916.     open at system startup.
  2917.  
  2918. o   To avoid reloading applications, minimize the application after
  2919.     use, then maximize the session to use the application again.  The
  2920.     application object appears in the minimized window viewer or on
  2921.     the desktop.
  2922.  
  2923. o   To conserve OS/2 system resources and reduce memory requirements:
  2924.  
  2925.     -   Close applications when they are not going to be used again.
  2926.  
  2927.     -   Close folders if they are not needed.
  2928.  
  2929.     -   Move commonly used functions out of folders and to the
  2930.         desktop, and close the folder that contained the object.
  2931.  
  2932. The application type directly affects the amount of memory required.
  2933. Consider the amount of memory needed for data and the frequency of
  2934. activity while an application is in a background session.  For
  2935. example:
  2936.  
  2937. o   An application creating a spreadsheet uses a large amount of
  2938.     memory while it is processing.  Unless automated macros are used
  2939.     to read in disk file data and perform computations, the
  2940.     spreadsheet probably processes only while it is interactive.
  2941.  
  2942.     Most spreadsheet functions cannot sustain activity long enough to
  2943.     require memory while the user focuses on another task.  Therefore,
  2944.     the operating system can page out memory allocated to the
  2945.     spreadsheet and "lend" it to the interactive task.  In this case,
  2946.     adding memory can improve the speed of concurrent tasks, because
  2947.     the operating system must page in any areas of memory it
  2948.     "borrowed" while a task waited in the background.
  2949.  
  2950. o   An application processing a lot of data for an extended period of
  2951.     time must continue to have memory available to it, even while a
  2952.     user performs another task.  For example:
  2953.  
  2954.     -   If a user starts end-of-period processing in an accounting
  2955.         database application and switches to another task, the
  2956.         accounting application continues to process data in memory.
  2957.  
  2958.     -   If a user initiates a three-dimensional rendering in a
  2959.         graphics application, it can continue to draw while the user
  2960.         focuses on another task.
  2961.  
  2962.     In these cases, adding memory can improve overall processing
  2963.     performance.
  2964.  
  2965. o   If a modem is used, the operating system must leave the
  2966.     communication program in memory as long as the connection is
  2967.     needed.  When communicating either through a modem or over a LAN
  2968.     connection, the operating system can continue to send and receive
  2969.     data while other tasks are performed.  The amount of memory
  2970.     necessary for satisfactory performance depends on the volume of
  2971.     data a user sends and receives.
  2972.  
  2973. o   Depending on how they are written, applications have different
  2974.     levels of efficiency when using memory.
  2975.  
  2976.  
  2977. OS/2 2.0 CONFIG.SYS STATEMENTS
  2978. ______________________________
  2979.  
  2980. Customizing the OS/2 2.0 CONFIG.SYS file improves performance and
  2981. reduces memory requirements.  This section describes some OS/2 2.0
  2982. CONFIG.SYS statements.
  2983.  
  2984. Some users might want to shorten the installation process by copying
  2985. files from a network server or from a previously installed system.
  2986. However, using the statements from an existing system configuration
  2987. CONFIG.SYS file for another system might not enable optimum
  2988. performance of the operating system, because many of the parameters
  2989. for the CONFIG.SYS statements are dynamically determined based on the
  2990. configuration of the system.  For example, disk cache sizes and swap
  2991. file sizes are determined by hard disk and memory sizes.  Refer to the
  2992. online help for detailed descriptions of CONFIG.SYS statements and DOS
  2993. and WIN-OS/2 settings.
  2994.  
  2995. DISKCACHE=
  2996.      Specifies the number of blocks of memory to allocate for use by
  2997.      the FAT disk cache, and specifies lazy write and disk-read
  2998.      threshold size.
  2999.  
  3000.      DISKCACHE speeds up applications that read hard disks by keeping
  3001.      hard disk data frequently accessed in a cache.  However,
  3002.      increasing the size of the disk cache decreases the size of
  3003.      available memory.  See "File System Caches" for information about
  3004.      default disk cache sizes.
  3005.  
  3006.      o   If the LW parameter is specified, FAT lazy writing is on.
  3007.          Lazy writing is a feature where by actual writing of data to
  3008.          the hard disk is deferred until the system is idle.  This
  3009.          allows control to be returned to an application without
  3010.          having to wait for the completion of I/O operations.  The
  3011.          default is On.
  3012.  
  3013.      o   The threshold parameter specifies the number of sectors that
  3014.          will be placed into cache for read operations.  Any read
  3015.          operation that is less than the threshold is read into the
  3016.          disk cache first.  Therefore, subsequent read operations will
  3017.          probably find the needed data in the cache, thus improving
  3018.          performance.  Increasing this value can cause cache space to
  3019.          be used up quickly.  Therefore, also increase the cache size.
  3020.  
  3021. IFS=
  3022.      This statement is required to install the High Performance File
  3023.      System.  Parameters similar to those for the FAT DISKCACHE
  3024.      statement can be specified.  The specified cache size and
  3025.      threshold value perform the same functions.  See "File System
  3026.      Caches" for cache size defaults.
  3027.  
  3028.      Lazy writing for HPFS defaults to On.  A RUN=CACHE statement is
  3029.      required to change the state of lazy writing.  CACHE also can be
  3030.      executed from a command prompt.
  3031.  
  3032. PRIORITY_DISK_IO=
  3033.      Specifies disk input/output priority for applications running in
  3034.      the foreground.  When PRIORITY_DISK_IO=YES is specified in the
  3035.      CONFIG.SYS file, an application running in the foreground
  3036.      receives disk I/O priority over applications running in the
  3037.      background.  Thus, the application in the foreground has better
  3038.      response time than applications running in the background.
  3039.  
  3040. LIBPATH=, PATH=, OR DPATH=
  3041.      Specifies the directories to search through to find DLLs, EXEs,
  3042.      and data.  Specify the most frequently accessed directories first
  3043.      so the operating system can find them faster.
  3044.  
  3045. MAXWAIT=
  3046.      Sets the amount of time a process waits before the system assigns
  3047.      it a higher priority.  The amount of time to set depends on the
  3048.      number of concurrent applications and the activities the
  3049.      applications perform.  The system default is 3 seconds.
  3050.  
  3051. PRINTMONBUFSIZE=
  3052.      Sets the parallel port device driver buffer size, in bytes.  This
  3053.      statement is used in conjunction with print monitor programs.
  3054.      This statement enables a user to increase the size of the
  3055.      parallel port device driver buffer and thereby improve
  3056.      performance of data transfer to devices connected to the parallel
  3057.      port.  The parallel port device driver allocates and registers
  3058.      its monitor chain buffer based upon the specified value.  Ensure
  3059.      that the monitor supports the changing of this buffer.
  3060.  
  3061. PROTECTONLY=
  3062.      Selects one or two operating environments.  The OS/2 operating
  3063.      system requires this statement in the CONFIG.SYS file.
  3064.  
  3065.      o   The PROTECTONLY=NO statement allows a user to run DOS
  3066.          applications in the 640KB of conventional memory.  This
  3067.          allows a user to use both DOS and OS/2 applications.
  3068.  
  3069.      o   The PROTECTONLY=YES statement allows memory under 640KB to be
  3070.          available for OS/2 applications.  This memory normally is
  3071.          used for DOS applications.  When PROTECTONLY=YES, a user
  3072.          cannot run applications in DOS sessions.
  3073.  
  3074. RMSIZE=
  3075.      Specifies the highest conventional memory address allowed for the
  3076.      DOS session.
  3077.  
  3078.      If PROTECTONLY=NO is specified, a user can reduce the size of the
  3079.      DOS session further by specifying RMSIZE.  This allows a user to
  3080.      decrease the size of the DOS session, thereby making more memory
  3081.      available for OS/2 2.0 sessions.
  3082.  
  3083. SWAPPATH=
  3084.      Specifies the size and location of the swap file.  The swap file
  3085.      (SWAPPER.DAT) temporarily stores pages that the system has
  3086.      removed from physical memory to satisfy a request for memory.
  3087.      The default location for the file is SWAPPATH=\OS2\SYSTEM.
  3088.  
  3089.      The operating system pre-allocates the initial swap file size
  3090.      based on the size in the SWAPPATH statement in the CONFIG.SYS
  3091.      file.  However, if necessary, as a system runs, OS/2 2.0
  3092.      increases the size of the swap file.
  3093.  
  3094.      To change the pre-allocated size in the CONFIG.SYS file, modify
  3095.      the SWAPPATH= statement (sizes are specified in KB).  To
  3096.      customize the swap file size for a particular environment, modify
  3097.      the default value to reflect the smallest default value,
  3098.      according to Table 1 (for example, 2MB); then restart the system.
  3099.      Start the desired application, view the OS2\SYSTEM\SWAPPER.DAT
  3100.      file and record the size periodically.  Take the largest size
  3101.      that you record and add 1-2MB.  If this size is larger than the
  3102.      recommended size in Table 1, choose the larger value.  For more
  3103.      information, see "Swap File."
  3104.  
  3105.      Normal operation of OS/2 2.0 involves considerable disk activity
  3106.      as operating system functions are loaded and pages are moved in
  3107.      and out of the swap file.  To improve performance, consider
  3108.      dedicating a separate partition for the swap file next to the
  3109.      operating system partition.  This helps avoid fragmentation of
  3110.      the swap file, because other files will not be added and deleted
  3111.      from the dedicated partition.  Disk access time will be
  3112.      minimized.
  3113.  
  3114.      Ensure that the dedicated partition is large enough to contain
  3115.      the swap file as it increases in size.
  3116.  
  3117. SET DELDIR=
  3118.      Allows a user to restore files that have been deleted.  By
  3119.      default, this setting is commented out because backing up each
  3120.      deleted file slows system performance.
  3121.  
  3122.  
  3123. DOS AND WIN-OS/2 SETTINGS
  3124. _________________________
  3125.  
  3126. Every object (including program objects) has settings.  A user can
  3127. adjust DOS and WIN-OS/2 settings to improve performance.  Settings are
  3128. properties or characteristics that tell the operating system how the
  3129. object is different from other objects.  Each object has a notebook or
  3130. pop-up menu choice that allows a user to customize its settings.
  3131.  
  3132. For example, a user can customize the settings for a program object to
  3133. tell the operating system how the application should start each time
  3134. the program object is opened.  Or a user might open the Mouse object
  3135. to customize the mouse for left hand use.
  3136.  
  3137. DOS settings provide the ability to selectively configure and
  3138. customize a DOS session to meet the requirements of a particular
  3139. application.  Some DOS applications require certain features; others
  3140. operate better without them.  Thus, an individual DOS session can be
  3141. set up to provide the optimum environment for the application that
  3142. will run within it.
  3143.  
  3144. DOS settings can be changed in either of two ways:
  3145.  
  3146. o   Settings that can be set only at the time the session is created
  3147.     must be changed prior to starting the DOS session.
  3148.  
  3149. o   Settings that can be set at any time can be set prior to starting
  3150.     the DOS session, or while an application is running in the
  3151.     session.
  3152.  
  3153. The OS/2 2.0 Master Help Index has detailed information about
  3154. settings.
  3155.  
  3156. The following is a list of some settings that control the functioning
  3157. of screen I/O operations within a DOS session:
  3158.  
  3159. VIDEO_WINDOW_REFRESH
  3160.      Adjusts the time that elapses before a window is redrawn.  The
  3161.      values range from 0.1 second to 60.0 seconds (1 minute).
  3162.  
  3163.      o   Increasing the value increases the delay between screen
  3164.          redraws if an application is run (such as a graphics
  3165.          application) that writes frequently to video memory.
  3166.          Increasing the delay between each writing to video memory
  3167.          frees the processor for other application tasks, but
  3168.          increases the delay between screen redraws.
  3169.  
  3170.      o   The default value is 0.1, which represents the interval
  3171.          between window updates.
  3172.  
  3173. DOS_BACKGROUND_EXECUTION
  3174.      Allows DOS applications to run in the background.
  3175.  
  3176.      o   When the setting is set to ON a DOS application runs when it
  3177.          is in the background.
  3178.  
  3179.      o   When the setting is set to OFF a DOS application is suspended
  3180.          when it is in the background.  When the DOS application is
  3181.          suspended, it no longer receives interrupts.
  3182.  
  3183.      o   The default is ON.
  3184.  
  3185. VIDEO_8514A_XGA_IOTRAP
  3186.      This setting is used to directly access the Model 8514/A or XGA
  3187.      video.
  3188.  
  3189.      o   Setting this to OFF might make an application run faster.  It
  3190.          releases the 1MB of allocated memory where video information
  3191.          is saved in a DOS session.
  3192.  
  3193.      o   Set this to OFF for all WIN-OS/2 sessions that run in 8514 or
  3194.          XGA video modes.
  3195.  
  3196.      o   The default is ON to ensure that the screen image is restored
  3197.          when the screen is switched.
  3198.  
  3199. VIDEO_SWITCH_NOTIFICATION
  3200.      Notifies a DOS application about a switch between background and
  3201.      foreground.
  3202.  
  3203.      o   If this setting is ON, programs that monitor screen switching
  3204.          will save or redraw the screen when the screen is switched.
  3205.          For WIN-OS/2 sessions, set this to ON.
  3206.  
  3207.      o   The default is OFF, because most standard video modes do not
  3208.          use screen switch notification.
  3209.  
  3210. The following is a list of some settings that affect the behavior of
  3211. the OS/2 2.0 DOS emulation environment within a DOS session:
  3212.  
  3213. COM_HOLD
  3214.      Gives exclusive use of a particular communications port for a DOS
  3215.      session (for example, COM1).  ON prevents other sessions from
  3216.      using the same COM port until the DOS session ends.
  3217.  
  3218.      o   Select ON if there is difficulty maintaining communication
  3219.          between a DOS application and a bulletin board.
  3220.  
  3221.      o   The default is OFF.
  3222.  
  3223. HW_TIMER
  3224.      The timer hardware access setting is used to give an application
  3225.      direct access to Model 8253 timer ports.  Set this to ON to
  3226.      prevent the operating system from trapping, or intercepting, the
  3227.      timer request and emulating a timer.  Also set it to ON for
  3228.      timing-critical applications.
  3229.  
  3230.      The default is OFF, which disables direct access to timer ports.
  3231.  
  3232. The following is a list of some settings that affect the hardware
  3233. environment provided by a DOS session:
  3234.  
  3235. DOS_BREAK
  3236.      The break setting is used when a user wants the OS/2 operating
  3237.      system to check for the Ctrl+Break or Ctrl+C key combinations
  3238.      while an application is running.
  3239.  
  3240.      o   Applications run more slowly when this setting is set to ON.
  3241.  
  3242.      o   The default is OFF.
  3243.  
  3244. HW_ROM_TO_RAM
  3245.      Copies the Basic Input/Output System (BIOS) from ROM to RAM.
  3246.  
  3247.      o   When this setting is set to ON, applications might run
  3248.          faster.
  3249.  
  3250.      o   The default is OFF.
  3251.  
  3252. KBD_ALTHOME_BYPASS
  3253.      The Alt+Home bypass setting reserves a key combination for the
  3254.      DOS session.  Normally, pressing Alt+Home switches between a
  3255.      window session and a full-screen session.
  3256.  
  3257.      o   ON enables the application in a session to use this key
  3258.          combination for a different purpose.  For example, select ON
  3259.          to reserve Alt+Home for a Windows application in a WIN-OS/2
  3260.          session, particularly a WIN-OS/2 full-screen session.
  3261.  
  3262.      o   The default is OFF.
  3263.  
  3264. KBD_CTRL_BYPASS
  3265.      The Control key bypass setting enables a user to use either
  3266.      Alt+Esc or Ctrl+Esc in a DOS session.  Normally, Alt+Esc switches
  3267.      between sessions; Ctrl+Esc displays the Window List.
  3268.  
  3269.      o   The default is NONE.
  3270.  
  3271.      o   Enables switching between tasks in WIN-OS/2 sessions.
  3272.  
  3273. IDLE_SECONDS
  3274.      Specifies the length of time the operating system waits before
  3275.      applying idle detection in a DOS session.  The field for this
  3276.      setting shows the amount of idle time allowed in seconds.  Values
  3277.      range from 0 to 60.
  3278.  
  3279.      o   Allows an idle period for an application, such as a game,
  3280.          that waits a brief time after prompting for input, but
  3281.          continues activity if there is no response.  If an
  3282.          application appears to run slowly when waiting for input,
  3283.          increase the value in this field.
  3284.  
  3285.      o   The default value is 0.
  3286.  
  3287. IDLE_SENSITIVITY
  3288.      Specifies a threshold for judging when an application is only
  3289.      waiting for input.  The value in this field is a percentage of
  3290.      the maximum frequency with which an application repeatedly
  3291.      checks, or polls for input.
  3292.  
  3293.      o   Increase the percentage if the application can receive input
  3294.          while running and seems to run more slowly than expected.
  3295.          Selecting 100 in this field turns idle detection off, and the
  3296.          application can poll as often as necessary without operating
  3297.          system intervention.
  3298.  
  3299.      o   The default value is 75.
  3300.  
  3301. VIDEO_FASTPASTE
  3302.      The fast paste setting is used to increase the speed of character
  3303.      Cut and Paste transfers between the clipboard and a DOS session.
  3304.  
  3305.      o   Set this to ON to increase the character speed of Cut and
  3306.          Paste transfers.
  3307.  
  3308.      o   The default is OFF.
  3309.  
  3310. VIDEO_RETRACE_EMULATION
  3311.      Controls the frequency of video retrace.  When this setting is
  3312.      OFF, retrace occurs only at the interval specific to the video
  3313.      mode of the running DOS application.
  3314.  
  3315.      o   A few DOS applications run more slowly with this setting set
  3316.          to ON.
  3317.  
  3318.      o   Changing this setting to OFF increases performance, but
  3319.          screen switching is not as reliable.
  3320.  
  3321.      o   The default is ON.
  3322.  
  3323. VIDEO_ROM_EMULATION
  3324.      Controls the emulation of WriteChar, WriteTTY, and full-screen
  3325.      scroll video functions.
  3326.  
  3327.      o   Select OFF if video read-only memory (ROM) provides
  3328.          enhancements to these video functions.
  3329.  
  3330.      o   The default is ON, because the emulated functions enhance
  3331.          performance over most manufacturers' ROM versions of the same
  3332.          functions.
  3333.  
  3334. PRINT_TIMEOUT
  3335.      Specifies the number of seconds that elapse before information is
  3336.      sent from a DOS application to a print spool file.  The values
  3337.      range from 0 to 3600 seconds.
  3338.  
  3339.      o   Increase the value if the DOS session print jobs are
  3340.          incorrectly divided into more than one print file.  This
  3341.          might occur for jobs that print large files, format
  3342.          documents, or run calculations.
  3343.  
  3344.      o   The default value is 15.
  3345.  
  3346. The following is a list of some settings that affect the behavior of
  3347. the EMS and XMS memory extenders when used in a DOS session:
  3348.  
  3349. EMS_MEMORY_LIMIT
  3350.      Defines the amount of EMS available to the DOS session.  This
  3351.      setting is expressed in KB units, ranging from 0 to 32768.
  3352.  
  3353.      o   The value should be 0 if a DOS application does not need EMS.
  3354.          This might improve performance.
  3355.  
  3356.      o   This setting enables a user to limit the amount of EMS that
  3357.          an application reserves, which prevents an application from
  3358.          allocating more memory than necessary.  A limit that is too
  3359.          high can slow performance.
  3360.  
  3361.      o   The default value is 2MB.
  3362.  
  3363. XMS_MEMORY_LIMIT
  3364.      Specifies the amount of memory that a DOS session can allocate to
  3365.      XMS.  This setting is expressed in KB units, ranging from 0 to
  3366.      16384.
  3367.  
  3368.      o   Specifying a large number for either the global or the per
  3369.          session extended-memory limit can slow performance.
  3370.  
  3371.      o   The default value is 2MB.
  3372.  
  3373. DPMI_MEMORY_LIMIT
  3374.      Defines the amount of DPMI available to a DOS session.  This
  3375.      setting enables a user to specify the amount of DPMI memory
  3376.      needed for DOS applications on a per session basis.  The field
  3377.      for this setting contains values expressed in 1MB intervals
  3378.      ranging from 0 to 512.
  3379.  
  3380.      o   The value should be 0 if a DOS application does not need
  3381.          DPMI.
  3382.  
  3383.      o   Increase this setting to 6MB for WIN-OS/2 sessions that run
  3384.          more than one application.
  3385.  
  3386.      o   The default value is 2MB.
  3387.  
  3388. DPMI_NETWORK_BUFF_SIZE
  3389.      Controls the size in KB, of the network translation buffer for
  3390.      DPMI applications in a session.  The range is from 1 to 64KB.
  3391.  
  3392.      o   This setting allows a user to set the size of the translation
  3393.          buffer for DPMI applications, for example, Windows
  3394.          applications that transfer data over a network.
  3395.  
  3396.      o   If a network-specific Windows application does not run
  3397.          correctly under OS/2 2.0, increase this setting, then restart
  3398.          the session.
  3399.  
  3400.      o   The default value is 8KB.
  3401.  
  3402. MEM_INCLUDE_REGIONS
  3403.      Fills any areas between memory addresses of 640KB and 1MB that
  3404.      are designated for EMS, XMS, or a copy of a ROM application.
  3405.  
  3406.      o   Including regions can improve the performance of applications
  3407.          that use EMS or XMS memory.
  3408.  
  3409.      o   By default, this field is empty.
  3410.  
  3411.  
  3412. MAXIMIZING MEMORY IN A DOS SESSION
  3413. __________________________________
  3414.  
  3415. The OS/2 2.0 CONFIG.SYS file specifies the operating system
  3416. configuration and installs device drivers and other memory resident
  3417. applications.  The OS/2 2.0 AUTOEXEC.BAT file is specific to the
  3418. functioning of the DOS session.  To allocate additional memory to
  3419. applications running in a DOS session, remove unnecessary commands
  3420. from these files.  The following describes why a user might want to
  3421. change the OS/2 2.0 CONFIG.SYS and AUTOEXEC.BAT files to maximize
  3422. memory in a DOS session.
  3423.  
  3424. NOTE:  Do not remove statements that are required for any DOS session.
  3425.  
  3426.  
  3427. CHANGING THE OS/2 2.0 CONFIG.SYS FILE FOR A DOS SESSION
  3428.  
  3429. Virtual device drivers used by DOS sessions take little or no memory
  3430. below the 640KB limit.  A user can install device drivers that are
  3431. required by, and specific to, certain applications that run in a DOS
  3432. session.  If the commands to load these device drivers or other memory
  3433. resident programs are added to the CONFIG.SYS file, these device
  3434. drivers (or programs) are loaded into any DOS session.  This reduces
  3435. the amount of conventional memory available to DOS applications.
  3436.  
  3437. DOS settings allow a user to customize a DOS session.  To ensure that
  3438. the maximum amount of memory is available in each DOS session, load
  3439. the necessary DOS device drivers for the DOS application by using DOS
  3440. settings.  For example:
  3441.  
  3442. DEVICEHIGH=
  3443.                Loads a specified DOS device driver into an available
  3444.                upper memory block (UMB) for a DOS session.
  3445.  
  3446.                NOTE:  DOS device drivers normally are loaded into low
  3447.                       memory (below 640KB) in DOS sessions.
  3448.  
  3449.                If a UMB is not available, the device driver is loaded
  3450.                into low memory (as a DEVICE= statement).  To enable
  3451.                UMBs, include the DOS=UMB statement in the CONFIG.SYS
  3452.                file.
  3453.  
  3454. DOS=
  3455.                Specifies whether the DOS kernel will reside in the
  3456.                high memory area (HMA) and whether the operating system
  3457.                or DOS applications will control upper memory blocks.
  3458.  
  3459.                NOTE:  Upper memory blocks are provided by the XMS
  3460.                       device driver.
  3461.  
  3462.                It also is necessary to include a VXMS.SYS statement in
  3463.                the CONFIG.SYS file to have upper memory blocks
  3464.                available.
  3465.  
  3466.                o   With a DOS=HIGH/LOW,UMB statement, the operating
  3467.                    system controls the upper memory blocks.  This
  3468.                    means that DOS applications can be loaded into
  3469.                    upper memory but cannot allocate UMBs.
  3470.  
  3471.                o   With a DOS=HIGH/LOW,NOUMB statement, the operating
  3472.                    system will not control any UMBs.  DOS applications
  3473.                    can allocate UMBs but cannot be loaded there.
  3474.  
  3475. Eliminate DEVICE= statements for DOS device drivers from the
  3476. CONFIG.SYS file unless the device driver is required for any DOS
  3477. session.
  3478.  
  3479.  
  3480. CHANGING THE OS/2 2.0 AUTOEXEC.BAT FILE FOR A DOS SESSION
  3481.  
  3482. The AUTOEXEC.BAT file is specific to the DOS session and has no effect
  3483. on the OS/2 operating system.  This file contains DOS system commands
  3484. that run when a DOS session is started.  The AUTOEXEC.BAT file starts
  3485. memory resident programs, such as network programs, and sets up
  3486. environment variables.
  3487.  
  3488. To make as much base memory as possible available to applications,
  3489. remove any unnecessary commands from the AUTOEXEC.BAT file.  Include
  3490. commands in the AUTOEXEC.BAT file to customize a specific DOS session.
  3491.  
  3492. Any changes made to this file affect all DOS and WIN-OS/2 sessions,
  3493. because all sessions that run DOS emulation (including WIN-OS/2
  3494. sessions) share the same AUTOEXEC.BAT file.
  3495.  
  3496. NOTE:  Do not allow the installation of a DOS or Windows application
  3497.        to change the AUTOEXEC.BAT file supplied with OS/2 2.0.  If a
  3498.        DOS command is necessary for a specific DOS application,
  3499.        consider calling a batch file after the DOS session is started.
  3500.  
  3501.  
  3502.  
  3503. ----------
  3504. APPENDIXES
  3505. ----------
  3506.  
  3507.  
  3508. -------------------------------
  3509. APPENDIX A.  SUPPORTED HARDWARE
  3510. -------------------------------
  3511.  
  3512.  
  3513. OS/2 2.0 is designed to run on personal computers with an Intel (or
  3514. compatible) 80386SX (or higher) microprocessor, at least 4MB of
  3515. memory, and a 60MB hard disk with 15-30MB of free space.
  3516.  
  3517.  
  3518. MICROPROCESSORS
  3519. _______________
  3520.  
  3521. OS/2 2.0 uses the instruction set of the Intel 80386 microprocessor,
  3522. and therefore requires a system unit equipped with either an Intel (or
  3523. compatible) 80386SX (or higher) microprocessor.
  3524.  
  3525. IBM systems equipped with such microprocessors include:
  3526.  
  3527. o   IBM Personal System/1 (2121)
  3528. o   IBM Personal System/2(*) Model 35 SX (8535)
  3529. o   IBM Personal System/2 Model 40 SX (8540)
  3530. o   IBM Personal System/2 Model L40 SX (8543)
  3531. o   IBM Personal System/2 Model CL57 SX (8554)
  3532. o   IBM Personal System/2 Model N51 SLC (8551)
  3533. o   IBM Personal System/2 Model N51 SX (8551)
  3534. o   IBM Personal System/2 Model 55 SX (8555)
  3535. o   IBM Personal System/2 Model 56 SX (8556)
  3536. o   IBM Personal System/2 Model 57 SX (8557)
  3537. o   IBM Personal System/2 Model 57 SLC(8557)
  3538. o   IBM Personal System/2 Model 65 SX (8565)
  3539. o   IBM Personal System/2 Model 70 386 (8570)
  3540. o   IBM Personal System/2 Model 70 386 (8570) with the IBM Personal
  3541.     System/2 Power Platform(*)
  3542. o   IBM Personal System/2 Model 70 486 (8570)
  3543. o   IBM Personal System/2 Model P70 386 (8573)
  3544. o   IBM Personal System/2 Model P75 486 (8575)
  3545. o   IBM Personal System/2 Model 80 386 (8580)
  3546. o   IBM Personal System/2 Model 90 XP 486 (8590)
  3547. o   IBM Personal System/2 Model 95 XP 486 (8595)
  3548. o   IBM Ultimedia M57 SLC (8557-259)
  3549.  
  3550. OS/2 2.0 will not run on machines equipped with an Intel 80286
  3551. processor.  Therefore, computers such as the IBM PC AT, PS/2 Model
  3552. 30-286, and Models 50, 50Z, and 60 cannot be used with OS/2 2.0.
  3553. However, OS/2 2.0 does support non-386 based machines that have been
  3554. upgraded with a 386 or 486 processor using the Aox Micromaster, Intel
  3555. SnapIn, or Kingston SX/Now! card.
  3556.  
  3557. IBM has tested key functions of OS/2 2.0, based on selected model
  3558. configurations provided by the manufacturers of non-IBM hardware
  3559. systems.  Test results are available on CompuServe, Natboard, the
  3560. National Support Center Bulletin Board System, the OS/2 Bulletin Board
  3561. System, IBM Forums (OEM and OS2ARENA), and IBMLINK(*).  If you need
  3562. additional information, please consult your hardware suppliers.
  3563.  
  3564.  
  3565. STORAGE INTERFACES
  3566. __________________
  3567.  
  3568. For use by HPFS, the new OS/2 2.0 disk-device driver interface
  3569. supports reading and writing information to disk drives that have the
  3570. SCSI bus architecture and the descriptors employed by SCSI protocols.
  3571. Read and write operations allow data transfer to and from
  3572. discontinuous memory buffers.  SCSI support provides the following
  3573. advantages:
  3574.  
  3575. o   Common bus for many types of peripherals, such as Compact
  3576.     Disk-Read Only Memory (CD-ROM) drives, hard drives, read/write
  3577.     optical drives, Write-Once-Read-Many (WORM) drives, and tapes,
  3578.     without the necessity for separate controllers
  3579. o   Up to seven external devices connected to one port
  3580. o   Second internal hard drive to expand high-volume read-write disk
  3581.     storage
  3582. o   High-speed performance
  3583. o   Automatic error correction
  3584.  
  3585.  
  3586. PRINTERS AND PLOTTERS
  3587. _____________________
  3588.  
  3589. OS/2 2.0 supports a broad range of printers, producing output from
  3590. OS/2, Windows, and DOS applications.
  3591.  
  3592. At the time of this printing, the OS/2 version 2.0 operating system
  3593. distribution package includes printer drivers that support the models
  3594. listed below.  This list might not be all-inclusive because:
  3595.  
  3596. o   Computer dealers can supply 32-bit OS/2 2.0-compatible printer
  3597.     drivers for devices that are not listed here.
  3598. o   Drivers might be added to the operating system package after the
  3599.     date of this publication.
  3600.  
  3601. The operating system distribution media contain printer drivers that
  3602. can interpret print jobs for the following devices:
  3603.  
  3604.  
  3605. MATRIX PRINTERS
  3606.  
  3607. These printers are supported by the printer driver named EPSON.DRV:
  3608.  
  3609.     Epson 24 pins - 136 columns         Epson LQ-500 24 pins - 80
  3610.     Epson 24 pins - 80 columns          columns
  3611.     Epson 9 pins - 136 columns          Epson LQ-510 24 pins - 80
  3612.     Epson 9 pins - 80 columns           columns
  3613.     Epson DFX-5000 9 pins - 136         Epson LQ-850 (N9) 24 pins - 80
  3614.     columns                             columns
  3615.     Epson DFX-8000 9 pins - 136         Epson LQ-850 24 pins - 80
  3616.     columns                             columns
  3617.     Epson EPL-6000 Laser                Epson LQ-860 Color 24 pins - 80
  3618.     Epson EX-1000 Color 9 pins - 136    columns
  3619.     columns                             Epson LQ-950 (N9) 24 pins - 110
  3620.     Epson EX-800 Color 9 pins - 80      columns
  3621.     columns                             Epson LX-800 9 pins - 80 columns
  3622.     Epson FX-1050 9 pins - 136          Epson LX-810 9 pins - 80 columns
  3623.     columns                             HP DeskJet 500 in Epson EPL-6000
  3624.     Epson FX-286e 9 pins - 136          mode
  3625.     columns                             Panasonic KX-P1123 in Epson
  3626.     Epson FX-850 9 pins - 80 columns    LQ-850 mode
  3627.     Epson JX-80 Color 9 pins - 80       Panasonic KX-P1124 in Epson
  3628.     columns                             LQ-2500 mode
  3629.     Epson LP-1170 24 pins - 136         Panasonic KX-P1124i in Epson
  3630.     columns                             LQ-850 mode
  3631.     Epson LP-570 24 pins - 80           Panasonic KX-P1180 in Epson
  3632.     columns                             FX-86e mode
  3633.     Epson LP-870 24 pins - 80           Panasonic KX-P1191 in Epson
  3634.     columns                             FX-86e mode
  3635.     Epson LQ-1010 24 pins - 132         Panasonic KX-P1624 in Epson
  3636.     columns                             LQ-2500 mode
  3637.     Epson LQ-1050 (N9) 24 pins - 136    Panasonic KX-P1654 in Epson
  3638.     columns                             LQ-1050 mode
  3639.     Epson LQ-1050 24 pins - 136         Panasonic KX-P1695 in Epson
  3640.     columns                             FX-1050 mode
  3641.     Epson LQ-2550 Color 24 pins -       Panasonic KX-P2624 in Epson
  3642.     136 columns                         LQ-1050 mode
  3643.  
  3644. HP LASERJET AND COMPATIBLE PRINTERS
  3645.  
  3646. These printers are supported by the printer driver named LASERJET.DRV:
  3647.  
  3648.     Epson EPL-7000                        IBM 4029 LaserPrinter 10
  3649.     HP LaserJet 2000                      IBM 4029 LaserPrinter 10L
  3650.     HP LaserJet 500 Plus                  IBM 4029 LaserPrinter 5E
  3651.     HP LaserJet Classic                   IBM 4029 LaserPrinter 6
  3652.     HP LaserJet IID                       KYOCERA F-1000A/F-1000
  3653.     HP LaserJet III                       KYOCERA F-1800A/F-1800
  3654.     HP LaserJet IIID                      KYOCERA F-2000A/F-2200S
  3655.     HP LaserJet IIIP                      KYOCERA F-3000A/F-3300
  3656.     HP LaserJet IIISi                     KYOCERA F-5000A/F-5000
  3657.     HP LaserJet IIP Plus                  KYOCERA F-800A/F-800
  3658.     HP LaserJet IIP                       KYOCERA F-820
  3659.     HP LaserJet Plus                      Panasonic KX-P4420
  3660.     HP LaserJet Series II                 Panasonic KX-P4450
  3661.     IBM 4019 LaserPrinter E               Panasonic KX-P4450i
  3662.     IBM 4019 LaserPrinter
  3663.  
  3664. HP PAINTJET PRINTERS
  3665.  
  3666. These printers are supported by the printer driver named SMGXPJET.DRV:
  3667.  
  3668.     PaintJet                              PaintJet XL
  3669.  
  3670. IBM LASERPRINTERS
  3671.  
  3672. These printers are supported by the printer driver named IBM4019.DRV:
  3673.  
  3674.     IBM 4019 LaserPrinter E               IBM 4029 LaserPrinter 10L
  3675.     IBM 4019 LaserPrinter                 IBM 4029 LaserPrinter 5E
  3676.     IBM 4029 LaserPrinter 10              IBM 4029 LaserPrinter 6
  3677.  
  3678. IBM PROPRINTERS
  3679.  
  3680. These printers are supported by the printer driver named IBM42XX.DRV:
  3681.  
  3682.     IBM 2380 PPS II                       IBM 4202 Proprinter XL
  3683.     IBM 2381 PPS II                       IBM 4207 Proprinter X24
  3684.     IBM 2390 PPS II                       IBM 4207 Proprinter X24E
  3685.     IBM 2391 PPS II                       IBM 4208 Proprinter XL24
  3686.     IBM 4201 Proprinter(*) II             IBM 4208 Proprinter XL24E
  3687.     IBM 4201 Proprinter III               IBM 4224 - 01, 02 & E3
  3688.     IBM 4201 Proprinter                   IBM 4224 - C2
  3689.     IBM 4202 Proprinter II XL             IBM 4226 Model 302
  3690.     IBM 4202 Proprinter III XL
  3691.  
  3692. IBM QUIETWRITER AND COMPATIBLE PRINTERS
  3693.  
  3694. These printers are supported by the printer driver named IBM52XX.DRV:
  3695.  
  3696.     IBM 3816 - 01D                        IBM 5202 Quietwriter(*) III
  3697.     IBM 3816 - 01S                        IBM 5204 Quickwriter(*)
  3698.  
  3699. PLOTTERS
  3700.  
  3701. These plotters are supported by the printer driver named PLOTTERS.DRV:
  3702.  
  3703.     HP 7470A Plotter                      HP DraftPro
  3704.     HP 7475A Plotter                      IBM 6180 Plotter
  3705.     HP 7550A Plotter                      IBM 6182 Plotter
  3706.     HP 7580A Plotter                      IBM 6184 Plotter
  3707.     HP 7580B Plotter                      IBM 6186-1 Plotter
  3708.     HP 7585A Plotter                      IBM 6186-2 Plotter
  3709.     HP 7585B Plotter                      IBM 7371 Plotter
  3710.     HP 7586B Plotter                      IBM 7372 Plotter
  3711.     HP ColorPro                           IBM 7374 Plotter
  3712.     HP DraftMaster I                      IBM 7375-1 Plotter
  3713.     HP DraftMaster II                     IBM 7375-2 Plotter
  3714.  
  3715. POSTSCRIPT PRINTERS
  3716.  
  3717. These printers are supported by the printer driver named PSCRIPT.DRV:
  3718.  
  3719.     AST TurboLaser                        Olivetti LP 5000
  3720.     Agfa Matrix ChromaScript v51_8        Panasonic KX-P4455 v51_4
  3721.     Agfa-Compugraphic 9400PS v49_3        QMS ColorScript 100 Mod 10
  3722.     Agfa/Compugraphic 400PS               QMS ColorScript 100 Mod 30
  3723.     Apple LaserWriter II NT               QMS ColorScript 100 Mod 30si
  3724.     Apple LaserWriter II NTX              QMS ColorScript 100
  3725.     Apple LaserWriter Plus v42_2          QMS IS X320T
  3726.     Apple LaserWriter Plus                QMS-PS 1500
  3727.     Apple LaserWriter                     QMS-PS 2000
  3728.     Dataproducts LZR 1260 v47_0           QMS-PS 2200
  3729.     Dataproducts LZR-2665                 QMS-PS 2210
  3730.     Digital LN03R ScriptPrinter           QMS-PS 2220
  3731.     Digital LPS PrintServer 40            QMS-PS 410
  3732.     Epson EPL-7500 v52_3                  QMS-PS 800 Plus
  3733.     Generic PostScript Printer            QMS-PS 800
  3734.     HP LaserJet IID v52_2                 QMS-PS 810 Turbo
  3735.     HP LaserJet III v52_2                 QMS-PS 810
  3736.     HP LaserJet IIID v52_2                QMS-PS 815 MR
  3737.     HP LaserJet IIIP PS v52_2             QMS-PS 815
  3738.     HP LaserJet IIISi PS v52_3            QMS-PS 820 Turbo
  3739.     HP LaserJet IIP v52_2                 QMS-PS 820
  3740.     IBM 4019 v52_1 (17 Fonts)             QMS-PS 825 MR
  3741.     IBM 4019 v52_1 (39 Fonts)             QMS-PS 825
  3742.     IBM 4029 (17 Fonts 300 Dpi)           Qume ScripTEN
  3743.     IBM 4029 (17 Fonts 600 Dpi)           Seiko ColorPoint PS Model 04
  3744.     IBM 4029 (39 Fonts 300 Dpi)           Seiko ColorPoint PS Model 14
  3745.     IBM 4029 (39 Fonts 600 Dpi)           Seiko Personal ColorPoint PS
  3746.     IBM 4216-031 v51_4 SheetFeed          Silentwriter LC 890XL v50_5
  3747.     IBM Personal Page Printer II-30       Silentwriter2 290 v52_0
  3748.     IBM Personal Page Printer II-31       Silentwriter2 Model 90 v52_2
  3749.     IBM Personal Pageprinter              TI 2115 (13 fonts) v47_0
  3750.     KYOCERA P-2000                        TI OmniLaser 2108
  3751.     KYOCERA Q-8010                        TI Omnilaser 2115
  3752.     Linotronics 100 v38_0                 TI microLaser PS17 v_52_1
  3753.     Linotronics 100 v42_5                 TI microLaser PS35 v_52_1
  3754.     Linotronics 200 v47_1                 Tektronix Phaser Card v1_1
  3755.     Linotronics 200 v49_3                 Tektronix Phaser II PX v2_0  2
  3756.     Linotronics 300 v47_0                 Tektronix Phaser II PXi v2010
  3757.     Linotronics 300 v47_1                 Tektronix Phaser III PXi v2010
  3758.     Linotronics 300 v49_3                 VARITYPER VT-600
  3759.     Linotronics 500 v49_3                 Wang LCS15 FontPlus
  3760.     NEC Colormate PS v51_9                Wang LCS15
  3761.     NEC LC-890
  3762.  
  3763. MISCELLANEOUS PRINTERS
  3764.  
  3765. MODEL                     DRIVER
  3766.  
  3767. IBM 5201 Quietwriter II   IBM52012.DRV
  3768. Generic, TTY printer      IBMNULL.DRV
  3769.  
  3770.  
  3771. WIN-OS/2 PRINTER DRIVERS
  3772.  
  3773. Printer models supported by the OS/2 2.0 operating system for use with
  3774. Windows programs are named in the two lists below, along with the
  3775. appropriate drivers.  (This information is also included in the OS/2
  3776. 2.0 online Master Help Index under the topic WIN-OS/2 PRINTER
  3777. DRIVERS.)  These drivers are shipped on the OS/2 2.0 printer driver
  3778. diskettes.
  3779.  
  3780. Printer drivers in the following list are installed during the
  3781. installation of OS/2 2.0, when you select the associated printers.
  3782.  
  3783. MODEL                     DRIVER
  3784.  
  3785. Epson (24 pins)           EPSON24.DRV
  3786. Epson (9 pins)            EPSON9.DRV
  3787. Generic - text only       TTY.DRV
  3788. IBM Proprinter (9 pins)   PROPRINT.DRV
  3789. IBM Proprinter (24 pins)  PROPRIN24.DRV
  3790. IBM 3852 Inkjet Printer   IBMCOLOR.DRV
  3791. IBM 4019 Laser Printer    IBM4019.DRV
  3792. IBM 5152 Graphics Printer IBMGRX.DRV
  3793. PostScript                PSCRIPT.DRV
  3794.  
  3795. Printer drivers in the following list need to be installed through the
  3796. WIN-OS/2 Control Panel after the installation of OS/2 2.0.  Detailed
  3797. instructions are in the online Master Help Index in the topic SETTING
  3798. UP A WIN-OS/2 PRINTER.
  3799.  
  3800.  
  3801. MODEL                     DRIVER
  3802.  
  3803. Canon LBP-8II             LBP8II.DRV
  3804. Canon LBP-8III and LBP-4  CANONIII.DRV
  3805. C-ITOH 8510               CITOH.DRV
  3806. HP ThinkJet               THINKJET.DRV
  3807. IBM Quietwriter III       QWIII.DRV
  3808. Olivetti                  OLIPRIN2.DRV
  3809. Olivetti                  OLIPRINT.DRV
  3810. Olivetti DM 600           DM600.DRV
  3811. Olivetti TH 760           TH760.DRV
  3812. TI 850                    TI850.DRV
  3813. Toshiba                   TOSHIBA.DRV
  3814. Fujitsu Dot Matrix        FUJIMTRX.DRV
  3815. NEC PinWriter             NED24PIN.DRV
  3816.  
  3817. Some printer drivers are supplied by printer manufacturers.
  3818. Instructions for installing those drivers are in the online Master
  3819. Help Index in the topic ADDING AN UNLISTED PRINTER.
  3820.  
  3821.  
  3822. GRAPHICS ADAPTERS AND DISPLAYS
  3823. ______________________________
  3824.  
  3825. OS/2 2.0 supports displays with a wide range of resolutions.  However,
  3826. it is recommended that you use a VGA or higher resolution display to
  3827. take advantage of the quality of Presentation Manager interface
  3828. graphics.  The list that follows includes recent releases of IBM
  3829. displays and graphics adapters, including some with multimedia
  3830. capabilities such as full-motion video.  Also included in the list are
  3831. some supported touch-sensitive screens.
  3832.  
  3833. o   IBM 8513 - 12-inch screen
  3834. o   IBM 8514/A - 14-inch screen
  3835. o   IBM 7554 - 19-inch screen
  3836. o   IBM 8516 Touch Display - 14-inch color display with an integrated
  3837.     touch-sensitive surface
  3838. o   IBM PS/2 TouchSelect - "snap on" touch screens to fit the IBM 8413
  3839.     or IBM 7554
  3840. o   IBM PS/2 TV - desktop television with picture in picture or
  3841.     full-screen video plus normal PS/2 display mode
  3842. o   Image Adapter/A
  3843. o   M-Audio Capture & Playback Adapter and Adapter/A
  3844. o   Video Capture Adapter/A
  3845. o   M-Motion Video Adapter/A
  3846. o   ActionMedia II Adapter
  3847.  
  3848. Generally, DOS and WIN-OS/2 programs cannot write to the screen while
  3849. in the background.  For most WIN-OS/2 programs, the program can
  3850. continue to run in the background and will redraw itself as soon as
  3851. you select it for focus.  DOS programs remain idle while in the
  3852. background if they must draw to a screen.  For more information,
  3853. consult the topic DISPLAY ADAPTER SUPPORT FOR DOS AND WINDOWS PROGRAMS
  3854. in the Master Help Index.
  3855.  
  3856. OS/2 2.0 enables you to connect high-resolution displays and adapters
  3857. such as Super VGA and XGA.
  3858.  
  3859.  
  3860. SVGA
  3861.  
  3862. The following Super VGA boards have been tested and found to work with
  3863. OS/2 2.0 for DOS applications that make use of SVGA modes:
  3864.  
  3865. o   Orchid ProDesigner IIs by Orchid Technology (ISA and MCA versions)
  3866. o   Trident TVGA by Trident Microsystems, Inc. (8900b and c levels)
  3867. o   STB PowerGraph VGA by STB Systems, Inc.
  3868. o   Video Seven VRAM II, by Video Seven
  3869. o   Boca Super VGA by Boca Research Inc.
  3870. o   VGA Wonder XL Series by ATI Technologies, Inc.
  3871.  
  3872. Please contact the manufacturer of your PC or SVGA video adapter to
  3873. obtain device drivers and installation instructions for running
  3874. Windows or OS/2 applications in SVGA modes.  Information about SVGA
  3875. support is available on CompuServe, the National Support Center
  3876. Bulletin Board System, and the OS/2 Bulletin Board System, as well as
  3877. many video-board and system manufacturers' bulletin boards.
  3878.  
  3879.  
  3880. SVGA ON UTILITY
  3881.  
  3882. If you have one of the video adapters listed in the previous section
  3883. and want to run DOS or Windows applications that make use of SVGA, you
  3884. must turn on OS/2 2.0 SVGA support.  The OS/2 Installation program
  3885. detects the type of video chip in the system; it cannot detect the
  3886. type of adapter or system board on which the video chip has been
  3887. implemented.  You must determine that you have a supported
  3888. configuration and then explicitly enable SVGA.
  3889.  
  3890. To enable SVGA, type the following at an OS/2 command prompt or DOS
  3891. full-screen command prompt:
  3892.  
  3893.    SVGA ON
  3894.  
  3895. Then do a shutdown and restart the system.
  3896.  
  3897.  
  3898. SCSI ADAPTERS AND DISKS
  3899.  
  3900. The SCSI standard defines a data-transfer bus architecture and
  3901. protocols enabling interaction between up to eight different types of
  3902. computing devices without the necessity for separate controllers.
  3903.  
  3904.  
  3905. HIGH-VOLUME DEVICES
  3906.  
  3907. OS/2 2.0 supports compact disc (CD) and read/write optical drives and
  3908. other devices used for large-capacity storage in multimedia
  3909. applications.
  3910.  
  3911.  
  3912.  
  3913. -------------------------------------------
  3914. APPENDIX B.  INTERNATIONAL LANGUAGE SUPPORT
  3915. -------------------------------------------
  3916.  
  3917.  
  3918. IBM provides extensive international language support for the OS/2
  3919. operating system.
  3920.  
  3921.  
  3922. TRANSLATIONS
  3923. ____________
  3924.  
  3925. OS/2 2.0 is translated into the following languages:
  3926.  
  3927.     Chinese
  3928.         Peoples Republic of China (simplified)
  3929.         Taiwan (traditional)
  3930.     Danish
  3931.     Finnish
  3932.     French
  3933.     German
  3934.     Italian
  3935.     Japanese
  3936.     Korean
  3937.     Dutch
  3938.     Norwegian
  3939.     Portuguese
  3940.     Spanish
  3941.     Swedish
  3942.  
  3943. In the translated versions, information on the screen and in the
  3944. manuals is presented in the national language (except commands, device
  3945. names, and file names, which are based on English).
  3946.  
  3947. Users who are bilingual, but regard English as their primary language
  3948. for computer use, should specify the English version when ordering.
  3949.  
  3950.  
  3951. BIDIRECTIONAL SUPPORT
  3952. _____________________
  3953.  
  3954. A new language feature, bidirectional support, is provided in OS/2 2.0
  3955. for languages such as Arabic and Hebrew, in which text is read from
  3956. right to left.  With OS/2 2.0, users can type, display, and print
  3957. national-language characters and English characters from right to left
  3958. or left to right.  This support, which is for full-screen sessions
  3959. only, is provided automatically when users select ARABIC or HEBREW in
  3960. the Country Information and Keyboard windows during installation of
  3961. OS/2 2.0.  Bidirectional support can be added after OS/2 2.0 is
  3962. installed by using SELECTIVE INSTALL.  See the manual OS/2 2.0 Using
  3963. Bidirectional Support for detailed instructions.
  3964.  
  3965.  
  3966. DOUBLE-BYTE CHARACTER SET
  3967. _________________________
  3968.  
  3969. Another language feature in OS/2 2.0 is the double-byte character set
  3970. (DBCS).  The DBCS version is provided for those countries, such as
  3971. Japan, whose primary language requires 2 bytes for each character
  3972. rather than 1 byte as in the single-byte character set (SBCS).  See
  3973. the manual OS/2 2.0 Keyboards and Code Pages for more information.
  3974.  
  3975.  
  3976. INSTALLING NATIONAL LANGUAGE VERSIONS
  3977. _____________________________________
  3978.  
  3979. To have successful international language and country support, several
  3980. interrelated statements, such as CODEPAGE, COUNTRY, and DEVINFO, must
  3981. be included in the CONFIG.SYS file.  CODEPAGE identifies the character
  3982. set; COUNTRY specifies money symbols, decimal separators, and date and
  3983. time format; and DEVINFO identifies the type of device (keyboard,
  3984. display, or printer) to be used by the computer system.
  3985.  
  3986. Users can have the installation program automatically insert these
  3987. statements in the CONFIG.SYS file during installation, or they can
  3988. make the CONFIG.SYS changes manually.
  3989.  
  3990. If users install OS/2 2.0 using the SELECT FEATURES option, they are
  3991. shown several default choices in the System Configuration window,
  3992. including Country and Keyboard. They can accept these defaults, or
  3993. they can change them in the window.  After the initial installation,
  3994. they can use the Selective Install object to change or add country
  3995. support.
  3996.  
  3997.  
  3998. COUNTRY CHOICE
  3999.  
  4000. The Country choice specifies to the computer the country code, the
  4001. associated national-language and multilingual code pages, and the
  4002. appropriate money symbols, decimal separator, and date and time
  4003. formats.
  4004.  
  4005. Users should use their default national-language choices except when
  4006. they work with files that were created using other national languages
  4007. or plan to send files to other countries.  In those instances, they
  4008. can use the multilingual code page.
  4009.  
  4010. The OS/2 2.0 installation defaults for country information and code
  4011. pages are listed in Table 8.
  4012.  
  4013. +------------------------------------------------------------------+
  4014. | Table 8. Country and Code Page Defaults                          |
  4015. +------------------------+---------------+------------+------------+
  4016. | COUNTRY                | COUNTRY CODE  | PRIMARY    | SECONDARY  |
  4017. |                        |               | CODE PAGE  | CODE PAGE  |
  4018. +------------------------+---------------+------------+------------+
  4019. | Arabic-speaking        | 785           | 864        | 850        |
  4020. +------------------------+---------------+------------+------------+
  4021. | Asia (English)         | 99            | 437        | 850        |
  4022. +------------------------+---------------+------------+------------+
  4023. | Australia (English)    | 61            | 437        | 850        |
  4024. +------------------------+---------------+------------+------------+
  4025. | Belgium                | 32            | 850        | 437        |
  4026. +------------------------+---------------+------------+------------+
  4027. | Canada (French)        | 2             | 863        | 850        |
  4028. +------------------------+---------------+------------+------------+
  4029. | Czechoslovakia         | 42            | 852        | 850        |
  4030. +------------------------+---------------+------------+------------+
  4031. | Denmark                | 45            | 850        | n/a        |
  4032. +------------------------+---------------+------------+------------+
  4033. | Finland                | 358           | 850        | 437        |
  4034. +------------------------+---------------+------------+------------+
  4035. | France                 | 33            | 437        | 850        |
  4036. +------------------------+---------------+------------+------------+
  4037. | Germany                | 49            | 850        | 437        |
  4038. +------------------------+---------------+------------+------------+
  4039. | Hebrew-speaking        | 972           | 862        | 850        |
  4040. +------------------------+---------------+------------+------------+
  4041. | Hungary                | 36            | 852        | 850        |
  4042. +------------------------+---------------+------------+------------+
  4043. | Iceland                | 354           | 850        | 861        |
  4044. +------------------------+---------------+------------+------------+
  4045. | Italy                  | 39            | 437        | 850        |
  4046. +------------------------+---------------+------------+------------+
  4047. | Japan                  | 81            | 932        | 437, 850   |
  4048. +------------------------+---------------+------------+------------+
  4049. | Korea                  | 82            | 934        | 437, 850   |
  4050. +------------------------+---------------+------------+------------+
  4051. | Latin America          | 3             | 437        | 850        |
  4052. +------------------------+---------------+------------+------------+
  4053. | Netherlands            | 31            | 850        | 437        |
  4054. +------------------------+---------------+------------+------------+
  4055. | Norway                 | 47            | 850        | n/a        |
  4056. +------------------------+---------------+------------+------------+
  4057. | Peoples Republic of    | 88            | 938        | 437, 850   |
  4058. | China                  |               |            |            |
  4059. +------------------------+---------------+------------+------------+
  4060. | Poland                 | 48            | 852        | 850        |
  4061. +------------------------+---------------+------------+------------+
  4062. | Portugal               | 351           | 850        | 860        |
  4063. +------------------------+---------------+------------+------------+
  4064. | Spain                  | 34            | 850        | 437        |
  4065. +------------------------+---------------+------------+------------+
  4066. | Sweden                 | 46            | 850        | 437        |
  4067. +------------------------+---------------+------------+------------+
  4068. | Switzerland (French)   | 41            | 850        | 437        |
  4069. +------------------------+---------------+------------+------------+
  4070. | Switzerland (German)   | 41            | 850        | 437        |
  4071. +------------------------+---------------+------------+------------+
  4072. | Taiwan                 | 88            | 437        | 850        |
  4073. +------------------------+---------------+------------+------------+
  4074. | Turkey                 | 90            | 857        | 850        |
  4075. +------------------------+---------------+------------+------------+
  4076. | United Kingdom         | 44            | 437        | 850        |
  4077. +------------------------+---------------+------------+------------+
  4078. | United States          | 1             | 437        | 850        |
  4079. +------------------------+---------------+------------+------------+
  4080. | Yugoslavia             | 38            | 852        | 850        |
  4081. +------------------------+---------------+------------+------------+
  4082.  
  4083. When users select a country, both the primary and secondary code pages
  4084. are loaded into memory at system startup.  The primary code page is
  4085. active by default.  Users can switch to the secondary code page during
  4086. a session by using the Country object in the System Setup folder, or
  4087. by using the Change Code Page (CHCP) command at a command prompt.
  4088.  
  4089. If a country is not listed, the user or planner should review the
  4090. code-page tables to determine which code page can provide the
  4091. characters that are most similar to ones used in the country in
  4092. question.  Then the user or planner should select a country code that
  4093. supports that code page.
  4094.  
  4095.  
  4096. KEYBOARD CHOICE
  4097.  
  4098. The Keyboard choice specifies the layout of the keyboard.  Table 9
  4099. lists the available keyboard layouts.  Refer to OS/2 2.0 Keyboards and
  4100. Code Pages for illustrations of the keyboards.
  4101.  
  4102. +--------------------------------------------------------------------+
  4103. | Table 9. Keyboard Layouts                                          |
  4104. +--------------------------+----------------+------------------------+
  4105. | LANGUAGE                 | COUNTRY CODE   | LAYOUT ID              |
  4106. +--------------------------+----------------+------------------------+
  4107. | Arabic                   | AR             | 238                    |
  4108. +--------------------------+----------------+------------------------+
  4109. | Belgian                  | BE             | 120                    |
  4110. +--------------------------+----------------+------------------------+
  4111. | Canadian French          | CF             | 058                    |
  4112. +--------------------------+----------------+------------------------+
  4113. | Czech/Czech              | CS243          | 243                    |
  4114. +--------------------------+----------------+------------------------+
  4115. | Czech/Slovak             | CS245          | 245                    |
  4116. +--------------------------+----------------+------------------------+
  4117. | Danish                   | DK             | 159                    |
  4118. +--------------------------+----------------+------------------------+
  4119. | Dutch                    | NL             | 143                    |
  4120. +--------------------------+----------------+------------------------+
  4121. | Finnish                  | SU             | 153                    |
  4122. +--------------------------+----------------+------------------------+
  4123. | French                   | FR120          | 120                    |
  4124. +--------------------------+----------------+------------------------+
  4125. | French                   | FR189          | 189                    |
  4126. +--------------------------+----------------+------------------------+
  4127. | German                   | GR             | 129                    |
  4128. +--------------------------+----------------+------------------------+
  4129. | Hebrew                   | HE             | 212                    |
  4130. +--------------------------+----------------+------------------------+
  4131. | Hungarian                | HU             | 208                    |
  4132. +--------------------------+----------------+------------------------+
  4133. | Icelandic                | IS             | 197                    |
  4134. +--------------------------+----------------+------------------------+
  4135. | Italian                  | IT141          | 141                    |
  4136. +--------------------------+----------------+------------------------+
  4137. | Italian                  | IT142          | 142                    |
  4138. +--------------------------+----------------+------------------------+
  4139. | Latin American           | LA             | 171                    |
  4140. +--------------------------+----------------+------------------------+
  4141. | Norwegian                | NO             | 155                    |
  4142. +--------------------------+----------------+------------------------+
  4143. | Polish                   | PL             | 214                    |
  4144. +--------------------------+----------------+------------------------+
  4145. | Portuguese               | PO             | 163                    |
  4146. +--------------------------+----------------+------------------------+
  4147. | Spanish                  | SP             | 172                    |
  4148. +--------------------------+----------------+------------------------+
  4149. | Swedish                  | SV             | 153                    |
  4150. +--------------------------+----------------+------------------------+
  4151. | Swiss (French)           | SF             | 150F                   |
  4152. +--------------------------+----------------+------------------------+
  4153. | Swiss (German)           | SG             | 150G                   |
  4154. +--------------------------+----------------+------------------------+
  4155. | Turkish                  | TR             | 179                    |
  4156. +--------------------------+----------------+------------------------+
  4157. | United Kingdom           | UK166          | 166                    |
  4158. +--------------------------+----------------+------------------------+
  4159. | United States            | US             | 103P                   |
  4160. +--------------------------+----------------+------------------------+
  4161. | Yugoslavian              | YU             | 234                    |
  4162. +--------------------------+----------------+------------------------+
  4163.  
  4164.  
  4165. CHANGING NATIONAL LANGUAGE OPTIONS
  4166. __________________________________
  4167.  
  4168. If OS/2 2.0 has been installed, users can quickly check to see which
  4169. keyboard layout, country code, and code page are being used by
  4170. entering the command KEYB at an OS/2 or DOS command prompt.  Changes
  4171. can be made at any time.
  4172.  
  4173.  
  4174. TEMPORARY CHANGES
  4175.  
  4176. After the initial installation of OS/2 2.0, users can change the
  4177. country and keyboard choices in several ways.
  4178.  
  4179. To make changes that will be in effect only until the computer is
  4180. restarted, users can open the Country object in the System Setup
  4181. folder.  They can then change the country and individual settings for
  4182. measurement; list and decimal separators; and time, date, and currency
  4183. formats.
  4184.  
  4185. To switch to the alternate code page until the computer is restarted,
  4186. users can use the Change Code Page (CHCP) command at a command prompt.
  4187.  
  4188.  
  4189. PERMANENT CHANGES
  4190.  
  4191. To make permanent changes in country or keyboard selections, users can
  4192. either use the Selective Install object in the System Setup folder or
  4193. make the changes manually in the CONFIG.SYS file.  For detailed
  4194. instructions on changing the CONFIG.SYS file manually, refer to the
  4195. online OS/2 2.0 Command Reference.  The printed version is also
  4196. available for purchase.
  4197.  
  4198.  
  4199. UNDERSTANDING CODE PAGES
  4200. ________________________
  4201.  
  4202. A code page is a table that maps a set of characters to a
  4203. corresponding set of values called code points.  Characters are
  4204. letters, digits, or symbols that the user sees on the keys of a
  4205. keyboard, on a display, or printed on paper.  Code points or character
  4206. codes are what a computer system uses internally to represent
  4207. characters when processing, reading, or writing character data.
  4208.  
  4209. A code-page table has a number identifier such as code page 437 or
  4210. code page 850.  A code-page table includes language characters,
  4211. numbers, punctuation, control characters, and special characters.
  4212. Code page 437 is predominant in the United States.  Code page 850 is a
  4213. multilingual code page; it includes English characters a well as most
  4214. characters commonly used by many Western European languages.
  4215.  
  4216. Processing, displaying, or printing character data in the wrong code
  4217. page can result in incorrectly presented characters.  A word
  4218. processing file written in Danish or Portuguese using code page 850 in
  4219. Europe, sent to the United States, and printed using code page 437
  4220. might contain errors because code page 437 does not include all the
  4221. characters and accents of all Western European languages.  Code pages
  4222. 437 and 850 are examples of SBCS code pages. Code pages 932, 934, and
  4223. 938 are DBCS code pages.
  4224.  
  4225. When working with a file that was created in another code page, users
  4226. can switch to that code page or to the multilingual code page.  The
  4227. multilingual code page (850) is recommended for use wherever possible
  4228. because it supports many languages and is appropriate in many
  4229. situations.  For example, suppose a user creates a file using code
  4230. page 850 and sends it to someone in another country.  When that file
  4231. is viewed or printed using code page 850, it is identical to the
  4232. original.  If, however, the file was not created using the
  4233. multilingual code page, the receiver must switch to the code page that
  4234. it was created with.  Once code pages are defined on a computer
  4235. system, the user can switch back and forth between the prepared code
  4236. pages.
  4237.  
  4238. In the OS/2 operating system, a program or user can change the active
  4239. code page.  Code pages for the keyboard, display, and printer can be
  4240. set independently; however, code-page switching can take place only in
  4241. printers and displays that support code-page switching, including the
  4242. following products:
  4243.  
  4244. o   IBM Enhanced Color Display
  4245. o   IBM Personal System/2 Displays
  4246. o   IBM Enhanced Graphics Adapter
  4247. o   IBM Personal System/2 Video Graphics Array
  4248. o   IBM Personal System/2 Display Adapter
  4249. o   IBM Personal System/2 8514/A
  4250. o   IBM 4201 Proprinters (except Model 001)
  4251. o   IBM 4202 Proprinter XL
  4252. o   IBM 5202 Quietwriter III
  4253. o   IBM 4019 LaserPrinters
  4254. o   IBM 4029 LaserPrinters
  4255.  
  4256. If you use non-IBM computer equipment or IBM equipment not listed
  4257. here, refer to the information that is shipped with your displays and
  4258. printers to determine if they support code-page switching.
  4259.  
  4260.  
  4261. UNDERSTANDING DEVINFO STATEMENTS
  4262. ________________________________
  4263.  
  4264. The device (DEVINFO) statements in the CONFIG.SYS file prepare a
  4265. device (such as a keyboard, display, and printer) for code-page
  4266. switching.  Separate DEVINFO statements are required for each device
  4267. to be used for code-page switching.
  4268.  
  4269. There are three different DEVINFO statements:
  4270.  
  4271. KBD               Prepares a keyboard for code-page switching.  The
  4272.                   keyboard statement specifies the keyboard layout ID
  4273.                   (keyboard country and subcountry codes) and a file
  4274.                   named KEYBOARD.DCP that contains a keyboard layout
  4275.                   table for translating keystrokes into the characters
  4276.                   of each code page supported by the OS/2 operating
  4277.                   system.
  4278.  
  4279. SCR               Prepares a display screen for code-page switching.
  4280.                   The display statement specifies the display name and
  4281.                   a file named VIOTBL.DCP that contains a video font
  4282.                   table for displaying characters in each of the code
  4283.                   pages supported by the OS/2 operating system.
  4284.  
  4285. LPT#              Prepares a printer for code-page switching.  The
  4286.                   printer statement specifies the printer name and a
  4287.                   file with a .DCP extension that contains a printer
  4288.                   font table for each code page supported by the OS/2
  4289.                   operating system.
  4290.  
  4291. NOTE:  The display and printers each have a default character set.
  4292.        The keyboard and country information default to the national
  4293.        language code page supported by the country code specified in
  4294.        the COUNTRY statement.
  4295.  
  4296. For more information on OS/2-supported languages, countries, and code
  4297. pages, consult the OS/2 2.0 Command Reference (online or printed) and
  4298. online Master Help Index.
  4299.  
  4300.  
  4301.  
  4302. --------------------------
  4303. APPENDIX C.  DOCUMENTATION
  4304. --------------------------
  4305.  
  4306.  
  4307. OS2/2 2.0 offers hardcopy and online information that describes how to
  4308. use the operating system to perform many tasks, including the
  4309. developing of applications.
  4310.  
  4311.  
  4312. OPERATING SYSTEM INFORMATION
  4313. ____________________________
  4314.  
  4315. The following describes the hardcopy and online information provided
  4316. with OS/2 2.0.
  4317.  
  4318.  
  4319. HARDCOPY INFORMATION
  4320.  
  4321. OS/2 2.0 Quick Reference
  4322.           This card provides a very brief set of instructions on how
  4323.           to start the installation of the OS/2 operating system.  It
  4324.           is intended primarily for those who want to accept most or
  4325.           all of the preselected choices during installation.  Note
  4326.           that the card provides only limited instructions to get you
  4327.           started.  If you want more detailed information about
  4328.           installing the operating system, use the OS/2 2.0
  4329.           Installation Guide.
  4330.  
  4331.           This card also describes how to use the Master Help Index
  4332.           and provides an illustration of the OS/2 Desktop folder.
  4333.           Brief descriptions of commonly performed tasks also are
  4334.           included.
  4335.  
  4336. OS/2 2.0 Installation Guide
  4337.           This book describes how to prepare for and install the
  4338.           operating system.  It also provides information about
  4339.           installing more than one operating system on a computer.
  4340.  
  4341. OS/2 2.0 Getting Started
  4342.           This book describes the graphical appearance of OS/2 2.0 and
  4343.           explains how to perform common tasks using a mouse.  It also
  4344.           explains how to use the online information and provides
  4345.           information about some of the features of OS/2 2.0.
  4346.  
  4347. OS/2 2.0 Using the Operating System
  4348.           This book describes the features of OS/2 2.0.
  4349.  
  4350. OS/2 2.0 Migrating to the Workplace Shell
  4351.           This book provides information about locating and using the
  4352.           features of the Workplace Shell, if you used a previous
  4353.           operating system.
  4354.  
  4355. OS/2 2.0 Compatibility Information
  4356.           This book provides product considerations for installing and
  4357.           using OS/2 2.0.  It also lists available information about
  4358.           tested hardware and software.
  4359.  
  4360. OS/2 2.0 Service and Support Information
  4361.           This card provides information about how to get service and
  4362.           support for OS/2 2.0.
  4363.  
  4364. OS/2 2.0 Publications Order Form
  4365.           This order form is provided to enable you to order the
  4366.           following:
  4367.  
  4368.           o   IBM Operating System/2 Keyboards and Code Pages, 10G6312
  4369.           o   OS/2 2.0 Command Reference, 10G6313
  4370.           o   Moving to the OS/2 Workplace Shell videotape, 41G5097
  4371.  
  4372.           For more information about these items, see "Related
  4373.           Information."
  4374.  
  4375.  
  4376. ONLINE INFORMATION
  4377.  
  4378. Start Here
  4379.           This alphabetic list contains an overview of common tasks.
  4380.           It provides a quick path to information about some common
  4381.           tasks you might do on a daily basis.
  4382.  
  4383. OS/2 Tutorial
  4384.           This interactive program shows you the basics of the
  4385.           operating system.  The tutorial starts automatically after
  4386.           you install the operating system.
  4387.  
  4388. Master Help Index
  4389.           This alphabetic list contains all of the information you
  4390.           need to use OS/2 2.0.
  4391.  
  4392. Glossary
  4393.           This alphabetic list contains computer and operating-system
  4394.           terms and definitions.
  4395.  
  4396. OS/2 Command Reference
  4397.           This information describes how to use OS/2 commands.
  4398.  
  4399. REXX Information
  4400.           This information describes how to use the Restructured
  4401.           Extended Executor (REXX) procedures language.
  4402.  
  4403.  
  4404. TOOLKIT INFORMATION
  4405.  
  4406. The IBM Developer's Toolkit for OS/2 2.0 (Toolkit) consists of
  4407. 3.5-inch diskettes (10G3355) or 5.25-inch diskettes (10G4335).  The
  4408. Toolkit contains:
  4409.  
  4410. o   The tools you need to write Presentation Manager programs that
  4411.     will run under OS/2 2.0
  4412. o   Online documentation
  4413. o   Sample programs
  4414. o   Getting Started, which explains how to install and use the Toolkit
  4415.  
  4416.  
  4417. ONLINE DOCUMENTS
  4418.  
  4419. The Toolkit includes six online documents:
  4420.  
  4421. Control Program Reference
  4422.           Provides the C-language syntax for each of the base
  4423.           operating-system application programming interfaces (APIs),
  4424.           including input and output parameters, data structures, data
  4425.           types, return codes, and example codes.
  4426.  
  4427. Information Presentation Facility Reference
  4428.           Provides guidance and reference information for the design
  4429.           and development of online documents and for the help
  4430.           facility that users of your application will access.
  4431.  
  4432. Presentation Manager Reference
  4433.           Provides the C-language syntax for all the API functions for
  4434.           the Presentation Manager, including input and output
  4435.           parameters, data structures, data types, messages, return
  4436.           codes, and example codes.
  4437.  
  4438. REXX Reference
  4439.           Provides details of REXX functions, including function
  4440.           syntax, parameters, return values, error messages, and
  4441.           example codes.
  4442.  
  4443. System Object Model Reference
  4444.           Provides a complete reference for each of the classes and
  4445.           methods used for the object-oriented programming
  4446.           environment, including SOM C-language bindings, the Object
  4447.           Interface Definition Language syntax, and the SOM compiler
  4448.           command syntax.
  4449.  
  4450. Tools Reference
  4451.           Describes the tools that are available with the Toolkit and
  4452.           how to use them.
  4453.  
  4454.  
  4455. OS/2 2.0 TECHNICAL LIBRARY
  4456. __________________________
  4457.  
  4458. The entire library can be ordered with a single part number (10G3356).
  4459. You also can order each book separately.
  4460.  
  4461. Application Design Guide (10G6260)
  4462.           This book provides  an overview of OS/2 programming
  4463.           concepts, including guidance on using the SOM to develop
  4464.           applications and create workplace objects.  Use this book
  4465.           when building executable files or dynamic link libraries,
  4466.           when writing code for an object-oriented environment, or
  4467.           when migrating from DOS or OS/2 16-bit applications.
  4468.  
  4469. Programming Guide
  4470.           A three-volume guide:
  4471.           o   Volume I (10G6261) describes the Control Program for
  4472.               programming functions that are internal to applications,
  4473.               including file system, memory management, exception
  4474.               management, and multitasking functions.
  4475.           o   Volume II (10G6494) describes the Presentation Manager
  4476.               windowed user interface, including messages and message
  4477.               queues, window classes, frame windows, control windows,
  4478.               and window controls.  This book also describes how to
  4479.               write a Presentation Manager application so that it
  4480.               conforms to CUA guidelines.
  4481.           o   Volume III (10G6495) describes the graphics programming
  4482.               interface, including graphic primitives, and graphics
  4483.               segments, bit maps, and transformation functions.  This
  4484.               book also describes printing and device support.
  4485.  
  4486. Information Presentation Facility Guide and Reference (10G6262)
  4487.           Intended for both application developers and information
  4488.           developers (writers), this book provides guidance in using
  4489.           the IPF tagging language and the IPF compiler and serves as
  4490.           a reference for window functions, dynamic data functions,
  4491.           and help manager messages.
  4492.  
  4493. System Object Model Guide and Reference (10G6309)
  4494.           Aimed at the programmer experienced in developing
  4495.           object-oriented programs, this hardcopy book repeats the
  4496.           contents of the online reference.
  4497.  
  4498. Control Program Programming Reference (10G6263)
  4499.           This book is a hardcopy version of the online Control
  4500.           Program Reference.
  4501.  
  4502. Presentation Manager Programming Reference
  4503.           A three-volume hardcopy version of the online Presentation
  4504.           Manager Reference:
  4505.           o   Volume I (10G6264) has an alphabetic listing of the Ddf
  4506.               (dynamic data format), Dev (device), Drg (dragdrop), Gpi
  4507.               (graphics), Prf (profile), and Spl (spooler) API
  4508.               functions.
  4509.           o   Volume II (10G6265) has an alphabetic listing of the Win
  4510.               (window) API functions and the new WP (workplace)
  4511.               methods.
  4512.           o   Volume III (10G6272) contains related information such
  4513.               as graphics-orders, data types, application hooks and
  4514.               procedures, and Presentation Manager messages.
  4515.  
  4516. REXX Information
  4517.           o   The Procedures Language 2/REXX User's Guide (10G6269)
  4518.               has two parts: "Basics" includes frequently used
  4519.               features; "Advanced Topics" describes special features
  4520.               and includes examples.  The book is for the user who
  4521.               wants to learn how to program in REXX.
  4522.           o   Procedures Language 2/REXX Programming Reference
  4523.               (10G6268) describes the REXX function supported by OS/2
  4524.               2.0.
  4525.  
  4526. Device-driver references
  4527.           Three manuals, written for device driver program developers,
  4528.           specify information about the three types of device drivers:
  4529.           o   Physical Device Driver Reference (10G6266) provides
  4530.               category, function code, and calling conventions for I/O
  4531.               control (IOCtl) functions, including those needed for
  4532.               DevHlp routines.
  4533.           o   Virtual Device Driver Reference (10G6310) provides
  4534.               information on virtual DevHlp routines and describes
  4535.               virtual device driver architecture, operations, and
  4536.               inter-device driver communication.  It also includes a
  4537.               detailed description of each of the virtual device
  4538.               drivers available with the OS/2 operating system.
  4539.           o   Presentation Driver Reference (10G6267) describes the
  4540.               internal interface between the Presentation Manager
  4541.               interface and the driver, and between the driver and the
  4542.               I/O subsystem.   This book also contains information
  4543.               about queue drivers and port drivers.  Detailed
  4544.               descriptions of control structures, data structures, and
  4545.               I/O formats also are included.
  4546.  
  4547. Common User Access (CUA) Interface Design guides
  4548.           o    Systems Application Architecture: Common User Access
  4549.               Guide to User Interface Design (SC34-4289) for software
  4550.               and user-interface designers, describes the principles,
  4551.               components, and techniques of user-interface design in
  4552.               general, and the process of designing a product with a
  4553.               Common User Access (CUA) interface.
  4554.           o   Systems Application Architecture: Common User Access
  4555.               Advanced Interface Design Reference (SC34-4290) lists
  4556.               all of the fundamental and recommended guidelines for
  4557.               designing and developing a product with a CUA interface.
  4558.  
  4559.  
  4560. RELATED INFORMATION
  4561. ___________________
  4562.  
  4563. CUA INTERFACE DESIGN GUIDES
  4564.  
  4565.           o   Systems Application Architecture: Common User Access
  4566.               Guide to User Interface Design (SC34-4289) for software
  4567.               and user-interface designers, describes the principles,
  4568.               components, and techniques of user-interface design in
  4569.               general, and the process of designing a product with a
  4570.               CUA interface.
  4571.           o   Systems Application Architecture: Common User Access
  4572.               Advanced Interface Design Reference (SC34-4290) lists
  4573.               all of the fundamental and recommended guidelines for
  4574.               designing and developing a product with a CUA interface.
  4575.  
  4576. The following will be available for OS/2 2.0 and can be ordered
  4577. separately:
  4578.  
  4579. Moving to the OS/2 Workplace Shell videotape (41G5097)
  4580.           This videotape provides information for users migrating from
  4581.           DOS, Windows, or OS/2 1.3.  Some of the topics included in
  4582.           the videotape are using folders and objects, migrating,
  4583.           customizing, associating, and creating shadows and
  4584.           templates.
  4585.  
  4586. OS/2 2.0 Keyboards and Code Pages (10G6312)
  4587.           This reference supplies information for those who use
  4588.           code-page switching to provide support for files that are
  4589.           received from or sent to other countries.
  4590.  
  4591. OS/2 2.0 Command Reference (10G6313)
  4592.           The online version of this book, located in the Information
  4593.           folder, is shipped with the operating system.  This version
  4594.           is made available for persons who prefer a hardcopy book.
  4595.           As in the online version, this book describes how to use
  4596.           OS/2 commands and has information about the syntax and
  4597.           purpose of each command.
  4598.  
  4599. OS/2 2.0 Using Bidirectional Support (41G8688)
  4600.           This book contains a description of bidirectional support,
  4601.           instructions and considerations for using bidirectional
  4602.           functions, and key assignments for and summaries of
  4603.           bidirectional functions.
  4604.  
  4605. OS/2 2.0 Remote Installation and Maintenance (GG24-3780)
  4606.           This book provides instructions for installing OS/2 2.0 from
  4607.           a LAN.
  4608.  
  4609. IBM Extended Services for OS/2 Information and Planning Guide
  4610. (G3260161-00)
  4611.           This book provides information for persons planning for the
  4612.           installation and use of OS/2 2.0 Extended Services,
  4613.           including Communications Manager, Database Manager, and
  4614.           Query Manager.
  4615.  
  4616. IBM LAN Server Version 2.0 Information and Planning Guide
  4617. (G3260162-00)
  4618.           This book provides product and planning information about
  4619.           OS/2 Local Area Network (LAN) Server Version 2.0.  LAN
  4620.           Server 2.0 includes OS/2 LAN Server, OS/2 LAN Requester, DOS
  4621.           LAN Requester, LAN Adapter and Protocol Support, LAN Support
  4622.           Program, and various utility programs.  The comprehensive
  4623.           overview of the main features of LAN Server 2.0 assists in
  4624.           planning for a network running LAN Server 2.0 and is not
  4625.           intended as an in-depth instructional manual.
  4626.  
  4627. OS/2 Version 2.0 Volume 1: Control Program (GG24-3730)
  4628.           This book provides detailed information about the Control
  4629.           Program component of OS/2 2.0.  It describes memory and task
  4630.           management, debugging support, and enhanced application
  4631.           programming interfaces.
  4632.  
  4633.           The book also describes installation and national language
  4634.           considerations, and discusses enhanced hardware support.
  4635.  
  4636. OS/2 Version 2.0 Volume 2: DOS and Windows Environment (GG24-3731)
  4637.           This book provides detailed information about the Multiple
  4638.           Virtual DOS Machines feature, and support for Microsoft
  4639.           Windows programs.  It describes 8086 emulation, device
  4640.           drivers, extended memory support, DOS settings, using
  4641.           specific versions of DOS, and the architecture of Multiple
  4642.           Virtual DOS Machines.
  4643.  
  4644.           This book also provides technical information about using
  4645.           Microsoft Windows programs and DOS Protect Mode Interface
  4646.           (DPMI).
  4647.  
  4648. OS/2 Version 2.0 Volume 3: Presentation Manager (GG24-3732)
  4649.           This book gives an overview on the Presentation Manager
  4650.           component of OS/2 2.0.  It introduces the Presentation
  4651.           Manager, describes the enhanced graphical appearance of the
  4652.           operating system, and the enhanced help facilities.  The
  4653.           book also discusses programming considerations for 32-bit or
  4654.           a mix of 16- and 32-bit code application development. It
  4655.           describes how to migrate existing 16-bit applications, and
  4656.           describes the support for national languages and double-byte
  4657.           character sets.
  4658.  
  4659. OS/2 Version 2.0 Volume 4: Application Development (GG24-3774)
  4660.           This book provides a general introduction to
  4661.           object-orientation, modularization, naming conventions, and
  4662.           other structural considerations for programs designed to run
  4663.           in the OS/2 environment.  It also discusses programming and
  4664.           migration considerations for 32-bit, 16-bit, and mixed
  4665.           applications.
  4666.  
  4667. OS/2 Version 2.0 Volume 5: Print Subsystem (GG24-3775)
  4668.           This book describes the internal workings of the print
  4669.           subsystem, including the spooler.
  4670.  
  4671. IBM Personal Systems Developer (G362-0001)
  4672.           Published quarterly, this publication for OS/2 application
  4673.           developers features programming tips and techniques,
  4674.           software tools, and other useful information.
  4675.  
  4676.  
  4677.  
  4678. ------------------------------------------
  4679. APPENDIX D.  TRAINING AND CUSTOMER SUPPORT
  4680. ------------------------------------------
  4681.  
  4682.  
  4683. Various training programs supporting OS/2 2.0 are available from IBM.
  4684.  
  4685.  
  4686. TRAINING
  4687. ________
  4688.  
  4689.  
  4690. IBM OS/2 2.0 USER WORKSHOP
  4691.  
  4692. COURSE DESCRIPTION:  This hands-on course focuses on basic use of OS/2
  4693. 2.0.  The student is introduced to the concepts of the Workplace
  4694. Shell, the desktop, and objects, and learns how to use these features
  4695.  
  4696. COURSE FORMAT: This is a hands-on course where students will use OS/2
  4697. 2.0 during interactive demonstrations and in practice sessions.
  4698. Approximately 95% of course time will be spent using OS/2 2.0.
  4699.  
  4700. WHO SHOULD TAKE THIS COURSE:  This course is intended for anyone who
  4701. wants to know how to use OS/2 2.0.
  4702.  
  4703. COURSE OBJECTIVES:  Upon completion of this course, the student will
  4704. be able to:
  4705.  
  4706. o   Identify the standard Workplace Shell desktop objects
  4707. o   Use the online help information supplied with OS/2 2.0
  4708. o   Manipulate objects
  4709. o   Create new objects
  4710. o   Run DOS, Windows, and OS/2 applications from the desktop
  4711. o   Transfer data between applications
  4712. o   Create and configure new printer objects
  4713. o   Print documents
  4714. o   Customize the system
  4715.  
  4716. PREREQUISITES:  Students are expected to have a basic knowledge of the
  4717. personal computer.  Previous operating system experience is not
  4718. required.
  4719.  
  4720. COURSE DELIVERY:  This course will be offered at IBM Licensed
  4721. Education Centers.  To enroll, call 1-800-PS2-2227 for information on
  4722. the location of the nearest IBM Licensed Education Centers (LEC).
  4723.  
  4724. COURSE LENGTH: One day.
  4725.  
  4726.  
  4727. TECHNICAL SUPPORT EDUCATION
  4728.  
  4729.  
  4730. OS/2 for Technical Support Personnel
  4731.  
  4732. COURSE DESCRIPTION:  This course focuses on the OS/2 2.0 product.
  4733. Emphasis is on installation over pre-existing DOS, Windows or OS/2 1.x
  4734. environments and customization of the desktop to enhance user
  4735. productivity.
  4736.  
  4737. COURSE FORMAT: This is a hands-on course.
  4738.  
  4739. WHO SHOULD TAKE THIS COURSE:  This course is intended for technical
  4740. personnel responsible for assisting customers in installation,
  4741. configuration, and customization of OS/2 workstations.
  4742.  
  4743. COURSE OBJECTIVES: Given a customer situation, the student will be
  4744. able to:
  4745.  
  4746. o   Discuss and demonstrate key features of OS/2 2.0
  4747. o   Plan for installation of the product in various end-user
  4748.     environments
  4749. o   Install and configure OS/2 2.0 over an existing DOS, Windows or
  4750.     OS/2 1.X system, retaining all application function, such that
  4751.     frequently performed functions are readily available on the
  4752.     desktop
  4753. o   Answer questions about installation and operation of OS/2 2.0
  4754. o   Assist the customer with program setup: installation,
  4755.     configuration, customization, and application enablement
  4756. o   Obtain support from IBM
  4757.  
  4758. PREREQUISITES:  Before taking this course, the student should have
  4759. installed OS/2 1.x SE or EE without assistance.  The student should be
  4760. able to use the mouse, manipulate windows, and execute programs.
  4761.  
  4762. COURSE DELIVERY: This course will be offered in IBM Licensed Education
  4763. Centers.
  4764.  
  4765. COURSE LENGTH:  2 days
  4766.  
  4767.  
  4768. APPLICATION DEVELOPER EDUCATION
  4769.  
  4770.  
  4771. Developer Assistant Workshops
  4772.  
  4773. IBM offers a group of Developer Assistant Workshops as part of its
  4774. OS/2 32-Bit Expedite Program.  These workshops have a fee.  For
  4775. information, contact:
  4776.  
  4777. OS/2 32-Bit Expedite Program
  4778. 1000 NW 51st Street
  4779. International Zip 2230
  4780. Boca Raton, Florida 33431
  4781. USA
  4782. Telephone (407)-982-6408
  4783.  
  4784. or read the IBM Personal Systems Developer magazine.
  4785.  
  4786. IBM OS/2 TECHNICAL SEMINARS: The seminar fee includes class sessions,
  4787. meals, a workbook, OS/2 2.0 code, sample programs, tools, and
  4788. documentation.  For information about location and registration, call
  4789. 1-800-548-2464 in the US, or 1-800-465-1234 in Canada.
  4790.  
  4791. SUMMARY OF COURSES OFFERED BY IBM CUSTOMER EDUCATION
  4792.  
  4793.      P1044--Introduction to OS/2 Version 2 Programming
  4794.      P1042--Introduction to DOS for OS/2
  4795.      P1049--ENFIN/2 Object-Oriented Development for OS/2
  4796.      P1045--Advanced Programming Techniques for OS/2 Version 2
  4797.      P1041--OS/2 Version 1 to Version 2 Programming Migration
  4798.      P1043--OS/2 Version 2.0 Facilities and Installation Workshop
  4799.  
  4800. The remaining pages of this appendix give a detailed description of
  4801. each application-developer course listed above.
  4802.  
  4803.  
  4804. Introduction to OS/2 Version 2 Programming (P1044)
  4805.  
  4806. COURSE DESCRIPTION: This course provides programmers and application
  4807. developers with the fundamental concepts needed to program simple OS/2
  4808. 2.0 applications.  Lectures and hands-on labs, with sample programs
  4809. written in C, teach you how to build programs that use many OS/2 2.0
  4810. supplied facilities.  These facilities include 32-bit memory
  4811. allocation, multitasking, semaphores, interprocess communications,
  4812. exception handling, Presentation Manager windows, dialog boxes,
  4813. controls, and dynamic linking.
  4814.  
  4815. COURSE FORMAT: This is a hands-on course.
  4816.  
  4817. WHO SHOULD TAKE THIS COURSE: Programmers and application developers.
  4818. This course is not recommended for nonprogrammers.
  4819.  
  4820. COURSE OBJECTIVES: After completing this course, the student will be
  4821. able to:
  4822.  
  4823. o   Use the IBM Developer's WorkFrame/2 programming environment to
  4824.     build simple OS/2 Presentation Manager applications
  4825. o   Understand the Presentation Manager architecture--windows and
  4826.     their components
  4827. o   Understand OS/2 terminology--processes, threads, and sessions
  4828. o   Build OS/2 programs that:
  4829.     -   Use 32-bit memory allocations
  4830.     -   Use PM API function calls to create standard windows, menus,
  4831.         dialog boxes, and controls
  4832.     -   Use standard dialogs for file and font operations
  4833.     -   Use multi-thread and semaphore functions
  4834. o   Understand dynamic linking and create a dynamic link library
  4835. o   Understand the importance of messages in Presentation Manager
  4836.     programming and code the Presentation Manager API functions to
  4837.     send and receive messages
  4838.  
  4839. PREREQUISITES: Before taking this course, the student must be able to:
  4840.  
  4841. o   Write C language programs.  A working knowledge of C language is
  4842.     required to gain the most benefits from the lab exercises.  These
  4843.     skills can be developed by taking various programming language
  4844.     courses offered by IBM or by having equivalent job experience.
  4845. o   Understand the basic functions of the OS/2 operating system.
  4846.     These skills can be developed by taking OS/2 Installation Workshop
  4847.     (P1019) or OS/2 Version 2 Facilities and Installation Workshop
  4848.     (P1043), or by having equivalent job experience.
  4849.  
  4850. COURSE LENGTH:  5 days
  4851.  
  4852.  
  4853. Introduction to DOS for OS/2 2.0 (P1042)
  4854.  
  4855. COURSE DESCRIPTION: This course introduces technical personnel to DOS.
  4856. This course teaches you DOS file naming conventions and hierarchy, and
  4857. common DOS commands.
  4858.  
  4859. COURSE FORMAT: This is a hands-on course.
  4860.  
  4861. WHO SHOULD TAKE THIS COURSE: Technical personnel unfamiliar with DOS
  4862. who are responsible for installing OS/2 2.0 and for assisting users in
  4863. their installation and use of OS/2 2.0.  This course is offered only
  4864. as a prerequisite for OS/2 2.0 Facilities and Installation Workshop
  4865. (P1043).
  4866.  
  4867. COURSE OBJECTIVES: After completing this course, the student will be
  4868. able to:
  4869.  
  4870. o   View directories, subdirectories, and files
  4871. o   Identify file types by file extensions
  4872. o   View and modify CONFIG.SYS and AUTOEXEC.BAT
  4873. o   Copy, rename, and erase files
  4874. o   Format diskettes and copy files between diskettes and the hard
  4875.     disk
  4876. o   Start and stop application programs
  4877.  
  4878. PREREQUISITES: None
  4879.  
  4880. COURSE LENGTH:  1/2 day
  4881.  
  4882.  
  4883. ENFIN/2 Object-Oriented Development for OS/2 2.0 (P1049)
  4884.  
  4885. COURSE DESCRIPTION: This course introduces the features and functions
  4886. of ENFIN/2 and covers all aspects of developing object-oriented
  4887. applications on the OS/2 platform using ENFIN/2.  A series of
  4888. classroom presentations and extensive lab exercises teach application
  4889. developers and programmers how to build a sample workplace application
  4890. that conforms to the CUA workplace extension.  The sample application
  4891. includes an interface to the OS/2 Database Manager and an example of
  4892. the drag and drop interaction technique.
  4893.  
  4894. COURSE FORMAT: This is a hands-on course.
  4895.  
  4896. WHO SHOULD TAKE THIS COURSE: Programmers and application developers
  4897. who wish to develop object-oriented OS/2 applications.
  4898.  
  4899. COURSE OBJECTIVES: After completing this course, the student will be
  4900. able to:
  4901.  
  4902. o   Apply object-oriented principles, concepts, and techniques to the
  4903.     application development process
  4904. o   Use ENFIN/2 features:
  4905.     -   System Transcript Window
  4906.     -   Class Browser
  4907.     -   Designer
  4908.     -   SQL Query Builder
  4909.     -   SmallTalk Language Elements
  4910. o   Build a simple CUA interface
  4911. o   Build a workplace application
  4912. o   Use debugging and programming profiles to fix errors in an
  4913.     application
  4914. o   Use the Database Utility programs and Report Generator to
  4915.     integrate databases
  4916. o   Work with models
  4917. o   Identify advanced features
  4918. o   Identify the issues when migrating to other ENFIN/2 platforms
  4919.  
  4920. PREREQUISITES: Before taking this course, the student must be able to:
  4921.  
  4922. o   Code OS/2 application programs.  These skills can be developed by
  4923.     taking various programming language courses offered by IBM or by
  4924.     having equivalent job experience.  An understanding of
  4925.     object-oriented programming would also be helpful but is not
  4926.     required.
  4927. o   Comprehend the basics of the IBM SAA CUA application user
  4928.     interface for the programmable workstation (PWS).  These skills
  4929.     can be developed by taking one of the following courses or by
  4930.     having equivalent job experience.
  4931.     -   Designing SAA/CUA Conforming Applications for the PWS (P1033)
  4932.     -   Designing and Implementing SAA/CUA Conforming Applications for
  4933.         the PWS (P1034).
  4934.  
  4935. COURSE LENGTH:  4 days
  4936.  
  4937.  
  4938. Advanced Programming Techniques for OS/2 Version 2 (P1045)
  4939.  
  4940. COURSE DESCRIPTION: This course provides programmers and application
  4941. developers with the information needed to build complex OS/2 2.0
  4942. applications.  Lectures and hands-on labs, with sample programs
  4943. written in C language, teach you how to build applications that use
  4944. advanced OS/2 2.0 functions and techniques.
  4945.  
  4946. COURSE FORMAT: This is a hands-on course.
  4947.  
  4948. WHO SHOULD TAKE THIS COURSE: Programmers and application developers.
  4949. This course is not recommended for nonprogrammers.
  4950.  
  4951. COURSE OBJECTIVES: After completing this course, the student will be
  4952. able to:
  4953.  
  4954. o   Use the IBM Developer's WorkFrame/2 programming environment to
  4955.     build complex OS/2 Presentation Manager applications including
  4956.     dynamic link libraries
  4957. o   Understand how messages are used to communicate between windows,
  4958.     processes, and threads
  4959. o   Build OS/2 Version 2 applications that:
  4960.     -   Use 32-bit flat memory allocations
  4961.     -   Use multiple child windows
  4962.     -   Use window words to allocate window data areas
  4963.     -   Use new multi-thread and semaphore functions
  4964.     -   Make full use of the IPF help functions
  4965. o   Call GPI functions to build complex graphics
  4966.  
  4967. PREREQUISITES: Before taking this course, the student must be able to:
  4968.  
  4969. o   Write C language programs.  A working knowledge of C language is
  4970.     required to gain the most benefits from the lab exercises.  These
  4971.     skills can be developed by taking various programming language
  4972.     courses offered by IBM or by having equivalent job experience.
  4973. o   Code, compile, link, and execute simple OS/2 Presentation Manager
  4974.     programs that use standard windows and dialog boxes.  These skills
  4975.     can be developed by taking Introduction to OS/2 2.0 Programming
  4976.     (P1044).
  4977.  
  4978. COURSE LENGTH:  5 days
  4979.  
  4980.  
  4981. OS/2 Version 1 to Version 2 Programming Migration (P1041)
  4982.  
  4983. COURSE DESCRIPTION: This course teaches programmers and application
  4984. developers how to convert a Version 1 16 bit OS/2 Presentation Manager
  4985. application to a OS/2 2.0 32 bit OS/2 PM application.  Lectures and
  4986. hands-on labs with sample programs teach you how to use the new OS/2
  4987. 2.0 features and explain the steps needed to migrate a 16 bit OS/2
  4988. application to a 32 bit OS/2 application.  Some of the new OS/2 2.0
  4989. features include 32 bit flat memory, multitasking, semaphores,
  4990. exception handling, new Presentation Manager controls and dialogs, and
  4991. the workplace shell.
  4992.  
  4993. COURSE FORMAT:  This is a hands-on course.
  4994.  
  4995. WHO SHOULD TAKE THIS COURSE: Programmers and application developers.
  4996. This course is not recommended for nonprogrammers.
  4997.  
  4998. COURSE OBJECTIVES: After completing this course, the student will be
  4999. able to:
  5000.  
  5001. o   Use the new workbench programming environment to build complex
  5002.     OS/2 Presentation Manager applications
  5003. o   Use the new workplace user interface
  5004. o   Build OS/2 applications that:
  5005.     -   Use 32-bit flat memory allocations
  5006.     -   Call new control window classes
  5007.     -   Use standard dialogs for file and font operations
  5008.     -   Perform direct manipulations with the Workplace Shell
  5009.     -   Use new multi-thread and semaphore functions
  5010.     -   Make full use of the IPF help functions
  5011.     -   Call GPI functions to build complex graphics
  5012.  
  5013. PREREQUISITES: Before taking this course, the student must be able to:
  5014.  
  5015. o   Write C-language programs.  A working knowledge of C-language is
  5016.     required to gain the most benefits from the lab exercises.  These
  5017.     skills can be developed by taking various programming language
  5018.     courses offered by IBM or by having equivalent job experience.
  5019. o   Code, compile, link, and execute simple OS/2 Presentation Manager
  5020.     programs that use standard windows and dialog boxes.  These skills
  5021.     can be developed by taking one of the following courses or by
  5022.     having equivalent job experience.
  5023.     -   Introduction to OS/2 Presentation Manager Programming (P1013)
  5024.     -   Application Programming for the OS/2 Presentation Manager
  5025.         (P1014)
  5026.  
  5027. COURSE LENGTH:  4 days
  5028.  
  5029.  
  5030. OS/2 Version 2 Facilities and Installation (P1043)
  5031.  
  5032. COURSE DESCRIPTION: This course introduces technical personnel to OS/2
  5033. Version 2 Standard Edition and Extended Services/2.  This course gives
  5034. you an in-depth view of the facilities and functions required to
  5035. install and configure the Standard Edition and an overview of the
  5036. Extended Services components -- the Database Manager, the Query
  5037. Manager, and the Communications Manager.
  5038.  
  5039. COURSE FORMAT:  This is a hands-on course.
  5040.  
  5041. WHO SHOULD TAKE THIS COURSE: Programmers and application developers as
  5042. a prerequisite for Introduction to OS/2 Version 2 Programming (P1044).
  5043. Technical people who are responsible for installing OS/2 and to assist
  5044. users in their installation and use of OS/2.
  5045.  
  5046. COURSE OBJECTIVES: After completing this course, the student will be
  5047. able to:
  5048.  
  5049. o   Use the OS/2 Workplace Shell graphical user interface to:
  5050.     -   Move and resize windows
  5051.     -   Control currently running tasks with the Window List
  5052.     -   Create and manipulate folder, data, program and device objects
  5053.     -   Launch application programs
  5054.     -   Personalize your desktop
  5055.     -   Change object settings
  5056. o   Access online information
  5057. o   Install a printer driver
  5058. o   Use the OS/2 System Editor or the Enhanced Editor to modify OS/2
  5059.     system files
  5060. o   Understand what system security and problem determination tools
  5061.     are available
  5062. o   Use and install the OS/2 operating system incorporating the Boot
  5063.     Manager and Dual Boot capability to run DOS programs
  5064. o   Understand the use and contents of the OS/2 system configuration
  5065.     file (CONFIG.SYS)
  5066. o   Run DOS and Windows programs using the MVDM feature
  5067. o   Write and execute a simple REXX program
  5068. o   Create and use an HPFS disk partition
  5069. o   Create and use a basic configuration diskette for installing
  5070.     Extended Services
  5071. o   Understand the basics of Database Manager, Query Manager, and
  5072.     Communications Manager
  5073. o   Use the Query Manager to access information in a database
  5074.  
  5075. PREREQUISITES: Before taking this course, the student must understand
  5076. the basics of personal computers and DOS.  These skills can be
  5077. developed by taking Introduction to DOS for OS/2 (P1042) or by having
  5078. equivalent job experience.
  5079.  
  5080. COURSE LENGTH:  3 days
  5081.  
  5082.  
  5083. OS/2 2.0 SERVICE AND SUPPORT
  5084. ____________________________
  5085.  
  5086.  
  5087. PROGRAM DEFECT SUPPORT
  5088.  
  5089. Program service support for OS/2 2.0 consists of IBM Central Service,
  5090. including the IBM Support Center.  Program services will be available
  5091. until March 31, 1994.
  5092.  
  5093. Program services from IBM are provided through any of the following
  5094. channels:
  5095.  
  5096. o   IBM Authorized Dealer
  5097. o   Technical Coordinator, if one has been identified for you
  5098. o   Mail in Defect Report Form attached to the Service/Support
  5099.     Information card included with the program documentation
  5100.  
  5101. IBM Central Service will respond to a defect in the unaltered portion
  5102. of the licensed program if the problem can be recreated in the
  5103. specified operating environment or on other computers not included in
  5104. the specified operating environment, which have an Intel (or
  5105. compatible) 80386SX (or higher) microprocessor.  IBM Central Service
  5106. will respond by issuing:
  5107.  
  5108. o   Corrective service information, such as correction documentation
  5109. o   Notice of availability of corrected code
  5110. o   Restriction, or
  5111. o   Bypass
  5112.  
  5113. as determined by IBM.
  5114.  
  5115. During the first three months of your license, if IBM cannot provide
  5116. the defect support described above, you can terminate your license by
  5117. returning all copies of the program and your money will be refunded.
  5118.  
  5119.  
  5120. ENHANCED SUPPORT OFFERINGS
  5121.  
  5122. In addition to the entitled defect support described in the program
  5123. service section above, the following enhanced support offerings are
  5124. available.
  5125.  
  5126.  
  5127. Overview and Positioning of Enhanced Offerings
  5128.  
  5129. The following enhanced offerings are targeted to meet different
  5130. customer requirements.  The OS/2 Bulletin Board System (BBS) is
  5131. targeted for all end users with the appropriate electronic
  5132. communications equipment.  CompuServe will be available as an
  5133. additional electronic channel for all end users.  OS/2 Support Line
  5134. provides support for OS/2 2.X, as a low cost offering intended for
  5135. individual users and small businesses.  SystemXtra(*) is targeted for
  5136. customers with multiple systems installed and designated.  SystemXtra
  5137. provides support for OS/2 2.0 Licensed Program Products (such as OS/2
  5138. 2.0, Extended Services, LAN Server 2.0).  SystemXtra also provides
  5139. Single Point of Contact support for software and hardware, defect and
  5140. nondefect problems, with premium response within one hour.  In
  5141. addition, End User Support (EUS), a currently available service
  5142. offering, provides assistance with problems and answers to questions
  5143. about a variety of IBM and non-IBM hardware and software products,
  5144. including both operating systems and application programs.  This
  5145. offering is targeted for the PC end user.
  5146.  
  5147.  
  5148. OS/2 Bulletin Board System (BBS)
  5149.  
  5150. This BBS enables the user to electronically access OS/2 technical
  5151. information, exchange messages with other OS/2 users, submit program
  5152. defects to IBM and receive information regarding the availability of
  5153. fixes. For information on registration and access to the OS/2 BBS call
  5154. 1-800-547-1283.
  5155.  
  5156.  
  5157. CompuServe
  5158.  
  5159. IBM will maintain a forum (IBMOS2) on CompuServe which offers services
  5160. similar to the OS/2 BBS described above. For membership information
  5161. call 1-800-848-8199.
  5162.  
  5163.  
  5164. OS/2 Support Line
  5165.  
  5166. The OS/2 Support Line enhances IBM's entitled Program Services by
  5167. providing assistance with customer problems including installation,
  5168. setup, usage and "how to" questions.  This offering provides
  5169. assistance for currently supported versions of IBM's OS/2 Version 2.X
  5170. Operating System only.  This offering entitles the registered user to
  5171. voice support via the toll-free 1-800-237-5511 telephone number from
  5172. Monday through Friday, excluding national holidays, between 8 AM and 5
  5173. PM in the customer's time zone, in the continental United States.
  5174.  
  5175. Licensed OS/2 2.0 customers considering the OS/2 Support Line offering
  5176. can register for 60 days of the toll-free voice support at no charge.
  5177. To register for this voice support trial period, mail the registration
  5178. card portion of the Service/Support Information Card contained in the
  5179. OS/2 2.0 program package to the preprinted address on the card.
  5180. Customers can also register for the trial period by calling
  5181. 1-800-237-5511.  All registrants of the 60 day trial period will be
  5182. mailed a welcome letter describing the terms and conditions of the
  5183. offering and information regarding the expiration date of the trial
  5184. period.  The OS/2 Support Line is available for an annual subscription
  5185. fee of $129.  To purchase OS/2 Support Line, the customer can simply
  5186. call 1-800-237-5511 and provide a credit card number.  If paying by
  5187. check or money order an invoice will be mailed to the customer. After
  5188. purchasing OS/2 Support Line, IBM will notify the registrant of the
  5189. effective date of the agreement and provide instructions on how to
  5190. access a number of mini-applications.  The OS/2 Support Line offering
  5191. will be available concurrently with the general availability of OS/2
  5192. 2.0.
  5193.  
  5194.  
  5195. SystemXtra for Personal Systems
  5196.  
  5197. SystemXtra for Personal Systems is IBM's premier level of software
  5198. service for currently supported versions of IBM's OS/2 Licensed
  5199. Program Products and other selected IBM licensed program products
  5200. running on an IBM Personal System/2 or other eligible platform in a
  5201. Personal Systems environment.
  5202.  
  5203. SystemXtra for Personal Systems provides direct access to IBM's
  5204. support structure via a toll-free telephone number (1-800-IBM-XTRA) or
  5205. electronic facility (for customers with IBMLINK authorization) for
  5206. submission of problems or questions related to eligible Personal
  5207. Systems products, including currently supported versions of the IBM
  5208. OS/2 operating system.  IBM will provide premium response to
  5209. SystemXtra customers, responding to all submissions within an hour of
  5210. receipt by IBM SystemXtra personnel during normal business hours.
  5211. Emergency support will be provided after hours on a callout basis,
  5212. within one hour.
  5213.  
  5214. IBM specialists will answer questions, provide problem analysis and
  5215. resolution assistance, and when applicable, coordinate hardware
  5216. service for machines that are warranted or covered by IBM Maintenance
  5217. Services.  IBM will take ownership of problems and manage them through
  5218. resolution.  Refer to the SystemXtra for Personal Systems Announcement
  5219. Letter 391-173 for more detail.
  5220.  
  5221.  
  5222. ---------------
  5223.  
  5224. (*) Trademark of the IBM Corporation
  5225.  
  5226. (**) Trademark of the Microsoft Corporation
  5227.  
  5228.