Definitions

os straus

OS/2

OS/2 is a computer operating system, initially created by Microsoft and IBM, then later developed by IBM exclusively. The name stands for "Operating System/2," because it was introduced as part of the same generation change release as IBM's "Personal System/2 (PS/2)" line of second-generation Personal Computers. OS/2 is no longer marketed by IBM, and IBM standard support for OS/2 was discontinued on 31 December 2006. Currently, Serenity Systems sells OS/2 under the brand name eComStation.

OS/2 was intended as a protected mode successor of PC-DOS. Notably, basic system calls were modeled after MS-DOS calls; their names even started with "Dos" and it was possible to create "Family Mode" applications: text mode applications that could work on both systems. Because of this heritage, OS/2 is like Windows in many ways, but it also shares similarities with Unix and Xenix. IBM made a deal with Commodore to license the Amiga technology IBM OS/2 Warp History. . for OS/2 2.0 and above, and OS/2 still has some Amiga GUI code in Workplace Shell as a result as well as third party code not written by IBM.

OS/2 is also remembered for being one of the first major operating system to have its own advocacy group. Team OS/2 was a grassroots, ad-hoc organization of volunteers, who promoted and supported the operating system and applications designed for it.

Development history

Enthusiastic beginnings

The development of OS/2 began when IBM and Microsoft signed the Joint Development Agreement in August 1985. It was code-named "CP/DOS" and it took two years for the first product to be delivered.

OS/2 1.0 was announced in April 1987 and released in December as a text mode-only OS. However, it featured a rich API for controlling the video display (VIO) and handling keyboard and mouse events so that programmers writing for protected-mode no longer had to call the BIOS or access hardware directly. In addition, development tools included a subset of the video and keyboard APIs as linkable libraries so that family mode programs were able to run under MS-DOS. A task-switcher named Program Selector was available through the Ctrl-Esc hotkey combination, allowing the user to select among multitasked text-mode sessions (or screen groups; each could run multiple programs).

Communications and database-oriented extensions were delivered in 1988, as part of OS/2 1.0 Extended Edition: SNA, X.25/APPC/LU 6.2, LAN Manager, Query Manager, SQL.

The promised GUI, Presentation Manager, was introduced with OS/2 1.1 in October, 1988. It had an almost identical user interface to Windows 2.1.

The Extended Edition of 1.1 sold only through IBM sales channels introduced distributed database support to IBM database systems and SNA communications support to IBM mainframe networks.

Version 1.2 introduced Installable Filesystems and notably the HPFS filesystem. HPFS provided a number of improvements over the older FAT filesystem, including long filenames and a form of alternate data streams called Extended Attributes. In addition, extended attributes were also added to the FAT filesystem.

The Extended Edition of 1.2 introduced TCP/IP and Ethernet support.

OS/2 and Windows-related books of the late 1980s acknowledged the existence of both systems and promoted OS/2 as the system for the future.

Breakup

The collaboration between IBM and Microsoft unraveled in 1990, between the releases of Windows 3.0 and OS/2 1.3. Initially, at least publicly, Microsoft continued to insist the future belonged to OS/2. Steve Ballmer of Microsoft even took to calling OS/2 "Windows Plus". However, during this time, Windows 3.0 became a tremendous success, selling millions of copies in its first year. Much of its success was due to the fact that Windows 3.0 (along with MS-DOS) was bundled with most new computers. OS/2, on the other hand, was only available as an expensive stand-alone software package. In addition, OS/2 lacked device drivers for many common devices such as printers, particularly non-IBM hardware. Windows, on the other hand, supported a much larger variety of hardware. The increasing popularity of Windows prompted Microsoft to shift its development focus from cooperating on OS/2 with IBM to building a franchise based on Windows. Several technical and practical reasons contributed to this breakup:

  • Differences in culture and vision: Microsoft favored the open hardware system approach that contributed to its success on the PC; IBM sought to use OS/2 to drive sales of its own hardware, including systems that could not support the features Microsoft wanted. Microsoft programmers also became frustrated with IBM's bureaucracy and its use of lines of code to measure programmer productivity. IBM developers complained about the terseness and lack of comments in Microsoft's code, while Microsoft developers complained that IBM's code was bloated.
  • Differences in API: OS/2 was announced when Windows 2.0 was near completion, and the Windows API already defined. However, IBM requested that this API be significantly changed for OS/2. Therefore, issues surrounding application compatibility appeared immediately. OS/2 designers hoped for source code conversion tools, allowing complete migration of Windows application source code to OS/2 at some point. However, OS/2 1.x did not gain enough momentum to allow vendors to avoid developing for both OS/2 and Windows in parallel. IBM's involvement was much more successful in redefining Windows' visual appearance after the 1.0 release, giving it what is today perceived as the "Windows 3.0 look".
  • OS/2 targeted the 80286 processor: IBM insisted on supporting the Intel 80286 processor, with its 16-bit segmented memory mode, due to commitments made to customers who had purchased many 80286-based PS/2's because of IBM's promises surrounding OS/2. Until release 2.0 in April 1992, OS/2 ran in 16-bit protected mode and therefore could not benefit from the Intel 80386's much simpler 32-bit flat memory model and virtual 8086 mode features. This was especially painful in providing support for DOS applications. While, in 1988, Windows/386 2.1 could run several cooperatively multitasked DOS applications, including expanded memory (EMS) emulation, OS/2 1.3, released in 1991, was still limited to one 640KB "DOS box".

