Unix, Windows NT inch toward common platform ground

The gap between Unix and Windows NT continues to shrink, thanks to new products aimed at that divide. The growing acceptance of Windows NT in the marketplace is pushing from the other side, as well. We all know that since April 3, 1996, federal agencies have not been allowed to buy operating systems that do not meet Posix.2 requirements. Microsoft Corp.'s Windows NT meets only Posix.1 requirements. Into this gap has stepped Softway Systems Inc.

The gap between Unix and Windows NT continues to shrink, thanks to new products aimed
at that divide. The growing acceptance of Windows NT in the marketplace is pushing from
the other side, as well.


We all know that since April 3, 1996, federal agencies have not been allowed to buy
operating systems that do not meet Posix.2 requirements. Microsoft Corp.'s Windows NT
meets only Posix.1 requirements. Into this gap has stepped Softway Systems Inc.


San Francisco-based Softway licensed the NT source code to build its OpenNT Commands
and Utilities, a Posix.1 and Posix.2-compliant Unix environment that Microsoft and Softway
hope will let NT compete for government contracts that require Posix compliance. The idea
behind OpenNT Commands and Utilities is to provide all the Unix tools and the Unix shell
to Windows NT, without emulation. OpenNT will run on all NT-Intel Corp. platforms and on
Digital Equipment Corp.'s Alpha platform.


The benefits of OpenNT are that it lets Unix utilities run on Windows NT, including
those at the heart of Unix, such as the data and text retrieval utilities awk and grep.
Open NT also brings certain Unix functions to Windows NT, such as the ability to have
multiple file names for the same set of data.


Another key benefit of OpenNT, through its software development kit, is the ability to
run Unix applications written to the Posix and XPG4 specifications on Windows NT after a
simple recompile. Many government agencies have old Unix apps that won't run on NT now but
will after a simple recompile with OpenNT's software development kit. The only kicker is
that they must have Microsoft's Visual C++ installed. The OpenNT SDK wraps the Microsoft
C/C++ compiler environment with additional tools, header files and libraries.


Agencies using OpenNT won't have to migrate everything at once and, by recompiling,
won't necessarily have to wade into the murky waters of Win32. Developing an NT app from
scratch will require a high degree of Win32 expertise.


Still, porting Unix applications is not for the faint of heart. The time it takes to
complete a port depends on several factors, including the complexity of the application,
how closely it adheres to Unix programming standards, how dependent the code is on a
specific flavor of Unix or hardware architecture, and how complex the interclient
communications code is. The amount of code and whether the application is character-based
or has a graphical user interface also will affect the time it takes to port an
application.


How easy is it? Since I've never been considered a Unix guru, I thought I'd install the
product and give it a test run by installing the Commands and Utilities shell. The first
thing is that you must be an administrator (or have administrator rights) to install
OpenNT--both the Commands and Utilities and the SDK.


