home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 8 Other / 08-Other.zip / nopm01.zip / readme.txt < prev    next >
Text File  |  2002-02-22  |  3KB  |  66 lines

  1. noPM Support for OS/2.
  2. ----------------------
  3.  
  4. You've just unpacked a set of several PM DLLs to organize your work
  5. in OS/2 without PMSHELL, for instance in "cut" OS/2 systems based
  6. on TShell, BootOS2 Shell, etc.
  7. This set should work in any version of OS/2.
  8.  
  9. This archive is absolutely legal and free.
  10.  
  11. Synopsis.
  12. Some text-mode OS/2 programs using PM calls, thus they can't work without
  13. PMSHELL installed, because first call of WinInitialize lead to a system hung.
  14. To avoid this inconvenience I wrote several tiny stubs for such DLL-s,
  15. where I left only necessary functions. Almost all of them just returns
  16. an awaited error code and nothing else. Many others are just redirections
  17. to int 3, because all the programs, I have tested, don't use them at all,
  18. but connect them when .exe module is loaded.
  19.  
  20. All functions are contained in these DLL-s can be seen in the directory 
  21. techinfo\.
  22.  
  23. The only really worked functions are calls of the Prf* API, these functions
  24. are used for .INI files manipulations.
  25. They have following disadvantages (limits):
  26.    only 32-bit versions of calls Prf API have been written;
  27.    there is no any support for OS2.INI and OS2SYS.INI files;
  28.    it is possible to open only 1024 files simultaneously in a system;
  29.    it is possible to open only 1024 files simultaneously in one process;
  30.    every opened .INI file is kept in RAM;
  31.    if file was damaged the error code is always returned.
  32.  
  33. For proper work Prf* functions it is necessary to start inid.exe daemon 
  34. first. This daemon can be started from \config.sys with a line
  35. RUN=Path\inid.exe included, or from a command line on the next way
  36. 'detach Path\inid'.
  37.  
  38. The description for structure of .INI files is available in techinfo\os2ini.pas.
  39.  
  40. There is a special command file named install.cmd to install noPM DLL-s set
  41. into existent system.
  42. To remove noPM use command file named uninstal.cmd. It will return
  43. previous versions of those DLL-s back.
  44. Next command file, tn_patch.cmd, is a patch for IBM telnetd.exe (see below).
  45.  
  46. DLL-s has been tested with the programs listed below:
  47. go.exe, top.exe, tn/2, TVFS, VP, IDA2, IBM TCP Apps (ftp.exe, telnet.exe, 
  48. telnetd, and the rest of standard programs from \tcpip\bin\*.exe), Moylan's 
  49. ftpd, Weasel.
  50.  
  51. Note about telnetd.
  52. IBM's telnetd passes into DosStartSession function a block of parameters with
  53. a size in 50 bytes, that prevents telnetd to work without PMSHELL. 
  54. Provided command file tn_patch.cmd, patches in the telnetd daemon single
  55. byte and restores status-quo.
  56. There is one extra problem with a telnetd I've found - I couldn't force to work
  57. newer versions of telnetdc.exe (from TCP/IP stack versions higher than 4.1).
  58. But you can try to do that and tell me about your experience then ;)
  59.  
  60. ---
  61. name:   Stepan Kazakov
  62. e-mail: madded@mitm.ru
  63. fido:   2:5050/13.29
  64. url:    http://zuko.mitm.ru
  65. irc:    nick zuko or [zuko] in the #os2russian channel in irc-network efnet.
  66.