Given these issues, Microsoft started to work in parallel on a version of Windows which was more future-oriented and more portable. The hiring of Dave Cutler, former VMS architect, in 1988 created an immediate competition with the OS/2 team, as Cutler did not think much of the OS/2 technology and wanted to build on his work at Digital rather than creating a "DOS plus". His "NT OS/2," was a completely new architecture.

IBM grew concerned about the delays in development of OS/2 2.0 and the diversion of IBM funds earmarked for OS/2 development towards Windows. Initially, the companies agreed that IBM would take over maintenance of OS/2 1.0 and development of OS/2 2.0, while Microsoft would continue development of OS/2 3.0. In the end, Microsoft decided to recast NT OS/2 3.0 as Windows NT, leaving all future OS/2 development to IBM. From a business perspective, it was logical to concentrate on a consumer line of operating systems based on DOS and Windows, and to prepare a new high-end system in such a way as to keep good compatibility with existing Windows applications. While waiting for this new high-end system to develop, Microsoft would still receive licensing money from Xenix and OS/2 sales. Windows NT's OS/2 heritage can be seen in its initial support for the HPFS filesystem, text mode OS/2 1.x applications, and OS/2 LAN Manager network support. Some early NT materials even included OS/2 copyright notices embedded in the software. One example of NT OS/2 1.x support is in the WIN2K resource kit. OS/2 support also includes Presentation Manager support with the addition of the Windows NT Add-On Subsystem for Presentation Manager.

32-bit era

OS/2 2.0, released in April 1992, was touted by IBM as "a better DOS than DOS and a better Windows than Windows". For the first time, OS/2 was able to run more than one DOS application at a time. This was so effective that it allowed OS/2 to actually run a modified copy of Windows 3.0, itself a DOS extender, including Windows 3.0 applications. Also new in version 2.0 was the Workplace Shell, a true object-oriented environment.

OS/2 2.0 was, unlike its predecessor, a hybrid 16-bit/32-bit operating system although performance did not notably degrade on the Pentium Pro, an Intel CPU renowned for poor 16-bit performance at the time. The graphics subsystem (Gre) and multimedia (MMPM/2) were updated in a servicepack (and bundled into OS/2 2.1), Warp 3 brought about a fully 32-bit Windowing system, whilst Warp 4 introduced the object-oriented 32-bit GRADD display driver model.

DOS compatibility

Because of the limitations of the Intel 80286 processor, OS/2 1.x could run only one DOS program at a time, and did this in a way that allowed the DOS program to have total control over the computer. A problem in DOS mode could crash the entire computer. In contrast, OS/2 2.0 could benefit from the virtual 8086 mode of the Intel 80386 processor in order to create a much safer virtual machine in which to run DOS programs. This included an extensive set of configuration options to optimize the performance and capabilities given to each DOS program. Any real mode operating system (such as Xenix) could also be made to run using OS/2's virtual machine capabilities, subject to certain direct hardware access limitations.

Like most 32-bit environments, OS/2 could however not run protected-mode DOS programs using the older VCPI interface, unlike the Standard mode of Windows 3.1; it only supported programs written according to DPMI. (Microsoft discouraged the use of VCPI under Windows 3.1, however, due to performance degradation.)