Second, you should be running on an NT file system partition to get full Posix file
semantics. It will still work on a file allocation table partition, but file links, file
groups and ownerships, and the full scope of file names allowed under Posix will not work.
Installing OpenNT replaces the Microsoft Posix subsystem. (Yes, there is an uninstall that
will restore Microsoft's Posix.1 system.)


So, I popped in the CD-ROM and ran setup. That's about all there was to it. I opened an
NT command line, typed in c:\opennt\bin\sh -l (that's the letter L, not a one) and I was
in business. Actually the product ships with two shells: the sh shell is a
Posix.2-conforming shell and the ksh shell is a port of the public domain KornShell. There
are a few scripting syntax and other differences between the two shells. These differences
are spelled out in the users guide.


I quickly ran through my limited knowledge of Unix command-line utilities, then ran a
couple of Win32 GUI programs to test that capability. It was interesting to run Windows
NT's regedit32.exe in a Unix shell and see the internals of NT graphically displayed from
the command line.


Softway systems says OpenNT will run Win32 command-line programs, but I didn't have any
available to test it with.


Since I didn't have Microsoft Visual C++ installed on this particular machine I didn't
install the SDK. If the SDK is of interest to you, download a trial version and try it out
yourself.


Softway is letting anyone download a trial version of OpenNT from the company's Web
page at http://www.openNT.com.  After
you register with Softway, you get via return e-mail an activation key that will let you
run OpenNT products for 30 days.


Also on this Web site you will find product updates and fixes, tech notes, pre-release
versions of upcoming products and contributed applications such as Ispell, a
screen-oriented spelling checker that shows you your errors in the context of the original
file. There's also tcsh Version 6.006, a version of the Berkeley C-Shell with extras.


Charles S. Kelly is a computer systems analyst at the National Science Foundation.
You can e-mail him on the Internet at ckelly@cpcug.org.
  This column expresses his personal views, not the official views of NSF.



X
This website uses cookies to enhance user experience and to analyze performance and traffic on our website. We also share information about your use of our site with our social media, advertising and analytics partners. Learn More / Do Not Sell My Personal Information
Accept Cookies
X
Cookie Preferences Cookie List

Do Not Sell My Personal Information

When you visit our website, we store cookies on your browser to collect information. The information collected might relate to you, your preferences or your device, and is mostly used to make the site work as you expect it to and to provide a more personalized web experience. However, you can choose not to allow certain types of cookies, which may impact your experience of the site and the services we are able to offer. Click on the different category headings to find out more and change our default settings according to your preference. You cannot opt-out of our First Party Strictly Necessary Cookies as they are deployed in order to ensure the proper functioning of our website (such as prompting the cookie banner and remembering your settings, to log into your account, to redirect you when you log out, etc.). For more information about the First and Third Party Cookies used please follow this link.

Allow All Cookies

Manage Consent Preferences

Strictly Necessary Cookies - Always Active

We do not allow you to opt-out of our certain cookies, as they are necessary to ensure the proper functioning of our website (such as prompting our cookie banner and remembering your privacy choices) and/or to monitor site performance. These cookies are not used in a way that constitutes a “sale” of your data under the CCPA. You can set your browser to block or alert you about these cookies, but some parts of the site will not work as intended if you do so. You can usually find these settings in the Options or Preferences menu of your browser. Visit www.allaboutcookies.org to learn more.

Sale of Personal Data, Targeting & Social Media Cookies

Under the California Consumer Privacy Act, you have the right to opt-out of the sale of your personal information to third parties. These cookies collect information for analytics and to personalize your experience with targeted ads. You may exercise your right to opt out of the sale of personal information by using this toggle switch. If you opt out we will not be able to offer you personalised ads and will not hand over your personal information to any third parties. Additionally, you may contact our legal department for further clarification about your rights as a California consumer by using this Exercise My Rights link

If you have enabled privacy controls on your browser (such as a plugin), we have to take that as a valid request to opt-out. Therefore we would not be able to track your activity through the web. This may affect our ability to personalize ads according to your preferences.

Targeting cookies may be set through our site by our advertising partners. They may be used by those companies to build a profile of your interests and show you relevant adverts on other sites. They do not store directly personal information, but are based on uniquely identifying your browser and internet device. If you do not allow these cookies, you will experience less targeted advertising.

Social media cookies are set by a range of social media services that we have added to the site to enable you to share our content with your friends and networks. They are capable of tracking your browser across other sites and building up a profile of your interests. This may impact the content and messages you see on other websites you visit. If you do not allow these cookies you may not be able to use or see these sharing tools.

If you want to opt out of all of our lead reports and lists, please submit a privacy request at our Do Not Sell page.

Save Settings
Cookie Preferences Cookie List

Cookie List

A cookie is a small piece of data (text file) that a website – when visited by a user – asks your browser to store on your device in order to remember information about you, such as your language preference or login information. Those cookies are set by us and called first-party cookies. We also use third-party cookies – which are cookies from a domain different than the domain of the website you are visiting – for our advertising and marketing efforts. More specifically, we use cookies and other tracking technologies for the following purposes:

Strictly Necessary Cookies

We do not allow you to opt-out of our certain cookies, as they are necessary to ensure the proper functioning of our website (such as prompting our cookie banner and remembering your privacy choices) and/or to monitor site performance. These cookies are not used in a way that constitutes a “sale” of your data under the CCPA. You can set your browser to block or alert you about these cookies, but some parts of the site will not work as intended if you do so. You can usually find these settings in the Options or Preferences menu of your browser. Visit www.allaboutcookies.org to learn more.

Functional Cookies

We do not allow you to opt-out of our certain cookies, as they are necessary to ensure the proper functioning of our website (such as prompting our cookie banner and remembering your privacy choices) and/or to monitor site performance. These cookies are not used in a way that constitutes a “sale” of your data under the CCPA. You can set your browser to block or alert you about these cookies, but some parts of the site will not work as intended if you do so. You can usually find these settings in the Options or Preferences menu of your browser. Visit www.allaboutcookies.org to learn more.

Performance Cookies

We do not allow you to opt-out of our certain cookies, as they are necessary to ensure the proper functioning of our website (such as prompting our cookie banner and remembering your privacy choices) and/or to monitor site performance. These cookies are not used in a way that constitutes a “sale” of your data under the CCPA. You can set your browser to block or alert you about these cookies, but some parts of the site will not work as intended if you do so. You can usually find these settings in the Options or Preferences menu of your browser. Visit www.allaboutcookies.org to learn more.

Sale of Personal Data

We also use cookies to personalize your experience on our websites, including by determining the most relevant content and advertisements to show you, and to monitor site traffic and performance, so that we may improve our websites and your experience. You may opt out of our use of such cookies (and the associated “sale” of your Personal Information) by using this toggle switch. You will still see some advertising, regardless of your selection. Because we do not track you across different devices, browsers and GEMG properties, your selection will take effect only on this browser, this device and this website.

Social Media Cookies

We also use cookies to personalize your experience on our websites, including by determining the most relevant content and advertisements to show you, and to monitor site traffic and performance, so that we may improve our websites and your experience. You may opt out of our use of such cookies (and the associated “sale” of your Personal Information) by using this toggle switch. You will still see some advertising, regardless of your selection. Because we do not track you across different devices, browsers and GEMG properties, your selection will take effect only on this browser, this device and this website.

Targeting Cookies

We also use cookies to personalize your experience on our websites, including by determining the most relevant content and advertisements to show you, and to monitor site traffic and performance, so that we may improve our websites and your experience. You may opt out of our use of such cookies (and the associated “sale” of your Personal Information) by using this toggle switch. You will still see some advertising, regardless of your selection. Because we do not track you across different devices, browsers and GEMG properties, your selection will take effect only on this browser, this device and this website.