Dismiss
InnovationQ will be updated on Sunday, Oct. 22, from 10am ET - noon. You may experience brief service interruptions during that time.
Browse Prior Art Database

Determine Default Display Device

IP.com Disclosure Number: IPCOM000121923D
Original Publication Date: 1991-Oct-01
Included in the Prior Art Database: 2005-Apr-04
Document File: 2 page(s) / 59K

Publishing Venue

IBM

Related People

Mott, JM: AUTHOR [+2]

Abstract

The hardware environment for this disclosure is the IBM RISC System /6000* which is a RISC-based computer. The software running on the RISC System/6000 is IBM's AIX* Version 3.

This text was extracted from an ASCII text file.
This is the abbreviated version, containing approximately 53% of the total text.

Determine Default Display Device

      The hardware environment for this disclosure is the IBM
RISC System /6000* which is a RISC-based computer.  The software
running on the RISC System/6000 is IBM's AIX* Version 3.

      AIX Version 3 does not require a system to have any specific
display devices attached.  This means that there can be no
assumptions about which terminal device will be the default console
on which text output appears.  During initial bring-up of the RISC
System/6000, whether from tape, diskette, or hard disk, it is
necessary to dynamically determine the display device.  Rather than
arbitrarily choosing a terminal to be the default display device, the
boot process should query the user for the needed information.  This
information will be saved so that the query will not be posted on
subsequent hard disk boots.
 Introduction

      A command called cpause (Console PAUSE) will display a query on
all configured terminal devices and poll all of them for a response.
The first device to return a response will then be assigned to
standard out (STDOUT) and standard error (STDERR).
 Function of cpause
      1.  cpause creates a linked list of available terminal devices.
Each node of this linked list contains a terminal device name, the
terminal's attributes, a pointer which will reference the terminal
device once it is opened, and a pointer to the next node in the
linked list.  The linked list is created by trying to access each
terminal...