To start GT.M from a POSIX shell:
To start GT.M in UTF-8 mode from a POSIX shell:
To start GT.M from a C-type shell:
To start GT.M in UTF-8 mode from a C-type shell:
Set the environment variable gtm_chset to UTF-8 and LC_CTYPE or LC_ALL to any usable UTF-8 locale.
$ setenv gtm_chset UTF-8 $ setenv LC_CTYPE en_US.utf8
Source the gtmchrc script to set up default GT.M UTF-8 environment.
$ source <path_to_gtm_installation_directory>/gtmcshrc
Run the gtm alias to start GT.M in direct mode.
$ gtm
To start GT.M without using any script:
To start GT.M in UTF-8 mode without using any script:
Set the following aliases to run GT.M and its utilities.
alias dse="$gtm_dist/dse" alias gde="$gtm_dist/mumps -run ^GDE" alias gtm="$gtm_dist/mumps -direct" alias lke="$gtm_dist/lke" alias mupip="$gtm_dist/mupip"
Type the following command to start GT.M in direct mode.
$ gtm
At the GT.M prompt, type the following command.
GTM>w $ZCHSET UTF-8 ; the output confirms UTF-8 mode.
![]() | Note |
---|---|
If you are configuring a GT.M environment without using the
|
![]() | Caution |
---|---|
When possible, GT.M verifies that MUMPS, MUPIP, DSE and LKE reside in $gtm_dist. If the path to the executable and the path to $gtm_dist do not match each executable issues an error. In cases where the executable path could not be determined, each executable defers issuing an error until it is required. |