Unlike Windows NT, OS/2 also always gave DOS programs the possibility of masking real hardware interrupts, so any DOS program could deadlock (crash) the machine this way. OS/2 could however use a hardware watchdog on selected machines (notably IBM machines) to break out of such a deadlock. Later, release 3.0 leveraged the enhancements of newer Intel 486 and Intel Pentium processors—the Virtual Interrupt Flag—to solve this problem.

Windows 3.x compatibility

Compatibility with Windows 3.0 (and later Windows 3.1) was achieved by adapting Windows user-mode code components to run inside a virtual DOS machine. Originally, a nearly complete version of Windows code was included with OS/2 itself: Windows 3.0 in OS/2 2.0, and Windows 3.1 in OS/2 2.1; however, IBM later developed versions of OS/2 that would use whatever Windows version the user had installed previously, patching it on the fly, and sparing the cost of an additional Windows license. It could either run full-screen, using its own set of video drivers, or "seamlessly," where Windows programs would appear directly on the OS/2 desktop. The process containing Windows was given fairly extensive access to hardware, especially video, and the result was that switching between a full-screen WinOS/2 session and the Workplace Shell could occasionally cause issues.

Because OS/2 only ran the user-mode system components of Windows, it was not compatible with Windows device drivers (VxDs) and applications needing them.

Multiple Windows applications ran in a single Windows process, just as they would under native Windows. To achieve true isolation between Windows 3.x programs, OS/2 could run multiple copies of Windows in parallel. This approach required considerable system resources, especially memory. It was possible to use DDE between OS/2 and Windows applications, and OLE between Windows applications only.

Native features

OS/2 2.0 provided a 32-bit API for native programs, though the OS itself was a mixture of 16-bit and 32-bit code. It also included a new GUI environment called the Workplace Shell. This was a fully object-oriented GUI that was a significant departure from the previous GUI. Rather than merely providing an environment for program windows (such as the Program Manager), the Workplace Shell provided an environment in which a user could manage programs, files and devices by manipulating objects on the screen.

The "Warp" years

OS/2 version 3.0, released in 1994, was labelled as "OS/2 Warp" to highlight the new performance benefits, and generally to freshen the product image. "Warp" had originally been the internal IBM name for the release: IBM claimed that it had used Star Trek terms as internal names for past OS/2 releases, and that this one seemed appropriate for external use as well.

At the launch of OS/2 Warp in 1994, Patrick Stewart was to be the Master of Ceremonies; however Kate Mulgrew of the then-upcoming series Star Trek: Voyager was substituted at the last minute.

OS/2 Warp offered a host of benefits over OS/2 2.1, notably broader hardware support, greater multimedia capabilities, Internet-compatible networking, and it included a basic office application suite known as IBM Works. It was released in two versions: the less expensive "Red Spine" and the more expensive "Blue Spine" (named for the color of their boxes). "Red Spine" was designed to support Microsoft Windows applications by finding and using Windows already installed on the computer's hard drive. "Blue Spine" included Windows support in its own installation, and so could support Windows applications without a Windows installation. As most computers were sold with Microsoft Windows pre-installed, "Red Spine" was the far more popular product. OS/2 Warp Connect, which had full LAN client support built-in, followed in mid-1995. Warp Connect only came with Windows support built in as well and was nicknamed "Grape."

In 1996, Warp 4 added Java and speech recognition software. IBM also released server editions of Warp 3 and Warp 4 which bundled IBM's LAN Server product directly into the operating system installation. A personal version of Lotus Notes was also included, with a number of template databases for contact management, brainstorming, and so forth. The UK-distributed free demo CD-ROM of OS/2 Warp essentially contained the entire OS and was easily, even accidentally, cracked, meaning that even people who liked it didn't have to buy it. This was seen as a backdoor tactic to increase the number of OS/2 users, in the belief that this would increase sales and demand for third-party applications, and thus strengthen OS/2's desktop numbers. This suggestion was bolstered by the fact that this demo version had replaced another which was not so easily cracked, but which had been released with trial versions of various applications. In 2000 the July edition of Australian Personal Computer magazine bundled software CD-ROMs, included a full version of Warp 4 that required no activation and was essentially a free release.

