home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / os / mswindo / programm / win32 / 855 < prev    next >
Encoding:
Text File  |  1992-09-08  |  1.9 KB  |  44 lines

  1. Newsgroups: comp.os.ms-windows.programmer.win32
  2. Path: sparky!uunet!microsoft!hexnut!alistair
  3. From: alistair@microsoft.com (Alistair Banks)
  4. Subject: Re: Can I port a UNIX X11 app to NT?
  5. Message-ID: <1992Sep08.053621.4405@microsoft.com>
  6. Date: 08 Sep 92 05:36:21 GMT
  7. Organization: Microsoft Corporation
  8. References: <1992Sep4.133247.26225@cs.tu-berlin.de>
  9. Keywords: port unix x11
  10. Lines: 32
  11.  
  12. In article <1992Sep4.133247.26225@cs.tu-berlin.de> ronald@opal.cs.tu-berlin.de (Ronald Hindmarsh) writes:
  13. >
  14. >I would like to port our CIF (Caltech Intermediate Form)
  15. >VLSI Layout editor, currently running under SunOS and X11, to NT.
  16. >
  17. >The source consists of about 70 .c and .h files (23 k lines).
  18. >Our editor invokes another program, using pipes to display
  19. >its output on the screen. Some UNIX functions I found in the source:
  20. >
  21. >Procedure    "whatis" output
  22. >execv()        execv (3V)       - execute a file
  23. >signal()    signal (3V)    - simplified software signal facilities
  24. >pipe()         pipe (2V)    - create an interprocess communication channel
  25. >dup2()         dup2 (2V)    - duplicate a descriptor
  26. >sleep()        sleep (3V)    - suspend execution for interval
  27.  
  28. A number of X+Unix apps are already being ported to Windows NT, particularly
  29. in the CAD field. One such was demoed at last Spring Comdex/Windows World. Most
  30. people's first approach is to re-create an X-like library using the Win32
  31. API. The functions you mention above should not be a problem - much
  32. worse would be a heavy reliance on the semantics of fork(), or the
  33. sequential order of handle assignments.
  34.  
  35. More than 50 applications were shown already ported to Windows NT at
  36. Spring Comdex/Windows World, then more still at the Win32 Conference
  37. in July - so I hope you need not wait in beginning to port your
  38. applications to Windows NT. If you were planning to rely ohn the POSIX
  39. capabilities of Windows NT, then you will have to wait until the
  40. next SDK update, since the July Win32 SDK does not include the
  41. POSIX subsystem
  42.  
  43. -- Alistair
  44.