Introduction



next up previous contents
Next: Operations Up: Jinx Previous: Contents

Introduction

Jinx is an interactive tool for manipulating simple databases.

A Jinx-database consists of an arbitrary number of records. A record consists of fields. A field may contain arbitrary ASCII printable data (no newlines or tabs). All records in a single database have the same number of fields. A database may therefore be viewed as a row of columns. Associated with each column is a unique name (the fieldname). There is no limit on the number of columns in a Jinx-database. In a picture:

Associated with each column is a regular expression which is used as a constraint on the data that may be entered in the column. Users may override constraints when entering or modifying data.

With Jinx you can manipulate at most one database at a time. This database is called the current database. Jinx enables the user to

When the user creates a new database by projection, extraction etc, the new database becomes the current database.

Jinx marks the current database as modified or not modified. A database is only marked not modified if it is an exact copy of a database on disk. After opening a database or saving one, the current database is marked not modified. Newly created databases are all marked modified initially. When the current database is marked modified and the user requests an action (like quiting Jinx, joining, projecting) that will scratch the current database, Jinx will ask permission first.

When on disk, a Jinx-database consists of two files: name.des containing the descriptor and name.dat containing the data (see section 5 for a description of their contents). Jinx uses name to identify a database. When opening a database a name has to be specified. That name becomes the name associated with the current database. Newly created databases are nameless. Changing the descriptor (fieldnames and/or patterns) will make the current database nameless. The user must specify a name when a nameless database is to be saved. That name becomes the name associated with the current database.
You can use Jinx by typing:

If a namelist is given, Jinx tries to open database name1. The other names are are presented as defaults when the opening of another database is requested. If no namelist is given, Jinx just starts up without a current database. With the L-option information is logged to the specified logfile. By default, Jinx will log activities like opening and saving of databases. Loglevel 1 or 2 are only there for debugging purposes and will log many activities related to the presentation.
The D-option will make Jinx dump core for undump-purposes. The v-option will show version and copyright information.

When in Jinx, you usually see the following things on the screen. At the top is information about the current database. At the bottom of the screen are a menu, the status line and a command line. The rest of the screen is used for presenting info in the database. The amount of info shown depends on the size of the screen.



next up previous contents
Next: Operations Up: Jinx Previous: Contents



LOTOS TOOLS in TWENTE
Fri Oct 7 13:30:15 MET 1994