Helpful tips

What is Ttpmacro EXE?

What is Ttpmacro EXE?

Tera Term Macro Interpreter files such as ttpmacro.exe utilize the EXE file extension. This file is considered a Win32 EXE (Executable application) file, and was first created by TeraTerm Project for the Tera Term software package.

How do I run a TTL script?

To start MACRO (TTL), select the [Control] Macro command and then the macro file in the Open Macro dialog box. The question is how to write command inside batch file, to call macro file and run automatically by just opening batch file.

Why is Tera used?

Tera Term is the terminal emulator for Microsoft Windows, that supports serial port, telnet and SSH connections. Among many other features it also has built-in Macro scripting language. Tera Term is often used to automate tasks related to remote connections initiated from PC.

What is a TTL script?

TTL is a simple interpreted language like BASIC. To learn TTL quickly, study the sample macro files in the distribution package and the command reference.

Can PuTTY run scripts?

Executing the script using PuTTY from the windows command prompt. With some servers (particularly Unix systems), you can even put multiple lines in this file and execute more than one command in sequence, or a whole shell script; but this is arguably an abuse, and cannot be expected to work on all servers.

How do I send files with Teraterm?

There is an option in Teraterm under File->Send file… that can be used to send binary file over. If you have a binary file just check the box “binary” in the option section of the sendFile Window before pressing “Open” with your specific file selected.

How do I create a TTL file?

TTL” with MACRO, do the following steps.

  1. Execute the [View] Options command of Explorer.
  2. Select the “File Types” tab.
  3. Click the “New Type” button and specify items like the following. Description of type: Tera Term macro files Associated extension: TTL.
  4. Click the “New” button and specify items like the following.

How do you use Teraterm?

Connecting via Ethernet

  1. When you first open Tera Term, it will prompt you with a New Connection window.
  2. Change the Service type to Other.
  3. Enter the IP address and the Port# for the ICOM port (see ICOMCONFIG command) to which you would like to connect.
  4. Click OK. Tera Term will connect to the device.

Can PuTTY run Python?

Yes, you have to copy your python script to the remote server. Here is a link on how to copy files to a remote server using putty. If you are connecting through putty then your server should be (I think so) Unix/Linux. Exe files won’t work there, but the Python should be installed by default.

How do I run a ksh script in PuTTY?

1 Answer

  1. make sure that ksh is correctly installed in /bin/ksh.
  2. for executing a script run from the command-line ./script in the directory where script exist.
  3. If you want to execut the script from any directory without ./ prefix, you have to add the path to your script to the PATH environment variable, add this line.

How do you use zmodem?

To upload files with ZMODEM:

  1. Enter the following command at the remote prompt: $ rz.
  2. In the File menu, point to Transfer.
  3. Click Send ZMODEM. RESULT: The Open dialog box appears.
  4. Select the files you want to upload.
  5. Select the Send File As ASCII check box if you want to upload the files as ASCII format.
  6. Click Open.

How does Xmodem work?

XMODEM, like most file transfer protocols, breaks up the original data into a series of “packets” that are sent to the receiver, along with additional information allowing the receiver to determine whether that packet was correctly received. If an error is detected, the receiver requests that the packet be re-sent.

How to run a macro file in ttpmacro?

The macro file can be specified as a parameter of the command line (shortcut link) of TTPMACRO.EXE. For example, if you want to run the macro file “DIALUP.TTL”, specify the command line (shortcut link) like: TTPMACRO DIALUP.TTL You can omit the file name extension “.TTL”.

Do you need to associate TeraTerm with ttpmacro.exe?

You need to associate the correct program with this extension. Sometimes teraterm.exe is associated instead of ttpmacro.exe. That leads to troubles. The way Teraterm presents the list of sites to which you connected is OK if this is just a dozen servers, but became troublesome if this is several dozens.

How to run TeraTerm and TTL file using batch file?

To start MACRO (TTL), select the [Control] Macro command and then the macro file in the Open Macro dialog box. The question is how to write command inside batch file, to call macro file and run automatically by just opening batch file. This is the command from previous post. From my uderstanding, /M should be command to open macro file.

Why does double clicking on TTL file not launch macro?

Double clicking on .TTL file doesn’t always launch macro. You need to associate the correct program with this extension. Sometimes teraterm.exe is associated instead of ttpmacro.exe. That leads to troubles.