In order to set up GNU Emacs as the editor for QUI, you need to set
the shell environment variable QUINTUS_EDITOR_PATH
to
the path of the GNU Emacs executable.
You may also need to set the following shell variables:
QUINTUS_LISP_PATH
quintus-directory/editor3.5/gnu
.
DISPLAY
DISPLAY
variable is set GNU Emacs will try to create
a window on the appropriate display, otherwise it will run in the window
that invoked QUI.