Then "ttermpro.exe" calls five DLL files. When a user launches Tera Term from desktop shortcut or from Start Menu, "ttermpro.exe" file is executed.
All binary files are 32-bit programs (x86) and Tera Term developers currently do not test them in 64-bit OS environments like x86-64, or IA-64. Dynamically linked libraries (DLL) that are called only when needed, have extension ".dll". dll) and their relationship is shown on the drawing below. Tera Term installation package contains several binary files (.exe and. For example, the _snprintf() of VC++ is different from the snprintf() of ANSI C(C99).ĬygTerm is written in C language and should be compiled using gcc compiler included in Cygwin package. The names of these functions start with underscore (_), which makes it easy to identify them. VC++ has its own implementation of C99-like functions. Microsoft Visual C++ (VC++) supports the original ANSI C standard (C89) and does not support newer standard C99. This should not cause a problem for those who only knows C language because the syntax of both languages is very close. Tera Term developers often use MSDN Library as a reference.
#Tera term ascii windows#
The main source of information about programming for Windows is MSDN Library provided by Microsoft. Other compilers like C++ Builder, Turbo C++ Explorer and gcc cannot be used either. Unfortunately, Express Edition cannot be used as it does not support MFC. Microsoft Visual Studio 2005 Standard Edition or later is required to build the source code.
#Tera term ascii code#
Knowledge of Win32 API is also required because the source code contains lots of calls to Windows platform specific functions from Win32 API. Part of the code is written in C++ and uses Microsoft Foundation Classes (MFC).
Most programs included in Tera Term package are written in programming language C. The general architecture of Tera Term did not change since then, so this description can be considered as up-to-date. This article describes the source code of Tera Term version 4.58 released in February 2008. Yutaka Hirata and Boris Maisuradze translated the article to English in December 2015. The original is in Japanese language and is available from. This article was written by TeraTerm Project in February 2008.