Tera Term Macro Tutorial

LogMeTT Tutorial 1. What is LogMeTT? LogMeTT is a launcher application for TeraTerm -terminal emulator- macro. A user can automate login procedure to the remote host as well as running any process on the server. Though `TeraTerm Menu' is already available as auto-login application, LogMeTT has more feature than TeraTerm Menu. MACRO (TTPMACRO.EXE) is an interpreter of the macro language 'Tera Term Language (TTL)', which controls Tera Term and provides various functions like auto dialing, auto login and so on. Teraterm macro language is documented at MACRO Help Index.They can be created in any text editor. There is VIM script that provide highlighting for Teraterm - Teraterm MACRO syntax highlighting vim online.The extension used for Teraterm macros is.ttl.you can launch the macro by just cling on the file is the right program is associated with this extension. Here is a brief tutorial called Tera. Macro language for dummies Tera. So to start things off, let's deal with variables. There are two types of variables: Strings (limited to 2. Integers (Limited. The type is determined implicitly when the variable is created and cannot be altered afterwards. Also, since Tera.

  1. Tera Term (Pro) is a free software terminal emulator (communication program) for MS-Windows. It supports VT100 emulation, telnet connection, serial port connection, and so on.
  2. No Serial connection with Tera Term. Hi, I just downloaded Tera Term to my computer and I am trying to set my 'new connection' to serial for the mbed serial port. However, the serial option is grayed out. I tried updating the firmware on the mbed but it hasn't helped.
  3. A tutorial From www.MicroDigitalEd.com How to Find, Download, and Use Tera Terminal About Tera Term Windows Vista and Windows 7 do not come with HyperTerminal.
Tera Term
Original author(s)T. Teranishi
Developer(s)Tera Term Project
Initial release1994; 25 years ago
Stable release
Repository
Written inC and C++ (originally Pascal)
Operating systemMicrosoft Windows
TypeTerminal emulator
LicenseBSD license
Websitettssh2.osdn.jp

Tera Term (alternatively TeraTerm) is an open-source, free, software implemented, terminal emulator (communications) program. It emulates different types of computer terminals, from DEC VT100 to DEC VT382. It supports telnet, SSH 1 & 2 and serial port connections. It also has a built-in macroscripting language (supporting Onigurumaregular expressions) and a few other useful plugins.

History[edit]

Tera Term Download

The first versions of Tera Term were created by T. Teranishi from Japan. At the time, it was the only freely available terminal emulator to effectively support the Japanese language. Original development of Tera Term stopped in the late 1990s at version 2.3, but other organizations have created variations.

In October 2002, Ayera Technologies released TeraTerm Pro 3.1.3 supporting SSH2 and added multiple other features like a built-in web server for API integration with external systems, recurring 'keep-alive' commands, and ODBC database support via the TT Macro Scripting Language. Ayera Technologies did not make their source open, but does provide limited technical support.

In 2004, Yutaka Hirata, a software designer from Japan, restarted development of the open source version of Tera Term. He added his own implementation of SSH2 and many new features on top of what was part of version 2.3.[1]

To avoid confusion with version numbers and to indicate that Tera Term developed by Yutaka was more recent than version 3.1.3 from Ayera Technologies, it was decided to give this branch of Tera Term Professional version numbers starting 4.xx.

In January 2005, Boris Maisuradze, together with Yutaka Hirata, started the TeraTerm Support forum where they answer questions from Tera Term users. Posting in this forum is the best way to suggest new features for Tera Term or propose new commands for the Tera Term Macro language.

Since 2007, Tera Term has been maintained by Tera Term Project (Japanese Developer team) as open source software.

Features[edit]

Tera Term is similar to SecureCRT.[2]

Tera term supports:[citation needed]

  • Serial port connections over UART.
  • TCP/IP (telnet, SSH1, SSH2) connections.
  • Log replaying.
  • Named pipe connection.
  • IPv6 communication.
  • VT100 emulation and selected VT200/VT300 emulation.
  • TEK4010 emulation.
  • File transfer protocols (Kermit, XMODEM, YMODEM, ZMODEM, B-PLUS and Quick-VAN).
  • Scripts using the 'Tera Term Language'.

Common versions[edit]

  • 1.4 Last version supporting Win16; source available in Pascal
  • 2.3 Last version released by T. Teranishi
  • 3.1.3 Last version released by Ayera. Has issues with scroll window boundaries. Title bar identifies it as version 3.1
  • 4.xx Latest OSDN release

Sample images[edit]

See also[edit]

  • Telix - MSDOS era terminal

References[edit]

  1. ^'Tera Term History'.
  2. ^Davis, David. 'Using a terminal emulator to access Cisco command-line interface'. Archived from the original on August 21, 2008. Retrieved 2008-11-11.

External links[edit]

Retrieved from 'https://en.wikipedia.org/w/index.php?title=Tera_Term&oldid=918702748'
Active6 years, 6 months ago

I am using a Tera Term over a serial port to do some testing on a board. Recently I found out I can do some scripting in Tera Term so I have been doing research to help automate and make testing a little easier.

Teraterm Macro Help

I know Tera Term has a site that lists example macros as well as a command list but I guess what I need is someone with experience scripting in Tera Term.

Tera Term uses a sort of Basic language called Tera Term Language (TTL) but I found it hard from the site to actually identify which commands I needed to use.

Tera term site: http://ttssh2.sourceforge.jp/ < -- Note: Site is in Japanese but I always have it auto translated...

I am trying to develop a script to play a set of tracks using a 'play x' command, where x is the track index. Ideally the track will play for ~3 seconds and then increment up to the next track. I have a very crude outline algorithm that I should describe it.

Algorithm:

If anyone has any insights or experience with Tera term I would be very appreciative.

If anything right now I need to figure out how to take an inputbox input and store it to a variable. I can probably figure out the rest...

Thanks

gradytrain
gradytraingradytrain

1 Answer

How to use tera term

OK, I did some digging and found a moderately active forum: http://logmett.com/forum/

It is there that I found a nice thread called: TeraTerm Macro Language for dummies...http://logmett.com/forum/viewtopic.php?f=3&t=2133

That, and the command list on the actual TeraTerm project site is where I have been troubleshooting and solving 90% of my issues.

To take in a user defined input you use the 'inputbox' command, which follows the format:

inputbox 'message' 'title' [default]

(not entirely sure what default is supposed to be doing)

E.G.

inputbox 'Please type input' 'Input'

a dialog box will appear and prompt a response. This input is sent to a default variable inputstr

I have gotten this variable to work in some cases but I think the problem is that the variable is technically a string type so I can't do traditional loops. I need to figure out a way to use the str2int command to do an expression.

I think that answers my own immediate question as well as provide some reference for others...

Thanks

gradytraingradytrain

Tera Term Macro Tutorial

Not the answer you're looking for? Browse other questions tagged scriptingmacros or ask your own question.