home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / os / os2 / misc / 29784 < prev    next >
Encoding:
Internet Message Format  |  1992-09-10  |  4.5 KB

  1. Xref: sparky comp.os.os2.misc:29784 comp.os.os2.programmer:4880
  2. Newsgroups: comp.os.os2.misc,comp.os.os2.programmer
  3. Path: sparky!uunet!gatech!news.ans.net!ans.net!db3l
  4. From: db3l@ans.net (David Bolen)
  5. Subject: Re: OS/2 help needed!  comm and speed problems, etc.
  6. Sender: news@ans.net (News Administrator)
  7. Message-ID: <1992Sep11.052720.21425@ans.net>
  8. In-Reply-To: jzawodn@bgsu.edu's message of Thu, 10 Sep 1992 23: 28:24 GMT
  9. Date: Fri, 11 Sep 1992 01:31:04 GMT
  10. References: <BuDyJD.KL3@andy.bgsu.edu>
  11. Organization: Advanced Network & Services, Inc. - Elmsford, NY
  12. Lines: 89
  13.  
  14. In article <BuDyJD.KL3@andy.bgsu.edu> jzawodn@bgsu.edu (jeremy zawodny) writes:
  15.  
  16. >     When using Telemate 3.01 in a dos session (full screen) I
  17. >try to switch to a window (ALT-HOME) and when I do, Telemate
  18. >stopps communicating with the modem.  It doesn't stop communicat-
  19. >ing, it dies altogether.  I have a 16550 AFN on board and am
  20. >using the beta com drivers for OS/2.  I don't know if I have the
  21. >settings correct, but I have COM_DIRECT_ACCESS OFF, COM_HOLD ON,
  22. >and COM_SELECT ALL.  And yes, background execution is turned on. 
  23. >By the way, I am trying to communicate at 57.6kbps.
  24.  
  25. You may not be able to get a COM program in a DOS box to go that fast
  26. reliably.  A couple of things to try would be allowing direct access to
  27. the COM port (via whatever that setting is - I don't have the beta drivers
  28. myself), or if that doesn't help, at least make sure that you have used
  29. the MODE command (in OS/2) to set the COM port to BUFFER=ON (and RTS=HS if
  30. your modem uses hardware flow control).
  31.  
  32. Beyond that, I'd suggest going to an OS/2 package.  The virtual COM driver
  33. can only generate a 1000Hz interrupts or something close to that, and you
  34. may just be trying to drive the virtualized COM port too fast.
  35.  
  36. >     In frustration, I tried to use TE/2 instead.  I couldn't
  37. >even get it to talk to com4.  What's wrong?
  38.  
  39. I'm not familiar with TE/2, so I don't know if that's a intrinsic limitation.
  40. Perhaps someone else can answer this one.
  41.  
  42. >Problem #2: Memory and Speed
  43. >
  44. >     I have 20megs of memory but don't need all of it to load
  45. >applications into.  I would like a sizable hard disk cache (2meg
  46. >or so) to speed up OS/2.  Can I do this?  How can I do this?
  47. >     There is a line in my config.sys file something to the
  48. >effect of "DISKCACHE=384,LW"  What does that mean?  LW?
  49.  
  50. It's dependent on the filesystem you are using.  For any of your FAT
  51. partitions (and the floppy), the DISKCACHE line controls things.  The number
  52. is the size (in Kbytes) of the cache, and the LW turns "lazy writing" on.
  53. Check out the command reference (look in the Information folder) for more
  54. details.
  55.  
  56. If you have an HPFS drive, then the size of the cache is set in the /C: option
  57. on the IFS= line that loads HPFS.IFS.  Lazy writing is activated by running
  58. the CACHE.EXE program (in config.sys, RUN=, or later from the command line)
  59. with the /LAZY:ON option.  It's enabled by default if your C: is HPFS.
  60. For further information, see "CACHE" or "IFS (HPFS.IFS)" in the command
  61. reference.
  62.  
  63. >     While I'm at it, what do the following lines mean, too (also
  64. >taken from my OS/2 config.sys):
  65. >
  66. >     THREADS=256
  67. >     MAXWAIT=3
  68. >     PRIORITY_DISK_IO=YES
  69. >     CODEPAGE=437,850
  70.  
  71. These are also all documented in the online command reference as are all,
  72. or at least theoretically all, of the commands you can use on the command
  73. line, in batch files (non-Rexx) or in config.sys.  Briefly:
  74.  
  75.     THREADS  = Maximum active threads (execution contexts) in system
  76.     MAXWAIT  = How long a regular priority thread waits (in s) before
  77.            OS/2 will automatically increase its priority.
  78.     PRIORITY_DISK_IO = Gives foreground processes priority for disk
  79.            I/O over background processes.
  80.     CODEPAGE = Specifies one or more character sets that can be used on
  81.            the system.  Provides internationalization support.  In
  82.            your case, 437 is the US code page, and 850 the
  83.            multilingual.
  84.  
  85. >     In addition, can I have a ramdisk under OS/2?  If so, how
  86. >can I do this?  If not, why not?
  87.  
  88. Sure - just load the VDISK device driver.  See "DEVICE (VDISK.SYS)" in the
  89. online command reference.
  90.  
  91.  
  92. Basically - check out the online command reference.  It'll give you more
  93. detailed information on all of your Problem #2.
  94.  
  95. --
  96. -- David
  97. --
  98. /-----------------------------------------------------------------------\
  99.  \              David Bolen             \  Internet: db3l@ans.net      /
  100.   |   Advanced Network & Services, Inc.   \   Phone: (914) 789-5327   |
  101.  / 100 Clearbrook Road, Elmsford, NY 10523  \   Fax: (914) 789-5310    \
  102. \-----------------------------------------------------------------------/
  103.