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

User Interface for Command Line Programs

IP.com Disclosure Number: IPCOM000121539D
Original Publication Date: 1991-Sep-01
Included in the Prior Art Database: 2005-Apr-03
Document File: 4 page(s) / 157K

Publishing Venue

IBM

Related People

Li, SG: AUTHOR [+2]

Abstract

Disclosed is a design for providing a user interface to command line programs in OS/2*. Its use can be extended to any command line program that sends its results to standard output in the OS/2, AIX*, or other similar environments.

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

User Interface for Command Line Programs

      Disclosed is a design for providing a user interface to
command line programs in OS/2*.  Its use can be extended to any
command line program that sends its results to standard output in the
OS/2, AIX*, or other similar environments.

      Many command programs designed to work from the OS/2 command
line do not directly provide an easy and manageable way to use its
functions, view generated output, or construct batch files.  This
article describes a simple user front end to a typical command line
program.  The user interface is divided into three panes:  Command
Area, Command List, and Output Area.  Append and Replace radio
buttons as well as a Delete button are placed under the Command List.
The Command Area and Command List occupy the top half of the window,
dividing the area horizontally between them.  The Output Area
occupies the remaining half.
COMMAND AREA

      The user enters the command in this area.  This area acts like
a normal text window; the user can enter characters from the
keyboard, delete characters, cut and paste from the clipboard, and
scroll horizontally and vertically.  The action bar will allow the
user to save and/or execute this command.  If this command is saved,
it will appear at the end of the Command List, but the Output Area
will not be changed.  If this command is executed, the output of the
command will appear in the the Output Area (whether error or
successful completion), but the Command List will not be updated with
the command.

      From the Command Area, the user will also have the option to
continue forward and/or backward through entries in the Command List,
assuming there is a command before or after the current command in
the list.  Doing this will change the highlighted entry in the
Command List and bring up the contents of the entry - the command -
in the Command Area and the output of the command, if any, in the
Output Area.  (The output of each command is retained during the
current application session.)  This ability allows the user access to
each of the commands in the Command List without leaving the
keyboard.

      The user can also save the command in the Command Area, the
commands in the Command List, and/or the output in the Output Area to
multiple files or a single disk file.  For example, saving all the
output screens to a single disk file will allow the user to view the
entire output of a batch file without forcing the user to save the
output of each command in a separate file and combining these files
in a separate editor application program.  The contents of these
areas and the list can also be sent to the printer, and, at any time,
the user can clear the contents of any area or list.

      If the user changes a command that was executed and saved, but
fails to execute it before proceeding to another command, the user
will receive a warning message that the Output Area will be cleared;
the two ar...