Running CRTSTY from your LOGIN script - larsbrinkhoff/its-manual GitHub Wiki
Note that $ means altmode, i.e. escape.
:ddtsym tctyp/
:if n $q-%tnsfw
$(
:crtsty vt100
$)
:$ rest of your login script goes here $
Explanation:
:ddtsym tctyp/check the value attctypin DDT itself.:if nchecks the following value and executes the next command if it's not 0.$(and$)brackets the body of the:if:$starts a "comment", or text that is not executed by DDT, ended by a$