Trial Linux X Windows terminal manager - E4000019 - 25 Sep 2000

As part of our ongoing development of DP4 we have been working on producing a prototype version of trm3 that uses X Windows. Our long term intention is to produce a version of trm3 for X Windows which is uses 4.6xx map architecture and implements the full GUI functionality of 4.6xx DP4. However this will be a major project, and it is likely to be some time before we release such a product. As a proof of concept we have developed a version of trm3 that is roughly equivalent to the 4.520 Windows version of DP4, with some restrictions.

Installation

This trm3 can be used as a direct replacement of the normal trm3 for Linux. As soon as it is installed existing text based DP4 Linux programs will run as X programs instead. However, X programs can normally only be launched from an X session, so there are many situations where you will probably want a choice of trm3 version. This is discussed in Running Text and X versions of trm3 below.

The X Windows version of trm3 requires a different userdata.sys file from the text based trm3. In fact your trm3 should be identical to a Windows userdata.sys file. You can either copy such a file from a Windows machine using binary mode ftp, or you can create an appropriate userdata.sys file by running userdata as follows:

userdata -saa -os windows -type c -reset

You may omit -saa if you do not want the IBM keying conventions. You will need to adjust the colors used for mnemonics and emphasized text as "blue on blue"=underline is not currently implemented.

Features

Limitations

Running Text and X versions of trm3

You can arrange for your DP4 programs to start the regular version of trm3 when you are running from a console, or a TelNet session, and to start the X version of trm3 when you are running in an xterm. The way to achieve this is by arranging for your path to be set appropriately depending on the environment. One way to do this is as follows:

  1. Install the text based version of trm3 in the normal directory (/usr/datafit/bin). Install the X version of trm3 in a subdirectory of this such as /usr/datafit/bin/x).
  2. Add the following lines to .bashrc (in your home directory)
    
    case $TERM in
       xterm)
         PATH=/usr/datafit/bin/x:$PATH
         export $PATH
         ;;
    esac

You will also need to arrange for different versions of userdata.sys to be read when running console programs and X programs. Currently the only way to achieve this is to start the programs in different directories, each with an appropriate copy of userdata.sys. In future releases we may make it possible to specify a name or location for a userdata.sys file using an environment variable.

DP4 Version Compatibility

4.521 Trial software is supplied without warranty and should not be used in live sites. This software is for evaluation purposes only.

Downloads

Trial 4.522 X trm3