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

Synonym Support for OS/2 Commands

IP.com Disclosure Number: IPCOM000108570D
Original Publication Date: 1992-Jun-01
Included in the Prior Art Database: 2005-Mar-22
Document File: 2 page(s) / 90K

Publishing Venue

IBM

Related People

Cahill Jr, RB: AUTHOR

Abstract

Currently, there is no synonym support for OS/2* command line commands. This function should be available in any operating system where commands may be typed in from a "command line".

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

Synonym Support for OS/2 Commands

       Currently, there is no synonym support for OS/2* command
line commands.  This function should be available in any operating
system where commands may be typed in from a "command line".

      Much of my work is accomplished using the IBM VM/CMS operating
system which allows the user to set up SYNONYM files.  These files
contain three columns of information: (1) the command which the user
would like to have synonym support for, (2) the synonym the user
would like to use for the previous command and (3) the minimum number
of characters which will be accepted when entering the new command.
OS/2 should offer a similar feature.  I have a solution which is
similar to the VM/CMS implementation but offers more flexibility and
power to the user.

      OS/2 users should be able to create a file with the filetype of
.SYN that would contain synonyms for use on their workstation. This
file (MYSYNS.SYN, for example) could then be initialized when the
workstation is "booted" up. The command:
Ex:  SYNONYM MYSYNS.SYN
could be placed in the STARTUP.CMD to make the operating system aware
that the synonym file should be in use.  The format of the synonym
calls in the xxxxxxxx.SYN file would be three columns: (1) the
synonym the user wishes to use for a command, (2) a character to be
used as the delimiter between the usual command text and the synonym
(the equal sign), and (3) the exact syntax of the command the user
wishes to abbreviate.  This format is shown in the figure below.
This format differs from that used on other operating systems and is
a new solution because with the delimiter used between the usual
command text and the synonym it allows the user to create a synonym
for a long command that may include blank spaces and/or many
parameters.  Following are a few examples.
TEXTORPS LAST LPT1 LASERDRV C:\TOOLS\LASERDRV.INI E
C:\WORDPROC\DOCS\CONTENT.DOC

      Each of these commands could be abbreviated using a synonym
using the command structure invented, because t...