This is a teraterm macro that executes the command described in preformatted text.
Execute the procedure described by markdown (or textile) as it is.
You can also get logs at the same time.
This software is released under the MIT License, see LICENSE file.
- Please copy the following file and describe the settings such as prompt.
auto-run.template.ttl
(Omitted)
prompt="pi@raspberrypi:.*\$"
(Omitted)
include "core\pre-execute.ttl"
exit
In this example, the file copied is your-auto-run.ttl.
- Select the your-auto-run.ttl in Teraterm.
Teraterm
-> Control
-> Macro
-> your-auto-run.ttl
- Then you are prompted to select markdown or textile, please specify an arbitrary file.
Execution starts after selection. And log acquisition is performed at the same time.
(Automatically make log directory in the same location as the file including core/pre-execute.ttl)
The sample is in the sample directory.
```
command1
command2
command3
```
<pre>
command1
command2
command3
</pre>
<!--ttl
teraterm-command1
teraterm-command2
teraterm-command3
-->
The following can not be used.
<!--ttl teraterm command1(can not use) -->
It works like a #include of the preprocessor.
<!--use
FILE_PATH1
FILE_PATH2
-->
~~~use
FILE_PATH1
FILE_PATH2
~~~