IBM also released a version of OS/2 that ran on its PowerPC workstations, and promised to produce low-cost PC style machines with the PowerPC processor. However, the PowerPC version of OS/2 was dropped less than a month after its release, and plans for supporting machines were scuttled. Such moves were seen in the industry as indicative of IBM's lack of long-term commitment to the operating system. Ironically, Microsoft Windows NT provided support for PowerPC — a chip co-developed and promoted by IBM — for over 5 years.

Warp 4 was the last widely distributed version of OS/2, and IBM soon announced the end of marketing the operating system to individual users.

Fading out

Overall, OS/2 failed to catch on in the mass market and is today little used outside certain niches where IBM traditionally had a stronghold. For example, many bank installations, especially Automated Teller Machines, run OS/2 with a customized user interface; French SNCF national railways used OS/2 1.x in thousands of ticket selling machines. Telecom companies such as Nortel use OS/2 in some voicemail systems. Nevertheless, OS/2 still maintains a small and dedicated community of followers. IBM, unlike Microsoft, charged ISVs for the OS/2 development kit (Microsoft gave the Windows SDK away for free).

Although IBM began indicating shortly after the release of Warp 4 that OS/2 would eventually be withdrawn, the company did not end support until 2006-12-31. Sales of OS/2 stopped on 2005-12-23. The latest IBM version is 4.52, which was released for both desktop and server systems in December 2001. A company called Serenity Systems has been reselling OS/2 since 2001, calling it eComStation. The latest stable version is 1.2, released in 2004. Version 2.0 was due for release early in 2007, but release candidate 4 for version 2.0 was not released until December 2007.

IBM is still delivering defect support for a fee. IBM urges customers to migrate their often highly complex applications to e-business technologies such as Java in a platform-neutral manner. Once application migration is completed, IBM recommends migration to a different operating system, suggesting Linux as an alternative.

Virtualization

As of 2008 support for running OS/2 under virtualization appears to be improving in a number of third-party products. OS/2 has historically been more difficult to run in a virtual machine than most other legacy x86 operating systems because of its extensive reliance on the full set of features of the x86 CPU. During a pre-launch session (ESX3) with VMware in Oslo, Norway, December 2005, they specifically said that OS/2's use of the CPU's ring 2 was the reason that it would not run in VMware.

A side effect of this is that it is difficult to run OS/2 inside of the popular VMware software product. A beta of VMWare Workstation 2.0 released in January 2000 was the first hypervisor which could run OS/2 at all. Later, the company decided to drop official OS/2 support, presumably because it would require serious work that cannot be economically justified. It is still possible to boot OS/2 by setting guestOS = "os2experimental" in the .vmx file of the VM (checked with VMware Workstation 3.0 and 5.5), but trying to run different versions of OS/2 leads to frustrating problems most of the time. Specifically, one can run OS/2 Warp 4 at Fixpack 5, but installing later Fixpacks will make the virtual machine unusable. eComStation 1.2 and 2.0 beta 4 will not install. Versions 1.x will crash immediately with a "TRAP 0000". Versions 2.x are too ancient to recognize the simulated IDE CD-ROM, do not recognize the virtual SCSI hardware and can crash with "TRAP 000C" after some operations.

Version 3.0 (Red) and Version 4.0 (Warp 4) seems to work fine under VMWare Server 1.04, however the 'guestOS = "os2experimental"' will flash an error and change the vmx file to guestOS = "other". This seems to work just fine for both of these versions.

The lack of official VMware support for running OS/2 created the opportunity for a new virtualization company. A large German bank needed a way to use OS/2 on newer hardware that OS/2 did not support. As virtualization software is an easy way around this, it desired to run OS/2 under a hypervisor. Once it was determined that VMware was not a possibility, it hired some Russian software developers to write a host-based hypervisor that would officially support OS/2. Thus the Parallels, Inc. company and their Parallels Workstation was born.

Microsoft continues to support OS/2 as a hosted operating system in its Virtual PC product. OS/2 and eComStation can both be installed in Microsoft VirtualPC (checked with VPC 2004) although a virtual machine built in VPC 2004 would not run in VPC 2007.

