home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / os / os2 / programm / 3812 < prev    next >
Encoding:
Text File  |  1992-07-27  |  1.5 KB  |  37 lines

  1. Newsgroups: comp.os.os2.programmer
  2. Path: sparky!uunet!caen!hellgate.utah.edu!gr.cs.utah.edu!gershon
  3. From: gershon%gr.cs.utah.edu@cs.utah.edu (Elber Gershon)
  4. Subject: OS2 basics
  5. Date: 27 Jul 92 10:34:01 MDT
  6. Message-ID: <1992Jul27.103401.19641@hellgate.utah.edu>
  7. Organization: University of Utah CS Dept
  8. Lines: 27
  9.  
  10. o.k. OS2 gurus, here is a one (actually two) for you.
  11.  
  12. * From the books I have which are not for version 2.0 (mainly for 1.1/2), it
  13.   seems their is no way a process can be forked from the command line (i.e
  14.   cmd.exe) and open a PM window while having stdin/out in contact.
  15.     If process A is forked from cmd.exe and process A DosExecPgm
  16.   process B in EXEC_BACKGROUND, then process B can open a PM window while
  17.   process A still have stdin/out. The two processes A and B can then talk
  18.   via pipes.
  19.     The above works but, as expected, is not fast. Is there a way to
  20.   do the above with a single process? That is, can a single process in
  21.   OS2 2.0 open a PM window and have stdin/out intact? Can it be done with a
  22.   thread creation instead of a new process? Sample code will be appreciated.
  23.  
  24. * What is the fastest way of drawing horizontal lines? Is GpiLine optimized
  25.   for horizontal lines? Is it the OS2 kernel that draw the lines (DDA)
  26.   or is it the display driver?
  27.  
  28. thanks
  29.  
  30. Gershon
  31.  
  32.   
  33. /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
  34. Elber Gershon                            gershon@cs.utah.edu
  35. 918 University village                   Tel: (801) 582-1807 (Home)
  36. Salt Lake City, Utah 84108-1180          Tel: (801) 581-5642 (Work)
  37.