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