VirtualBox from Sun Microsystems currently supports OS/2 Warp 3, 4 and 4.5 as well as EComStation as guests. Innotek (now part of Sun) also developed the “additions” code in both Virtual PC and Virtual Server which greatly improves host-guest OS interactions in OS/2.

QEMU and Bochs also support running OS/2 as they're full x86 system emulators and not virtualization software, and thus emulates the entire x86 architecture instead of relying on the host CPU, essentially allowing OS/2 unrestricted access to Ring 2, albeit an emulated one.

ATMs

ATM vendors NCR Corporation and Diebold Incorporated have both adopted Microsoft Windows XP as their migration path from OS/2.

Diebold Incorporated initially shipped XP Embedded Edition exclusively but following extensive pressure from customer Banks to support a common OS had them switch to support XP Professional to match their primary competitor NCR Corporation.

Security niche

OS/2 has very few native computer viruses. Its design possibly could have made it vulnerable, but its reduced market share appears to have discouraged virus writers. There are, however, OS/2-based antivirus programs, dealing with DOS viruses and Windows viruses that could pass through an OS/2 server.

Future

There is a community of OS/2 users and developers, along with loyal company customers, hoping that IBM will release OS/2 or a significant part of it as open source. Petitions to that end were made in 2005 and 2007, but IBM declined, citing legal, technical and strategic reasons. It is unlikely that the entire OS will be open at some point in the future, because it contains third-party code, much of it from Microsoft.

Version 2.0 had such a long design cycle that its design started while OS/2 1.1 was still under development, and thus, portions of it were developed in conjunction with Microsoft, even though Microsoft never released a branded version of 2.0 (although they did release a beta in their name). IBM's contribution to versions 1.2 and earlier mostly resides in the GUI components; however, bug fixes and substantial performance changes to the entire system in 1.3 were made by IBM , and much more of the overall system (including the kernel) for 2.0 was developed by IBM.

The aborted PowerPC port did not involve Microsoft at all, and has been proposed as the basis for an open-source 64-bit version of OS/2.

Still, the community has suggested that, even if only the IBM portion of it is made open, the missing parts could be written by the same community to form a next-generation version of the OS. Code could perhaps be integrated from the Wine or ReactOS projects. Many developers believe that these missing parts include many of the legacy 16-bit components not revised since OS/2 1.x, and are exactly the parts that should be rewritten anyway. There is an ongoing petition to open parts of the OS arranged by OS2World.com.

With the possibility of an open-source future for OS/2, the OS may be given a new lease of life. IBM's current and heavy involvement with several open source projects indicate that opening parts of OS/2 will not be difficult for the company. But until then, OS/2's future remains in limbo.

Open source operating systems such as Linux have already profited from OS/2 indirectly through IBM's release of the improved JFS file system which was ported from the OS/2 code base.

OS/2 programs will eventually use emulators and compatibility layers for running programs dedicated for OS/2.

Technology

The graphic system has a layer named Presentation Manager that manages windows, fonts, and icons. This is similar in functionality to a non-networked version of X11 or the Windows GDI. On top of this lies the Workplace Shell (WPS) introduced in OS/2 2.0. WPS is an object-oriented shell allowing the user to perform traditional computing tasks such as accessing files, printers, launching legacy programs, and advanced object oriented tasks using built-in and 3rd party application objects that extended the shell in an integrated fashion not available on any other mainstream operating system. WPS follows IBM's Common User Access user interface standards.

Hardware vendors were reluctant to support device drivers for alternative operating systems including OS/2 and Linux, leaving users with few choices from a select few vendors. To relieve this issue for video cards, IBM licensed a reduced version of the Scitech display drivers, allowing users to choose from a wide selection of cards supported through Scitech's modular driver design.

WPS represents objects such as disks, folders, files, program objects, and printers using the System Object Model (SOM), which allows code to be shared among applications, possibly written in different programming languages. A distributed version called DSOM allowed objects on different computers to communicate. DSOM is based on CORBA. SOM is similar to, and a direct competitor to, Microsoft's Component Object Model. SOM and DSOM are no longer being developed.

OS/2 also includes a radical advancement in application development with compound document technology called OpenDoc, which was developed with Apple. OpenDoc proved interesting as a technology, but was not widely used or accepted by users or developers. OpenDoc is also no longer being developed.

