template terminal