home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1994 June / NEBULA_SE.ISO / Documents / FAQ / OS2-faq / user / part4 < prev    next >
Encoding:
Text File  |  1993-08-28  |  48.9 KB  |  1,188 lines

  1. Newsgroups: comp.os.os2.misc,comp.os.os2.apps,news.answers,comp.answers
  2. Path: senator-bedfellow.mit.edu!bloom-beacon.mit.edu!usc!howland.reston.ans.net!vixen.cso.uiuc.edu!uchinews!kimbark!sip1
  3. From: sip1@kimbark.uchicago.edu (Timothy F. Sipples)
  4. Subject: OS/2 Frequently Asked Questions List Rel. 2.1C (4 of 4)
  5. Message-ID: <1993Aug28.041626.27643@midway.uchicago.edu>
  6. Followup-To: comp.os.os2.misc
  7. Sender: news@uchinews.uchicago.edu (News System)
  8. Supersedes: <1993Jun14.063924.26315@midway.uchicago.edu>
  9. Reply-To: sip1@midway.uchicago.edu
  10. Organization: Dept. of Econ., Univ. of Chicago
  11. Date: Sat, 28 Aug 1993 04:16:26 GMT
  12. Approved: news-answers-request@mit.edu
  13. Expires: Fri, 15 Oct 1993 23:59:59 GMT
  14. Lines: 1171
  15. Xref: senator-bedfellow.mit.edu comp.os.os2.misc:74983 comp.os.os2.apps:20746 news.answers:11857 comp.answers:1779
  16.  
  17. Archive-name: os2-faq/user/part4
  18. Version: 2.1C
  19.  
  20. [Part 4 of 4]
  21.  
  22.  
  23.                 OS/2 LAN Server 2.0 Entry ..: _   CSD Level: ________
  24.                 OS/2 LAN Server 2.0 Advanced: _   CSD Level: ________
  25.                 OS/2 LAN Server 3.0 Entry ..: _   CSD Level: ________
  26.                 OS/2 LAN Server 3.0 Advanced: _   CSD Level: ________
  27.  
  28. LAN REQUESTER:
  29.                 LAN Server 3.0 Requester....: _   CSD Level: ________
  30.                 LAN Server 2.0 Requester....: _   CSD Level: ________
  31.                 OS/2 1.3 Requester..........: _   CSD Level: ________
  32.  
  33.   DOS LAN REQUESTER:
  34.                   LS 3.0 Requester ...........: _   CSD Level: ________
  35.                   LS 2.0 Requester ...........: _   CSD Level: ________
  36.                   OS/2 1.3 Requester .........: _   CSD Level: ________
  37.                   DOS Version: ____  DOS Vendor: _________________
  38.  
  39. Is the failing system a Domain Controller?  Y _    N _ 
  40. Is the failing system an additional server? Y _    N _ 
  41.  
  42. DATABASE MANAGER - If this is an OS/2 DATABASE MANAGER problem, please enter 
  43. information about the DataBase Manager problem below.
  44.  
  45. SQL Error Code ....: ________
  46. Secondary Return Code: ________
  47. Error occurs when database is being accessed as:
  48. Stand Alone ......: Y _  N _ 
  49. Requester (Client): Y _  N _ 
  50. Database Server ..: Y _  N _ 
  51. Using RDS ........: Y _  N _ 
  52. Using LAN ........: Y _  N _ 
  53. If the error is occurring at a requester, can the problem be recreated 
  54. at the server? .....: Y _  N _ 
  55. Error occurs in which application?
  56. Query Manager.....: _ 
  57. LI ..............: _  (Command Line Interface)
  58. User Application..: _ 
  59. If a trap has occurred, provide the SQLABEND results:
  60. _________________________________________________________________
  61. _________________________________________________________________
  62. _________________________________________________________________
  63.  
  64. PLEASE REVIEW ALL OF THIS PROBLEM REPORT BEFORE SENDING.  When you are 
  65. ready to send this OS/2 Problem Report, send the form via CISMAIL 
  66. to ---
  67.  
  68. Base problems   -   Base Support,     76711,610
  69. ES/LS problems  -   ES/LS Support,    76711,611
  70. (ES = IBM Extended Services, LS = IBM LAN Server)
  71.  
  72. (To send from the Internet use address 76711.610@compuserve.com or 
  73. 76711.611@compuserve.com, as appropriate.)
  74.  
  75.  
  76.   Related information: 
  77.  
  78.   (4.5) Technical Support 
  79.   (4.7) Online Services 
  80.  
  81.  
  82. (4.11) OS/2 BBSes
  83.  
  84.  What OS/2 BBSes can I dial? 
  85.  
  86. The following BBSes hold large OS/2 libraries:
  87.  
  88.  
  89.   Fernwood                 (203) 483-0348
  90.  
  91.   {{ The Bin BBS           (206) 451-1905 }}
  92.  
  93.   OS/2 Source BBS          (303) 744-0373
  94.  
  95.   Denver OS/2 BBS          (303) 755-6859
  96.  
  97.   Inside Technologies BBS  (313) 283-1151
  98.  
  99.   OS/2 Woodmeister         (314) 446-0016
  100.  
  101.   {{ Pyramid/2             (415) 494-7497 }}
  102.  
  103.   Gateway/2                (314) 554-9313
  104.  
  105.   Bay Area OS/2            (510) 657-7948
  106.  
  107.   OS/2 San Diego           (619) 558-9475
  108.  
  109.   OS/2 Las Vegas           (702) 433-5535
  110.  
  111.   OS/2 Shareware           (703) 385-4325
  112.  
  113.   Greater Chicago Online   (708) 895-4042
  114.  
  115.   OS/2 Exchange BBS        (904) 739-2445
  116.  
  117.   Abaforum (Barcelona)     34-3-589.38.88
  118.  
  119.   IBM UK                   44-256-336655
  120.  
  121.   OS/2 UK                  44-454-633197
  122.  
  123.   IBM Denmark              45-42-88-72-22
  124.  
  125.   {{ Copenhagen UG BBS     45-48-24-45-80 }}
  126.  
  127.   OS/2 Norway              47-22-38-09-49
  128.  
  129.   IBM Norway               47-66-99-94-50
  130.  
  131.   IBM Germany              049-711-785-7777
  132.  
  133.   OS/2 Australia           61-2-241-2466
  134.  
  135.   Soft/2 Shareware         61-8-370-7339
  136.   (Adelaide)
  137.  
  138.  
  139. (The monthly Worldwide OS/2 BBS Listing, available from these BBSes, lists 
  140. others.)  The IBM PC Company BBS (modem {{ 919-517-0001 }}) has some 
  141. shareware/freeware as well, along with CSDs [See (4.6) Corrective Service 
  142. Diskettes] and the PS/2 Assistant (an invaluable resource for locating 
  143. almost any sort of information on OS/2).  For information on IBM's OS/2 BBS 
  144. phone 800-547-1283.  IBM Canada maintains several support BBSes:
  145.  
  146.       (416) 946-4255 
  147.       (514) 938-3022 
  148.       (604) 664-6464 
  149.       (416) 946-4244 
  150.  
  151.  
  152.  
  153.   Related information: 
  154.  
  155.   (3.2) Shareware and Freeware Sources 
  156.   (4.6) Corrective Service Diskettes 
  157.  
  158.  
  159. (4.12) IBM Telephone Directory
  160.  
  161.  IBM has so many telephone numbers.  Which do I use? 
  162.  
  163. {{ Here are some of the telephone numbers at IBM that are of particular 
  164. importance to OS/2 users.  The list is by no means complete, and future 
  165. releases of the OS/2 Frequently Asked Questions List will add more.
  166.  
  167. o IBM Help Center (800-756-4IBM).  The "800 number for all 800 numbers" in 
  168. the United States.  If you're not sure which number to call, start here.
  169. The operator will stay on the line until you're satisfied you've reached 
  170. the right party.
  171.  
  172. o IBM Information Center (800-IBM-3333).  IBM's United States "switchboard" 
  173. -- can be used to reach any IBM employee.
  174.  
  175. o IBM OS/2 Hotline (800-3-IBM-OS2).  Accepts orders for OS/2, certain OS/2 
  176. software titles, OS/2 video cassettes, t-shirts, mouse pads, computer 
  177. furniture, and other OS/2-related items.  For United States residents.
  178.  
  179. o IBM OS/2 Technical Support (800-992-4777).  The product support line for 
  180. OS/2 in the United States.  Look in the inside front cover of your OS/2 
  181. Using the Operating System manual for support information.
  182.  
  183. o IBM PC Technical Books (800-765-4IBM).  Accepts orders for most IBM 
  184. publications from anyone in the United States.
  185.  
  186. o IBM Personal Systems Software Canada (800-465-1234).  For general 
  187. inquiries and orders from Canadian residents for any OS/2-related product.
  188.  
  189. o IBM Publications Canada (416-474-7000).  Accepts orders for any IBM 
  190. publication, including the OS/2 Online Book Collection, shipped to any 
  191. Canadian address.
  192.  
  193. o IBM Publications U.S.  (800-879-2755 opt.  1).  Accepts orders for any 
  194. IBM publication shipped to any address in the United States.  }} 
  195.  
  196.  
  197.   Related information: 
  198.  
  199.   (4.5) Technical Support 
  200.  
  201.  
  202. (5.0) Using OS/2
  203.  
  204.  The following questions are addressed in this section: 
  205.  
  206.  (5.1)  I'm a Unix wizard.  How do I make OS/2 resemble Unix? 
  207.  
  208.  (5.2)  I prefer Windows.  How do I make OS/2 2.1 resemble Windows (or
  209.         OS/2 1.3)?
  210.  
  211.  (5.3)  Sometimes OS/2 2.1 will freeze when I run an application.  What
  212.         do I do?
  213.  
  214.  (5.4)  How do I start a background process from the OS/2 command line? 
  215.  
  216.  (5.5)  How do I add new Adobe Type Manager Typefaces? 
  217.  
  218.  (5.6)  How do I tweak OS/2 2.1 for maximum performance? 
  219.  
  220.  (5.7)  How do I measure OS/2 performance and memory usage? 
  221.  
  222.  (5.8)  My background bitmap does not display correctly.  What's wrong? 
  223.  
  224.  (5.9)  How do I boot a real version of DOS from within OS/2 2.1? 
  225.  
  226.  (5.10)  Are there any clever tricks that apply to OS/2 2.1? 
  227.  
  228.  (5.11)  How do I use REXX?  What does it do? 
  229.  
  230.  (5.12)  What ANSI escape sequences can be used? 
  231.  
  232.  
  233. (5.1) Making OS/2 Resemble Unix
  234.  
  235.  I'm a Unix wizard.  How do I make OS/2 resemble Unix? 
  236.  
  237. A great number of GNU and Unix utilities have been ported to OS/2 native 
  238. mode and are available from (3.2) Shareware and Freeware Sources.  A uucp 
  239. package, UUPC/Extended, is available via anonymous ftp from {{ 
  240. ftp.clarkson.edu, }} directory /pub/uupc; mail help@kew.com with questions.
  241.  
  242. In addition, the Hamilton C Shell is available from Hamilton Labs (phone 
  243. 508-358-5715 or mail 3890321@mcimail.com).  The Thompson Toolkit, a 
  244. Bourne-like shell, and awk are published by Thompson Automation (phone 
  245. 206-224-1639).  MKS (phone 519-884-2251 or mail pat@mks.com) publishes a 
  246. number of standard Unix utilities for OS/2.  Hippix (Hippo Software, {{ 
  247. phone 801-531-1004 }}) provides a set of low cost Unix-like command 
  248. utilities (such as grep, awk, sh, and vi) along with a POSIX programming 
  249. library.  {{ An OS/2 version of lint is available from Gimpel Software 
  250. (phone 215-584-4261).  }} For OS/2-specific X Windows server support, IBM 
  251. provides an optional package available with its TCP/IP {{ 2.0 }} for OS/2.
  252. The TCP/IP {{ 2.0 }} base package includes a {{ multithreaded news reader 
  253. as well.  }} 
  254.  
  255. DOS and Windows based utilities and aids still work fine under OS/2 2.1.
  256.  
  257.  
  258.  Related information: 
  259.  
  260.  (3.2) Shareware and Freeware Sources 
  261.  (3.8) Networking Products 
  262.  
  263.  
  264. (5.2) Making OS/2 Resemble Windows
  265.  
  266.  I prefer Windows.  How do I make OS/2 2.1 resemble Windows (or OS/2 1.3)? 
  267.  
  268. Spend some time with the Workplace Shell first.  Browse the online 
  269. Tutorial, Master Help Index, and Start Here facilties.  Consult the 
  270. Unofficial Guide to the Workplace Shell, available from (3.2) Shareware and 
  271. Freeware Sources.
  272.  
  273. If you still prefer Windows-like behavior, follow the instructions 
  274. beginning on Page 401 in the OS/2 2.1 Using the Operating System manual.
  275.  
  276. Note that you can run the Win-OS/2 Program Manager "seamlessly" on your 
  277. OS/2 desktop, and you can use it to launch DOS, Windows, and OS/2 
  278. applications.  Using the Program Manager in this way can make even hard 
  279. core Windows users more comfortable.
  280.  
  281.  
  282.  Related information: 
  283.  
  284.  (3.2) Shareware and Freeware Sources 
  285.  
  286.  
  287. (5.3) Recovering from Crashed Sessions
  288.  
  289.  Sometimes OS/2 2.1 will freeze when I run an application.  What do I do? 
  290.  
  291. Before rebooting with CTRL-ALT-DEL, try CTRL-ESC.  Do not hit additional 
  292. keys, do not move the mouse.  Wait up to a minute.  Either the Window List 
  293. or an error message should pop up.  You may close the offending application 
  294. at that point; allow some time for it to close.  (Try ALT-ESC if you have 
  295. disabled CTRL-ESC in that application's DOS Settings.  If you do not get 
  296. any response, press CTRL-ESC or ALT-ESC repeatedly until the dialog 
  297. appears.)  Note that the Workplace Shell can recycle, independent of 
  298. running applications, if it crashes.
  299.  
  300. If the system is badly disabled, sometimes pressing CTRL-ALT-NUMLOCK twice 
  301. will result in a prompt to create a dump diskette.  You may do so (the 
  302. online Command Reference describes dump diskettes), or at that point you 
  303. may reboot with CTRL-ALT-DEL.
  304.  
  305. To prevent applications from automatically restarting see (5.10) Clever 
  306. Tricks.  To restore the desktop to "factory defaults," use ALT-F1 when OS/2 
  307. 2.1 starts.  See Appendix C of the OS/2 2.1 Using the Operating System 
  308. manual for details.  Note that if you have installed an OS/2 Service Pak 
  309. [See (4.6) Corrective Service Diskettes] the ALT-F1 sequence will restore 
  310. your desktop to the state it was found in just before installation of the 
  311. Service Pak.
  312.  
  313.  
  314.  Related information: 
  315.  
  316.  (4.6)  Corrective Service Diskettes 
  317.  (5.10) Clever Tricks 
  318.  
  319.  
  320. (5.4) Starting Background Processes
  321.  
  322.  How do I start a background process from the OS/2 command line? 
  323.  
  324. Look up the START and DETACH commands in the online Command Reference.
  325.  
  326. If you wish to start a DOS session with nondefault settings, use a utility 
  327. such as STARTD.  If you wish to start an OS/2 session from a DOS session, 
  328. try OS2EXEC.  Both (and several others) are available from (3.2) Shareware 
  329. and Freeware Sources.
  330.  
  331.  
  332.  Related information: 
  333.  
  334.  (3.2) Shareware and Freeware Sources 
  335.  
  336.  
  337. (5.5) Adobe Type Manager
  338.  
  339.  How do I add new Adobe Type Manager typefaces? 
  340.  
  341. OS/2 2.1 comes with built-in Adobe Type Manager (ATM) for OS/2 and 
  342. Win-OS/2.  A basic set of typefaces (Courier, Helvetica, and Times New 
  343. Roman) comes with OS/2 2.1 and is installed (if selected) for use under 
  344. both OS/2's and Win-OS/2's ATM.
  345.  
  346. {{ Each typeface you install under OS/2 and/or Win-OS/2 should come with at 
  347. least two separate files with PFB and AFM extensions.  }} To install a 
  348. typeface for use under Win-OS/2, use the ATM Control Panel.  The Win-OS/2 
  349. ATM Control Panel will then build a PFM file from {{ the AFM file if a PFM 
  350. file is not already included.  }} To install a typeface for use with 
  351. OS/2-specific applications, select OS/2 System -> System Setup -> Font 
  352. Palette -> Edit Font -> Add.
  353.  
  354. PFM files may converted to AFM files using the PFM2AFM utility, available 
  355. from (3.2) Shareware and Freeware Sources.  (However, these converted AFM 
  356. files sometimes produce unusual results.)  AFM files for Adobe commercial 
  357. typefaces are available via Internet anonymous ftp from 
  358. ftp.mv.us.adobe.com; {{ the PFB files are available for purchase from 
  359. Adobe.  }} Many public domain typefaces for OS/2's ATM are available from 
  360. (3.2) Shareware and Freeware Sources.  Atech Software's (phone 
  361. 800-786-FONT) AllType and Ares Software's (phone 415-578-9090) FontMonger 
  362. convert between TrueType and Adobe Type 1 formats {{ (as does the popular 
  363. Fontographer utility).  }} 
  364.  
  365. Typeface files may be shared by OS/2 ATM and Win-OS/2 ATM.  To do so, 
  366. install the typefaces using both the Font Palette and Win-OS/2 ATM Control 
  367. Panel, specifying the {{ same }} target path each time (most conveniently 
  368. \PSFONTS).
  369.  
  370. Note that IOPL=YES should appear in CONFIG.SYS; the modules WPPWNDRV, 
  371. BVHSVGA, and PMATM are marked as requiring I/O privilege.
  372.  
  373.  
  374.  Related information 
  375.  
  376.  (3.2) Shareware and Freeware Sources 
  377.  
  378.  
  379. (5.6) Performance Tuning
  380.  
  381.  How do I tweak OS/2 2.1 for maximum performance? 
  382.  
  383. For OS/2 overall, the CONFIG.SYS parameters MAXWAIT, TIMESLICE, PRIORITY, 
  384. PRIORITY_DISK_IO, PROTECTONLY, and cache settings (in the DISKCACHE line, 
  385. for FAT; or IFS line, for HPFS) can be tweaked.  The swap file should be 
  386. placed on the most used partition on the least used hard disk, and its 
  387. location is controlled by the SWAPPATH line.  See the online Command 
  388. Reference for details.
  389.  
  390. FAT partitions should be periodically defragmented.  A shareware 
  391. defragmenter for DOS called DOG (Disk OrGanizer) works well, as do many 
  392. others.  (You can boot DOS from a floppy disk to run such a utility.)
  393.  
  394. For the Workplace Shell, drag shadows of most often used items to the 
  395. desktop or to folders closer to the "surface" -- opening folders takes 
  396. time.  Drag shadows of program objects you use often (e.g.  the Win-OS/2 
  397. full screen Program Manager) to the Startup folder.  Disable animation (go 
  398. to OS/2 System -> System Setup -> System -> Window).  Use the faster 
  399. Details View when opening drive and folder objects; to set Details View as 
  400. the default, open the settings notebook for the object, select the Menu 
  401. tab, click on ~Open, then the Settings button, then select the Default 
  402. Action.
  403.  
  404. Try reducing the number of on screen colors or dropping down in screen 
  405. resolution to enhance speed.  Close (not just minimize; check the Window 
  406. List) unnecessary objects and applications.  Use the Monochrome scheme from 
  407. the Scheme Palette -- it provides marginally faster screen updates.
  408. Consider adding more RAM.
  409.  
  410. For DOS programs, run full screen instead of windowed if speed is 
  411. important.  In DOS Settings for each application:  reduce conventional, 
  412. XMS, DPMI, and EMS memory allocations to the bare minimums required for 
  413. maximum performance; turn off VIDEO_RETRACE_EMULATION unless necessary; 
  414. adjust IDLE_SENSITIVITY; turn off DOS_BACKGROUND_EXECUTION if not needed; 
  415. change the HW_TIMER setting (particularly for games); enable 
  416. VIDEO_FASTPASTE if possible; turn on HW_ROM_TO_RAM.  Communications 
  417. programs should use hardware handshaking where possible (use OS/2's MODE 
  418. COMx command if necessary), and a buffered UART can prove helpful.  (DOS 
  419. programs running under OS/2 will not be aware of a buffered 16550AF UART.
  420. OS/2 virtualizes the serial port and manages the buffer itself.)  For 
  421. faster printing set the DOS program's output port to LPTx.OS2 (where x is 
  422. the printer port number) -- use a "print to file" option if necessary.
  423. Disable any DOS print spoolers; rely on OS/2's spooler instead.  Increase 
  424. CONFIG.SYS's PRINTMONBUFSIZE values.  Other, standard steps to enhance DOS 
  425. performance (e.g.  increasing BUFFERS in CONFIG.SYS) of course apply.
  426.  
  427. For Windows programs, run using a full screen desktop if speed is vital.
  428. The Win-OS/2 Full Screen icon set up by the installation program has poor 
  429. Settings.  For better performance perform some of the same steps outlined 
  430. in the preceding paragraph, including VIDEO_RETRACE_EMULATION off.  The 
  431. same printer output advice also applies.  Consider disabling the Public 
  432. setting in the Clipboard.  If available, set VIDEO_8514A_XGA_IOTRAP to off.
  433. If mouse control is lost when switching to/from the Win-OS/2 session, try 
  434. setting VIDEO_SWITCH_NOTIFICATION off.
  435.  
  436.  
  437.  Related information: 
  438.  
  439.  (1.3) DOS and Windows Compatibility 
  440.  (5.7) Measuring Performance and Memory Usage 
  441.  
  442.  
  443. (5.7) Measuring Performance and Memory Usage
  444.  
  445.  How do I measure OS/2 performance and memory usage? 
  446.  
  447. OS/2 does not treat system resources like DOS.  Memory is treated as a 
  448. virtual resource, used intelligently.  For example, OS/2 will retain 
  449. unused, "dormant" code in memory if that memory is not otherwise required, 
  450. on the assumption that that code may be used again.  Also, all but a small 
  451. portion of OS/2 (and most applications, no matter how many are running) may 
  452. be paged to disk should a large amount of physical memory be required.
  453. Utilities which display "free" memory, then, are only useful for rough, 
  454. relative measurements.  (Such utilities also often fail for another reason:
  455. many only report the largest contiguous block of free physical RAM.  And a 
  456. few will never report more than 16 MB of RAM because they were designed for 
  457. OS/2 1.x.)
  458.  
  459. Similarly, utilities which purport to measure system load (e.g.  Pulse) 
  460. should not be relied upon for definitive performance measurement.
  461. Subjective assessments are often much more reliable.  Pulse (and similar 
  462. utilities) rely on a measurement of processor time allocated to a thread 
  463. running at OS/2's lowest priority.  This method is sometimes subject to 
  464. erroneous results.
  465.  
  466. That said, more rigorous system performance optimization and monitoring 
  467. tools include {{ System Performance Monitor/2 (IBM Program No.  5871-3415), 
  468. }} BenchTech (Synetik, phone 303-241-1718), {{ OR/SysMon (International 
  469. OS/2 User Group, phone 44-285-641175 or FAX 44-285-640181), CPU Monitor 
  470. (Bon Ami), }} and Performance {{ 2.1 }} (Clear & Simple, phone 
  471. 203-658-1204).
  472.  
  473. Note that OS/2's swap file is designed to behave with hysteresis.  It will 
  474. not shrink in size as easily as it grows, under the assumption that swap 
  475. space needed once may be needed again.  It should shrink given enough time 
  476. and continued, less intense system loads.
  477.  
  478.  
  479.  Related information: 
  480.  
  481.  (5.6) Performance Tuning 
  482.  
  483.  
  484. (5.8) Displaying Background Bitmaps
  485.  
  486.  My background bitmap does not display correctly.  What's wrong? 
  487.  
  488. Color bitmap images used for the Workplace Shell screen or folder 
  489. backgrounds may not display correctly (may have distorted or missing 
  490. colors) due to incorrect matching with OS/2's default palette.  Unlike 
  491. Windows, OS/2 does not adjust the palette to accommodate background bitmaps 
  492. (to keep the rest of the desktop from experiencing color distortions).
  493. (Palette control is now available to applications running under the 32-bit 
  494. graphics engine with an appropriate display driver, however.)
  495.  
  496. To remedy the problem you may use the numerous background images which have 
  497. been specifically prepared for the Workplace Shell [available from (3.2) 
  498. Shareware and Freeware Sources] or you may use an image editing/conversion 
  499. utility which can create a proper, {{ system }} palette-matched bitmap 
  500. file.  For example, {{ JoeView }} [available from (3.2) Shareware and 
  501. Freeware Sources] may be used to import noninterlaced GIF, Windows BMP, and 
  502. PCX files and save them as palette-matched OS/2 BMP files.
  503.  
  504. Note that background bitmap images impose some additional overhead, taking 
  505. up RAM and disk resources.  You should probably use them sparingly.  Also, 
  506. if you have set a Win-OS/2 background bitmap you may experience desktop 
  507. color distortions when running Windows programs "seamlessly."  Disable the 
  508. Win-OS/2 background bitmap to remedy the problem.
  509.  
  510.  
  511.  Related information: 
  512.  
  513.  (2.2) SuperVGA Support 
  514.  (3.2) Shareware and Freeware Sources 
  515.  
  516.  
  517. (5.9) Specific DOS Sessions
  518.  
  519.  How do I boot a real version of DOS from within OS/2 2.1? 
  520.  
  521. Booting a real version of DOS under OS/2 provides certain features that the 
  522. OS/2 emulated DOS sessions cannot.  For example, a specific DOS session can 
  523. provide access to devices (like CD-ROM drives) and networks for which there 
  524. are only DOS device drivers.  A specific DOS session can also help get DOS 
  525. applications which generate spurious "divide by zero" errors running again.
  526.  
  527. You will be able to run one such session per hardware device.  So, for 
  528. example, if you have your DOS networking software loaded in one specific 
  529. DOS session, you may not start another, similar session.
  530.  
  531. Specific DOS sessions are discussed in the online Command Reference (under 
  532. VMDISK), the Master Help Index, and the printed Installation Guide 
  533. (Appendix E).  You should consult those resources first.  However, if you 
  534. are still unsure how to configure your system to run specific DOS sessions, 
  535. follow these steps:
  536.  
  537. 1. Create a bootable DOS diskette.  Insert your DOS system diskette into 
  538. Drive A and reboot.  When you arrive at the "A>" prompt, type FORMAT A:  /S 
  539. and press ENTER.  (Note that you may wish to format the diskette for the 
  540. smallest capacity possible, to save hard disk space later on.  For example, 
  541. a 5.25 inch double density -- not high density -- diskette may be formatted 
  542. to just 160K by adding the /1 /N:8 parameters to the FORMAT command.)  When 
  543. prompted, insert a blank diskette into Drive A and press ENTER.  When the 
  544. FORMAT operation is complete, remove the diskette and restart OS/2.
  545.  
  546. 2. Copy FSFILTER.SYS to the diskette.  Double click on OS/2 System -> 
  547. Command Prompts -> OS/2 Window.  Insert the diskette you just formatted 
  548. into Drive A. Copy the following file to your startable diskette:
  549. \OS2\MDOS\FSFILTER.SYS.
  550.  
  551. 3. Set up CONFIG.SYS.  Using a text editor (like the OS/2 System Editor) 
  552. create the file A:\CONFIG.SYS with the following lines at the top:
  553.  
  554.       DEVICE=A:\FSFILTER.SYS
  555.       DEVICE=C:\OS2\MDOS\HIMEM.SYS
  556.       DEVICE=C:\OS2\MDOS\EMM386.SYS
  557.       DEVICE=C:\OS2\MDOS\ANSI.SYS
  558.  
  559. Change the "C:"  drive letter if OS/2 is installed on another drive.  Add 
  560. any other lines as required for your application (like CD-ROM or 
  561. networking), but do not include any XMS, EMS, mouse, or memory management 
  562. device drivers.  Make sure that everything is referenced with a drive 
  563. letter and path, as above.
  564.  
  565. 4. Set up AUTOEXEC.BAT.  Likewise, create a file named A:\AUTOEXEC.BAT and 
  566. make sure that the first line reads:
  567.  
  568.       C:\OS2\MDOS\MOUSE
  569.  
  570. changing "C:"  if necessary.  Add any additional lines (like PATH, SET 
  571. PROMPT, and so on) as required by your application.
  572.  
  573. 5. Test your DOS diskette.  Once you have configured the CONFIG.SYS and 
  574. AUTOEXEC.BAT files as you wish, double click on OS/2 System -> Command 
  575. Prompts -> DOS from Drive A:.  A DOS session should start.  Test for the 
  576. functionality you need (like access to your CD-ROM reader or network).  If 
  577. the session is not working properly, press CTRL-ESC and shut down the 
  578. session, edit CONFIG.SYS and/or AUTOEXEC.BAT as required, and repeat the 
  579. test.
  580.  
  581. 6. Create the diskette image.  When you are satisfied that your specific 
  582. DOS session diskette functions properly, go back to the OS/2 Window and 
  583. type VMDISK A:  C:\DOS.IMG to create a diskette image file.  (If you want 
  584. the file to be located on another drive or in another directory, change 
  585. "C:\" accordingly.)
  586.  
  587. 7. Create a program object for your specific DOS session.  Drag a program 
  588. object from your Templates folder to any target folder.  When the notebook 
  589. opens, enter a single asterisk (*) in the Program Name field, then click on 
  590. the right arrow in the lower right.  Select either DOS Window or DOS Full 
  591. Screen for the session type, as desired.  Click on the DOS Settings button, 
  592. and scroll down until you find the DOS_STARTUP_DRIVE property.  Enter 
  593. C:\DOS.IMG in the field at the upper right.  (If your image file is not 
  594. located on Drive C in the root directory, make the necessary changes.)
  595. Change any other DOS Settings if necessary.  Click on the Save button, then 
  596. click on the General tab.  Give your program object a name.  Then close up 
  597. the notebook.
  598.  
  599. You should now be able to double click on your new program object to start 
  600. your specific DOS session.  If you require access to your diskette drive 
  601. (Drive A), use the FSACCESS command.  See the online Command Reference for 
  602. details.
  603.  
  604. When formatting your bootable DOS diskette, you may wish to use additional 
  605. command line parameters to create a diskette with a reduced capacity.  The 
  606. "smaller" the diskette, the less room the diskette image file created by 
  607. VMDISK will take on your hard disk.  See your DOS manual for details, or 
  608. use the example given above.
  609.  
  610.  
  611.   Related information: 
  612.  
  613.   (1.3) DOS and Windows Compatibility 
  614.  
  615.  
  616. (5.10) Clever Tricks
  617.  
  618.  Are there any clever tricks that apply to OS/2 2.1? 
  619.  
  620. o To force DIR to display your directories in alphabetical order, with the 
  621. subdirectories listed first, add the line 
  622.  
  623.     SET DIRCMD=/O:GN
  624.  
  625. to CONFIG.SYS; and, if you wish the same for your DOS command line 
  626. sessions, add the same line to AUTOEXEC.BAT.  You may also wish to run 
  627. DOSKEY to enable the command history feature.  (Shutdown and reboot for 
  628. changes to CONFIG.SYS to take effect.)
  629.  
  630. o Hold down SHIFT while resizing text windows to make size changes 
  631. permanent.
  632.  
  633. o If you want to configure your printer port(s) for shared access (so that 
  634. DOS programs {{ like LapLink, }} for example, can use them directly), go to 
  635. your printer object, click on it with mouse button two, select Open -> 
  636. Settings, select the Output tab, then double click on the port you wish to 
  637. share.  Check the appropriate box.
  638.  
  639. o While running a DOS graphics program in a window, use the graphics cut 
  640. and paste feature to clip a picture and paste it into the Icon Editor.  You 
  641. can then quickly and easily create custom icons for your applications.
  642.  
  643. o To disable the automatic application restart feature, create a 
  644. STARTUP.CMD file in the root directory of your OS/2 boot drive with the 
  645. following REXX script:
  646.  
  647.     /*  */
  648.     call RxFuncadd 'SysLoadFuncs', 'RexxUtil', 'SysLoadFuncs'
  649.     call SysLoadFuncs 
  650.     call SysIni 'USER', 'PM_WorkPlace:Restart', 'DELETE:'
  651.     'exit'
  652.  
  653. or add the line 
  654.  
  655.     SET RESTARTOBJECTS=STARTUPFOLDERSONLY
  656.  
  657. to your CONFIG.SYS.  To manually disable automatic application restart when 
  658. booting OS/2, hold down the left CTRL, left SHIFT, and F1 keys 
  659. simultaneously from the time the mouse pointer appears until icons are 
  660. displayed on the desktop.
  661.  
  662. o Use the Alarms applet to automatically start programs at specified times.
  663.  
  664. To start the Alarms applet minimized, put /I in the Optional Parameters 
  665. section of its program object settings.
  666.  
  667. o If you wish to dispense with the Workplace Shell (and its overhead), 
  668. particularly on low memory systems, change the line SET RUNWORKPLACE...  in 
  669. CONFIG.SYS to read SET RUNWORKPLACE=C:\OS2\CMD.EXE (replacing C, if 
  670. necessary, with a different drive letter).  In fact any program with job 
  671. control (e.g.  Enhanced Editor, HyperAccess/5) can be used as the shell.
  672. {{ [A character mode alternative to the Workplace Shell, MenuMaster, is now 
  673. available from (3.2) Shareware and Freeware Sources.] }} 
  674.  
  675. o To implement a small scroll back buffer for your OS/2 command line 
  676. windows, use the command MODE CO80,102.  This procedure may be automated by 
  677. adding /K MODE CO80,102 in the Optional Parameters section of the OS/2 
  678. Window program object settings.
  679.  
  680. o If you do not want any command line parameters passed to a program object 
  681. that you start (for example, if you customize the desktop menu so that it 
  682. has an additional option which starts a command line prompt) place a lone % 
  683. in the Optional Parameters section of the program object settings.  If you 
  684. do wish to pass parameters, but you want the extraneous information that 
  685. the Workplace Shell passes to the object to be ignored, try putting && REM 
  686. % in the Optional Parameters section {{ after the parameters you wish 
  687. passed.  }} 
  688.  
  689. o If you want to move an icon a small distance, "grab" it from the edge 
  690. nearest the direction you want to move the icon.
  691.  
  692. o A clever way to manipulate files that are locked when the Workplace Shell 
  693. is running (e.g.  display drivers) is to add the line CALL=CMD.EXE at the 
  694. end of CONFIG.SYS.  Then Shutdown and reboot.  The system will restart with 
  695. an OS/2 command line prompt.  Type EXIT to proceed into the Workplace 
  696. Shell.  Using CALL is also a convenient way to configure OS/2's serial 
  697. ports using the MODE command.  For example:
  698.  
  699.     CALL=C:\OS2\MODE.COM COM2:38400,N,8,1,OCTS=OFF,RTS=ON,BUFFER=ON
  700.  
  701. configures COM2 for high speed RTS handshaking and buffered I/O.  {{ 
  702. [Moreover, the MODE command can be used to determine whether your system 
  703. has a buffered UART (National Semiconductor 16550A or equivalent), nearly 
  704. essential for high speed communications.  Use the command:
  705.  
  706.     MODE COMx 
  707.  
  708. (where x is the communications port number) from an OS/2 command line.  If 
  709. you see anything but "BUFFER = N/A" then you have a buffered UART for that 
  710. port.] }} 
  711.  
  712. You can use either {{ CDDBOC or SHIFTRUN instead of CALL }}; both utilities 
  713. are available from (3.2) Shareware and Freeware Sources.
  714.  
  715. Another way, which works well with display drivers, is to copy the new 
  716. DLL(s) to its(their) own directory (say, C:\NEW), then place that directory 
  717. name first in LIBPATH in CONFIG.SYS.  Shutdown and reboot.  OS/2 will use 
  718. that(those) DLL(s) before it attempts to use the one(s) located in 
  719. \OS2\DLL.  [This method is required when using a 16-bit OS/2 2.0 display 
  720. driver with OS/2 2.0 CSD Level 06055 or later.  See (4.6) Corrective 
  721. Service Diskettes.] To switch back to the old driver, edit CONFIG.SYS and 
  722. remove C:\NEW from LIBPATH, then Shutdown and reboot.
  723.  
  724. o To shutdown without a mouse, press CTRL-ESC, select the Desktop, then 
  725. press the spacebar (to deselect any icons, if necessary), SHIFT-F10, and 
  726. select Shutdown.
  727.  
  728. o If your video driver does not support "seamless" Windows, try running the 
  729. Win-OS/2 Program Manager in a DOS window.
  730.  
  731. o Selective Install should be used with caution when changing mouse or 
  732. display drivers.  Verify that proper changes have been made to CONFIG.SYS.
  733.  
  734. o If your settings notebooks (or PM Sticky Pads) do not display but are 
  735. listed in the Window List, click on the name of the settings notebook in 
  736. the Window List (brought up with CTRL-ESC) with mouse button two and select 
  737. Cascade.
  738.  
  739. o If your \OS2\*.INI files have grown large, use the CopyINI or WPSBackup 
  740. utilities to shrink them.  Both are available from (3.2) Shareware and 
  741. Freeware Sources.
  742.  
  743. o To restart the Workplace Shell (without saving desktop settings, perhaps 
  744. after an accidental Arrange), use a utility such as psPM [available from 
  745. (3.2) Shareware and Freeware Sources] to terminate PMSHELL.
  746.  
  747. o To get rid of a WPS object that cannot be deleted, try one of the 
  748. following:
  749.  
  750. - Insert a blank diskette in Drive A, click on the stubborn object with 
  751. mouse button two, select Move, select the Path page, enter A:\, press 
  752. ENTER, then format the diskette; 
  753.  
  754. - Use the WPSTools or Black Hole, available from (3.2) Shareware and 
  755. Freeware Sources.  (The WPSTools can also recreate desktop objects that 
  756. have been lost.)
  757.  
  758. o To load a device driver into high memory in a particular DOS session 
  759. change the DOS_DEVICE setting for the session and add SIZE=0 before the 
  760. path and filename for the device driver.  For example, the following 
  761. DOS_DEVICE entry:
  762.  
  763.     SIZE=0 C:\OS2\MDOS\ANSI.SYS 
  764.  
  765. loads the ANSI.SYS device driver into high memory in that particular 
  766. session.
  767.  
  768. o If you wish to create diskettes from MAKEDSKF (.DSK) image files, such as 
  769. those contained on the CD-ROM version of OS/2, and you do not wish to use 
  770. the DOS and OS/2 utility LOADDSKF, you may use a workstation.  For example, 
  771. on an IBM RS/6000 {{ or Sun workstation }} you may use the command:
  772.  
  773.     dd if=(input filename) of=/dev/rfd0 ibs=1b obs=60b conv=sync 
  774.  
  775. o To reboot the machine from the command line, use:
  776.  
  777.     SETBOOT /IBD:C
  778.  
  779. Change the last letter (C) if you want to boot from another drive.
  780.  
  781. o The settings notebooks now support drag and drop operations for assigning 
  782. icons and for changing menus.
  783.  
  784. To change the icon for an object, first open the settings notebook (click 
  785. on the object with the secondary mouse button, then select Open -> 
  786. Settings).  Click on the General tab.  Then drag any other object to the 
  787. icon located on the General page of the settings notebook.  The object's 
  788. icon will change to match.  If you want to restore it to its former state, 
  789. click on the Undo button.
  790.  
  791. To assign actions to menus, open the settings notebook, then click on the 
  792. Menu tab.  Click on any of the items in the Available menus section (or 
  793. Create another).  To add an Action, drag the desired program object to the 
  794. Actions on menu section.
  795.  
  796. o To quickly maximize a window, double click on its title bar.  To restore 
  797. the window to its former size, double click on the title bar again.
  798.  
  799. o Select the Flowed setting (on the View page of the settings notebook) for 
  800. fastest display when opening folders.
  801.  
  802. o If you have UNDELETE enabled, but you want to delete an occasional file 
  803. without the overhead incurred by having UNDELETE capability, use the /F 
  804. parameter with the DEL command.  Using this parameter (in either a DOS or 
  805. OS/2 Window) will bypass the routine which moves the file(s) to the 
  806. directory specified by the DELDIR environment variable.  The file(s) 
  807. is(are) deleted faster, but you will not be able to undelete it(them).  The 
  808. /N parameter will prevent prompting ("Are you sure?").
  809.  
  810. o OS/2 2.1 now includes the ability to set a power on password.  However, 
  811. if you have forgotten your password, and you cannot unlock your desktop 
  812. when you turn your machine on, try the following.  Start OS/2 from a 
  813. diskette boot [see (4.4) Starting OS/2 from Diskette] to get a command line 
  814. prompt.  At the prompt, enter the following commands:
  815.  
  816.     C:
  817.  
  818. (assuming OS/2 is installed on Drive C; change if necessary) 
  819.  
  820.     MAKEINI OS2.INI LOCK.RC
  821.  
  822.  
  823. o {{ If you are using a 1024x768 display driver (such as 8514/A), but you 
  824. do not want the icons scaled up in size from 32x32 to 40x40, patch the 
  825. display driver file (e.g.  \OS2\DLL\8514_32.DLL) using DEBUG or a similar 
  826. utility.  Search for the hexadecimal byte sequence 28 00 28 00 20 00 20 00 
  827. and replace the two 28 values with 20.  Reboot for the change to take 
  828. effect, and be sure to keep a backup copy of the original file.  }} 
  829.  
  830. o {{ To hide your entire desktop, single click on any icon on the desktop, 
  831. press CTRL-ESC, then press CTRL-SHIFT-ESC.  To return the desktop to 
  832. normal, press CTRL-ESC then double click on Desktop.  }} 
  833.  
  834. o {{ If you would like to have a Presentation Manager application start up 
  835. minimized, first set up a program object for it by dragging a Program 
  836. template from the Templates folder.  Then, on the first page of the 
  837. notebook, enter the full path and filename of the PM program, but 
  838. deliberately misspell it.  Click on the arrow in the lower right to turn 
  839. the page, then check the Start minimized checkbox.  Click on the left arrow 
  840. to turn the page back, then correct the misspelling.  Fill in any other 
  841. information, as desired, then close up the notebook.  The program object is 
  842. now ready to start your PM application minimized.  }} 
  843.  
  844. o {{ To get approximately 730K free in your DOS sessions, change 
  845. VIDEO_MODE_RESTRICTION in the session's settings to CGA (unless your 
  846. application requires more than CGA graphics capabilities).  Note that you 
  847. may have to place the line:
  848.  
  849.     DOS_RMSIZE=639 
  850.  
  851. in your CONFIG.SYS file to get this much free memory.  }} 
  852.  
  853.  
  854.   Related information: 
  855.  
  856.   (3.2) Shareware and Freeware Sources 
  857.   (4.4) Starting OS/2 from Diskette 
  858.   (4.6) Corrective Service Diskettes 
  859.  
  860.  
  861. (5.11) REXX
  862.  
  863.  How do I use REXX?  What does it do? 
  864.  
  865. REXX is built into every copy of OS/2 (where it is also known as Procedures 
  866. Language/2).  It is a general purpose, interpreted programming language 
  867. which was first released on IBM mainframes over a decade ago.  REXX is 
  868. extremely easy to learn and use.  It is particularly strong at string 
  869. manipulation, and it has features which are difficult to implement in 
  870. compiled languages (like the ability to read its own source code or execute 
  871. a string as a command).
  872.  
  873. OS/2 applications can use REXX as a common scripting language, which means 
  874. that users need not learn separate macro or script languages for each 
  875. application.  For example, the OS/2 versions of Lotus 1-2-3 and Borland 
  876. ObjectVision will interface with REXX.  OS/2's multimedia extensions 
  877. (MMPM/2) contain a REXX interface, so REXX programs can play, record, and 
  878. manipulate sound and video files.  And REXX can be used to create complex 
  879. batch files (with interactive prompting), since it is integrated so tightly 
  880. into OS/2's command processor.
  881.  
  882. A pair of REXX visual builders (programming tools which help create even 
  883. complex REXX applications quickly and easily using simple, drag and drop 
  884. manipulation of on screen objects), HockWare's VisPro/REXX and Watcom's VX 
  885. REXX, are now available.  [See (0.2) Recent Developments for more 
  886. information on these two programming tools.] 
  887.  
  888. For more information on OS/2's REXX interpreter, see the REXX Information 
  889. online documentation located in the Information folder.  For more 
  890. information on REXX generally, consult the REXX Frequently Asked Questions 
  891. List [available from (3.2) Shareware and Freeware Sources].
  892.  
  893. {{ Here are some REXX hints and tips:  }} 
  894.  
  895. o If you wish to place program output in the REXX queue (for processing by 
  896. a REXX program), try 
  897.  
  898.     DIR *.TXT | RXQUEUE 
  899.  
  900. as an example.  (In other words, pipe the program output to RXQUEUE.)  To 
  901. use this program output in your REXX program, try 
  902.  
  903.     /* Sample */
  904.     WHILE QUEUED() > 0 
  905.     PARSE PULL X 
  906.     SAY X 
  907.     END 
  908.  
  909. o {{ To execute REXX commands interactively from the command line, use the 
  910. REXXTRY command.  For example:
  911.  
  912.     REXXTRY DO X=1 TO 10;SAY X;END
  913.      }}
  914.  
  915.  
  916.  
  917.   Related information: 
  918.  
  919.   (0.2) Recent Developments 
  920.   (3.2) Shareware and Freeware Sources 
  921.   (3.6) Multimedia (MMPM/2)
  922.  
  923.  
  924. (5.12) ANSI Escape Sequences
  925.  
  926.  What ANSI escape sequences can be used? 
  927.  
  928. ANSI escape sequences provide cursor and screen control in OS/2 character 
  929. mode sessions.  By default ANSI support is turned ON (although it may be 
  930. turned off with the command ANSI OFF).  ANSI support is also available in 
  931. DOS sessions if the device driver ANSI.SYS is loaded.  See the online 
  932. Command Reference for details.
  933.  
  934. The following ANSI escape sequences are available:
  935.  
  936.   Key
  937.   ESC       Refers to ASCII code 27 (i.e. the Escape key) 
  938.   #         Replace with the appropriate number 
  939.   ....      Replace with additional attributes, if desired 
  940.  
  941.   Escape Code Sequence          Function 
  942.   Cursor Controls
  943.   ESC[#;#H or ESC[#;#f          Moves cursor to line #, column # 
  944.   ESC[#A                        Moves cursor up # lines 
  945.   ESC[#B                        Moves cursor down # lines 
  946.   ESC[#C                        Moves cursor forward # spaces 
  947.   ESC[#D                        Moves cursor back # spaces 
  948.   ESC[#;#R                      Reports current cursor line and column 
  949.   ESC[s                         Saves cursor position for recall later 
  950.   ESC[u                         Return to saved cursor position 
  951.   Erase Functions
  952.   ESC[2J                        Clear screen and home cursor 
  953.   ESC[K                         Clear to end of line 
  954.   Set Graphics Rendition
  955.   ESC[#;#;....;#m               Set display attributes where # is 
  956.                                 0 for normal display 
  957.                                 1 bold on 
  958.                                 4 underline (mono only) 
  959.                                 5 blink on 
  960.                                 7 reverse video on 
  961.                                 8 nondisplayed (invisible) 
  962.                                 30 black foreground 
  963.                                 31 red foreground 
  964.                                 32 green foreground 
  965.                                 33 yellow foreground 
  966.                                 34 blue foreground 
  967.                                 35 magenta foreground 
  968.                                 36 cyan foreground 
  969.                                 37 white foreground 
  970.                                 40 black background 
  971.                                 41 red background 
  972.                                 42 green background 
  973.                                 43 yellow background 
  974.                                 44 blue background 
  975.                                 45 magenta background 
  976.                                 46 cyan background 
  977.                                 47 white background 
  978.   ESC[=#;7h                     Put screen in indicated mode where # is 
  979.                                 0 for 40x25 black and white 
  980.                                 1 40x25 color 
  981.                                 2 80x25 black and white 
  982.                                 3 80x25 color 
  983.                                 4 320x200 color graphics 
  984.                                 5 320x200 black and white graphics 
  985.                                 6 640x200 black and white graphics 
  986.                                 7 to wrap at end of line 
  987.   ESC[=#;7l                     Resets mode # set with above command 
  988.   Keyboard Reassignments
  989.   ESC[#;#;....#p                The first ASCII code defines what is to be
  990.                                 changed; the remaining codes define what it
  991.                                 is to be changed to; strings are permitted. 
  992.                                 Examples: 
  993.                                 ESC[65;81p - A becomes Q 
  994.                                 ESC[81;65p - Q becomes A 
  995.                                 ESC[0;68;"dir";13p - Assign the F10 key
  996.                                 to a DIR command.
  997.                                 The 0;68 portion is the extended ASCII
  998.                                 code for the F10 key and 13 is the ASCII
  999.                                 code for a carriage return.
  1000.                                 Other function key codes: F1=59, F2=60,
  1001.                                 F3=61, ... F10=68.
  1002.  
  1003. You can use ANSI escape sequences in the PROMPT environment variable to 
  1004. create complex command line prompts.  See the online Command Reference 
  1005. (under PROMPT) for details.
  1006.  
  1007. For example, if you have a color monitor, try editing your CONFIG.SYS file 
  1008. so that 
  1009.  
  1010.   SET PROMPT=$e[32;40m$e[1m[$P]$e[0m
  1011.  
  1012. to obtain a more colorful OS/2 command line prompt.  (Case is significant 
  1013. in the example given.)  You can do the same for your DOS sessions if you 
  1014. edit PROMPT in AUTOEXEC.BAT, assuming you have ANSI.SYS loaded.  Note that 
  1015. the $i portion of your PROMPT will enable the help line at the top of the 
  1016. window or screen.  It is not included in the example above.
  1017.  
  1018. To change the background color of your OS/2 command line sessions, modify 
  1019. your CONFIG.SYS file so that this line is changed as shown:
  1020.  
  1021.   SET OS2_SHELL=C:\OS2\CMD.EXE /K BLUESCR.CMD
  1022.  
  1023. changing the drive letter, if necessary.  Then create a file named 
  1024. BLUESCR.CMD which contains the following lines:
  1025.  
  1026.   @ECHO OFF 
  1027.   PROMPT=$e[32;44;1m
  1028.   PROMPT $p$g
  1029.   CLS 
  1030.  
  1031. Save the file to a directory that is named in the SET PATH line of your 
  1032. CONFIG.SYS file.  Reboot.  Then, when you start an OS/2 command line, the 
  1033. background color will be different.  You can change the numbers in the 
  1034. first PROMPT line to obtain different colors.
  1035.  
  1036. If you are using JP Software's 32-bit 4OS2, and you would like the name of 
  1037. the current working directory to appear in the title bar, try using the 
  1038. following command:
  1039.  
  1040.   PROMPT `%@exec[window"%_cwd"]$h[$p]`
  1041.  
  1042.  
  1043.   Related information: 
  1044.  
  1045.   (5.10) Clever Tricks 
  1046.  
  1047.  
  1048. (6.0) Miscellaneous
  1049.  
  1050. The following questions are addressed in this section:
  1051.  
  1052.  (6.1)  What can I do to promote OS/2? 
  1053.  
  1054.  (6.2)  How can I create INF files? 
  1055.  
  1056.  
  1057. (6.1) Promoting OS/2
  1058.  
  1059.  What can I do to promote OS/2? 
  1060.  
  1061. OS/2 is selling well, but there are steps you can take to assure that 
  1062. hardware devices and software will be available for OS/2 in the future.
  1063. Customer requests do matter.
  1064.  
  1065. o Politely, firmly, and repeatedly request driver support from printer, 
  1066. video adapter, and other hardware manufacturers.
  1067.  
  1068. o When you receive a mailing for DOS/Windows software with a postpaid 
  1069. envelope, return the order form marked "Please send information on your 
  1070. OS/2 version."
  1071.  
  1072. o Start a user group at your location.  Contact Gene Barlow (phone 
  1073. 214-402-6456) at IBM or mail ibmpcug@vnet.ibm.com for assistance.  Think 
  1074. about how you can publicize your user group.  For instance, most local 
  1075. newspapers and television stations will print/broadcast meeting 
  1076. announcements for free.  Your local cable television company will be happy 
  1077. to broadcast a videotape of your meeting on the public access channel.
  1078.  
  1079. o Correspond with members of the computer trade press.  Ask for reviews of 
  1080. OS/2 software, hardware compatibility testing with OS/2, OS/2 benchmarking, 
  1081. etc.  Respond politely but forcefully to press you think unfair; praise 
  1082. good reporting.
  1083.  
  1084. o When you purchase a new system, ask the vendor to install OS/2 2.1, and 
  1085. to offer credit for dropping DOS and Windows.  If the vendor refuses, you 
  1086. may wish to take your business elsewhere.  {{ Compaq, Everex, }} AST, 
  1087. Northgate, ALR, Unisys, Dell, Tangent, IBM, and Ariel Design all offer 
  1088. systems with OS/2 2.1 preloaded.
  1089.  
  1090. o Make sure your company (or yourself) specifies OS/2 compatibility when 
  1091. purchasing new products.
  1092.  
  1093. o Demonstrate OS/2 to friends, relatives, and associates.
  1094.  
  1095. o Ask your computer store to stock OS/2 software titles, have OS/2 
  1096. demonstration machines, etc.
  1097.  
  1098. o Pass along useful OS/2 shareware and freeware to your local BBS.  Be sure 
  1099. to register OS/2 shareware.
  1100.  
  1101. o Write an outstanding piece of shareware or freeware [See (4.5) Technical 
  1102. Support for details on joining DAP].  IBM has been known to recognize such 
  1103. work with rewards.  Also, ask authors of DOS/Windows shareware and freeware 
  1104. if they would port to OS/2, or volunteer.
  1105.  
  1106. o Recommend products that work well under OS/2; dissuade people from 
  1107. purchasing products that do not.
  1108.  
  1109. o Wear OS/2 pins, shirts, buttons, and other souvenirs.  Contact the {{ 
  1110. Lees/Keystone OS/2 Merchandise Center (phone 914-273-6755 or FAX 
  1111. 914-273-9187) }} or the IBM OS/2 Hotline (phone 800-3-IBM-OS2) to order 
  1112. such items.
  1113.  
  1114. o Join Team OS/2, {{ an international organization of volunteers who are 
  1115. OS/2 enthusiasts and are actively sharing their knowledge and enthusiasm 
  1116. with others.  These activities include supporting OS/2 user groups, running 
  1117. OS/2 BBSes and online conferences, demonstrating OS/2 at retail stores and 
  1118. other public places, encouraging and helping others to install OS/2, 
  1119. answering OS/2 questions, and much more.  Membership is not limited to IBM 
  1120. employees.  }} For information on Team OS/2 events you should monitor the 
  1121. TEAMOS2 echomail conference on your local FidoNet BBS.  If your local BBS 
  1122. does not carry TEAMOS2, ask your system operator to get it.  See (4.11) 
  1123. OS/2 BBSes for the names and numbers of several BBSes which carry TEAMOS2.
  1124. To join Team OS/2, send your name, address(es), and telephone number to 
  1125. Vicci Conway (netmail 76711.1123@compuserve.com or {{ FAX 407-982-1229 }}).
  1126. {{ Include information on your activities to date and a one line 
  1127. description of yourself for the public Team OS/2 list.  }} 
  1128.  
  1129.  
  1130.   Related information: 
  1131.  
  1132.   (3.2)  Shareware and Freeware Sources 
  1133.   (4.5)  Technical Support 
  1134.   (4.11) OS/2 BBSes 
  1135.  
  1136.  
  1137. (6.2) Creating INF Files
  1138.  
  1139.  How can I create INF files? 
  1140.  
  1141. Creating INF files (like the OS/2 Frequently Asked Questions List) is 
  1142. remarkably straightforward.  All you need is the Information Presentation 
  1143. Facility Compiler (IPFC), part of the IBM Developer's Toolkit for OS/2 2.1 
  1144. (available separately as IBM Part No.  61G1416 or as part of many 
  1145. development environments such as Borland C++ for OS/2), and a text editor 
  1146. (like the Enhanced Editor included with OS/2).
  1147.  
  1148. Online IPFC documentation is included with the Toolkit, but you may also 
  1149. wish to order the printed Information Presentation Facility Guide and 
  1150. Reference, IBM Publication No.  S10G-6262.  See (4.9) Books and Magazines 
  1151. for ordering instructions.  Note that the Toolkit is part of the low cost 
  1152. OS/2 {{ Developer's Connection }} CD-ROM.  See (4.5) Technical Support for 
  1153. details.
  1154.  
  1155. If you wish to include illustrations in your INF file you can use any 
  1156. graphics software which can generate OS/2 bitmaps and/or metafiles.  (For 
  1157. example, you may create your illustration in PM Chart, paste the 
  1158. illustration into Picture Viewer, then save the illustration as a metafile.
  1159. Both PM Chart and Picture Viewer are included with OS/2 2.1.)  A screen 
  1160. capture utility [like PM Camera or Galleria, available from (3.2) Shareware 
  1161. and Freeware Sources] can also prove useful.
  1162.  
  1163.  
  1164.  Related information: 
  1165.  
  1166.  (3.2) Shareware and Freeware Sources 
  1167.  (4.5) Technical Support 
  1168.  (4.9) Books and Magazines 
  1169.  
  1170.  
  1171. (7.0) Glossary
  1172.  
  1173. {{ The following terms are often used in conjunction with OS/2:
  1174.  
  1175. (This section will be completed in a future release of the OS/2 Frequently 
  1176. Asked Questions List.)  }} 
  1177.  
  1178.  
  1179.  Related information: 
  1180.  
  1181. [End of OS/2 Frequently Asked Questions List: User's Edition]
  1182.  
  1183. -- 
  1184. Timothy F. Sipples        | READ the OS/2 Frequently Asked Questions List
  1185. sip1@kimbark.uchicago.edu | 2.1C, available from 192.153.46.2, anonymous
  1186. Dept. of Econ., Univ.     | ftp, in /pub/os2/all/info/faq, or from
  1187. of Chicago, 60637         | LISTSERV@BLEKUL11.BITNET (send "HELP").
  1188.