IBM
Contents Index Previous Next



Installation


Text Document Handling

To be able to use Emacs as an external editor in SDL Suite and TTCN Suite:

  1. Put the file sdtemacs.el in a Lisp directory known to Emacs (load-path). By default, the file is installed in $telelogic/include/lisp.
  2. Byte-compile sdtemacs.el for increased execution speed.
  3. Put the line:
    (require 'sdtemacs)
    in your ~/.emacs file or in the file default.el in the ../lisp directory of the Emacs distribution.

Make sure that the environment variable $telelogicbin is correctly set.

Link Handling

To be able to use link handling functions in Emacs:

  1. Put the file sdtlinks.el in a Lisp directory known to Emacs (load-path). By default, the file is installed in $telelogic/include/lisp.
  2. Byte-compile sdtlinks.el for increased execution speed.
  3. Put the line:
    (require 'sdtlinks)
    in your ~/.emacs file or in the file default.el in the ../lisp directory of the Emacs distribution.

Sdtlinks requires sdtemacs, that is, you must install sdtemacs in order to use sdtlinks.

Installation Example

An example of using both packages:

(setq load-path (cons (substitute-in-file-name 
"$telelogic/include/lisp") load-path))
(require 'sdtemacs)
(require 'sdtlinks)

Preferences

In the Preference Manager, the following parameters should be set:

Parameter Value

SDT*TextEditor

Emacs

SDT*EmacsCommand

The command that starts GNU Emacs from a UNIX shell (the default is "emacs").


http://www.ibm.com/rational
Contents Index Previous Next