home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 15 Message / 15-Message.zip / UU991030.zip / Uh991029.txt < prev    next >
Text File  |  1999-10-30  |  107KB  |  3,071 lines

  1.  
  2.                    comp.os.os2.programmer.misc      (Usenet)
  3.  
  4.                  Saturday, 23-Oct-1999 to Friday, 29-Oct-1999
  5.  
  6. +----------------------------------------------------------------------------+
  7.  
  8. From: ilya@math.ohio-state.edu                          22-Oct-99 18:59:26
  9.   To: All                                               23-Oct-99 04:42:01
  10. Subj: DosSetFileSize on HPFS386
  11.  
  12. From: ilya@math.ohio-state.edu (Ilya Zakharevich)
  13.  
  14. The test suite of Perl runs OK on HPFS, but is reported to have one
  15. subtest failure on HPFS386.  AFAIU, this difference boils down to a
  16. difference in semantic of DosSetFileSize() on HPFS386/HPFS.
  17.  
  18. On HPFS the directory entry for the file is immediately updated.  On
  19. HPFS386 the directory entry is updated only after (?) the file is is
  20. closed.
  21.  
  22. From the scarce documentation of DosSetFileSize() I cannot deduce
  23. whether the behaviour on HPFS386 is a bug.  Any comments?
  24.  
  25. Thanks,
  26. Ilya
  27.  
  28. --- WtrGate+ v0.93.p7 sn 165
  29.  * Origin: Usenet: Department of Mathematics, The Ohio State Univers
  30. (1:109/42)
  31.  
  32. +----------------------------------------------------------------------------+
  33.  
  34. From: ilya@math.ohio-state.edu                          22-Oct-99 19:04:13
  35.   To: All                                               23-Oct-99 04:42:01
  36. Subj: DSOM, SOMFOREIGN, and somId
  37.  
  38. From: ilya@math.ohio-state.edu (Ilya Zakharevich)
  39.  
  40. I have a pretty old version of toolkit (from DevCon 11 ;-), and it
  41. says that DSOM cannot dispatch anything related to SOMFOREIGN,
  42. including somId.
  43.  
  44. AFAIU, this should enormously complicate writing "absolutely dynamic"
  45. DSOM interface, when *nothing* is known until compile time.
  46.  
  47. Was this restriction lifted in later releases?
  48.  
  49. Are my estimates too pessimistic?  If yes, why OREXX needs to install
  50. a special WPS class to access WPS objects?
  51.  
  52. Ilya
  53.  
  54. --- WtrGate+ v0.93.p7 sn 165
  55.  * Origin: Usenet: Department of Mathematics, The Ohio State Univers
  56. (1:109/42)
  57.  
  58. +----------------------------------------------------------------------------+
  59.  
  60. From: barrowcl@flash.net                                22-Oct-99 21:53:14
  61.   To: All                                               23-Oct-99 04:42:02
  62. Subj: Delete a pipe
  63.  
  64. From: "George Barrowcliff" <barrowcl@flash.net>
  65.  
  66. I need to delete \pipe\npm0 that was left over by Lan Server Printer Utility
  67. so I can reuse it.  Deleting it from the PORT window stays deleted until a
  68. reboot and then it comes back.
  69.  
  70. TIA GWB
  71.  
  72.  
  73. --- WtrGate+ v0.93.p7 sn 165
  74.  * Origin: Usenet: Bergen Brunswig (1:109/42)
  75.  
  76. +----------------------------------------------------------------------------+
  77.  
  78. From: ilya@math.ohio-state.edu                          23-Oct-99 05:08:26
  79.   To: All                                               23-Oct-99 04:42:02
  80. Subj: somVaBuf: no trace whatsoever
  81.  
  82. From: ilya@math.ohio-state.edu (Ilya Zakharevich)
  83.  
  84. I'm playing with SOM sample code in .inf files, but cannot compile
  85. whatever mentions somVaBuf.  There is no file (except 2 .inf files
  86. ;-) in the whole toolkit (of DevCon 11) which mentions these words (I
  87. did case-insensitive search - does not help)...
  88.  
  89. Now what?
  90.  
  91. Ilya
  92.  
  93. --- WtrGate+ v0.93.p7 sn 165
  94.  * Origin: Usenet: Department of Mathematics, The Ohio State Univers
  95. (1:109/42)
  96.  
  97. +----------------------------------------------------------------------------+
  98.  
  99. From: kh@no.spam.munot.demon.co.uk                      23-Oct-99 11:24:29
  100.   To: All                                               23-Oct-99 10:32:23
  101. Subj: Dump Formatter (PMDF) help requested
  102.  
  103. From: kh@no.spam.munot.demon.co.uk (Kevin)
  104.  
  105. I have a large complex application that hangs from time to time. Only
  106. the application process is hung - the rest of OS/2 and other processes
  107. continue to run. I have tried every process killer I could find, but
  108. nothing will kill the application when it is hung. This leads me to
  109. believe it is blocked in ring 0.
  110.  
  111. I have managed to get a dump from only one occurrance of the hang so
  112. far. The process has a single thread that is blocked on an unnamed
  113. private semaphore. I would like to try to unwind the stack to see
  114. where it last left the application. The R command displays the
  115. registers, but when it tries to display the current instruction it
  116. prints the message 'Invalid linear address 5b:17f4d3' (for example,
  117. don't have the actual address to hand). The same thing happens with
  118. any commands that use the stack address. I have looked at two other
  119. slots. One worked fine with the R command, the other also gave the
  120. invalid linear address message. Is this a fluke? Will I be able to get
  121. any further with this dump? Am I likely to have better luck if I
  122. manage to capture another dump?
  123.  
  124. The only other information I have is that the address in EIP appears
  125. to belong to the VAC++ runtime DLL.
  126.  
  127. Thanks for any help,
  128. Kevin
  129.  
  130. --- WtrGate+ v0.93.p7 sn 165
  131.  * Origin: Usenet: Organization (1:109/42)
  132.  
  133. +----------------------------------------------------------------------------+
  134.  
  135. From: rde@tavi.co.uk                                    23-Oct-99 12:22:02
  136.   To: All                                               23-Oct-99 14:34:07
  137. Subj: Re: Access to floppy disks in c programs
  138.  
  139. From: rde@tavi.co.uk (Bob Eager)
  140.  
  141. On Wed, 13 Oct 1999 17:33:22, "Andrew Volkov" 
  142. <volkov_andrew@hotmail.com> wrote:
  143.  
  144. > I have disk: 2 head, 80 tracks, 16 sectros and sector size if 256 bytes.
  145. > How i can access to this disk in my c/c++  program?
  146. > I use DosDevIOCtl DSK_READTRACK function but it returns SECTOR_NOT_FOUND
  147. > error... :(
  148.  
  149. You need to use DSK_SETDEVICEPARAMS first
  150.  
  151. Remember to save the old setting and put it back afterwards...
  152.  
  153. -- 
  154. Bob Eager
  155. rde at tavi.co.uk
  156. PC Server 325; PS/2s 8595*3, 9595*3 (2*P60 + P90), 8535, 8570, 9556*2,
  157. 8580*6,
  158. 8557*2, 8550, 9577, 8530, P70, PC/AT..
  159.  
  160. --- WtrGate+ v0.93.p7 sn 165
  161.  * Origin: Usenet: Tavi Systems (1:109/42)
  162.  
  163. +----------------------------------------------------------------------------+
  164.  
  165. From: robmv@promca.com                                  23-Oct-99 10:47:25
  166.   To: mmcclelland@delphi.com                            23-Oct-99 14:34:07
  167. Subj: Re: dynamic loadable driver (OS/2)?????
  168.  
  169. To: Mark McClelland <mmcclelland@delphi.com>
  170. From: Robert Marcano <robmv@promca.com>
  171.  
  172. Este es un mensaje de varias partes en formato MIME.
  173. --------------522B6BFCB36FAC92BEBBC9C7
  174. Content-Type: text/plain; charset=iso-8859-1
  175. Content-Transfer-Encoding: 8bit
  176.  
  177. Probably IBM is working on that, because the VACPP 4.0 documentation says
  178. about "dld" as an OS2 target... Check for the target directive for icc files.
  179.  
  180. Mark McClelland escribió:
  181.  
  182. > I think a DLD is a Windown (WDM?) driver. No such equivalent thing
  183. > exists in OS/2 to my knowledge. It would require some heavy-duty
  184. > rewriting of the kernel and much better kernel exception management (not
  185. > that Win98 is very much better than OS/2 in that regard)
  186. >
  187. > ---
  188. > Mark McClelland
  189. > mmcclelland@delphi.com
  190. > Get paid to surf the web! Visit to www.easydough.com for more info.
  191. >
  192. > Robert Marcano wrote:
  193. > >
  194. > > I am making a device driver with VisualAge C++ 4.0 for OS/2, and
  195. > > looking on the online help I found the term: "dynamic loadable driver",
  196. > >
  197. > > that use the extension "dld" (Sounds like a good thing, but this is the
  198. > >
  199. > > first time that I hear about it). But no more information than that,
  200. > > Can somebody help me and tell me how it works?, how can I build one or
  201. > > where to find information about that?
  202. > >
  203. > > TIA
  204.  
  205. --------------522B6BFCB36FAC92BEBBC9C7
  206. Content-Type: text/x-vcard; charset=us-ascii;
  207.  name="robmv.vcf"
  208. Content-Transfer-Encoding: 7bit
  209. Content-Description: Tarjeta para Robert Marcano
  210. Content-Disposition: attachment;
  211.  filename="robmv.vcf"
  212.  
  213. begin:vcard 
  214. n:Marcano Varela;Robert Jesús
  215. tel;fax:(+582) 9591729
  216. tel;home:(+5816) 6218891
  217. tel;work:(+582)9 591665
  218. x-mozilla-html:TRUE
  219. org:Programación Mecanizada C.A. (PROMCA)
  220. adr:;;CCCT, 1ra Etapa, piso 2, oficina 205,
  221. Chuao;Caracas;Miranda;1060;Venezuela
  222. version:2.1
  223. email;internet:robmv@promca.com
  224. title:System Architect
  225. note;quoted-printable:Certified VisualAge for Smalltalk Associate
  226. Developer=0D=0ACertified VisualAge for C++ Associate Developer=0D=0ACertified
  227. OS/2 Warp Engineer
  228. x-mozilla-cpt:;15136
  229. fn:Robert Jesús Marcano Varela
  230. end:vcard
  231.  
  232. --------------522B6BFCB36FAC92BEBBC9C7--
  233.  
  234. --- WtrGate+ v0.93.p7 sn 165
  235.  * Origin: Usenet: =?iso-8859-1?Q?Programaci=F3n?= Mecanizada C.A. (
  236. (1:109/42)
  237.  
  238. +----------------------------------------------------------------------------+
  239.  
  240. From: cwr@cts.com                                       24-Oct-99 01:48:11
  241.   To: All                                               24-Oct-99 05:23:24
  242. Subj: Re: Emulating dialog using control windows
  243.  
  244. From: Will Rose <cwr@cts.com>
  245.  
  246. Branch Systems <branchsys@anz.co.nz> wrote:
  247. : I am trying to emulate another app of mine that uses a dialog box, by using
  248. : WinCreateStdWindow to createthe frame and client and then using
  249. : WinCreateWindow in the WM_CREATE processing to create the individual control
  250. : windows - some static texts, two entryfields some group boxes and a
  251. : pushbutton.
  252. : I have managed to create size and position the controls ok, but the major
  253. : problem is the key handling - the default dialog window processing seems to
  254. : handle:
  255. : - an ENTER key  resulting in the default pushbutton being pushed
  256. : - tabbing from field to field
  257. : I have no managed to get the two above tasks to work.
  258. : Does anyone have a code for a working example of a similar app that they
  259. : could post?
  260.  
  261. You need to subclass the frame window and intercept the tab and enter
  262. WM_CHAR messages - a similar sub-routine follows:
  263.  
  264. /*
  265.  * C o n t F r a m e S u b
  266.  *
  267.  * Subclass the container frame window procedure.
  268.  *
  269.  * Catch the WM_QUERYTRACKINFO message to control the
  270.  * resizing of the frame window, and catch the TAB key
  271.  * to change focus.
  272.  */
  273. MRESULT EXPENTRY ContFrameSub(HWND hwnd, ULONG msg,
  274.                 MPARAM parm1, MPARAM parm2)
  275. {
  276.   ULONG u;
  277.   TRACKINFO t, *pt;
  278.   PFNWP pfn;
  279.   MRESULT mr;
  280.   BOOL rc;
  281.  
  282.   /* get the side in use */
  283.   if (WinQueryWindowUShort(hwnd, QWS_ID) == IDF_LEFT_CONT) {
  284.     pfn = pfnLeftContProc;
  285.     u = TF_RIGHT;
  286.   }
  287.   else {
  288.     pfn = pfnRightContProc;
  289.     u = TF_LEFT;
  290.   }
  291.  
  292.   switch(msg) {
  293.  
  294.   case WM_QUERYTRACKINFO:
  295.     mr = (*pfn)(hwnd, msg, parm1, parm2);
  296.     pt = (TRACKINFO *)parm2;
  297.     pt->fs &= ~TF_MOVE;
  298.     pt->fs |= u;
  299.     break;
  300.  
  301.   case WM_CHAR:
  302.     if (SHORT1FROMMP(parm2) == '\t'
  303.             /* the control seems to grab the keydowns */
  304.             && (SHORT1FROMMP(parm1) | KC_KEYUP)
  305.             && (SHORT1FROMMP(parm1) | KC_CHAR)
  306.             && WinQueryFocus(HWND_DESKTOP) != hwnd) {
  307.         rc = WinPostMsg(hwndGlobalFrame, UM_FOCUS,
  308.                 MPFROM2SHORT(0, 1), MPFROMHWND(hwnd));
  309.         mr = (MRESULT) TRUE;
  310.     }
  311.     else
  312.         mr = (*pfn)(hwnd, msg, parm1, parm2);
  313.     break;
  314.  
  315.   default:
  316.     mr = (*pfn)(hwnd, msg, parm1, parm2);
  317.     break;
  318.   }
  319.  
  320.   return mr;
  321. }
  322.  
  323.  
  324. Will
  325. cwr@crash.cts.com
  326.  
  327. --- WtrGate+ v0.93.p7 sn 165
  328.  * Origin: Usenet: CTS Network Services (1:109/42)
  329.  
  330. +----------------------------------------------------------------------------+
  331.  
  332. From: sma.spam-not@rtd.com                              24-Oct-99 06:06:06
  333.   To: All                                               24-Oct-99 05:23:24
  334. Subj: Watcom C++ and STL
  335.  
  336. From: James Moe <sma.spam-not@rtd.com>
  337.  
  338. Hello,
  339.     Does Watcom C++ do STL? I have v11.0 of the Watcom compiler and it
  340. does not care for a particular item: "ptrdiff_t." Wherever ptrdiff_t
  341. occurs a syntax error is raised.
  342.  
  343.  
  344. -- 
  345.  
  346. sma at rtd dot com
  347. Remove ".spam-not" for email
  348.  
  349. --- WtrGate+ v0.93.p7 sn 165
  350.  * Origin: Usenet: Sohnen-Moe Associates, Inc (1:109/42)
  351.  
  352. +----------------------------------------------------------------------------+
  353.  
  354. From: root@microsoft.com                                24-Oct-99 08:59:24
  355.   To: All                                               24-Oct-99 10:19:13
  356. Subj: IPX programming under OS/2?
  357.  
  358. From: root@microsoft.com (Bart/2 (Bartosz Tomasik))
  359.  
  360. Hi, Are there any libs for IPX/SPX programming under OS/2 Warp 
  361. (Toolkit contains only TCP/IP libs...)
  362. -------------------------------------------------
  363.  Bart/2 irc:Ihsahn Bart2@asua.org.pl UIN:50890586
  364.  Asu'a member    http://www.asua.org.pl
  365.  TeamOS/2 Polska http://www.teamos2.org.pl
  366.  
  367. --- WtrGate+ v0.93.p7 sn 165
  368.  * Origin: Usenet: Asu'a <http://www.asua.org.pl> (1:109/42)
  369.  
  370. +----------------------------------------------------------------------------+
  371.  
  372. From: robmv@promca.com                                  23-Oct-99 13:07:13
  373.   To: All                                               24-Oct-99 16:44:17
  374. Subj: WPS class WPINSTALL
  375.  
  376. From: Robert Marcano <robmv@promca.com>
  377.  
  378. Este es un mensaje de varias partes en formato MIME.
  379. --------------3FD33EA5EDAEB8B638C0A342
  380. Content-Type: text/plain; charset=us-ascii
  381. Content-Transfer-Encoding: 7bit
  382.  
  383. I created an Instance of the class WPINSTALL in my desktop (the one
  384. that uses Feature Installer plugin, and that installed products
  385. generated in the directory (C:\OS2\INSTALL\Installed Features). The
  386. objects in this directory are read only, and can deinstall part or
  387. products entirely.
  388.  
  389. The instance that I created is not read only, I can add information to
  390. each page of the settings notebook, and it has three additional options
  391. in th popup menu: "Package", "Response file> save" and "Response
  392. file>Read". When I choose Package, and the information in the setting
  393. in OK, it generates part of the files required by "Feature Installer".
  394.  
  395. Where can I obtain the Feature Installer Toolkit, because the help say
  396. that it exist:
  397. Extracted from the help of the object WPInstall:
  398.  
  399.  "Install objects are used for creating custom installations.  A
  400.  developer may use install objects to configure an installation of
  401. their
  402.  application.  The configured installation object is then shipped with
  403.  the application to be installed by the user.  Therefore, an
  404. installation
  405.  object has two modes: development mode and user mode.
  406.  
  407.  Install objects are derived from WPFolder and so can be thought of
  408.  as a special type of folder.  The install object opens in tree view by
  409.  
  410.  default, but may also be opened in icon or details view.  Note that
  411.  the Properties notebook  contains several new pages in addition to
  412.  the standard folder pages.  The settings pages are filled in by the
  413.  developer to tell the install object what to do during the
  414. installation
  415.  process.
  416.  
  417.  Create a new install object from the Feature Install Object template
  418.  in the Feature Install folder.
  419. ...
  420.  
  421.  The Feature Install program provides a general purpose development
  422.  environment for assisting in the development of install objects.  The
  423.  Feature Install folder contains the following objects:
  424.  
  425.        Developer
  426.        Feature Install Object
  427.        Feature Install Samples
  428.        Install Helper
  429.        TEMPLATE
  430.        TOOLKIT
  431.        Uninstall Feature Install Toolkit
  432.        User
  433.  
  434.  
  435.  
  436.  
  437.  
  438. --------------3FD33EA5EDAEB8B638C0A342
  439. Content-Type: text/x-vcard; charset=us-ascii;
  440.  name="robmv.vcf"
  441. Content-Transfer-Encoding: 7bit
  442. Content-Description: Tarjeta para Robert Marcano
  443. Content-Disposition: attachment;
  444.  filename="robmv.vcf"
  445.  
  446. begin:vcard 
  447. n:Marcano Varela;Robert Jesús
  448. tel;fax:(+582) 9591729
  449. tel;home:(+5816) 6218891
  450. tel;work:(+582)9 591665
  451. x-mozilla-html:TRUE
  452. org:Programación Mecanizada C.A. (PROMCA)
  453. adr:;;CCCT, 1ra Etapa, piso 2, oficina 205,
  454. Chuao;Caracas;Miranda;1060;Venezuela
  455. version:2.1
  456. email;internet:robmv@promca.com
  457. title:System Architect
  458. note;quoted-printable:Certified VisualAge for Smalltalk Associate
  459. Developer=0D=0ACertified VisualAge for C++ Associate Developer=0D=0ACertified
  460. OS/2 Warp Engineer
  461. x-mozilla-cpt:;15136
  462. fn:Robert Jesús Marcano Varela
  463. end:vcard
  464.  
  465. --------------3FD33EA5EDAEB8B638C0A342--
  466.  
  467.  
  468. --- WtrGate+ v0.93.p7 sn 165
  469.  * Origin: Usenet: =?iso-8859-1?Q?Programaci=F3n?= Mecanizada C.A. (
  470. (1:109/42)
  471.  
  472. +----------------------------------------------------------------------------+
  473.  
  474. From: timurkz@saxz.mmbank.ru                            25-Oct-99 03:11:16
  475.   To: All                                               24-Oct-99 21:21:06
  476. Subj: Re: IPX programming under OS/2?
  477.  
  478. From: "Timur Kazimirov" <timurkz@saxz.mmbank.ru>
  479.  
  480. On 24 Oct 1999 08:59:49 GMT, Bart/2 (Bartosz Tomasik) wrote:
  481.  
  482. >Hi, Are there any libs for IPX/SPX programming under OS/2 Warp 
  483.  
  484. I suppose you have to contact with Novell Inc., to get access to
  485. NetWare SDK or description of NWCALLS.DLL functions as a
  486. minimum.
  487.  
  488.  
  489.  
  490. With best regards,
  491.  
  492. Timur Kazimirov
  493. ===================
  494. @if you want to reply me delete all "z" from address
  495.  
  496.  
  497.  
  498. --- WtrGate+ v0.93.p7 sn 165
  499.  * Origin: Usenet: INKOMBANK, Sakhalin Branch (1:109/42)
  500.  
  501. +----------------------------------------------------------------------------+
  502.  
  503. From: yourself@127.0.0.1                                25-Oct-99 04:44:27
  504.   To: All                                               25-Oct-99 03:26:09
  505. Subj: Re: WPS class WPINSTALL
  506.  
  507. From: yourself@127.0.0.1 (Rich Walsh)
  508.  
  509. On Sat, 23 Oct 1999 19:07:27, Robert Marcano <robmv@promca.com> wrote:
  510.  
  511. > I created an Instance of the class WPINSTALL in my desktop (the one
  512. > that uses Feature Installer plugin, and that installed products
  513. > generated in the directory (C:\OS2\INSTALL\Installed Features). The
  514. > objects in this directory are read only, and can deinstall part or
  515. > products entirely.
  516. > The instance that I created is not read only, I can add information to
  517. > each page of the settings notebook, and it has three additional options
  518. > in th popup menu: "Package", "Response file> save" and "Response
  519. > file>Read". When I choose Package, and the information in the setting
  520. > in OK, it generates part of the files required by "Feature Installer".
  521. > Where can I obtain the Feature Installer Toolkit, because the help say
  522. > that it exist:
  523. [snip]
  524.  
  525. This has come up before - check deja.com for details.  AFAIK, IBM
  526. has never released the Toolkit nor licensed the runtime package
  527. (which you have) for use in creating new packages.  I wouldn't use
  528. it for commercial or shareware products without first contacting IBM.
  529.  
  530.  
  531.    == == almost usable email address:  rlwalshATpacket.net == ==
  532. ___________________________________________________________________
  533.  
  534.                 |             - DragText v3.1 -
  535. Rich Walsh      |  A Distinctly Different Desktop Enhancement
  536. Ft Myers, FL    |  New!  Pickup & Drop for text, and more...
  537.                 |  http://www.usacomputers.net/personal/rlwalsh/
  538. ___________________________________________________________________
  539.  
  540. --- WtrGate+ v0.93.p7 sn 165
  541.  * Origin: Usenet: http://extra.newsguy.com (1:109/42)
  542.  
  543. +----------------------------------------------------------------------------+
  544.  
  545. From: m.karsch@ath.nl                                   25-Oct-99 11:00:18
  546.   To: All                                               25-Oct-99 10:31:28
  547. Subj: Re: How do I read and write ethernet packets?
  548.  
  549. From: Michiel Karsch <m.karsch@ath.nl>
  550.  
  551. Try to find documentation on acslan (dll in ibmcom/dll) here you have
  552. access at LLC level (802.2)
  553. It is documented but i don't rember where.
  554.  
  555. Michiel
  556.  
  557. Niclas Lindström wrote:
  558.  
  559. > Niclas Lindström wrote:
  560. > >
  561. > > Are there any API's in OS/2 that can be used to read and
  562. > > write ethernet frames directly from/to the lan-adapter so
  563. > > I can analyze the ethernet header, modify it and send it
  564. > > back out on the ethernet again..?
  565. > >
  566. >
  567. > Ok, I believe I will have to write my own intermediate
  568. > NDIS-driver. Does anyone know were I can find good source
  569. > samples for NDIS drivers. I just downloaded the DDK from
  570. > IBM and at the first look at the sample in there (a token
  571. > ring driver) it looks too complex. I guess it includes
  572. > hardware access and things like that, but my driver only
  573. > need to access the existing NDIS driver and act as any
  574. > NDIS driver towards the application (TCP/IP-stack)...
  575. >
  576. > Regards
  577. > Niclas Lindström
  578.  
  579. --- WtrGate+ v0.93.p7 sn 165
  580.  * Origin: Usenet: WorldOnline News server (1:109/42)
  581.  
  582. +----------------------------------------------------------------------------+
  583.  
  584. From: elaffoon@jps.net                                  24-Oct-99 12:49:23
  585.   To: All                                               25-Oct-99 10:31:28
  586. Subj: Running CGI and Perl modules in OS/2
  587.  
  588. From: Eric Laffoon <elaffoon@jps.net>
  589.  
  590. Does anyone know how to get this to work? I have two questions...
  591. 1) How do I get my system to run CGI scripts from the browser without
  592. having to upload to the site to test? I can run perl, so it seems I
  593. should be able to do this.
  594.  
  595. 2) I have downloaded CGI-pm and even though I have Perl5 installed I
  596. can't seem to run modules. I've been through the Perl.inf file OS/2
  597. section... as far as I can tell this is some configuration nightmare!!!
  598. There are files everywhere, non-existant paths indicated with errors,
  599. totally erroneous data returned with the -v option...
  600.  
  601. I am limited to basic perl on my system right now... I've found a newer
  602. perl5.exe (5.00445 or something) and most all documentation and setup is
  603. two years old. Does anybody do this in OS/2 or should I just partition
  604. and boot Linux?
  605.  
  606. Eric Laffoon
  607.  
  608. --- WtrGate+ v0.93.p7 sn 165
  609.  * Origin: Origin Line 1 Goes Here (1:109/42)
  610.  
  611. +----------------------------------------------------------------------------+
  612.  
  613. From: leonz@ibm.net                                     25-Oct-99 10:17:06
  614.   To: All                                               25-Oct-99 10:31:28
  615. Subj: Re: WPS class WPINSTALL
  616.  
  617. From: leonz@ibm.net (Leon D. Zetekoff)
  618.  
  619. On Mon, 25 Oct 1999 04:44:54, yourself@127.0.0.1 (Rich Walsh) wrote:
  620.  
  621. Hi there...
  622.  
  623. > On Sat, 23 Oct 1999 19:07:27, Robert Marcano <robmv@promca.com> wrote:
  624.  
  625. <snip>
  626.  
  627. > > The instance that I created is not read only, I can add information to
  628. > > each page of the settings notebook, and it has three additional options
  629. > > in th popup menu: "Package", "Response file> save" and "Response
  630. > > file>Read". When I choose Package, and the information in the setting
  631. > > in OK, it generates part of the files required by "Feature Installer".
  632. > > 
  633. > > Where can I obtain the Feature Installer Toolkit, because the help say
  634. > > that it exist:
  635. > [snip]
  636. > This has come up before - check deja.com for details.  AFAIK, IBM
  637. > has never released the Toolkit nor licensed the runtime package
  638. > (which you have) for use in creating new packages.  I wouldn't use
  639. > it for commercial or shareware products without first contacting IBM.
  640.  
  641. I've been after IBM ever since they abandoned the Software Installer. 
  642. Recently I tried again and they refuse to make it public. Talk about 
  643. tunnelvision.
  644.  
  645. Take care, leon
  646.  
  647. --- WtrGate+ v0.93.p7 sn 165
  648.  * Origin: Usenet: Z&K Enterprises (1:109/42)
  649.  
  650. +----------------------------------------------------------------------------+
  651.  
  652. From: rosenbergerb@my-deja.com                          25-Oct-99 13:33:08
  653.   To: All                                               25-Oct-99 14:48:15
  654. Subj: Non-functioning scrollbars
  655.  
  656. From: Bobbi Rosenberger <rosenbergerb@my-deja.com>
  657.  
  658.  
  659. We have a customer that purchased on OS/2 application from us.
  660.  
  661. This customer is telling me that none of the scrollbars in our
  662. application, or any other application (e.g. the OS/2 Window List)
  663. are working.
  664.  
  665. Page-Up, Page-Down, and Arrow keys work.  But using the mouse
  666. with the scrollbar doesn't work.  The mouse works otherwise, for
  667. selecting menu options, etc.
  668.  
  669. Has anyone seen this behavior?  The field engineer at the customer
  670. site is ready to re-install OS/2 to fix the problem, but I think
  671. that is a drastic measure.
  672.  
  673. The customer is running OS/2 3.0.
  674.  
  675. Any help would be appreciated.
  676.  
  677.  
  678.  
  679.  
  680. Sent via Deja.com http://www.deja.com/
  681. Before you buy.
  682.  
  683. --- WtrGate+ v0.93.p7 sn 165
  684.  * Origin: Usenet: Deja.com - Before you buy. (1:109/42)
  685.  
  686. +----------------------------------------------------------------------------+
  687.  
  688. From: jdosbor@revealed.net                              25-Oct-99 08:33:02
  689.   To: All                                               25-Oct-99 14:48:15
  690. Subj: netscape for OS/2 2.02 DDE info?
  691.  
  692. From: "jim osborne" <jdosbor@revealed.net>
  693.  
  694. netscape removed the link from their site -
  695. home.netscape.com/newsref/std/ddeapi.html,  anyone have this info they can
  696. send me?
  697. jim osborne  jdosbor@revealed.net
  698.  
  699.  
  700. --- WtrGate+ v0.93.p7 sn 165
  701.  * Origin: Usenet: http://extra.newsguy.com (1:109/42)
  702.  
  703. +----------------------------------------------------------------------------+
  704.  
  705. From: ilya@math.ohio-state.edu                          25-Oct-99 15:42:15
  706.   To: All                                               25-Oct-99 14:48:15
  707. Subj: Re: WPS class WPINSTALL
  708.  
  709. From: ilya@math.ohio-state.edu (Ilya Zakharevich)
  710.  
  711. [A complimentary Cc of this posting was sent to Leon D. Zetekoff
  712. <leonz@ibm.net>],
  713. who wrote in article <tHwke3MKmMK7-pn2-3BI2uf76RzSw@shana.stiscan.com>:
  714. > I've been after IBM ever since they abandoned the Software Installer. 
  715. > Recently I tried again and they refuse to make it public. Talk about 
  716. > tunnelvision.
  717.  
  718. Given what piece of junk SoftInstaller was, I'm not surprised.  Is
  719. Feature Installer similar in crappiness?  I have never seen it...
  720.  
  721. Ilya
  722.  
  723. --- WtrGate+ v0.93.p7 sn 165
  724.  * Origin: Usenet: Department of Mathematics, The Ohio State Univers
  725. (1:109/42)
  726.  
  727. +----------------------------------------------------------------------------+
  728.  
  729. From: lyn@zolotek.REMOVE-SPAM.com                       25-Oct-99 20:24:22
  730.   To: All                                               25-Oct-99 19:06:15
  731. Subj: Re: Running CGI and Perl modules in OS/2
  732.  
  733. From: lyn@zolotek.REMOVE-SPAM.com
  734.  
  735. On Sun, 24 Oct 1999 16:49:46, Eric Laffoon <elaffoon@jps.net> wrote:
  736.  
  737. > Does anyone know how to get this to work? I have two questions...
  738. > 1) How do I get my system to run CGI scripts from the browser without
  739. > having to upload to the site to test? I can run perl, so it seems I
  740. > should be able to do this.
  741.  
  742. Rename the script foo.cmd, and add as the first line:
  743. extproc perl -S
  744.  
  745. > 2) I have downloaded CGI-pm and even though I have Perl5 installed I
  746. > can't seem to run modules. I've been through the Perl.inf file OS/2
  747. > section... as far as I can tell this is some configuration nightmare!!!
  748. > There are files everywhere, non-existant paths indicated with errors,
  749. > totally erroneous data returned with the -v option...
  750. > I am limited to basic perl on my system right now... I've found a newer
  751. > perl5.exe (5.00445 or something) and most all documentation and setup is
  752. > two years old. Does anybody do this in OS/2 or should I just partition
  753. > and boot Linux?
  754.  
  755. The latest version is 5.00553, available directly from Ilya 
  756. Zakharevich's site (the porter and maintainer), at 
  757. ftp://ftp.math.ohio-state.edu/pub/users/ilya/. This installs 
  758. automatically without any problems, and adds paths to config.sys. 
  759. Running perl -v returns only pertinent data - I suggest that the first
  760. thing to do is update perl. There should be no need to use Linux, 
  761. unless you need some particular feature which doesn't work the same on
  762. OS/2 - the .inf manual covers all this. Certainly running .cgi scripts
  763. as .cmd works fine here in general. Though having said that, I do have
  764. a particular perl programme (very complex) which will not - yet - run 
  765. quite the same under OS/2 as under Linux.
  766.  
  767.  
  768. > Eric Laffoon
  769. Cheers
  770. Lyn St George
  771. lyn at zolotek dot com
  772.  
  773. --- WtrGate+ v0.93.p7 sn 165
  774.  * Origin: Origin Line 1 Goes Here (1:109/42)
  775.  
  776. +----------------------------------------------------------------------------+
  777.  
  778. From: rmahoney@_REMOVE_THIS_netusa.net                  25-Oct-99 23:16:25
  779.   To: All                                               25-Oct-99 21:17:19
  780. Subj: Re: netscape for OS/2 2.02 DDE info?
  781.  
  782. From: rmahoney@_REMOVE_THIS_netusa.net (Robert Mahoney)
  783.  
  784. On Mon, 25 Oct 1999 13:33:04, "jim osborne" <jdosbor@revealed.net> 
  785. wrote:
  786.  
  787. > netscape removed the link from their site -
  788. > home.netscape.com/newsref/std/ddeapi.html,  anyone have this info they can
  789. > send me?
  790.  
  791.   Try this:
  792.  
  793. http://developer.netscape.com:80/docs/manuals/communicator/DDE/index.h
  794. tml
  795.  
  796. Bob
  797. --
  798. Robert Mahoney
  799. 2Rud Software and Consulting
  800. http://www.netusa.net/~rmahoney
  801.  
  802. --- WtrGate+ v0.93.p7 sn 165
  803.  * Origin: Usenet: 2Rud Software (1:109/42)
  804.  
  805. +----------------------------------------------------------------------------+
  806.  
  807. From: jdparker@erols.com                                25-Oct-99 23:48:29
  808.   To: All                                               26-Oct-99 05:14:19
  809. Subj: DosDevIOCtl questions
  810.  
  811. From: Jim Parker <jdparker@erols.com>
  812.  
  813. I've got an old IBM C/C++ compiler Toolkit for OS/2 2.1. Included in the
  814. Toolkit header files is bsedev.h which includes a define for
  815. DSK_READTRACK which appears to be a function handled by DosDevIOCtl
  816. which will allow me to read a specific sector from a disk. However, I
  817. don't have any documentation which shows how to use DosDevIOCtl to do
  818. that. Basically what I want to do is: given a drive spec (E.g., x:) and
  819. a cylinder/ header/ sector, read the sector into a buffer.
  820.  
  821. How do I do that? Is there a book available which explains this sort of
  822. thing? Is it still available?
  823.  
  824. Thanks
  825. Jim
  826.  
  827. --- WtrGate+ v0.93.p7 sn 165
  828.  * Origin: Origin Line 1 Goes Here (1:109/42)
  829.  
  830. +----------------------------------------------------------------------------+
  831.  
  832. From: cotroneo@stny.rr.com                              26-Oct-99 10:38:20
  833.   To: All                                               26-Oct-99 20:25:02
  834. Subj: Re: ftp client code upload problem
  835.  
  836. From: cotroneo@stny.rr.com
  837.  
  838. In <38155666.B370049@rtd.com>, James Moe <sma.spam-not@rtd.com> writes:
  839. >
  840. >
  841. >cotroneo@stny.rr.com wrote:
  842. >> 
  843. >> Hello all,
  844. >> 
  845. >> I have been working on an ftp client written in c for
  846. >> over a year. The program works flawlessly when communicating
  847. >> with a unix or os/2 server.
  848. >> 
  849. >> Recently, I placed an ftp server on a win95 machine. In testing my
  850. >> client, I found that downloads worked well, but consistenly, the
  851. >> uploads to the win95 machine would allways come up short in bytes.
  852. >> 
  853. >> I am really perplexed about this since I find no problems uploading
  854. >> to other systems.
  855. >> 
  856. >> Anyone have any thoughts. I am reaching for straws here.
  857. >> 
  858. >    At the risk of offering the obvious: Did you transfer in binary
  859. >mode?
  860. >    I cannot imagine why it would be different for win95. Perhaps the
  861. >other systems default to binary whereas the win95 system defaults to
  862. >text?
  863. >
  864.  
  865. The client automatically sets binary mode before the transfer.
  866. I can watch it send every bit of the file, but for win95, the
  867. last 10th of the file doesn't transfer. Really strange....
  868.  
  869. Keith Cotroneo
  870. cotroneo@stny.rr.com
  871.  
  872. --- WtrGate+ v0.93.p7 sn 165
  873.  * Origin: Usenet: Time Warner Road Runner - Binghamton NY (1:109/42)
  874.  
  875. +----------------------------------------------------------------------------+
  876.  
  877. From: kh@no.spam.munot.demon.co.uk                      26-Oct-99 19:51:18
  878.   To: All                                               26-Oct-99 20:25:02
  879. Subj: Re: Dump Formatter (PMDF) help requested
  880.  
  881. From: kh@no.spam.munot.demon.co.uk (Kevin)
  882.  
  883. found the problem. Analysing a dump from a PC with FP10 on a machine
  884. with FP4 and the version of PMDF from base. Upgraded to the new PMDF
  885. from FP10 and everything works!
  886.  
  887. Now my question is with a semaphore wait in the VAC++ runtime exit
  888. list processing.
  889.  
  890. It appears that my application has trapped E, although no trap screen
  891. was displayed. The task status indicates that the application is
  892. terminating and is in exit list processing. Thread 1 is waiting on a
  893. private unnamed semaphore. DOS32WAITEVENTSEM was called from within
  894. the C runtime. Unwinding the stack, I find that it was ultimately
  895. called from a routine called __RunExitList in the C runtime. Does
  896. anyone know what the semaphore is for, why it hasn't been cleared, or
  897. what to do to fix this problem?
  898.  
  899. Thanks,
  900. Kevin
  901.  
  902. On Sat, 23 Oct 1999 11:24:58 GMT, kh@no.spam.munot.demon.co.uk (Kevin)
  903. wrote:
  904.  
  905. >I have a large complex application that hangs from time to time. Only
  906. >the application process is hung - the rest of OS/2 and other processes
  907. >continue to run. I have tried every process killer I could find, but
  908. >nothing will kill the application when it is hung. This leads me to
  909. >believe it is blocked in ring 0.
  910. >
  911. >I have managed to get a dump from only one occurrance of the hang so
  912. >far. The process has a single thread that is blocked on an unnamed
  913. >private semaphore. I would like to try to unwind the stack to see
  914. >where it last left the application. The R command displays the
  915. >registers, but when it tries to display the current instruction it
  916. >prints the message 'Invalid linear address 5b:17f4d3' (for example,
  917. >don't have the actual address to hand). The same thing happens with
  918. >any commands that use the stack address. I have looked at two other
  919. >slots. One worked fine with the R command, the other also gave the
  920. >invalid linear address message. Is this a fluke? Will I be able to get
  921. >any further with this dump? Am I likely to have better luck if I
  922. >manage to capture another dump?
  923. >
  924. >The only other information I have is that the address in EIP appears
  925. >to belong to the VAC++ runtime DLL.
  926. >
  927. >Thanks for any help,
  928. >Kevin
  929.  
  930. --- WtrGate+ v0.93.p7 sn 165
  931.  * Origin: Usenet: Organization (1:109/42)
  932.  
  933. +----------------------------------------------------------------------------+
  934.  
  935. From: kh@no.spam.munot.demon.co.uk                      26-Oct-99 19:51:19
  936.   To: All                                               26-Oct-99 20:25:02
  937. Subj: App hangs waiting on semaphore in C runtime exit list processing
  938.  
  939. From: kh@no.spam.munot.demon.co.uk (Kevin)
  940.  
  941. I have a large complex application that hangs from time to time. Only
  942. the application process is hung - the rest of OS/2 and other processes
  943. continue to run. I have tried every process killer I could find, but
  944. nothing will kill the application when it is hung. This leads me to
  945. believe it is blocked in ring 0.
  946.  
  947. I have managed to get a dump from only one occurrance of the hang so
  948. far. The process has a single thread that is blocked on an unnamed
  949. private semaphore. It appears that my application has trapped E,
  950. although no trap screen was displayed. The task status indicates that
  951. the application is terminating and is in exit list processing. Thread
  952. 1 is waiting on a private unnamed semaphore. DOS32WAITEVENTSEM was
  953. called from within the C runtime. Unwinding the stack, I find that it
  954. was ultimately called from a routine called __RunExitList in the C
  955. runtime. Does anyone know what the semaphore is for, why it hasn't
  956. been cleared, or what to do to fix this problem?
  957.  
  958. Thanks,
  959. Kevin
  960.  
  961. --- WtrGate+ v0.93.p7 sn 165
  962.  * Origin: Usenet: Organization (1:109/42)
  963.  
  964. +----------------------------------------------------------------------------+
  965.  
  966. From: cotroneo@stny.rr.com                              26-Oct-99 23:14:12
  967.   To: All                                               28-Oct-99 10:23:12
  968. Subj: Re: ftp client code upload problem
  969.  
  970. From: cotroneo@stny.rr.com
  971.  
  972. In <47fkd6T3ejeb-pn2-OgZSFhKKFdCI@tivv>, tvv@sbs.kiev.ua (Vit Timchishin)
  973. writes:
  974. >On Tue, 26 Oct 1999 10:38:41, cotroneo@stny.rr.com wrote:
  975. >
  976. >> In <38155666.B370049@rtd.com>, James Moe <sma.spam-not@rtd.com> writes:
  977. >> >
  978. >> >
  979. >> >cotroneo@stny.rr.com wrote:
  980. >> >> 
  981. >> >> Hello all,
  982. >> >> 
  983. >> >> I have been working on an ftp client written in c for
  984. >> >> over a year. The program works flawlessly when communicating
  985. >> >> with a unix or os/2 server.
  986. >> >> 
  987. >> >> Recently, I placed an ftp server on a win95 machine. In testing my
  988. >> >> client, I found that downloads worked well, but consistenly, the
  989. >> >> uploads to the win95 machine would allways come up short in bytes.
  990. >> >> 
  991. >> >> I am really perplexed about this since I find no problems uploading
  992. >> >> to other systems.
  993. >> >> 
  994. >> >> Anyone have any thoughts. I am reaching for straws here.
  995. >> >> 
  996. >> >    At the risk of offering the obvious: Did you transfer in binary
  997. >> >mode?
  998. >> >    I cannot imagine why it would be different for win95. Perhaps the
  999. >> >other systems default to binary whereas the win95 system defaults to
  1000. >> >text?
  1001. >> >
  1002. >> 
  1003. >> The client automatically sets binary mode before the transfer.
  1004. >> I can watch it send every bit of the file, but for win95, the
  1005. >> last 10th of the file doesn't transfer. Really strange....
  1006. >Do you shutdown socket properly? Or simply closes it (DATA connection)? This
  1007. can
  1008. >be an answer
  1009.  
  1010. I issue a soclose on the datasocket:
  1011.        soclose( iDataSocket );
  1012.  
  1013. Strange thing is that I am not having this problem when I use rxftp.dll
  1014. to upload. My C client is having the problem, but only to the server
  1015. running on my windows machine. Uploads to unix or os/2 servers do
  1016. fine.
  1017.  
  1018. I have wonder if the transmission speed of the c client is choking
  1019. the win95 server. Strange that it allways seems to error at the last
  1020. 10% of the file.
  1021.  
  1022. Keith Cotroneo
  1023. cotroneo@stny.rr.com
  1024.  
  1025. --- WtrGate+ v0.93.p7 sn 165
  1026.  * Origin: Usenet: Time Warner Road Runner - Binghamton NY (1:109/42)
  1027.  
  1028. +----------------------------------------------------------------------------+
  1029.  
  1030. From: jdparker@erols.com                                26-Oct-99 21:58:04
  1031.   To: thannymeister@.yahoo.com                          28-Oct-99 10:23:12
  1032. Subj: Re: DosDevIOCtl questions
  1033.  
  1034. To: Mike Ruskai <thannymeister@.yahoo.com>
  1035. From: Jim Parker <jdparker@erols.com>
  1036.  
  1037. Mike Ruskai wrote:
  1038.  
  1039. > On Mon, 25 Oct 1999 23:48:59 -0400, Jim Parker wrote:
  1040. >
  1041. > >I've got an old IBM C/C++ compiler Toolkit for OS/2 2.1. Included in the
  1042. > >Toolkit header files is bsedev.h which includes a define for
  1043. > >DSK_READTRACK which appears to be a function handled by DosDevIOCtl
  1044. > >which will allow me to read a specific sector from a disk. However, I
  1045. > >don't have any documentation which shows how to use DosDevIOCtl to do
  1046. > >that. Basically what I want to do is: given a drive spec (E.g., x:) and
  1047. > >a cylinder/ header/ sector, read the sector into a buffer.
  1048. > >
  1049. > >How do I do that? Is there a book available which explains this sort of
  1050. > >thing? Is it still available?
  1051. >
  1052. > You should have the toolkit documentation, which does give a reasonably
  1053. > competent explanation for how to use category 8 I/O functions.
  1054. >
  1055. > It just so happens that I've been doing a lot of that lately, so here's an
  1056. > example, that reads the boot record for the specified drive.  That boot
  1057. > record will be either the master boot record, in the case of a primary
  1058. > partition, or the logical boot record, in the case of a logical drive.
  1059. >
  1060. > That is, if you give the drive letter of a primary partition, the sector
  1061. read
  1062. > will be the Master Boot Record of the drive (the first sector).  If you give
  1063. > the drive letter of a logical drive in an extended partition, the sector
  1064. read
  1065. > will be the fake boot record with the partition table pointing to the
  1066. logical
  1067. > drive you gave as a parameter, and, if there are more logical drives in the
  1068. > extended partition after it, the next fake boot record.
  1069. >
  1070. > The BIOSPARAMETERBLOCK structure (variable bpBlock in this program) has
  1071. > information about the drive geometry, which would let you check your CHS
  1072. > bounds, and convert a sector offset into a CHS value.
  1073. >
  1074. > I've found that DosDevIOCtl() fails if you have a value of anything other
  1075. > than 0 for the usFirstSector element of the TRACKLAYOUT structure.
  1076. >
  1077. > #define INCL_DOSDEVICES
  1078. > #define INCL_DOSDEVIOCTL
  1079. > #define INCL_DOSFILEMGR
  1080. > #define INCL_DOSERRORS
  1081. > #include <os2.h>
  1082. > #include <string.h>
  1083. > #include <stdlib.h>
  1084. > #include <stdio.h>
  1085. > #include <ctype.h>
  1086. >
  1087. > #define FAIL_USAGE 3
  1088. > #define FAIL_BAD_DRIVE_STRING 4
  1089. > #define FAIL_INVALID_DRIVE 5
  1090. > #define FAIL_UNKNOWN_FSTYPE 6
  1091. > #define FAIL_OPEN_DRIVE 8
  1092. > #define FAIL_UNKNOWN_SECTOR_SIZE 10
  1093. > #define FAIL_BAD_SECTOR_SIZE 11
  1094. > #define FAIL_READ_DRIVE 13
  1095. > #define FAIL_MEMORY_ALLOCATION 15
  1096. >
  1097. > _Inline void Usage(void);
  1098. > _Inline void rcReportError(char *fName, ULONG rc);
  1099. > _Inline void ReportError(char *eString);
  1100. >
  1101. > int main(int argc, char *argv[])
  1102. > {
  1103. >     HFILE driveHandle;
  1104. >     ULONG openAction, openMode, bufLen, bpParmLen, bpDataLen,
  1105. >           driveNum, smParm, dPointer, cRead;
  1106. >     int i;
  1107. >     APIRET rc;
  1108. >     char driveString[3], driveLetter, *fsStuff, bpParm[2], bpData[50],
  1109. >          *sdata;
  1110. >     USHORT sectorSize;
  1111. >     FSQBUFFER2 *fsBuffer;
  1112. >     BIOSPARAMETERBLOCK bpBlock;
  1113. >     TRACKLAYOUT *tl;
  1114. >     FSALLOCATE fsa;
  1115. >     FILE *dataFile;
  1116. >
  1117. >     if (argc!=2)
  1118. >         {
  1119. >         Usage();
  1120. >         return FAIL_USAGE;
  1121. >         }
  1122. >
  1123. >     memset(driveString, 0, sizeof(driveString));
  1124. >     strncpy(driveString, argv[1], sizeof(driveString)-1);
  1125. >
  1126. >     /*
  1127. >         The following verifies that the drive letter provided
  1128. >         is a letter from A to Z, and that the second character
  1129. >         is a colon
  1130. >     */
  1131. >
  1132. >     driveLetter=toupper(driveString[0]);
  1133. >     if (driveLetter<65 || driveLetter>90 || driveString[1]!=':')
  1134. >         {
  1135. >         ReportError("Invalid drive string provided.");
  1136. >         Usage();
  1137. >         return FAIL_BAD_DRIVE_STRING;
  1138. >         }
  1139. >
  1140. >     /*
  1141. >         This next bit uses DosOpen() to open the entire drive for reading.
  1142. >     */
  1143. >
  1144. >     openMode=0;
  1145. >     openMode=openMode | OPEN_FLAGS_DASD | OPEN_ACCESS_READONLY |
  1146. > OPEN_SHARE_DENYNONE;
  1147. >     rc=DosOpen(driveString, &driveHandle, &openAction, 0L, 0L, FILE_OPEN,
  1148. > openMode, 0L);
  1149. >     if (rc!=NO_ERROR)
  1150. >         {
  1151. >         ReportError("Unable to open drive.");
  1152. >         rcReportError("DosOpen", rc);
  1153. >         return FAIL_OPEN_DRIVE;
  1154. >         }
  1155. >
  1156. >     /*
  1157. >         Here we use a category 8, function 0x63 call to DosDevIOCtl()
  1158. >         to determine the physical sector size of the drive in question.
  1159. >         This information is necessary to correctly set the file
  1160. >         pointer to the location of the partition status byte.  The only
  1161. >         checking done is to verify that the returned value is greater
  1162. >         than zero.  Otherwise, the program relies entirely on the
  1163. >         validity of the data in the BIOS Parameter Block, which is just
  1164. >         a label for certain information contained in the boot sector.
  1165. >     */
  1166. >
  1167. >     memset(bpParm, 0, sizeof(bpParm));
  1168. >     memset(bpData, 0, sizeof(bpData));
  1169. >     bpParmLen=0;
  1170. >     bpDataLen=0;
  1171. >     rc=DosDevIOCtl(driveHandle, IOCTL_DISK, DSK_GETDEVICEPARAMS,
  1172. >                    bpParm, sizeof(bpParm), &bpParmLen,
  1173. >                    bpData, sizeof(bpData), &bpDataLen);
  1174. >
  1175. >     if (rc!=NO_ERROR)
  1176. >         {
  1177. >         DosClose(driveHandle);
  1178. >         ReportError("Unable to determine sector size.");
  1179. >         rcReportError("DosDevIOCtl", rc);
  1180. >         return FAIL_UNKNOWN_SECTOR_SIZE;
  1181. >         }
  1182. >
  1183. >     memset(&bpBlock, 0, sizeof(bpBlock));
  1184. >     memcpy(&bpBlock, bpData, sizeof(bpBlock));
  1185. >     sectorSize=0;
  1186. >     sectorSize=bpBlock.usBytesPerSector;
  1187. >     if (sectorSize==0)
  1188. >         {
  1189. >         DosClose(driveHandle);
  1190. >         ReportError("Bad sector size returned by DosDevIOCtl().");
  1191. >         return FAIL_BAD_SECTOR_SIZE;
  1192. >         }
  1193. >
  1194. >     bpParmLen=sizeof(TRACKLAYOUT)+sizeof(ULONG);
  1195. >     tl=(PTRACKLAYOUT)malloc(bpParmLen);
  1196. >     if (tl==NULL)
  1197. >         {
  1198. >         DosClose(driveHandle);
  1199. >         ReportError("Memory allocation error.");
  1200. >         return FAIL_MEMORY_ALLOCATION;
  1201. >         }
  1202. >
  1203. >     bpDataLen=sectorSize;
  1204. >
  1205. >     sdata=(char*)malloc(bpDataLen);
  1206. >     if (sdata==NULL)
  1207. >         {
  1208. >         DosClose(driveHandle);
  1209. >         ReportError("Memory allocation error.");
  1210. >         return FAIL_MEMORY_ALLOCATION;
  1211. >         }
  1212. >     memset(sdata, 0, bpDataLen);
  1213. >
  1214. >     /*
  1215. >         The head and cylinder numbers are relative to the beginning of
  1216. >         the "logical drive", which for a logical drive in the extended
  1217. >         partition is the partition table immediately preceding the drive,
  1218. >         and for a primary partition is the physical drive it's on.
  1219. >     */
  1220. >
  1221. >     tl->bCommand=0;
  1222. >     tl->usHead=0;
  1223. >     tl->usCylinder=0;
  1224. >     tl->usFirstSector=0;
  1225. >     tl->cSectors=1;
  1226. >
  1227. >     tl->TrackTable[0].usSectorNumber=1;
  1228. >     tl->TrackTable[0].usSectorSize=sectorSize;
  1229. >
  1230. >     rc=DosDevIOCtl(driveHandle, IOCTL_DISK, DSK_READTRACK, tl,
  1231. >                    bpParmLen, &bpParmLen, sdata, bpDataLen, &bpDataLen);
  1232. >
  1233. >     if (rc!=NO_ERROR)
  1234. >         {
  1235. >         DosClose(driveHandle);
  1236. >         ReportError("Unable to read boot record.");
  1237. >         rcReportError("DosDevIOCtl", rc);
  1238. >         return FAIL_READ_DRIVE;
  1239. >         }
  1240. >
  1241. >     dataFile=fopen("sectdata.dat", "wb");
  1242. >     fwrite(sdata, sectorSize, 1, dataFile);
  1243. >     fclose(dataFile);
  1244. >
  1245. >     printf("\n%d-byte boot record written to sectdata.dat\n", sectorSize);
  1246. >
  1247. >     free(tl);
  1248. >     free(sdata);
  1249. >
  1250. >     DosClose(driveHandle);
  1251. >
  1252. >     return 0;
  1253. > }
  1254. >
  1255. > /*
  1256. >     This just shows the program usage, which is exceedingly simple.
  1257. > */
  1258. >
  1259. > _Inline void Usage(void)
  1260. > {
  1261. >     ReportError("Usage: ioex.exe <drive letter>");
  1262. >     ReportError("<drive letter> - letter of drive to read boot record
  1263. from");
  1264. >     return;
  1265. > }
  1266. >
  1267. > /*
  1268. >     These next two just clean up error reporting in the main function.
  1269. >     The first gives a generic API function failure message.  The second
  1270. >     just writes a string.  Both go to standard error.
  1271. > */
  1272. >
  1273. > _Inline void rcReportError(char *fName, ULONG rc)
  1274. > {
  1275. >     fprintf(stderr, "\n%s() failed with error %d\n", fName, rc);
  1276. >     return;
  1277. > }
  1278. >
  1279. > _Inline void ReportError(char *eString)
  1280. > {
  1281. >     fprintf(stderr, "\n%s\n", eString);
  1282. >     return;
  1283. > }
  1284. >
  1285. > --
  1286. >  - Mike
  1287. >
  1288. > Remove 'spambegone' to send e-mail.
  1289.  
  1290. Thank you, thank you, thank you.
  1291.  
  1292. Works like a champ.
  1293.  
  1294. Jim
  1295.  
  1296.  
  1297.  
  1298. --- WtrGate+ v0.93.p7 sn 165
  1299.  * Origin: Origin Line 1 Goes Here (1:109/42)
  1300.  
  1301. +----------------------------------------------------------------------------+
  1302.  
  1303. From: jdparker@erols.com                                26-Oct-99 21:58:24
  1304.   To: thannymeister@.yahoo.com                          28-Oct-99 10:23:12
  1305. Subj: Re: DosDevIOCtl questions
  1306.  
  1307. To: thannymeister@.yahoo.com
  1308. From: Jim Parker <jdparker@erols.com>
  1309.  
  1310. Mike Ruskai wrote:
  1311.  
  1312. > On Mon, 25 Oct 1999 23:48:59 -0400, Jim Parker wrote:
  1313. >
  1314. > >I've got an old IBM C/C++ compiler Toolkit for OS/2 2.1. Included in the
  1315. > >Toolkit header files is bsedev.h which includes a define for
  1316. > >DSK_READTRACK which appears to be a function handled by DosDevIOCtl
  1317. > >which will allow me to read a specific sector from a disk. However, I
  1318. > >don't have any documentation which shows how to use DosDevIOCtl to do
  1319. > >that. Basically what I want to do is: given a drive spec (E.g., x:) and
  1320. > >a cylinder/ header/ sector, read the sector into a buffer.
  1321. > >
  1322. > >How do I do that? Is there a book available which explains this sort of
  1323. > >thing? Is it still available?
  1324. >
  1325. > You should have the toolkit documentation, which does give a reasonably
  1326. > competent explanation for how to use category 8 I/O functions.
  1327. >
  1328. > It just so happens that I've been doing a lot of that lately, so here's an
  1329. > example, that reads the boot record for the specified drive.  That boot
  1330. > record will be either the master boot record, in the case of a primary
  1331. > partition, or the logical boot record, in the case of a logical drive.
  1332. >
  1333. > That is, if you give the drive letter of a primary partition, the sector
  1334. read
  1335. > will be the Master Boot Record of the drive (the first sector).  If you give
  1336. > the drive letter of a logical drive in an extended partition, the sector
  1337. read
  1338. > will be the fake boot record with the partition table pointing to the
  1339. logical
  1340. > drive you gave as a parameter, and, if there are more logical drives in the
  1341. > extended partition after it, the next fake boot record.
  1342. >
  1343. > The BIOSPARAMETERBLOCK structure (variable bpBlock in this program) has
  1344. > information about the drive geometry, which would let you check your CHS
  1345. > bounds, and convert a sector offset into a CHS value.
  1346. >
  1347. > I've found that DosDevIOCtl() fails if you have a value of anything other
  1348. > than 0 for the usFirstSector element of the TRACKLAYOUT structure.
  1349. >
  1350. > #define INCL_DOSDEVICES
  1351. > #define INCL_DOSDEVIOCTL
  1352. > #define INCL_DOSFILEMGR
  1353. > #define INCL_DOSERRORS
  1354. > #include <os2.h>
  1355. > #include <string.h>
  1356. > #include <stdlib.h>
  1357. > #include <stdio.h>
  1358. > #include <ctype.h>
  1359. >
  1360. > #define FAIL_USAGE 3
  1361. > #define FAIL_BAD_DRIVE_STRING 4
  1362. > #define FAIL_INVALID_DRIVE 5
  1363. > #define FAIL_UNKNOWN_FSTYPE 6
  1364. > #define FAIL_OPEN_DRIVE 8
  1365. > #define FAIL_UNKNOWN_SECTOR_SIZE 10
  1366. > #define FAIL_BAD_SECTOR_SIZE 11
  1367. > #define FAIL_READ_DRIVE 13
  1368. > #define FAIL_MEMORY_ALLOCATION 15
  1369. >
  1370. > _Inline void Usage(void);
  1371. > _Inline void rcReportError(char *fName, ULONG rc);
  1372. > _Inline void ReportError(char *eString);
  1373. >
  1374. > int main(int argc, char *argv[])
  1375. > {
  1376. >     HFILE driveHandle;
  1377. >     ULONG openAction, openMode, bufLen, bpParmLen, bpDataLen,
  1378. >           driveNum, smParm, dPointer, cRead;
  1379. >     int i;
  1380. >     APIRET rc;
  1381. >     char driveString[3], driveLetter, *fsStuff, bpParm[2], bpData[50],
  1382. >          *sdata;
  1383. >     USHORT sectorSize;
  1384. >     FSQBUFFER2 *fsBuffer;
  1385. >     BIOSPARAMETERBLOCK bpBlock;
  1386. >     TRACKLAYOUT *tl;
  1387. >     FSALLOCATE fsa;
  1388. >     FILE *dataFile;
  1389. >
  1390. >     if (argc!=2)
  1391. >         {
  1392. >         Usage();
  1393. >         return FAIL_USAGE;
  1394. >         }
  1395. >
  1396. >     memset(driveString, 0, sizeof(driveString));
  1397. >     strncpy(driveString, argv[1], sizeof(driveString)-1);
  1398. >
  1399. >     /*
  1400. >         The following verifies that the drive letter provided
  1401. >         is a letter from A to Z, and that the second character
  1402. >         is a colon
  1403. >     */
  1404. >
  1405. >     driveLetter=toupper(driveString[0]);
  1406. >     if (driveLetter<65 || driveLetter>90 || driveString[1]!=':')
  1407. >         {
  1408. >         ReportError("Invalid drive string provided.");
  1409. >         Usage();
  1410. >         return FAIL_BAD_DRIVE_STRING;
  1411. >         }
  1412. >
  1413. >     /*
  1414. >         This next bit uses DosOpen() to open the entire drive for reading.
  1415. >     */
  1416. >
  1417. >     openMode=0;
  1418. >     openMode=openMode | OPEN_FLAGS_DASD | OPEN_ACCESS_READONLY |
  1419. > OPEN_SHARE_DENYNONE;
  1420. >     rc=DosOpen(driveString, &driveHandle, &openAction, 0L, 0L, FILE_OPEN,
  1421. > openMode, 0L);
  1422. >     if (rc!=NO_ERROR)
  1423. >         {
  1424. >         ReportError("Unable to open drive.");
  1425. >         rcReportError("DosOpen", rc);
  1426. >         return FAIL_OPEN_DRIVE;
  1427. >         }
  1428. >
  1429. >     /*
  1430. >         Here we use a category 8, function 0x63 call to DosDevIOCtl()
  1431. >         to determine the physical sector size of the drive in question.
  1432. >         This information is necessary to correctly set the file
  1433. >         pointer to the location of the partition status byte.  The only
  1434. >         checking done is to verify that the returned value is greater
  1435. >         than zero.  Otherwise, the program relies entirely on the
  1436. >         validity of the data in the BIOS Parameter Block, which is just
  1437. >         a label for certain information contained in the boot sector.
  1438. >     */
  1439. >
  1440. >     memset(bpParm, 0, sizeof(bpParm));
  1441. >     memset(bpData, 0, sizeof(bpData));
  1442. >     bpParmLen=0;
  1443. >     bpDataLen=0;
  1444. >     rc=DosDevIOCtl(driveHandle, IOCTL_DISK, DSK_GETDEVICEPARAMS,
  1445. >                    bpParm, sizeof(bpParm), &bpParmLen,
  1446. >                    bpData, sizeof(bpData), &bpDataLen);
  1447. >
  1448. >     if (rc!=NO_ERROR)
  1449. >         {
  1450. >         DosClose(driveHandle);
  1451. >         ReportError("Unable to determine sector size.");
  1452. >         rcReportError("DosDevIOCtl", rc);
  1453. >         return FAIL_UNKNOWN_SECTOR_SIZE;
  1454. >         }
  1455. >
  1456. >     memset(&bpBlock, 0, sizeof(bpBlock));
  1457. >     memcpy(&bpBlock, bpData, sizeof(bpBlock));
  1458. >     sectorSize=0;
  1459. >     sectorSize=bpBlock.usBytesPerSector;
  1460. >     if (sectorSize==0)
  1461. >         {
  1462. >         DosClose(driveHandle);
  1463. >         ReportError("Bad sector size returned by DosDevIOCtl().");
  1464. >         return FAIL_BAD_SECTOR_SIZE;
  1465. >         }
  1466. >
  1467. >     bpParmLen=sizeof(TRACKLAYOUT)+sizeof(ULONG);
  1468. >     tl=(PTRACKLAYOUT)malloc(bpParmLen);
  1469. >     if (tl==NULL)
  1470. >         {
  1471. >         DosClose(driveHandle);
  1472. >         ReportError("Memory allocation error.");
  1473. >         return FAIL_MEMORY_ALLOCATION;
  1474. >         }
  1475. >
  1476. >     bpDataLen=sectorSize;
  1477. >
  1478. >     sdata=(char*)malloc(bpDataLen);
  1479. >     if (sdata==NULL)
  1480. >         {
  1481. >         DosClose(driveHandle);
  1482. >         ReportError("Memory allocation error.");
  1483. >         return FAIL_MEMORY_ALLOCATION;
  1484. >         }
  1485. >     memset(sdata, 0, bpDataLen);
  1486. >
  1487. >     /*
  1488. >         The head and cylinder numbers are relative to the beginning of
  1489. >         the "logical drive", which for a logical drive in the extended
  1490. >         partition is the partition table immediately preceding the drive,
  1491. >         and for a primary partition is the physical drive it's on.
  1492. >     */
  1493. >
  1494. >     tl->bCommand=0;
  1495. >     tl->usHead=0;
  1496. >     tl->usCylinder=0;
  1497. >     tl->usFirstSector=0;
  1498. >     tl->cSectors=1;
  1499. >
  1500. >     tl->TrackTable[0].usSectorNumber=1;
  1501. >     tl->TrackTable[0].usSectorSize=sectorSize;
  1502. >
  1503. >     rc=DosDevIOCtl(driveHandle, IOCTL_DISK, DSK_READTRACK, tl,
  1504. >                    bpParmLen, &bpParmLen, sdata, bpDataLen, &bpDataLen);
  1505. >
  1506. >     if (rc!=NO_ERROR)
  1507. >         {
  1508. >         DosClose(driveHandle);
  1509. >         ReportError("Unable to read boot record.");
  1510. >         rcReportError("DosDevIOCtl", rc);
  1511. >         return FAIL_READ_DRIVE;
  1512. >         }
  1513. >
  1514. >     dataFile=fopen("sectdata.dat", "wb");
  1515. >     fwrite(sdata, sectorSize, 1, dataFile);
  1516. >     fclose(dataFile);
  1517. >
  1518. >     printf("\n%d-byte boot record written to sectdata.dat\n", sectorSize);
  1519. >
  1520. >     free(tl);
  1521. >     free(sdata);
  1522. >
  1523. >     DosClose(driveHandle);
  1524. >
  1525. >     return 0;
  1526. > }
  1527. >
  1528. > /*
  1529. >     This just shows the program usage, which is exceedingly simple.
  1530. > */
  1531. >
  1532. > _Inline void Usage(void)
  1533. > {
  1534. >     ReportError("Usage: ioex.exe <drive letter>");
  1535. >     ReportError("<drive letter> - letter of drive to read boot record
  1536. from");
  1537. >     return;
  1538. > }
  1539. >
  1540. > /*
  1541. >     These next two just clean up error reporting in the main function.
  1542. >     The first gives a generic API function failure message.  The second
  1543. >     just writes a string.  Both go to standard error.
  1544. > */
  1545. >
  1546. > _Inline void rcReportError(char *fName, ULONG rc)
  1547. > {
  1548. >     fprintf(stderr, "\n%s() failed with error %d\n", fName, rc);
  1549. >     return;
  1550. > }
  1551. >
  1552. > _Inline void ReportError(char *eString)
  1553. > {
  1554. >     fprintf(stderr, "\n%s\n", eString);
  1555. >     return;
  1556. > }
  1557. >
  1558. > --
  1559. >  - Mike
  1560. >
  1561. > Remove 'spambegone' to send e-mail.
  1562.  
  1563. Thank you, thank you, thank you.
  1564.  
  1565. Works like a champ.
  1566.  
  1567. Jim
  1568.  
  1569.  
  1570.  
  1571. --- WtrGate+ v0.93.p7 sn 165
  1572.  * Origin: Origin Line 1 Goes Here (1:109/42)
  1573.  
  1574. +----------------------------------------------------------------------------+
  1575.  
  1576. From: cotroneo@stny.rr.com                              27-Oct-99 02:19:22
  1577.   To: All                                               28-Oct-99 10:23:14
  1578. Subj: C code to insert a timed pause in a loop
  1579.  
  1580. From: cotroneo@stny.rr.com
  1581.  
  1582. In <gunaalzrvfgrelnubbpbz.fk7x765.pminews@netnews.worldnet.att.net>, "Mike
  1583. Ruskai" <thannymeister@spambegone.yahoo.com> writes:
  1584. >On 26 Oct 1999 11:04:05 GMT, Vit Timchishin wrote:
  1585. >
  1586. >>On Tue, 26 Oct 1999 10:38:41, cotroneo@stny.rr.com wrote:
  1587. >[snip]
  1588. >
  1589. >>> The client automatically sets binary mode before the transfer.
  1590. >>> I can watch it send every bit of the file, but for win95, the
  1591. >>> last 10th of the file doesn't transfer. Really strange....
  1592. >
  1593. >>Do you shutdown socket properly? Or simply closes it (DATA connection)? This 
  1594. can
  1595. >>be an answer
  1596. >
  1597. >Hardly.  Closing a socket always shuts it down if it hasn't been already.
  1598. >
  1599. >So long as the successful transfer response is received on the control
  1600. >connection, it's safe to close the data connection (which should have been
  1601. >closed at the server end by that time anyway).
  1602. It turns out that the win95 ftp server is choking on the speed
  1603. of the uploads from my client.  This does not happen when
  1604. uploading to unix or os/2 servers.
  1605.  
  1606. Anyone have a cpu friendly C code example to insert a timed pause
  1607. in a loop?
  1608.  
  1609.  
  1610. Keith
  1611.  
  1612.  
  1613. Keith Cotroneo
  1614. cotroneo@stny.rr.com
  1615.  
  1616. --- WtrGate+ v0.93.p7 sn 165
  1617.  * Origin: Usenet: Time Warner Road Runner - Binghamton NY (1:109/42)
  1618.  
  1619. +----------------------------------------------------------------------------+
  1620.  
  1621. From: dink@dontspamme.com                               26-Oct-99 23:53:02
  1622.   To: All                                               28-Oct-99 10:23:14
  1623. Subj: Re: ftp client code upload problem
  1624.  
  1625. From: "dinkmeister" <dink@dontspamme.com>
  1626.  
  1627. On Tue, 26 Oct 1999 23:14:24 GMT, cotroneo@stny.rr.com wrote:
  1628.  
  1629. >Strange thing is that I am not having this problem when I use rxftp.dll
  1630. >to upload. My C client is having the problem, but only to the server
  1631. >running on my windows machine. Uploads to unix or os/2 servers do
  1632. >fine.
  1633. >
  1634. >I have wonder if the transmission speed of the c client is choking
  1635. >the win95 server. Strange that it allways seems to error at the last
  1636. >10% of the file.
  1637.  
  1638. Sounds like a timeing problem, post (or e-mail) the upload code
  1639. and I'll check it out.  (my email is @ http://dink.org/email - I
  1640. do it this way to avoid spam <g>)
  1641.  
  1642. - dink ( http://dink.org )
  1643.  
  1644.  
  1645.  
  1646.  
  1647.  
  1648. --- WtrGate+ v0.93.p7 sn 165
  1649.  * Origin: Usenet: psychadelia (1:109/42)
  1650.  
  1651. +----------------------------------------------------------------------------+
  1652.  
  1653. From: jdparker@erols.com                                26-Oct-99 22:28:03
  1654.   To: All                                               28-Oct-99 10:23:14
  1655. Subj: Re: DosDevIOCtl questions
  1656.  
  1657. From: Jim Parker <jdparker@erols.com>
  1658.  
  1659. Lorne Sunley wrote:
  1660.  
  1661. > On Tue, 26 Oct 1999 03:48:59, Jim Parker <jdparker@erols.com> wrote:
  1662. >
  1663. > > I've got an old IBM C/C++ compiler Toolkit for OS/2 2.1. Included in the
  1664. > > Toolkit header files is bsedev.h which includes a define for
  1665. > > DSK_READTRACK which appears to be a function handled by DosDevIOCtl
  1666. > > which will allow me to read a specific sector from a disk. However, I
  1667. > > don't have any documentation which shows how to use DosDevIOCtl to do
  1668. > > that. Basically what I want to do is: given a drive spec (E.g., x:) and
  1669. > > a cylinder/ header/ sector, read the sector into a buffer.
  1670. > >
  1671. > > How do I do that? Is there a book available which explains this sort of
  1672. > > thing? Is it still available?
  1673. > >
  1674. >
  1675. > It is still a documented function in the latest toolkit for Warp 4.5
  1676. > (Warp Server for e-Business). The documentation is in the
  1677. > "Control Program Programming Guide and Reference" that is
  1678. > in the documentation for the toolkit.
  1679. >
  1680. > Lorne Sunley
  1681.  
  1682. The version of that document that I have (circa 1993) shows little more than
  1683. the function prototype. Not very informative regarding its use for any
  1684. particular device. Perhaps later versions contain more.
  1685.  
  1686. Thanks
  1687. Jim
  1688.  
  1689.  
  1690. --- WtrGate+ v0.93.p7 sn 165
  1691.  * Origin: Origin Line 1 Goes Here (1:109/42)
  1692.  
  1693. +----------------------------------------------------------------------------+
  1694.  
  1695. From: lsunley@mb.sympatico.ca                           27-Oct-99 03:35:04
  1696.   To: All                                               28-Oct-99 10:23:14
  1697. Subj: Re: DosDevIOCtl questions
  1698.  
  1699. From: lsunley@mb.sympatico.ca (Lorne Sunley)
  1700.  
  1701. On Wed, 27 Oct 1999 02:28:06, Jim Parker <jdparker@erols.com> wrote:
  1702.  
  1703. > Lorne Sunley wrote:
  1704. > > On Tue, 26 Oct 1999 03:48:59, Jim Parker <jdparker@erols.com> wrote:
  1705. > >
  1706. > > > I've got an old IBM C/C++ compiler Toolkit for OS/2 2.1. Included in the
  1707. > > > Toolkit header files is bsedev.h which includes a define for
  1708. > > > DSK_READTRACK which appears to be a function handled by DosDevIOCtl
  1709. > > > which will allow me to read a specific sector from a disk. However, I
  1710. > > > don't have any documentation which shows how to use DosDevIOCtl to do
  1711. > > > that. Basically what I want to do is: given a drive spec (E.g., x:) and
  1712. > > > a cylinder/ header/ sector, read the sector into a buffer.
  1713. > > >
  1714. > > > How do I do that? Is there a book available which explains this sort of
  1715. > > > thing? Is it still available?
  1716. > > >
  1717. > >
  1718. > > It is still a documented function in the latest toolkit for Warp 4.5
  1719. > > (Warp Server for e-Business). The documentation is in the
  1720. > > "Control Program Programming Guide and Reference" that is
  1721. > > in the documentation for the toolkit.
  1722. > >
  1723. > > Lorne Sunley
  1724. > The version of that document that I have (circa 1993) shows little more than
  1725. > the function prototype. Not very informative regarding its use for any
  1726. > particular device. Perhaps later versions contain more.
  1727.  
  1728. The document is available on the IBM developer connection
  1729. web site. It's available at "Guest" level which is a free 
  1730. registration.
  1731. It's in three parts.
  1732.  
  1733. URL http://service2.boulder.ibm.com/devcon/showcase/index2.html
  1734.  
  1735. Lorne Sunley
  1736.  
  1737.  
  1738.  
  1739. --- WtrGate+ v0.93.p7 sn 165
  1740.  * Origin: Usenet: MBnet Networking Inc. (1:109/42)
  1741.  
  1742. +----------------------------------------------------------------------------+
  1743.  
  1744. From: cotroneo@stny.rr.com                              27-Oct-99 04:14:15
  1745.   To: All                                               28-Oct-99 10:23:14
  1746. Subj: Re: ftp client code upload problem
  1747.  
  1748. From: cotroneo@stny.rr.com
  1749.  
  1750. In <qvaxqbagfcnzzrpbz.fk8tgg1.pminews@ftl.msen.com>, "dinkmeister"
  1751. <dink@dontspamme.com> writes:
  1752. >On Tue, 26 Oct 1999 23:14:24 GMT, cotroneo@stny.rr.com wrote:
  1753. >
  1754. >>Strange thing is that I am not having this problem when I use rxftp.dll
  1755. >>to upload. My C client is having the problem, but only to the server
  1756. >>running on my windows machine. Uploads to unix or os/2 servers do
  1757. >>fine.
  1758. >>
  1759. >>I have wonder if the transmission speed of the c client is choking
  1760. >>the win95 server. Strange that it allways seems to error at the last
  1761. >>10% of the file.
  1762. >
  1763. >Sounds like a timeing problem, post (or e-mail) the upload code
  1764. >and I'll check it out.  (my email is @ http://dink.org/email - I
  1765. >do it this way to avoid spam <g>)
  1766. >
  1767. >- dink ( http://dink.org )
  1768. >
  1769. >
  1770. >
  1771. >
  1772. >
  1773. Thanks dink,
  1774.  
  1775. I think I have sorted it out. It appears that sending larger chunks of data
  1776. with a delay relieves the situation.
  1777.  
  1778. Previously, I had a send buffer of 8196 bytes with no delay between
  1779. sends. I increased the send buffer to 24576 and inserted a 1500 millisecond
  1780. delay with dossleep between sends. Now I am getting full transfers.
  1781.  
  1782. It appears that larger send buffers with delays between sends helps
  1783. in poor server environments.
  1784.  
  1785. Keith
  1786.  
  1787. Keith Cotroneo
  1788. cotroneo@stny.rr.com
  1789.  
  1790. --- WtrGate+ v0.93.p7 sn 165
  1791.  * Origin: Usenet: Time Warner Road Runner - Binghamton NY (1:109/42)
  1792.  
  1793. +----------------------------------------------------------------------------+
  1794.  
  1795. From: thannymeister@spambegone.yahoo.com                27-Oct-99 00:23:25
  1796.   To: All                                               28-Oct-99 10:23:14
  1797. Subj: Re: C code to insert a timed pause in a loop
  1798.  
  1799. From: "Mike Ruskai" <thannymeister@spambegone.yahoo.com>
  1800.  
  1801. On Wed, 27 Oct 1999 02:19:45 GMT, cotroneo@stny.rr.com wrote:
  1802.  
  1803. [snip]
  1804.  
  1805. >It turns out that the win95 ftp server is choking on the speed
  1806. >of the uploads from my client.  This does not happen when
  1807. >uploading to unix or os/2 servers.
  1808.  
  1809. That seems dubious.  Have you verified that the packets are making it to
  1810. the other machine?
  1811.  
  1812. >Anyone have a cpu friendly C code example to insert a timed pause
  1813. >in a loop?
  1814.  
  1815. I don't think there's any portable C method.  OS/2 has DosSleep(), and
  1816. Win32 has Sleep() (both take as a single argument the number of
  1817. milliseconds to sleep).
  1818.  
  1819.  
  1820.  
  1821.  - Mike
  1822.  
  1823. Remove 'spambegone' to send e-mail.
  1824.  
  1825.  
  1826. --- WtrGate+ v0.93.p7 sn 165
  1827.  * Origin: Usenet: TLF (1:109/42)
  1828.  
  1829. +----------------------------------------------------------------------------+
  1830.  
  1831. From: thannymeister@spambegone.yahoo.com                27-Oct-99 00:26:10
  1832.   To: All                                               28-Oct-99 10:23:14
  1833. Subj: Re: DosDevIOCtl questions
  1834.  
  1835. From: "Mike Ruskai" <thannymeister@spambegone.yahoo.com>
  1836.  
  1837. On Tue, 26 Oct 1999 22:28:06 -0400, Jim Parker wrote:
  1838.  
  1839. [snip]
  1840.  
  1841. >The version of that document that I have (circa 1993) shows little more than
  1842. >the function prototype. Not very informative regarding its use for any
  1843. >particular device. Perhaps later versions contain more.
  1844.  
  1845. FYI, the documentation for the function doesn't cover the generic IOCtl
  1846. commands, which have a separate main heading at the top of the contents tree,
  1847. towards the bottom.
  1848.  
  1849.  
  1850. --
  1851.  - Mike
  1852.  
  1853. Remove 'spambegone' to send e-mail.
  1854.  
  1855.  
  1856. --- WtrGate+ v0.93.p7 sn 165
  1857.  * Origin: Usenet: TLF (1:109/42)
  1858.  
  1859. +----------------------------------------------------------------------------+
  1860.  
  1861. From: spamonoloawmg@yesic.com                           27-Oct-99 01:06:05
  1862.   To: All                                               28-Oct-99 10:23:14
  1863. Subj: CL.EXE and device driver kit
  1864.  
  1865. From: "andrew g" <spamonoloawmg@yesic.com>
  1866.  
  1867. Will someone be kind enough to post the URL for the OS/2 driver toolkits at
  1868. DevCon? I can't find them there anymore. :(
  1869.  
  1870. Thanks,
  1871.  
  1872. andrew
  1873.  
  1874.  
  1875. --- WtrGate+ v0.93.p7 sn 165
  1876.  * Origin: Usenet: Introits and Graduals (1:109/42)
  1877.  
  1878. +----------------------------------------------------------------------------+
  1879.  
  1880. From: bogusaddress@bogusdomain.com                      26-Oct-99 23:05:25
  1881.   To: All                                               28-Oct-99 10:23:14
  1882. Subj: Re: Watcom 11.0b on OS/2 Warp Server for e-Business
  1883.  
  1884. From: bogus <bogusaddress@bogusdomain.com>
  1885.  
  1886. I have with some help determined that Watcom's debugger starts my 32-bit
  1887. OS/2 app as a 16-bit using a 16:16 (17:5f47) start address rather than
  1888. the correct 0:32 (5b:25f42) one when run under WSeB.  Under Warp 4
  1889. Watcom's debugger works correctly, under Borland's debugger in Warp and
  1890. WSeB it works correctly.  In either OS the app will run properly (it
  1891. works, I am just using it for testing the debugger.)
  1892.  
  1893. Suggestions to aurorasw direct ca (insert appropriate ats and dots.)
  1894.  
  1895. Thanks for your help.
  1896.  
  1897. --- WtrGate+ v0.93.p7 sn 165
  1898.  * Origin: Origin Line 1 Goes Here (1:109/42)
  1899.  
  1900. +----------------------------------------------------------------------------+
  1901.  
  1902. From: sma.spam-not@rtd.com                              27-Oct-99 06:42:29
  1903.   To: All                                               28-Oct-99 10:23:15
  1904. Subj: Re: ftp client code upload problem
  1905.  
  1906. From: James Moe <sma.spam-not@rtd.com>
  1907.  
  1908.  
  1909. cotroneo@stny.rr.com wrote:
  1910. > The client automatically sets binary mode before the transfer.
  1911. > I can watch it send every bit of the file, but for win95, the
  1912. > last 10th of the file doesn't transfer. Really strange....
  1913.     Hmmmm... Is this really FTP? FTP is a standalone program. It can
  1914. (reluctantly) be used by other programs but in any case it is a stable
  1915. program.
  1916.     Have you tried different size files? Always the last 10% regardless
  1917. of size?
  1918.  
  1919.     It sounds more like you are connecting using sockets. Are you using
  1920. a TCP or UDP connection? TCP has a built-in flow control and error
  1921. recovery.
  1922.     UDP is faster, but at the expense of flow control or error recovery.
  1923. UDP simply sends the packet, no questions asked, no replies expected.
  1924. This would be a problem at the receiving end if it could not transfer
  1925. the data fast enough, or ran out of buffers; in both cases packets would
  1926. be dropped.
  1927.  
  1928. -- 
  1929.  
  1930. sma at rtd dot com
  1931. Remove ".spam-not" for email
  1932.  
  1933. --- WtrGate+ v0.93.p7 sn 165
  1934.  * Origin: Usenet: Sohnen-Moe Associates, Inc (1:109/42)
  1935.  
  1936. +----------------------------------------------------------------------------+
  1937.  
  1938. From: hei@hatespam.norman.no                            27-Oct-99 06:46:05
  1939.   To: All                                               28-Oct-99 10:23:15
  1940. Subj: Re: CL.EXE and device driver kit
  1941.  
  1942. From: hei@hatespam.norman.no (Harald Eilertsen)
  1943.  
  1944. On Wed, 27 Oct 1999 05:06:10, "andrew g" <spamonoloawmg@yesic.com> 
  1945. wrote:
  1946.  
  1947. > Will someone be kind enough to post the URL for the OS/2 driver toolkits at
  1948. > DevCon? I can't find them there anymore. :(
  1949.  
  1950. http://service.boulder.ibm.com/ddk/
  1951.  
  1952. Take Care!
  1953. --
  1954. Harald Eilertsen
  1955. Norman Data Defence Systems
  1956. http://www.norman.no/
  1957.  
  1958. --- WtrGate+ v0.93.p7 sn 165
  1959.  * Origin: Usenet: Norman Data Defence Systems (1:109/42)
  1960.  
  1961. +----------------------------------------------------------------------------+
  1962.  
  1963. From: NOSPAM_R.Ihle@S-t.De                              25-Oct-99 11:59:27
  1964.   To: All                                               28-Oct-99 10:23:15
  1965. Subj: Re: IPX programming under OS/2?
  1966.  
  1967. From: NOSPAM_R.Ihle@S-t.De (Ruediger Ihle)
  1968.  
  1969. On Sun, 24 Oct 1999 08:59:49, root@microsoft.com (Bart/2 (Bartosz 
  1970. Tomasik)) wrote:
  1971.  
  1972. > Hi, Are there any libs for IPX/SPX programming under OS/2 Warp 
  1973. > (Toolkit contains only TCP/IP libs...)
  1974. > -------------------------------------------------
  1975. >  Bart/2 irc:Ihsahn Bart2@asua.org.pl UIN:50890586
  1976. >  Asu'a member    http://www.asua.org.pl
  1977. >  TeamOS/2 Polska http://www.teamos2.org.pl
  1978.  
  1979. No, you need NOVELL's NetWare Client SDK for OS/2.
  1980. I'm not sure, if it is still possible to download it from NOVELL since
  1981. they abandoned OS/2 support.
  1982.  
  1983. -- 
  1984. Ruediger "Rudi" Ihle [S&T Systemtechnik GmbH, Germany, 
  1985. http://www.s-t.de]
  1986. Please remove all characters left of the "R" in my email address
  1987.  
  1988.  
  1989. --- WtrGate+ v0.93.p7 sn 165
  1990.  * Origin: Usenet: S&T (1:109/42)
  1991.  
  1992. +----------------------------------------------------------------------------+
  1993.  
  1994. From: tvv@sbs.kiev.ua                                   27-Oct-99 09:15:18
  1995.   To: All                                               28-Oct-99 10:23:16
  1996. Subj: Re: ftp client code upload problem
  1997.  
  1998. From: tvv@sbs.kiev.ua (Vit Timchishin)
  1999.  
  2000. On Tue, 26 Oct 1999 16:16:18, "Mike Ruskai"
  2001. <thannymeister@spambegone.yahoo.com>
  2002. wrote:
  2003.  
  2004. > On 26 Oct 1999 11:04:05 GMT, Vit Timchishin wrote:
  2005. > >On Tue, 26 Oct 1999 10:38:41, cotroneo@stny.rr.com wrote:
  2006. > [snip]
  2007. > >> The client automatically sets binary mode before the transfer.
  2008. > >> I can watch it send every bit of the file, but for win95, the
  2009. > >> last 10th of the file doesn't transfer. Really strange....
  2010. > >Do you shutdown socket properly? Or simply closes it (DATA connection)?
  2011. This can
  2012. > >be an answer
  2013. > Hardly.  Closing a socket always shuts it down if it hasn't been already.
  2014. Why do we need soshutdown? At least this can be some bug in stack of poor 
  2015. documentation. 
  2016. > So long as the successful transfer response is received on the control
  2017. > connection, it's safe to close the data connection (which should have been
  2018. > closed at the server end by that time anyway).
  2019. For FTP uploads end of transfer is detected by server when you drop data 
  2020. connection. You sentence is good for downloading, not uploding
  2021.  
  2022. --- WtrGate+ v0.93.p7 sn 165
  2023.  * Origin: Usenet: Navigator Online Internet News Server (1:109/42)
  2024.  
  2025. +----------------------------------------------------------------------------+
  2026.  
  2027. From: tvv@sbs.kiev.ua                                   27-Oct-99 09:16:19
  2028.   To: All                                               28-Oct-99 10:23:16
  2029. Subj: Re: ftp client code upload problem
  2030.  
  2031. From: tvv@sbs.kiev.ua (Vit Timchishin)
  2032.  
  2033. On Tue, 26 Oct 1999 23:14:24, cotroneo@stny.rr.com wrote:
  2034.  
  2035. > I issue a soclose on the datasocket:
  2036. >        soclose( iDataSocket );
  2037. > Strange thing is that I am not having this problem when I use rxftp.dll
  2038. > to upload. My C client is having the problem, but only to the server
  2039. > running on my windows machine. Uploads to unix or os/2 servers do
  2040. > fine.
  2041. Try shutdown(socket, 2) before closing.
  2042.  
  2043. --- WtrGate+ v0.93.p7 sn 165
  2044.  * Origin: Usenet: Navigator Online Internet News Server (1:109/42)
  2045.  
  2046. +----------------------------------------------------------------------------+
  2047.  
  2048. From: aaronl_spammenot@clear.net.nz                     27-Oct-99 11:18:03
  2049.   To: All                                               28-Oct-99 10:23:16
  2050. Subj: Re: Non-functioning scrollbars
  2051.  
  2052. From: aaronl_spammenot@clear.net.nz (Aaron Lawrence)
  2053.  
  2054. On Mon, 25 Oct 1999 13:33:17, Bobbi Rosenberger 
  2055. <rosenbergerb@my-deja.com> wrote:
  2056.  
  2057. > This customer is telling me that none of the scrollbars in our
  2058. > application, or any other application (e.g. the OS/2 Window List)
  2059. > are working.
  2060. I've seen this on my system, suddenly all OS/2 scroll bars will stop 
  2061. working and I have to reboot. Does not happen very often. My system is
  2062. Warp 4 Fixpack 6. Probably a later fixpack might help, but I haven't 
  2063. tried.
  2064.  
  2065.  
  2066. --- WtrGate+ v0.93.p7 sn 165
  2067.  * Origin: Usenet: CLEAR Net New Zealand (1:109/42)
  2068.  
  2069. +----------------------------------------------------------------------------+
  2070.  
  2071. From: stefanj@gte.net                                   27-Oct-99 12:01:28
  2072.   To: All                                               28-Oct-99 10:23:16
  2073. Subj: DOS environment
  2074.  
  2075. From: stefanj@gte.net (Jason Stefanovich)
  2076.  
  2077. I have an OS/2 PM Rexx program written with VisProRexx 3.01 Gold.
  2078. Part of what it does is call a DOS full screen session to run a DOS
  2079. program.  I need to be able to set the environment for this DOS
  2080. session (same as changing the session properties on an object from the
  2081. WPS).  Does anybody know how I can do this from Rexx or if there is a
  2082. library that will allow me to do this?
  2083.  
  2084. Thanxs,
  2085. Jason Stefanovich
  2086.  
  2087. --- WtrGate+ v0.93.p7 sn 165
  2088.  * Origin: Origin Line 1 Goes Here (1:109/42)
  2089.  
  2090. +----------------------------------------------------------------------------+
  2091.  
  2092. From: niclas.lindstrom@edt.ericsson.se                  27-Oct-99 15:09:20
  2093.   To: All                                               28-Oct-99 10:23:17
  2094. Subj: Re: How do I read and write ethernet packets?
  2095.  
  2096. From: Niclas =?iso-8859-1?Q?Lindstr=F6m?= <niclas.lindstrom@edt.ericsson.se>
  2097.  
  2098. It looks like you're right, I am digging into the LAN Tech Ref right
  2099. now... It will take some time to read and understand all this...:-)
  2100. Do you know if the samples are downloadable from the web...?
  2101.  
  2102. /Niclas
  2103.  
  2104.  
  2105. Michiel Karsch wrote:
  2106. > ACSLAN.DLL gives you access to the lowest level of ethernet (except for
  2107. > hardware). I believe the tcp/ip stack (and all others) uses this interface
  2108. > to assemble IP packets as well. It is documented in LAN technical
  2109. > reference, IEEE 802.2 and NETBIOS API. You can do everything you want that
  2110. > isn 't done in hardware (e.g. receiving packects that are not addressed to
  2111. > your card). Documentation is good, there are examples (c, asm code) using
  2112. > the api.
  2113. >
  2114.  
  2115. --- WtrGate+ v0.93.p7 sn 165
  2116.  * Origin: Usenet: L M Ericsson Data AB (1:109/42)
  2117.  
  2118. +----------------------------------------------------------------------------+
  2119.  
  2120. From: cotroneo@stny.rr.com                              27-Oct-99 12:51:13
  2121.   To: All                                               28-Oct-99 10:23:17
  2122. Subj: Re: C code to insert a timed pause in a loop
  2123.  
  2124. From: cotroneo@stny.rr.com
  2125.  
  2126. In <gunaalzrvfgrelnubbpbz.fk8uvr1.pminews@netnews.worldnet.att.net>, "Mike
  2127. Ruskai" <thannymeister@spambegone.yahoo.com> writes:
  2128. >On Wed, 27 Oct 1999 02:19:45 GMT, cotroneo@stny.rr.com wrote:
  2129. >
  2130. >[snip]
  2131. >
  2132. >>It turns out that the win95 ftp server is choking on the speed
  2133. >>of the uploads from my client.  This does not happen when
  2134. >>uploading to unix or os/2 servers.
  2135. >
  2136. >That seems dubious.  Have you verified that the packets are making it to
  2137. >the other machine?
  2138. >
  2139. >>Anyone have a cpu friendly C code example to insert a timed pause
  2140. >>in a loop?
  2141. >
  2142. >I don't think there's any portable C method.  OS/2 has DosSleep(), and
  2143. >Win32 has Sleep() (both take as a single argument the number of
  2144. >milliseconds to sleep).
  2145. >
  2146. >
  2147. >
  2148.  
  2149. Thanks, found dossleep.
  2150.  
  2151. Keith
  2152.  
  2153.  
  2154. Keith Cotroneo
  2155. cotroneo@stny.rr.com
  2156.  
  2157. --- WtrGate+ v0.93.p7 sn 165
  2158.  * Origin: Usenet: Time Warner Road Runner - Binghamton NY (1:109/42)
  2159.  
  2160. +----------------------------------------------------------------------------+
  2161.  
  2162. From: cotroneo@stny.rr.com                              27-Oct-99 12:58:19
  2163.   To: All                                               28-Oct-99 10:23:17
  2164. Subj: Re: ftp client code upload problem - fixed
  2165.  
  2166. From: cotroneo@stny.rr.com
  2167.  
  2168. In <38169EF1.197D8EC@rtd.com>, James Moe <sma.spam-not@rtd.com> writes:
  2169. >
  2170. >
  2171. >cotroneo@stny.rr.com wrote:
  2172. >> 
  2173. >> 
  2174. >> The client automatically sets binary mode before the transfer.
  2175. >> I can watch it send every bit of the file, but for win95, the
  2176. >> last 10th of the file doesn't transfer. Really strange....
  2177. >> 
  2178. >    Hmmmm... Is this really FTP? FTP is a standalone program. It can
  2179. >(reluctantly) be used by other programs but in any case it is a stable
  2180. >program.
  2181. >    Have you tried different size files? Always the last 10% regardless
  2182. >of size?
  2183. >
  2184. >    It sounds more like you are connecting using sockets. Are you using
  2185. >a TCP or UDP connection? TCP has a built-in flow control and error
  2186. >recovery.
  2187. >    UDP is faster, but at the expense of flow control or error recovery.
  2188. >UDP simply sends the packet, no questions asked, no replies expected.
  2189. >This would be a problem at the receiving end if it could not transfer
  2190. >the data fast enough, or ran out of buffers; in both cases packets would
  2191. >be dropped.
  2192. >
  2193.  
  2194. It is a tcp socket program written in C.
  2195.  
  2196. Well, I think I found my problem. After my put routine, I was then sending
  2197. a quit message to the server. Winsock appears to be more particular
  2198. about getting all the proper send and receive messages than unix or
  2199. os/2. I inserted a stream recv prior to the quit and I now get an
  2200. end of file transfer message back. Then I send the quit and get the
  2201. response.
  2202.  
  2203. Without the recv to get the end of transfer message, winsock
  2204. would abort the transfer.
  2205.  
  2206. I have run a few tests, and so far, no lost bytes.
  2207.  
  2208. Keith Cotroneo
  2209. cotroneo@stny.rr.com
  2210.  
  2211. --- WtrGate+ v0.93.p7 sn 165
  2212.  * Origin: Usenet: Time Warner Road Runner - Binghamton NY (1:109/42)
  2213.  
  2214. +----------------------------------------------------------------------------+
  2215.  
  2216. From: News@The-Net-4U.com                               27-Oct-99 16:45:28
  2217.   To: All                                               28-Oct-99 10:23:17
  2218. Subj: Mainactor Programming Problems
  2219.  
  2220. From: News@The-Net-4U.com (M.P. van Dobben de Bruijn)
  2221.  
  2222.  
  2223. Guess none of you guys (and ladies of course) has
  2224. seen this as it was in a Dutch OS2-newsgroup. The
  2225. problem is formulated in English though. Perhaps any
  2226. one of the people here would know a way out of the 
  2227. problem MainActor has with OS/2 choosing their new
  2228. programming-language and tools?
  2229.  
  2230. http://x22.deja.com/getdoc.xp?AN=533145077&CONTEXT=941042166.1972043901&hitnum=
  2231. 0
  2232.  
  2233. Personally I would hate to see them go even if I
  2234. do not use their products (yet, I am not quite that in-
  2235. volved with that creative side of the computing scene)
  2236.  
  2237. Regards from Leeuwarden
  2238. Peter van Dobben de Bruijn
  2239. ---
  2240. usethenet.at.the-net-4u.com (.at. becomes @)
  2241. ----
  2242.  
  2243. --- WtrGate+ v0.93.p7 sn 165
  2244.  * Origin: Usenet: TeleKabel (1:109/42)
  2245.  
  2246. +----------------------------------------------------------------------------+
  2247.  
  2248. From: fBeythien@gmx.de                                  27-Oct-99 16:49:25
  2249.   To: All                                               28-Oct-99 10:23:17
  2250. Subj: Re: DOS environment
  2251.  
  2252. From: fBeythien@gmx.de (Frank Beythien)
  2253.  
  2254. On Wed, 27 Oct 1999 12:01:56, stefanj@gte.net (Jason Stefanovich) 
  2255. wrote:
  2256.  
  2257. Look for startd.zip on HOBBES. 
  2258. Or create a Program object for the dos program with your settings 
  2259. (perhaps in \NoWhere) and run it with SysOpenObject or 
  2260. SysSetObjectData.
  2261.  
  2262. CU/2
  2263. Frank
  2264.  
  2265. > I have an OS/2 PM Rexx program written with VisProRexx 3.01 Gold.
  2266. > Part of what it does is call a DOS full screen session to run a DOS
  2267. > program.  I need to be able to set the environment for this DOS
  2268. > session (same as changing the session properties on an object from the
  2269. > WPS).  Does anybody know how I can do this from Rexx or if there is a
  2270. > library that will allow me to do this?
  2271.  
  2272. -- 
  2273. Frank Beythien   fBeythien@gmx.de
  2274.  
  2275. --- WtrGate+ v0.93.p7 sn 165
  2276.  * Origin: Usenet: Prima e.V. - Dortmund - Germany (1:109/42)
  2277.  
  2278. +----------------------------------------------------------------------------+
  2279.  
  2280. From: rde@tavi.co.uk                                    27-Oct-99 18:12:16
  2281.   To: All                                               28-Oct-99 10:23:18
  2282. Subj: Re: How do I read and write ethernet packets?
  2283.  
  2284. From: rde@tavi.co.uk (Bob Eager)
  2285.  
  2286. On Wed, 27 Oct 1999 14:09:41, Niclas =?iso-8859-1?Q?Lindstr=F6m?= 
  2287. <niclas.lindstrom@edt.ericsson.se> wrote:
  2288.  
  2289. > It looks like you're right, I am digging into the LAN Tech Ref right
  2290. > now... It will take some time to read and understand all this...:-)
  2291.  
  2292. I'm interested in this too....
  2293.  
  2294. Can someone please post the document's full title...and perhaps the 
  2295. doc no?
  2296. (like S999-1234, or whatever?)
  2297.  
  2298. -- 
  2299. Bob Eager
  2300. rde at tavi.co.uk
  2301. PC Server 325; PS/2s 8595*3, 9595*3 (2*P60 + P90), 8535, 8570, 9556*2,
  2302. 8580*6,
  2303. 8557*2, 8550, 9577, 8530, P70, PC/AT..
  2304.  
  2305. --- WtrGate+ v0.93.p7 sn 165
  2306.  * Origin: Usenet: Tavi Systems (1:109/42)
  2307.  
  2308. +----------------------------------------------------------------------------+
  2309.  
  2310. From: steve53_remove_this@earthlink.net                 27-Oct-99 17:04:23
  2311.   To: All                                               28-Oct-99 10:23:18
  2312. Subj: Re: somVaBuf: no trace whatsoever
  2313.  
  2314. From: steve53_remove_this@earthlink.net
  2315.  
  2316. In <7urft5$i4i$1@charm.magnus.acs.ohio-state.edu>, on 10/23/99 
  2317.    at 05:08 AM, ilya@math.ohio-state.edu (Ilya Zakharevich) said:
  2318.  
  2319. >I'm playing with SOM sample code in .inf files, but cannot compile
  2320. >whatever mentions somVaBuf.  There is no file (except 2 .inf files ;-) in
  2321. >the whole toolkit (of DevCon 11) which mentions these words (I did
  2322. >case-insensitive search - does not help)...
  2323.  
  2324. >Now what?
  2325.  
  2326. Appears you are missing an include somtc.h or somtc.hh.  To quote:
  2327.  
  2328. #ifndef SOMVABUF
  2329.   #define SOMVABUF
  2330.   typedef somToken somVaBuf;
  2331.  
  2332. HTH,
  2333.  
  2334. Steven
  2335.  
  2336. -- 
  2337. ---------------------------------------------------------------
  2338. Steven Levine <steve53removethis@earthlink.net>  MR2/ICE #10183
  2339. Warp4/FP11
  2340. ---------------------------------------------------------------
  2341.  
  2342.  
  2343. --- WtrGate+ v0.93.p7 sn 165
  2344.  * Origin: Usenet: EarthLink Network, Inc. (1:109/42)
  2345.  
  2346. +----------------------------------------------------------------------------+
  2347.  
  2348. From: michael.thomson@qr.com.au                         28-Oct-99 17:29:08
  2349.   To: All                                               28-Oct-99 10:23:19
  2350. Subj: Pinging Code
  2351.  
  2352. From: "Michael Thomson" <michael.thomson@qr.com.au>
  2353.  
  2354. I'm attempting to write a simple ping program.  Have successfully created a
  2355. raw socket and sent an ICMP request packet to a specific PC.  Using network
  2356. analysing software I can see that the destination PC is responding with an
  2357. ICMP reply packet.  The problem is that I can't read in the ICMP reply
  2358. packet from the socket.
  2359.  
  2360. Does anyone have any suggestions?
  2361.  
  2362. Thankyou
  2363. Michael Thomson
  2364.  
  2365.  
  2366. --- WtrGate+ v0.93.p7 sn 165
  2367.  * Origin: Usenet: Who Knows (1:109/42)
  2368.  
  2369. +----------------------------------------------------------------------------+
  2370.  
  2371. From: yourself@127.0.0.1                                28-Oct-99 07:43:28
  2372.   To: All                                               28-Oct-99 11:18:04
  2373. Subj: Re: somVaBuf: no trace whatsoever
  2374.  
  2375. From: yourself@127.0.0.1 (Rich Walsh)
  2376.  
  2377. On Thu, 28 Oct 1999 04:00:05, ilya@math.ohio-state.edu (Ilya Zakharevich)
  2378. wrote:
  2379.  
  2380. > [A complimentary Cc of this posting was sent to 
  2381. > <steve53_remove_this@earthlink.net>],
  2382. > > >I'm playing with SOM sample code in .inf files, but cannot compile
  2383. > > >whatever mentions somVaBuf.  There is no file (except 2 .inf files ;-) in
  2384. > > >the whole toolkit (of DevCon 11) which mentions these words (I did
  2385. > > >case-insensitive search - does not help)...
  2386. > > Appears you are missing an include somtc.h or somtc.hh.  To quote:
  2387. > I have it.  
  2388. >   SOMTC.H          6002 08-23-95 20:10
  2389. > /* @(#) 2.6 src/somc/tc/somtc.h, somtc.funcs, som2.1 9/1/94 18:28:29
  2390. [8/18/95 16:44:00] */
  2391. > It does not have anything related.  Can you send the newer version to
  2392. > me so that I can put #defines/#ifdef's which would make my code work
  2393. > with older and with newer toolkits?
  2394.  
  2395. This may be unrelated, but this talk of "somva" rang a bell...
  2396.  
  2397. IIRC, SOM's va dispatch methods were reimplemented in Warp3 FP16
  2398. and later.  E.g. #68 va_SOMObject_somDispatch was joined by
  2399. #100 somva_SOMObject_somDispatch.  Later SOM compilers --such as
  2400. the one included with the Merlin beta-- use the new entry points.
  2401. Consequently, the classes they generate are incompatible with
  2402. Warp3 GA and may cause the WPS to enter a crash/restart loop when
  2403. registered.
  2404.  
  2405. If widespread compatibility is important, I'd be wary of functions
  2406. that require somVaBuf or other features not defined in your current
  2407. headers (I use DevCon9's SOM compiler & headers).
  2408.  
  2409.  
  2410.    == == almost usable email address:  rlwalshATpacket.net == ==
  2411. ___________________________________________________________________
  2412.  
  2413.                 |             - DragText v3.1 -
  2414. Rich Walsh      |  A Distinctly Different Desktop Enhancement
  2415. Ft Myers, FL    |  New!  Pickup & Drop for text, and more...
  2416.                 |  http://www.usacomputers.net/personal/rlwalsh/
  2417. ___________________________________________________________________
  2418.  
  2419. --- WtrGate+ v0.93.p7 sn 165
  2420.  * Origin: Usenet: http://extra.newsguy.com (1:109/42)
  2421.  
  2422. +----------------------------------------------------------------------------+
  2423.  
  2424. From: m.karsch@ath.nl                                   28-Oct-99 12:22:27
  2425.   To: All                                               28-Oct-99 11:18:04
  2426. Subj: Re: How do I read and write ethernet packets?
  2427.  
  2428. From: Michiel Karsch <m.karsch@ath.nl>
  2429.  
  2430. Some 4 years ago I orderd a book Lan Technical reference, IEEE 802.2 and
  2431. Netbios API SC30-3587-00. I have seen it at the www developers connection
  2432. site but the sites changes a lot and i can't find it anymore or no access.
  2433.  
  2434. Nice thing is that mister bill also uses this API (nt/95/98, install dlc
  2435. protocol). Of course with his know twists in it. (He has 'improved' the
  2436. api)
  2437.  
  2438. Bob Eager wrote:
  2439.  
  2440. > On Wed, 27 Oct 1999 14:09:41, Niclas =?iso-8859-1?Q?Lindstr=F6m?=
  2441. > <niclas.lindstrom@edt.ericsson.se> wrote:
  2442. >
  2443. > > It looks like you're right, I am digging into the LAN Tech Ref right
  2444. > > now... It will take some time to read and understand all this...:-)
  2445. >
  2446. > I'm interested in this too....
  2447. >
  2448. > Can someone please post the document's full title...and perhaps the
  2449. > doc no?
  2450. > (like S999-1234, or whatever?)
  2451. >
  2452. > --
  2453. > Bob Eager
  2454. > rde at tavi.co.uk
  2455. > PC Server 325; PS/2s 8595*3, 9595*3 (2*P60 + P90), 8535, 8570, 9556*2,
  2456. > 8580*6,
  2457. > 8557*2, 8550, 9577, 8530, P70, PC/AT..
  2458.  
  2459. --- WtrGate+ v0.93.p7 sn 165
  2460.  * Origin: Usenet: WorldOnline News server (1:109/42)
  2461.  
  2462. +----------------------------------------------------------------------------+
  2463.  
  2464. From: niclas.lindstrom@edt.ericsson.se                  28-Oct-99 13:02:00
  2465.   To: All                                               28-Oct-99 11:18:04
  2466. Subj: Re: How do I read and write ethernet packets?
  2467.  
  2468. From: Niclas =?iso-8859-1?Q?Lindstr=F6m?= <niclas.lindstrom@edt.ericsson.se>
  2469.  
  2470. Download it from
  2471. http://service2.boulder.ibm.com/devcon/showcase/cat/afa0cntl.htm
  2472. /Niclas
  2473.  
  2474. Bob Eager wrote:
  2475. > On Wed, 27 Oct 1999 14:09:41, Niclas =?iso-8859-1?Q?Lindstr=F6m?=
  2476. > <niclas.lindstrom@edt.ericsson.se> wrote:
  2477. > > It looks like you're right, I am digging into the LAN Tech Ref right
  2478. > > now... It will take some time to read and understand all this...:-)
  2479. > I'm interested in this too....
  2480. > Can someone please post the document's full title...and perhaps the
  2481. > doc no?
  2482. > (like S999-1234, or whatever?)
  2483. > --
  2484. > Bob Eager
  2485. > rde at tavi.co.uk
  2486. > PC Server 325; PS/2s 8595*3, 9595*3 (2*P60 + P90), 8535, 8570, 9556*2,
  2487. > 8580*6,
  2488. > 8557*2, 8550, 9577, 8530, P70, PC/AT..
  2489.  
  2490. --- WtrGate+ v0.93.p7 sn 165
  2491.  * Origin: Usenet: L M Ericsson Data AB (1:109/42)
  2492.  
  2493. +----------------------------------------------------------------------------+
  2494.  
  2495. From: ilya@math.ohio-state.edu                          28-Oct-99 04:00:02
  2496.   To: All                                               28-Oct-99 11:18:05
  2497. Subj: Re: somVaBuf: no trace whatsoever
  2498.  
  2499. From: ilya@math.ohio-state.edu (Ilya Zakharevich)
  2500.  
  2501. [A complimentary Cc of this posting was sent to 
  2502. <steve53_remove_this@earthlink.net>],
  2503. > >I'm playing with SOM sample code in .inf files, but cannot compile
  2504. > >whatever mentions somVaBuf.  There is no file (except 2 .inf files ;-) in
  2505. > >the whole toolkit (of DevCon 11) which mentions these words (I did
  2506. > >case-insensitive search - does not help)...
  2507.  
  2508. > Appears you are missing an include somtc.h or somtc.hh.  To quote:
  2509.  
  2510. I have it.  
  2511.  
  2512.   SOMTC.H          6002 08-23-95 20:10
  2513.  
  2514. /* @(#) 2.6 src/somc/tc/somtc.h, somtc.funcs, som2.1 9/1/94 18:28:29 [8/18/95
  2515. 16:44:00] */
  2516.  
  2517. It does not have anything related.  Can you send the newer version to
  2518. me so that I can put #defines/#ifdef's which would make my code work
  2519. with older and with newer toolkits?
  2520.  
  2521. Ilya
  2522.  
  2523. --- WtrGate+ v0.93.p7 sn 165
  2524.  * Origin: Usenet: Department of Mathematics, The Ohio State Univers
  2525. (1:109/42)
  2526.  
  2527. +----------------------------------------------------------------------------+
  2528.  
  2529. From: sbowring+nospam@mpc-data.co.uk                    28-Oct-99 13:08:03
  2530.   To: All                                               28-Oct-99 14:45:06
  2531. Subj: Re: How do I read and write ethernet packets?
  2532.  
  2533. From: "Simon Bowring" <sbowring+nospam@mpc-data.co.uk>
  2534.  
  2535. On Tue, 26 Oct 1999 10:59:18 +0200, Michiel Karsch wrote:
  2536.  
  2537. >ACSLAN.DLL gives you access to the lowest level of ethernet (except for
  2538. >hardware). I believe the tcp/ip stack (and all others) uses this interface
  2539. >to assemble IP packets as well. 
  2540.  
  2541. Are you sure? AFAIK this is not correct: multiple NDIS protocol 
  2542. drivers bind on top of the MAC driver (look at the "Bindings =" 
  2543. statements in your protocol.ini), in mine, Netbeui$, LANDD$, 
  2544. odi2ndi$, tcbbeui$and tcpip$ drivers all bind to the MAC driver. 
  2545.  
  2546. The protocol manager has a vector$ driver which is only used in 
  2547. multiple protocol environments where it sits on top of the MAC 
  2548. driver and transparently handles "fan-out" and "fan-in" of 
  2549. packets to and from the bound protocols above (which are offered 
  2550. packets and may say things like ("I'm not interested in this frame", 
  2551. "I'll have the frame, don't offer it to any other protocols" or, 
  2552. I'll have the frame, but offer it to other protocols).
  2553.  
  2554. For a truly generic solution to packet monitoring you need to
  2555. write an NDIS protocol driver that:
  2556.  
  2557. 1) must be the first protocol bound to the MAC (so that it gets 
  2558.    offered *all* frames), 
  2559. 2) can set the MAC driver into promiscuous mode,
  2560. 3) that offers all received frames to other protocols, and 
  2561. 4) defines an API that your packet sniffing (or whatever) app will 
  2562.    sit on.
  2563.  
  2564. This is non-trivial - I have implemented such software!
  2565.  
  2566. > IBM and at the first look at the sample in there (a token
  2567. > ring driver) it looks too complex. I guess it includes
  2568. > hardware access and things like that, but my driver only
  2569. > need to access the existing NDIS driver and act as any
  2570. > NDIS driver towards the application (TCP/IP-stack)...
  2571.  
  2572. The TR driver is a MAC driver, you want to write (a much simpler,
  2573. but nevertheless tricky) NDIS protocol driver, and you need the
  2574. 3COM/MS NDIS 2.1 specification.
  2575.  
  2576. Regards
  2577.  
  2578. Simon Bowring,
  2579. Senior Software Engineer,
  2580. OS/2 Device Driver author since 1990 (OS/2 1.1)
  2581. MPC Data Limited
  2582.  
  2583.  
  2584. --- WtrGate+ v0.93.p7 sn 165
  2585.  * Origin: Usenet: MPC Data Limited (1:109/42)
  2586.  
  2587. +----------------------------------------------------------------------------+
  2588.  
  2589. From: m.karsch@ath.nl                                   28-Oct-99 15:21:02
  2590.   To: All                                               28-Oct-99 14:45:06
  2591. Subj: Re: How do I read and write ethernet packets?
  2592.  
  2593. From: Michiel Karsch <m.karsch@ath.nl>
  2594.  
  2595. I think you are right but this is pre-ndis code from times of os/s ee 1.3; in
  2596. that time there was also a need to mpx protocols. Docu says it's possible to
  2597. 'direct' interface and dlc interface. Direct you receive all packets and dlc
  2598. you specify sap 802.2 adressess (type 1 & 2 connections). So it must be
  2599. possible to build a ip layer on top of the direct interface bypassing ndis
  2600. protocol filtering. There is even a device driver interface for writing device
  2601. drivers (eg tcp/ip) on top and then your comms go through landd$. Curious what
  2602. happens if you use this and tcbeui$, i don't wanna try, you hope: I'll have
  2603. the
  2604. frame, but offer it to other protocols. I also don't want to try to write a
  2605. ndis device driver.
  2606.  
  2607. Michiel
  2608.  
  2609. Simon Bowring wrote:
  2610.  
  2611. > On Tue, 26 Oct 1999 10:59:18 +0200, Michiel Karsch wrote:
  2612. >
  2613. > >ACSLAN.DLL gives you access to the lowest level of ethernet (except for
  2614. > >hardware). I believe the tcp/ip stack (and all others) uses this interface
  2615. > >to assemble IP packets as well.
  2616. >
  2617. > Are you sure? AFAIK this is not correct: multiple NDIS protocol
  2618. > drivers bind on top of the MAC driver (look at the "Bindings ="
  2619. > statements in your protocol.ini), in mine, Netbeui$, LANDD$,
  2620. > odi2ndi$, tcbbeui$and tcpip$ drivers all bind to the MAC driver.
  2621. >
  2622. > The protocol manager has a vector$ driver which is only used in
  2623. > multiple protocol environments where it sits on top of the MAC
  2624. > driver and transparently handles "fan-out" and "fan-in" of
  2625. > packets to and from the bound protocols above (which are offered
  2626. > packets and may say things like ("I'm not interested in this frame",
  2627. > "I'll have the frame, don't offer it to any other protocols" or,
  2628. > I'll have the frame, but offer it to other protocols).
  2629. >
  2630. > For a truly generic solution to packet monitoring you need to
  2631. > write an NDIS protocol driver that:
  2632. >
  2633. > 1) must be the first protocol bound to the MAC (so that it gets
  2634. >    offered *all* frames),
  2635. > 2) can set the MAC driver into promiscuous mode,
  2636. > 3) that offers all received frames to other protocols, and
  2637. > 4) defines an API that your packet sniffing (or whatever) app will
  2638. >    sit on.
  2639. >
  2640. > This is non-trivial - I have implemented such software!
  2641. >
  2642. > > IBM and at the first look at the sample in there (a token
  2643. > > ring driver) it looks too complex. I guess it includes
  2644. > > hardware access and things like that, but my driver only
  2645. > > need to access the existing NDIS driver and act as any
  2646. > > NDIS driver towards the application (TCP/IP-stack)...
  2647. >
  2648. > The TR driver is a MAC driver, you want to write (a much simpler,
  2649. > but nevertheless tricky) NDIS protocol driver, and you need the
  2650. > 3COM/MS NDIS 2.1 specification.
  2651. >
  2652. > Regards
  2653. >
  2654. > Simon Bowring,
  2655. > Senior Software Engineer,
  2656. > OS/2 Device Driver author since 1990 (OS/2 1.1)
  2657. > MPC Data Limited
  2658.  
  2659. --- WtrGate+ v0.93.p7 sn 165
  2660.  * Origin: Usenet: WorldOnline News server (1:109/42)
  2661.  
  2662. +----------------------------------------------------------------------------+
  2663.  
  2664. From: tbretz@physik.tu-muenchen.de                      28-Oct-99 14:01:11
  2665.   To: All                                               28-Oct-99 14:45:06
  2666. Subj: Enhance File Dialog
  2667.  
  2668. From: Thomas Bretz <tbretz@physik.tu-muenchen.de>
  2669.  
  2670. Hello,
  2671.  
  2672. I tried to enhance the FileDialog with some features I need for Vice/2.
  2673. Three examples: 
  2674. 1) I need one more button (like save and cancel)
  2675. 2) I want to have a new pop-down where the user can choose between some
  2676. numbers.
  2677. 3) I want to have the possibility to look into archives. (eg: If u klick
  2678. on a file *.zip u should get the components in the right window)
  2679.  
  2680. Does anybody know if there is a way to change the OS/2-FileDialog only.
  2681. I don't want to write it completely new.
  2682.  
  2683. Thx,
  2684. Thomas.
  2685.  
  2686. --- WtrGate+ v0.93.p7 sn 165
  2687.  * Origin: Usenet: Nathan Electronics (1:109/42)
  2688.  
  2689. +----------------------------------------------------------------------------+
  2690.  
  2691. From: rosenbergerb@my-deja.com                          28-Oct-99 13:13:29
  2692.   To: All                                               28-Oct-99 14:45:06
  2693. Subj: Re: Non-functioning scrollbars
  2694.  
  2695. From: Bobbi Rosenberger <rosenbergerb@my-deja.com>
  2696.  
  2697. In article <XjnNjFSKFqqx-pn2-RyvgGSfZR8Xb@localhost>,
  2698.   aaronl_spammenot@clear.net.nz (Aaron Lawrence) wrote:
  2699. > On Mon, 25 Oct 1999 13:33:17, Bobbi Rosenberger
  2700. > <rosenbergerb@my-deja.com> wrote:
  2701. >
  2702. > > This customer is telling me that none of the scrollbars in our
  2703. > > application, or any other application (e.g. the OS/2 Window List)
  2704. > > are working.
  2705. > I've seen this on my system, suddenly all OS/2 scroll bars will stop
  2706. > working and I have to reboot. Does not happen very often. My system is
  2707. > Warp 4 Fixpack 6. Probably a later fixpack might help, but I haven't
  2708. > tried.
  2709. >
  2710. >
  2711. For this customer, the scrollbars continue to not work, even after rebooting.
  2712.  
  2713.  
  2714. Sent via Deja.com http://www.deja.com/
  2715. Before you buy.
  2716.  
  2717. --- WtrGate+ v0.93.p7 sn 165
  2718.  * Origin: Usenet: Deja.com - Before you buy. (1:109/42)
  2719.  
  2720. +----------------------------------------------------------------------------+
  2721.  
  2722. From: shaunus@ibm.net                                   28-Oct-99 17:13:27
  2723.   To: All                                               28-Oct-99 14:45:06
  2724. Subj: Re: Watcom C++ and STL
  2725.  
  2726. From: "Shaun Baker" <shaunus@ibm.net>
  2727.  
  2728. Had the same problem with VisualAge for C++ V3.0. www.stlport.org may be
  2729. what you are looking for. All my STL problems were solved, and there is some
  2730. nifty stuff to be found there...
  2731.  
  2732. Shaun
  2733.  
  2734. James Moe <sma.spam-not@rtd.com> wrote in message
  2735. news:3812A1D2.5A76AD34@rtd.com...
  2736. > Hello,
  2737. >     Does Watcom C++ do STL? I have v11.0 of the Watcom compiler and it
  2738. > does not care for a particular item: "ptrdiff_t." Wherever ptrdiff_t
  2739. > occurs a syntax error is raised.
  2740. >
  2741. >
  2742. > --
  2743. >
  2744. > sma at rtd dot com
  2745. > Remove ".spam-not" for email
  2746.  
  2747.  
  2748. --- WtrGate+ v0.93.p7 sn 165
  2749.  * Origin: Usenet: Global Network Services - Remote Access Mail & Ne
  2750. (1:109/42)
  2751.  
  2752. +----------------------------------------------------------------------------+
  2753.  
  2754. From: dunmunro@direct.ca                                28-Oct-99 15:56:07
  2755.   To: All                                               28-Oct-99 14:45:06
  2756. Subj: Re: Non-functioning scrollbars
  2757.  
  2758. From: dunmunro@direct.ca (Duncan Munro)
  2759.  
  2760. What fixpack level are they at?
  2761.  
  2762. Have you checked the APAR reports to see if this is resolvedby a later
  2763. fixpack?
  2764.  
  2765. Duncan
  2766.  
  2767.  
  2768. On Mon, 25 Oct 1999 13:33:17 GMT, Bobbi Rosenberger
  2769. <rosenbergerb@my-deja.com> wrote:
  2770.  
  2771. >
  2772. >
  2773. >We have a customer that purchased on OS/2 application from us.
  2774. >
  2775. >This customer is telling me that none of the scrollbars in our
  2776. >application, or any other application (e.g. the OS/2 Window List)
  2777. >are working.
  2778. >
  2779. >Page-Up, Page-Down, and Arrow keys work.  But using the mouse
  2780. >with the scrollbar doesn't work.  The mouse works otherwise, for
  2781. >selecting menu options, etc.
  2782. >
  2783. >Has anyone seen this behavior?  The field engineer at the customer
  2784. >site is ready to re-install OS/2 to fix the problem, but I think
  2785. >that is a drastic measure.
  2786. >
  2787. >The customer is running OS/2 3.0.
  2788. >
  2789. >Any help would be appreciated.
  2790. >
  2791. >
  2792. >
  2793. >
  2794. >Sent via Deja.com http://www.deja.com/
  2795. >Before you buy.
  2796.  
  2797. --- WtrGate+ v0.93.p7 sn 165
  2798.  * Origin: Usenet: via Internet Direct - http://www.mydirect.com/ (1:109/42)
  2799.  
  2800. +----------------------------------------------------------------------------+
  2801.  
  2802. From: mads@troest.NEVERMORE.dk                          28-Oct-99 17:48:00
  2803.   To: All                                               28-Oct-99 16:44:09
  2804. Subj: Re: Pinging Code
  2805.  
  2806. From: mads@troest.NEVERMORE.dk (Mads Orbesen Troest)
  2807.  
  2808. On Thu, 28 Oct 1999 07:29:16, "Michael Thomson" 
  2809. <michael.thomson@qr.com.au> wrote:
  2810.  
  2811. > I'm attempting to write a simple ping program.  Have successfully created a
  2812. > raw socket and sent an ICMP request packet to a specific PC.  Using network
  2813. > analysing software I can see that the destination PC is responding with an
  2814. > ICMP reply packet.  The problem is that I can't read in the ICMP reply
  2815. > packet from the socket.
  2816.  
  2817. I have written my own Ping routine once, for some socket-wrapper 
  2818. classes I developed for internal purposes. I created a raw socket 
  2819. using the icmp protocol, as you describe. I simply used the "recvfrom"
  2820. TCP/IP call to receive the data - after making sure it was there, of 
  2821. course (using the "select" function).
  2822.  
  2823. If you continue to have problems, feel free to write again, and I'll 
  2824. see if I can dig out the code. :-)
  2825.  
  2826.    These were the incoherent ramblings of ...
  2827.       ... /\/\\ads Orbesen Troest <mads@troest.NEVERMORE.dk>
  2828.             [http://www.sprog.auc.dk/~motr96]
  2829.  
  2830. (Please remove NEVERMORE from address when replying via email...)
  2831.  
  2832. --- WtrGate+ v0.93.p7 sn 165
  2833.  * Origin: Usenet: SIRIUS Cybernetics (1:109/42)
  2834.  
  2835. +----------------------------------------------------------------------------+
  2836.  
  2837. From: ilya@math.ohio-state.edu                          28-Oct-99 18:21:26
  2838.   To: All                                               28-Oct-99 16:44:09
  2839. Subj: Re: somVaBuf: no trace whatsoever
  2840.  
  2841. From: ilya@math.ohio-state.edu (Ilya Zakharevich)
  2842.  
  2843. [A complimentary Cc of this posting was sent to Rich Walsh
  2844. <yourself@127.0.0.1>],
  2845. who wrote in article <zzdHjdPQunhi-pn2-0WZlvoRkYH5R@ftm017.usacomputers.net>:
  2846. > If widespread compatibility is important, I'd be wary of functions
  2847. > that require somVaBuf or other features not defined in your current
  2848. > headers (I use DevCon9's SOM compiler & headers).
  2849.  
  2850. Ha!  You mean that SomVa* are not plain old macros?  Then my approach
  2851. of just putting them into a C file will not work anyway...
  2852.  
  2853. Ilya
  2854.  
  2855. P.S.  What I'm doing is writing a program, not a class.  Thus there
  2856.       will be no way for it to crash WPS: it would be DSOM who would
  2857.       ;-) do it.
  2858.  
  2859. --- WtrGate+ v0.93.p7 sn 165
  2860.  * Origin: Usenet: Department of Mathematics, The Ohio State Univers
  2861. (1:109/42)
  2862.  
  2863. +----------------------------------------------------------------------------+
  2864.  
  2865. From: abuse@orac.clara.co.uk                            28-Oct-99 19:14:22
  2866.   To: All                                               28-Oct-99 16:44:09
  2867. Subj: Re: DosDevIOCtl questions
  2868.  
  2869. From: abuse@orac.clara.co.uk (Paul Ratcliffe)
  2870.  
  2871. On Tue, 26 Oct 1999 21:58:08 -0400, Jim Parker <jdparker@erols.com> wrote:
  2872.  
  2873. >Thank you, thank you, thank you.
  2874. >
  2875. >Works like a champ.
  2876.  
  2877. Why did you feel the need to quote 250 odd lines of message just to write
  2878. this?
  2879. And as if that was not enough, 40 seconds later, you decided to do it again
  2880. just
  2881. to really piss everybody off.
  2882.  
  2883. For God's sake, use your bloody delete key will you.
  2884.  
  2885. --- WtrGate+ v0.93.p7 sn 165
  2886.  * Origin: Usenet: The Floppy BBS (1:109/42)
  2887.  
  2888. +----------------------------------------------------------------------------+
  2889.  
  2890. From: NOSPAM_R.Ihle@S-t.De                              29-Oct-99 07:03:22
  2891.   To: All                                               29-Oct-99 14:46:21
  2892. Subj: Re: Enhance File Dialog
  2893.  
  2894. From: NOSPAM_R.Ihle@S-t.De (Ruediger Ihle)
  2895.  
  2896. On Thu, 28 Oct 1999 12:01:23, Thomas Bretz 
  2897. <tbretz@physik.tu-muenchen.de> wrote:
  2898.  
  2899. > Hello,
  2900. > I tried to enhance the FileDialog with some features I need for Vice/2.
  2901. > Three examples: 
  2902. > 1) I need one more button (like save and cancel)
  2903. > 2) I want to have a new pop-down where the user can choose between some
  2904. > numbers.
  2905. > 3) I want to have the possibility to look into archives. (eg: If u klick
  2906. > on a file *.zip u should get the components in the right window)
  2907. > Does anybody know if there is a way to change the OS/2-FileDialog only.
  2908. > I don't want to write it completely new.
  2909.  
  2910. ..
  2911.  
  2912.       FILEDLG    FileDlg;
  2913.  
  2914.       FileDlg.fl = FDS_OPEN_DIALOG | FDS_CUSTOM;    // use custom dialog 
  2915. template
  2916.       FileDlg.usDlgId = IDD_FILEDIALOG2;        // custom dialog id
  2917.       FileDlg.hMod = hModule;            // handle to module containing <usDlgId>
  2918.                         // NULLHANDLE for current EXE
  2919.       FileDlg.pfnDlgProc = FileDialogProc2;    // custom dialog procedure
  2920.  
  2921.       if( WinFileDlg(HWND_DESKTOP, hwnd, &FileDlg) ......
  2922.  
  2923. ...
  2924.  
  2925. MRESULT EXPENTRY FileDialogProc2(HWND hwnd, ULONG msg, MPARAM mp1, 
  2926. MPARAM mp2)
  2927. {
  2928.    if( msg == WM_COMMAND && SHORT1FROMMP(mp1) == ID_BUTTON1 )
  2929.    {
  2930.      // handle your button here
  2931.  
  2932.      return (MRESULT)0;
  2933.    }
  2934.  
  2935.    return WinDefFileDlgProc(hwnd, msg, mp1, mp2);
  2936. }
  2937.  
  2938.  
  2939. -- 
  2940. Ruediger "Rudi" Ihle [S&T Systemtechnik GmbH, Germany, 
  2941. http://www.s-t.de]
  2942. Please remove all characters left of the "R" in my email address
  2943.  
  2944.  
  2945. --- WtrGate+ v0.93.p7 sn 165
  2946.  * Origin: Usenet: S&T (1:109/42)
  2947.  
  2948. +----------------------------------------------------------------------------+
  2949.  
  2950. From: rosenbergerb@my-deja.com                          29-Oct-99 13:49:17
  2951.   To: All                                               29-Oct-99 14:46:22
  2952. Subj: Re: Non-functioning scrollbars
  2953.  
  2954. From: Bobbi Rosenberger <rosenbergerb@my-deja.com>
  2955.  
  2956. In article <3818714b.17603792@news.direct.ca>,
  2957.   dmunro@sfu.ca wrote:
  2958. > What fixpack level are they at?
  2959. >
  2960. > Have you checked the APAR reports to see if this is resolvedby a later
  2961. > fixpack?
  2962. >
  2963. > Duncan
  2964. >
  2965. > On Mon, 25 Oct 1999 13:33:17 GMT, Bobbi Rosenberger
  2966. > <rosenbergerb@my-deja.com> wrote:
  2967. >
  2968. > >
  2969. > >
  2970. > >We have a customer that purchased on OS/2 application from us.
  2971. > >
  2972. > >This customer is telling me that none of the scrollbars in our
  2973. > >application, or any other application (e.g. the OS/2 Window List)
  2974. > >are working.
  2975. > >
  2976. > >Page-Up, Page-Down, and Arrow keys work.  But using the mouse
  2977. > >with the scrollbar doesn't work.  The mouse works otherwise, for
  2978. > >selecting menu options, etc.
  2979. > >
  2980. > >Has anyone seen this behavior?  The field engineer at the customer
  2981. > >site is ready to re-install OS/2 to fix the problem, but I think
  2982. > >that is a drastic measure.
  2983. > >
  2984. > >The customer is running OS/2 3.0.
  2985. > >
  2986. > >Any help would be appreciated.
  2987. > >
  2988. > >
  2989. > >
  2990. > >
  2991. > >Sent via Deja.com http://www.deja.com/
  2992. > >Before you buy.
  2993. >
  2994. >
  2995.  
  2996. No, I haven't looked into Fixpaks yet.    However, we have lots of customers
  2997. running OS/2 3.0.  This is the only one reporting this problem.  I'd like to
  2998. understand what is different in his case.
  2999.  
  3000.  
  3001. Sent via Deja.com http://www.deja.com/
  3002. Before you buy.
  3003.  
  3004. --- WtrGate+ v0.93.p7 sn 165
  3005.  * Origin: Usenet: Deja.com - Before you buy. (1:109/42)
  3006.  
  3007. +----------------------------------------------------------------------------+
  3008.  
  3009. From: dholmes@trellis.net                               29-Oct-99 18:59:11
  3010.   To: All                                               29-Oct-99 21:24:00
  3011. Subj: popuplog
  3012.  
  3013. From: Dan Holmes <dholmes@trellis.net>
  3014.  
  3015. I found this in my popup log
  3016.  
  3017. 09-06-1999  20:01:40  SYS2070  PID 014c  TID 0001  Slot 0095
  3018. E:\PMPROGRAMMING\PROJECTS\CLIBPDF\SOURCE\TESTPDF.EXE
  3019. TESTPDF->CLIBPDF.defaultDomain
  3020. 127
  3021.  
  3022. I wrote both programs the testpdf.exe and clibpdf.dll.  Testpdf calls
  3023. clibpdf.  defaultDomain is an exported variable of clibpdf.
  3024.  
  3025. Is this message good or bad?  My guess is that since it is in popuplog
  3026. it is bad.
  3027. -- 
  3028. ----------
  3029. dan holmes
  3030. mailto:dholmes@trellis.net
  3031. http://www.geocities.com/heartland/hollow/3097
  3032.  
  3033. --- WtrGate+ v0.93.p7 sn 165
  3034.  * Origin: Origin Line 1 Goes Here (1:109/42)
  3035.  
  3036. +----------------------------------------------------------------------------+
  3037.  
  3038. +============================================================================+
  3039.