home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Professional / OS2PRO194.ISO / os2 / info / faq / os2_20 / joes_tip / joest-10.txt < prev    next >
Encoding:
Text File  |  1993-09-11  |  14.5 KB  |  342 lines

  1.                    Joe's OS/2 Tips.
  2.  
  3.                       Number 10
  4.  
  5.          Written by Joseph Mckinnon (61:560/0@Worldnet)
  6.                                     (3:640/830@fidonet)
  7.          Downloaded from Proteus OS/2.
  8.         
  9.          Phone +61-7-344-6012
  10.         
  11.          Hours 24 hours a day
  12.         
  13.          Speeds 300-14400, MNP.
  14. ==========================================================================
  15.  
  16. Introduction.
  17.  
  18.      Long time, no type.  Anyway I'm back with another edition.  To mark
  19.      this release I have finally got my own copy of OS/2 2.1 to play
  20.      with.  Looks good doesn't it.  Fast, fairly bug free.  Also NT has
  21.      been officially released, and some lucky people have got some
  22.      copies, but with a recommend 16+ memory configuration to get
  23.      'reasonable performance' definitely means that NT will restricted to
  24.      the rich few.  The ones with more dollars than sense, as I firmly
  25.      believe that NT is a waste of anyone's resources.
  26.  
  27. ==========================================================================
  28.  
  29. 1. OS/2 2.1
  30. 2. Hobbes OS/2 CD-ROM
  31. 3. Install 2.1 from CD-ROMs that aren't supported directly in 2.1.
  32. 4. NEW SECTION Questions and Answers.
  33. 5. Setting Video Display resolutions.
  34. 6. VisPro/Rexx
  35. 7. A Quick Tip.
  36.  
  37. ==========================================================================
  38.  
  39.                    OS/2 2.1  arrives.
  40.  
  41.     The long awaited new version of OS/2 has arrived, and after 2 months
  42. of trying hard to break it, I can say it's fairly solid.  It's DOS
  43. handling side of things is much tighter than before and now the chances
  44. of a DOS session taking out the entire system are remote.  WIN-OS2 has
  45. been upgraded to support most 3.1 applications, and appears to be very
  46. fast, and much more stable than the real MS version.
  47.  
  48.     What's in the Package?
  49.     Would you believe, 3 inches of reading material!  Yes, IBM listens
  50. to it's critics, and actually supplied hard copy manuals to read at ones
  51. leisure.  And no the rumour of my manual being beside my bed is a little
  52. tall, it's actually on my desk.  There are 2 different versions of this
  53. release, one is the Blue release and the other is the Salmon coloured
  54. release.  The only difference is that IBM has implemented a tighter
  55. compression method, which reduces the number of disks by about 5,
  56. depending on the media of course.
  57.  
  58. ==========================================================================
  59.  
  60.                    Hobbes OS/2 CD-ROM
  61.  
  62.     Have you ever wished to have all the OS/2 offerings at your hands,
  63. for the price of producing this CD-ROM diskette, Walnut Creek provides
  64. you with the best programs for OS/2.  All versions of OS/2 are
  65. supported, not just 2.  Hence this rom is jam-packed with OS/s goodies,
  66. from programs to Information.  Contact your local CD reseller to order
  67. one today, it's well worth the money and is updated quarterly.  If you
  68. order from Walnut Creek directly say Joseph Mckinnon recommended your
  69. CD, but they will probably not recognize the name.
  70.  
  71. ==========================================================================
  72.  
  73.        Install 2.1 from CD-ROMs that aren't supported directly in 2.1.
  74.  
  75.     With the new version of OS/2 we can now have the option to buy a
  76. CD-ROM version of 2.1 and with this we must have either a suitable
  77. system configuration or have a good working knowledge of how to get
  78. around non standard CD-ROM hardware.  I've included a FAX (facts) sheet
  79. from IBM regarding this problem and should be helpful in understanding
  80. the processes involved with installing the CD-ROM version on a
  81. non-supported CD-ROM setup.
  82.  
  83. ==========================================================================
  84.  
  85.    Question and Answers
  86.  
  87.    This is a new section where I shall endeavour to answer ANY queries
  88.    on OS/2.  To contact me, send a message either via E-Mail to
  89.    Josephm@mhs.oz.au or to one of the systems listed at the end of these
  90.    tips.
  91.  
  92.    Question.
  93.  
  94.    Recently I installed OS/2 on my system.  OS/2 configured itself for
  95.    dual booting, which I thought was great, but after going back to DOS
  96.    to run one of my favorite games I couldn't get the Boot /OS2 command
  97.    to work correctly, in that I had to reinstall OS/2 very time I want
  98.    to go from DOS to OS/2.  Is this suppose to happen?  I'm running
  99.    MS-DOS 6.
  100.  
  101.    Answer
  102.       DOS 6's Smartdrv uses a technology called staged writes, which
  103.       enables the computer to continue on processing until either one
  104.       large write to the hard drive, or when the computers CPU isn't
  105.       busy.  This Stage Writing is a very good idea to increase ones
  106.       systems performance, but is also a nightmare for OS/2's BOOT
  107.       command.  Since BOOT must transfer Both DOS's important files to a
  108.       directory and OS/2's boot files to the root directory the stage
  109.       writes keeps the changes in memory and once BOOT is 'finished'
  110.       moving the files it reboots.  Then the system appears to be dead,
  111.       because the Smartdrv program failed to flushes it's stage write
  112.       buffers before rebooting, hence the changes where never completed.
  113.  
  114.       The solution is an easy one.  Write a batch file.  I've included a
  115.       short one for you to use.
  116.  
  117.       BOOTOS2.BAT
  118.          Echo Press Ctrl-Break, if you don't wish to start OS/2.
  119.          Pause
  120.          smartdrv c-
  121.          smartdrv /c
  122.          C:\os2\BOOT /OS2
  123.  
  124.       This batch file assumes the OS/2 system is on drive C, which it
  125.       should be for a dual booting system and that smartdrv is your
  126.       caching programing (which is also in the DOS path).  I'd also add
  127.       all the drives to the smartdrv line so that they are all disabled.
  128.       From now on, your system will be quite useable, as long as you
  129.       follow the above method.  OS/2 to DOS is ok, as BOOT /DOS causes
  130.       OS/2 to perform a cache flush before rebooting, which is what all
  131.       good Multi-tasking OSs should do.
  132.  
  133.  
  134. Question
  135.    Hi,
  136.       I wonder if anybody can help me. I am currently running OS/2 2.0
  137.       and when I open the settings for the workbench they do not display
  138.       on the screen. A review of the window list shows the settings as a
  139.       active window but still the window does not display.
  140.  
  141.       I can't work it out and the books don't appear to address the
  142.       problem directly.
  143.  
  144.       John Stavrinoudis.
  145.  
  146.       --- Maximus 2.01wb
  147.       * Origin: The Bush Telegraph - Sydney - Australia (3:711/454)
  148.  
  149. Answer
  150.  
  151. On the task list, go to the Desktop-Settings line and press your right
  152. mouse button on the application that you can't see, and select CASCADE.
  153. This should solve your problem.  This sometimes happens under the 2.0 GA
  154. especially when you are running under a very minimal system.
  155.  
  156. Also this problem occurs if you have been running at a high video
  157. resolution, and then switched back to a lower resolution.  Since OS/2 stores
  158. the positions of certain objects, in relation to the video mode, it's
  159. quite possible to have OS/2 displaying an object 'off the screen', hence
  160. it's displayed on the Task List, but not on the screen.
  161.  
  162. IBM is including a large manual to rectify the lack of information
  163. available to novice users.  Also A highly recommend OS/2 book is 'OS/2
  164. Unleashed'.
  165.  
  166. Question
  167.  
  168.    I am curious though, about the WIN-OS/2 v3.1 support in v2.1, has anyone
  169.    tried running some of (gasp!) MicroSoft's stuff under it?  I'm mostly
  170.    interested in Visual Basic and MicroSoft Access.
  171.  
  172.    Also, I read a review of MMPM/2 in Byte, but it suggested there was
  173.    support only for IBM's own MultiMedia PS/2... I trust that is no longer
  174.    the case and the MMPM/2 built into OS/2 v2.1 will support my own Ambra
  175.    (and my customers generic clones).
  176.  
  177.    Well that's it ..... thanx  - Stephen -
  178.  
  179.    * SLMR 2.1a * The Enterprise runs OS/2 v9.1 !  (The Ferengi use Win NT)
  180.  
  181.    --- WM v2.06/92-0210
  182.        * Origin: The-Borg BBS! 10 Nodes Edm.AB.Can (62:3200/300)
  183.  
  184. ANSWER
  185.   OS/2 supports both Enhanced and Standard mode operations as expected
  186.   under MS_Windows v3.1, but cannot operate an application that requires
  187.   a VxD mode.  Access works.  Visual Basic, there is a patch from
  188.   Microsoft allowing you to run this package.  Visual REXX may be a
  189.   better alternative as it performs similar functions under OS/2's REXX,
  190.   and since OS/2 applications are system aware, they will utilise OS/2
  191.   resources more efficiently than DOS/Windows applications.
  192.  
  193.   MMPM/2 is not only for IBM's Multi-media PS/2s, but is for any PC
  194.   with the correct gear...With this article there is a listing of
  195.   currently supported Sound Cards/CDROMs and Video cards.
  196.  
  197. ==========================================================================
  198.  
  199.                 Setting Video Display resolutions.
  200.  
  201.       I've been asked to explain how to install different video drivers
  202. and resolutions whilst running OS/2.  The answer is simple, but remains
  203. hidden due to some obscure thinking by IBM.  Instead of the selective
  204. install calling the video installation setup program, we must do it by
  205. hand.  The simplest method is to click on the drives ICON, open the
  206. drive which you have OS/2 installed on to, and open the sub-directory
  207. OS2\INSTALL and click on DSPINSTL.EXE.  DSPINSTL is the Display Driver
  208. Installation Tool.
  209.  
  210.       At this stage you'll require to have either the CD-ROM or the
  211. Video Driver disks handy and your video card's utility diskettes.
  212.  
  213.       Once DSPINSTL is loaded you will have the option to choose which
  214. Display System you'd like to change, in most cases it's the Primary
  215. display, as hardly anyone has 2 monitors connected to the one OS/2
  216. system.  Click the Primary Display option box, then click on OK.
  217.  
  218.       You will now be prompted to select a driver that suits your card,
  219. in some cases the installation program has already selected which video
  220. driver it feels is correct.  There is an option also to select another
  221. driver, use this only if you have OS/2 drivers for your card which state
  222. they are useable under OS/2 ver 2.1GA.  Once you have chosen your
  223. driver, click on OK and the system will do some checking.
  224.  
  225.       This short space of time will either be to run the SVGA program,
  226. in a full screen DOS session, or to start reading from the driver
  227. diskettes (or CD).  If the card is a SVGA compliant card, and OS/2 has
  228. drivers which allow different resolutions, you will be prompted for the
  229. suitable resolution, before it loads the new drivers.
  230.  
  231.       After the drivers are loaded you will be asked to supply your
  232. video cards utility which controls refresh rates, so that OS/2 can
  233. customize the pre-chosen resolution to your system, Otherwise it will
  234. default to the IBM standard for that mode.  You will now be told to
  235. re-start your system, so that the changes take effect.
  236.  
  237.       NOTE: Every time you decide you want to change resolutions, you
  238.       will have to go through the above process.  Unless you are running
  239.       XGA which is configurable form the OS/2_Systems settings.
  240.       Also to run SVGA.EXE you will be required to install the DOS
  241.       support, as SVGA is a DOS only program.
  242.  
  243. ==========================================================================
  244.  
  245.                 VisPro/Rexx - PROMOTIONAL OFFER
  246.  
  247. Robert X. Cringely of InfoWorld Magazine said on the 25th of January, 1993.
  248. "OS/2's time may be here thanks to...Visual Programming with REXX which
  249. brought the house down at a recent OS/2 conference in Colorado...it is
  250. to REXX and OS/2 what Visual Basic is to Windows and DOS."
  251.  
  252. What Can I Do With It?
  253.   - Quickly prototype and develop OS/2 2.x CUA' 91 Applications
  254.   - Generate a small, single .EXE file for license-free distribution
  255.   - Build Client-server programs
  256.   - Migrate existing REXX procedures to the OS/2 2.x GUI environment.
  257. VisPro/REXX gives you access to these OS/2 programming features.
  258.   - Buttons, lists, graphics, sliders and all the CUA '91 controls.
  259.   - Business graphics
  260.   - APPC, HLLAPI and OS/2 2.x Database Manager.
  261.  
  262. System Requirements
  263.   OS/2 2.X
  264.   2 meg of Hard drive space.
  265.  
  266. SPECIAL PRICE   $400
  267. RRP             $499
  268.  
  269. So call me on (07) 345-6761 to order your copy now.
  270.  
  271. On the BBS line (07)344-6012 you will find a Demo version of VisPro/REXX
  272. which is fully functional, except the actual build command, the one
  273. which makes the EXE is missing, so you can find out yourself first hand
  274. how this Brilliant product functions.
  275.                 
  276.  
  277. I've included a sample program made by me with VisPro/REXX, it's Joed, a
  278. basic editor which you can only load and save text files, but gives you an
  279. idea of how easy it is to create an application.  This editor was
  280. created in about 30 minutes.
  281.  
  282. ==========================================================================
  283.  
  284.           Quickie Tip for OS/2.
  285.  
  286.      This Tip came from Peter Stubbs, one of OS/2 Clients.  When he
  287.      first told me, he said 'I suppose I don't have to tell you this, it
  288.      would be like teaching my Grandmother to Suck lemons', well it was a
  289.      new one to me, Thanks.
  290.  
  291.      Under DOS sessions you can set the default directory listing, via
  292.      SET DIRCMD=/A.  This same option(S) can be also used in an OS/2
  293.      session, but it must be configured in your CONFIG.SYS.
  294.  
  295. ==========================================================================
  296.  
  297.  
  298. The End
  299.  
  300. I'm still looking for a method of doing INFs which don't require a lot
  301. of work, is there any tools which would be useful?
  302.  
  303. If you wish to contact me, about various topics I have covered, or if
  304. you have suggestions, the easy method is via a message in one of the
  305. following mail networks in their OS/2 area.
  306.  
  307. WORLDNET             61:6700/1
  308. FIDONET              3:640/830
  309. INTERNET             josephm@mhs.oz.au
  310.  
  311. Or via SNAIL MAIL
  312.  
  313. Joe's OS/2 Tips
  314. 3 Pandanus Street
  315. Sunnybank, QLD, Australia, 4109
  316.  
  317. Or via the BBS
  318.  
  319. +61-7-344-6012
  320. Hours 0700-0215 Australian Eastern Standard Time
  321. 1200-14.4k baud rates.
  322.  
  323. Or Via VOICE
  324.  
  325. +61-7-345-6761
  326.  
  327. Most times I am around the phone, but the answering machine will take
  328. care of you otherwise.  Sorry, I can't afford to return an international
  329. call.
  330.  
  331. DISCLAIMER
  332.    Although I know a lot about OS/2, I am no expert.  Therefore
  333.    information I may pass-on in these tips maybe bogus on some setups.
  334.    All of my knowledge of OS/2 has come from personal experience with
  335.    both my own experiments and my clients.
  336.  
  337.    Since I have now started to directly add adverts to this
  338.    informational package I must add prices will change without notice
  339.    etc.  I am not a big business, I only sell a few items a week, which
  340.    actually helps to pay both my rent and bills on my computer, but if
  341.    you want to make a big order with me, I'll be able to look after you.
  342.