Browse Prior Art Database

Simulation of X Window System Interface for Character-Based Applications

IP.com Disclosure Number: IPCOM000104962D
Original Publication Date: 1993-Jun-01
Included in the Prior Art Database: 2005-Mar-19
Document File: 4 page(s) / 115K

Publishing Venue

IBM

Related People

Hays, DE: AUTHOR [+2]

Abstract

The X Window System uses the concept of a resource file to provide user specific configuration information to X Window System clients. These resources define customization information for each of the clients such as the user's preference for background color and foreground color.

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

Simulation of X Window System Interface for Character-Based Applications

      The X Window System uses the concept of a resource file to
provide user specific configuration information to X Window System
clients.  These resources define customization information for each
of the clients such as the user's preference for background color and
foreground color.

      This invention provides a method for creating a mouse-driven
interface to character-based applications using resources.  To
provide synergy with the X Window System, new resources are added to
the aixterm program.  These new resources are unique in that not only
is the value of the resource configurable, but the resource name
itself is configurable.  The following shows one generic resource
line for the new resource type.

     aixterm*applicationButton*applicationName*string:   value

      The preceding line can be parsed as follows:  aixterm is a
special client (terminal emulator) where character-based applications
execute and applicationButton is the name of the subclass of the
resource specifying that a configurable resource follows.  The rest
of the string is user configurable.  The applicationName subclass
contains variable data that corresponds to the name of the
character-based application to be configured (i.e., vi).  The string
subclass contains variable data that corresponds to the string that
appears inside the button (button label) and the value is the
specified string to be passed to the application in the form of
keystrokes each time the button is pressed.

      For each application that the user wants to configure with a
mouse-driven interface, the user adds one line in the .Xdefaults file
for each mouse selection (button).

      In addition, aixterm must add a widget to contain the user
config urable button widgets that are created and deleted when each
application is invoked.

      For example, the following line could be added for the vi
editor.

     aixterm*applicationButton*vi*File:        ":wq<Enter>"
     aixterm*applicationButton*vi*Quit:        ":q!<Enter>"

      Whenever vi is invoked by the aixterm clien...