The multimedia capabilities of OS/2 are accessible through Media Control Interface commands. The last update (bundled with the IBM version of Netscape Navigator plugins) added support for MPEG files. Support for newer formats like PNG, progressive JPEG, DivX, Ogg, MP3 comes from third parties. Sometimes it is integrated with the multimedia system, but in other offers it comes as standalone applications.

The TCP/IP stack is based on the open source BSD stack.

Problems

Some problems were classic subjects of comparison with other operating systems:

  • Synchronous input queue (SIQ): if a GUI application was not servicing its window messages, the entire GUI system could get stuck and a reboot was required. This problem was considerably reduced with later Warp 3 fixpacks and refined by Warp 4, by taking control over the application after it had not responded for several seconds.
  • No unified command line: OS/2 divided programs into strict categories and communication between programs of different categories was problematic: It was not possible to enter fullscreen mode from a "windowed OS/2 session"; a separate "fullscreen OS/2 session" was required, which could not be made windowed. OS/2 sessions could launch new DOS sessions, but with DOS sessions (which could be toggled fullscreen) it was not possible to start OS/2 programs.Therefore transparent piping of data was not possible. Worse, in the absence of 8.3 aliases for filenames and directories and DOS API extensions supporting long filenames, it was also problematic to give DOS programs access to files managed from OS/2 programs. Even native OS/2 programs had problems communicating: a command-line program could not fully access the system clipboard, which was reserved for "GUI" programs. Workarounds consisted in creating special helper programs (for example an invisible GUI program just for accessing the clipboard) or in using client-server setups, where the client and the server were different types of programs, but communicated using some available way. Just as OS/2 1.x, the 32-bit system was apparently designed with the idea that users would rapidly make a switch to all-native programs.
  • No unified object handles. The availability of threads probably led system designers to overlook mechanisms which allow a single thread to wait for different types of asynchronous events at the same time, for example the keyboard and the mouse in a "console" program. Even though select was added later, it only worked on network sockets. In case of a console program, dedicating a separate thread for waiting on each source of events made it difficult to properly release all the input devices before starting other programs in the same "session". As a result, console programs usually polled the keyboard and the mouse alternatively, which resulted in wasted CPU and a characteristic "jerky" reactivity to user input. In OS/2 3.0 IBM introduced a new call for this specific problem.
  • No unified virtual memory and disk cache. Modern operating systems can use the entire available RAM for disk caching and can map files into the address space of processes. OS/2 had a dedicated memory pool for disk caching and could not map files. This could result in decreased performance and RAM waste.

Quotations

During the next 10 years, millions of programmers and users will utilize this system. Bill Gates, November 1988 (in the Foreword to the Inside OS/2 book by Gordon Letwin, Microsoft's architect for OS/2).

This quotation could be compared with another one, by Dave Cutler and coming from his introduction to the Inside Windows NT book:

"In the summer of 1988, I received an interesting call from Bill Gates at Microsoft. He asked whether I'd like to come over and talk about building a new operating system at Microsoft for personal computers. [...] What Bill had to offer was the opportunity to build another operating system, one that was portable [...]."

However, as "Inside Windows NT" says in chapter one, section 1.1, "An Operating System for the 1990s":

"Originally, the plan also called for NT to have an OS/2-style user interface and to provide the OS/2 application programming interface (API) as its primary programming interface. Midway through the development of the system, however, Microsoft Windows 3.0 hit the market and was an instant success, in contrast to OS/2, which had not caught on with large numbers of users."

Historical uses

OS/2 was widely used in Brazilian banks. Banco do Brasil had a peak 10,000 machines running OS/2 Warp in the 1990s. OS/2 was used in automated teller machines until 2006. The workstations and automated teller machines have been migrated to Linux.

OS/2 also was widely adopted by accounting professionals and auditing companies. In mid-1990s native 32-bit accounting software were well developed and serving corporate markets.

OS/2 was used by radio personality Howard Stern. He once had a 10 minute on-air rant about OS/2 versus Windows 95 and recommended OS/2. He also used OS/2 on his IBM 760CD laptop.

See also

References

Further reading

External links

Search another word or see os strauson Dictionary | Thesaurus |Spanish
Copyright © 2014 Dictionary.com, LLC. All rights reserved.
  • Please Login or Sign Up to use the Recent Searches feature
FAVORITES
RECENT

;