|Home||Switchboard||Unix Administration||Red Hat||TCP/IP Networks||Neoliberalism||Toxic Managers|
May the source be with you, but remember the KISS principle ;-)
Skepticism and critical thinking is not panacea, but can help to understand the world better
|News||Telnet Clients||Recommended Links||Teraterm Macros||Reference for macrolanguage||Invoking Teraterm from command line||Highlights of enhancements in latest versions|
|CygTerm+||SSH||Password-less SSH login||Using Pageant for authentication||TTSSH||How to use TeraTerm for the Serial Console||Teraterm log and replay function|
|GNU Screen||Putty||Telnet protocol||Mcedit -- Midnight Commander’s Editor||LogMeTT||TTPMenu|
|Expect||Tips||Admin Horror Stories||Unix History||Humor||Etc|
Currently Teraterm is probably the best free/open source Telnet/SSH client for Windows environment. It supports both Telnet and SSH (limited scp functionality is also supported via File/send file and File/SSH SCP menu items). In addition to standard terminal emulator functionality (also present in Putty) Teraterm has macro language which allows to automate login to most frequently used servers. Unfortunately few people understand this very important and productivity enhancing (especially for sysadmins) feature of Teraterm.
System administrator can greatly benefit from studying Teraterm macro language as well as adopting more advanced methods of work with this program. See Teraterm Tips. For example Teraterm can log the session. logging can be activated iether via menu or by invoking the program with the option /L (you can achieve that by creating a small wrapper script). See Teraterm log and replay function
For system administrators it make sense to create a set of small batch files that lauches Terterm with a given init file (which allow to specify you the color of the background) and connect macro.
cd C:\Utils\Teraterm ttermpro.exe /F=LGREEN.INI /M=headnode.ttl
Using different color of the background heps to prevent a typical sysadmin blunder -- executing command(s) on the wrong server. See Sysadmin Horror Stories
Teraterm known by the abbreviation `TT' was created in 1994 in Japan. The original author of the Teraterm was Takashi Teranishi. Teraterm was released as freeware and won "Online software grand prize 97" competition held by Japanese tool portal Madonomori in 1997. Takashi Teranishi stopped developing Teraterm in 1998. The latest official version created by him was version 2.3.
In September 2004 group of Teraterm enthusiasts from Japan was able to contact Takashi Teranishi. They obtained the permissions to develop Teraterm further and to distribute it under BSD license. They launched the project at SourceForge.jp and released series of versions starting from 4.00. Support forum was established in early 2005. It is the place where TeraTerm users can ask their questions, exchange ideas, share their experience working with the application, post new feature suggestions or report the bugs. The current version of Teraterm is 4.83 (as of June 2013).
The only right site to download the latest version of Teraterm is Japanese SourceForge site: Teraterm Open Source Project. You can also use LogmeTT site (logmett.com) but I doubt that installing logmett makes sense. The site might be probably is more convenient for the USA users.
During installation you should generally avoid selecting Connect component (which provides tabs) as it does not work well. LogmeTT itself is also mixed blessing and use a different license. Therefore you might wish to avoid installing it too. See additional information at my page LogMeTT
Many older and obsolete versions are still available on various sites and are displayed prominently by Google. The first site in Google search "teraterm" points to abandonware (3.1.3 called Teraterm Pro Web from Ayera) and should be ignored
The product has non-intuitive configuration, but functionality is very good. It provides history of visited sites out of the box and has ability to change the size of screen on the fly. By loading different configuration files (TERATERM.INI by default) you can easily adapt to non standard colors which new servers often present to sysadmins. It can write history of your actions to the file. And of couse macro language is an important productivity enhancement tool. It can be combined with programmable keyboard to perform various, pretty complex operation of the server with one keystroke.
Among the features we can list the following:
# To disable tunneled clear text passwords, change to no here! PasswordAuthentication yes #PermitEmptyPasswords no
You can change the default method via Setup/SSH authentication menu and then
selection "use challenge/response to log in..." (or change DefaultAuthMethod=3
to DefaultAuthMethod=5 in teraterm.ini file). That makes Teraterm
behavior compatible with Putty where this authentication method is a default.
[Resize Menu] ; 80x37 ResizeMenu1= 80, 37
; 110x37 ResizeMenu2=110, 37 ; 120x52 ResizeMenu3=120, 52 ; ; Width: no-change, Height: 37 ResizeMenu3= 0, 37 ; Width: 110, Height: no-change ResizeMenu4= 110, 0
See Tera Term command line for full list of options. For our purposes only three options are important /F, /M and /R:
TTERMPRO [ <host> /F=<setup file>] [/M=<macro file>] [/P=<TCP port#>] [/R=<replay file>] [/T=<telnet flag>]
Option /F is the most important option and it gives you ability to specify the setup file. By encoding option /F in simple batch file you can invoke Teraterm with different setup file which for example have different userid for connection, different color settings, set of servers to connect to etc. You can create several icons each of which load different ini file. .
|By encoding option /F in simple batch file you can invoke Teraterm with different setup file which for example have different Userid for connection, different color settings, set of servers to connect to etc. You can create several icons each of which load different ini file. .|
cd "C:\Programe files\teraterm" ttermpro.exe /F=root.iniThis script invoke Teraterm with the configuration file root.ini that provides login as root account and, possibly, some other settings like, say, the location of appropriate SSH private key.
There are multiple addtional opns that you can specify along or instead of options /F=<setup file>, /M=<macro file> and /P=<TCP port#>.
TTERMPRO host1.mydomain.com /F=ROOT.INI # Use root user for login TTERMPRO host2.mydomain.com /F=ROOT.INI /L=F:\Teraterm\rootlog.txt # use logging TTERMPRO host5.mydomain.com /R=add_ntp_config.tt ; replay a file TTERMPRO host5.mydomain.com /M=transfere_dot_files ; replay a file TTERMPRO myhost.mydomain:23 TTERMPRO myhost.mydomain 23 TTERMPRO 126.96.36.199 TTERMPRO myhost.mydomain /T=0 /P=7 TTERMPRO /C=1 TTERMPRO /F=TELNET.INI TTERMPRO /C=2 /BAUD=9600 /F=MYSETUP.INI TTERMPRO /K=MYKEY.CNF /W="My host" TTERMPRO myhost /B /X=100 /Y=50
Following default values are stored in the Teraterm setup file:
<TCP port#> /B <baud rate> <serial port#> <file transfer directory> /H <kanji code (receive)> <kanji code (transmit)> <language> <macro file> <telnet flag> <icon name> <window title> <window pos (x)> <window pos (y)>
What's really important is the teraterm has macro capabilities that enable automatic login to any conceivable Unix or linux or Cisco boxes (both SSH and telnet logins). Teraterm macro language is documented at MACRO Help Index
Teraterm also can be used as Cygwin terminal (in addition to the entry in the File menu it has a shortcut Alt-G). It is a much better command window then windows CMD and is highly recommended for all Cygwin users
As with most open source product documentation is outdated. For example full capabilities of macro language can be deciphered only by reading NEWS announcements. Here we collected them for your convenience.
Generally you should use version 4.77 or later as there were important additions to macro language in recent versions (starting from 4.52):
2006.2.10 (Ver 4.27)
- added 'mpause' macro command. This command enables the macro script to pause the specified time in millisecond.
- added the sample TTL macro 'mpause.ttl'.
- added 'random' macro command. This command enables the macro script to generate the random value.
- added the sample TTL macro 'random.ttl'.
2006.10.09 (Ver 4.46)
- added 'clipb2var' macro command. This command enables the macro script to get data from clipboard.
- added 'var2clipb' macro command. This command enables the macro script to send data to clipboard.
2007.8.8 (Ver 4.53)
- added ‘tolower’ macro command.
- added ‘toupper’ macro command.
- added ‘break’ macro command.
- added an argument to inputbox macro command. New argument is used for default input string.
- added logical operator "&&", "||", "!" and bitwise operator "&", "|", "^", "~" for macro.
- added "Cygterm Here" to a context menu of Explorer. CygTerm can be started from an any directory on Explorer.
2007.9.30 (Ver 4.54)
- added shift operator ">>", "<<", ">>>" for macro.
- changed the priority of macro operator in the following order:
1 not ~ ! +(unary) -(unary)
2 * / %
3 + -
4 >> << >>>
5 and &
6 xor ^
7 or |
8 < > <= >=
9 = == <> !=
1 not ~ ! +(unary) -(unary)
2 * / %
2 and &
3 + -
3 or xor | ^
4 = <> < > <= >=
- added 'rotateleft', 'rotateright' macro command.
- added 'setenv' macro command.
- added 'filenamebox' macro command.
2007.12.4 (Ver 4.56)
- added support of handling large text data in clipboard to macro command clipb2var.
- added new argument to macro command clipb2var. It controls start position of copying. if clipboard content is too long and copied string was truncated, clipb2var returns 2 in system variable "result".
- added 'do', 'loop' macro command.
- added 'until', 'enduntil' macro command.
- added 'callmenu' macro command.
- added `screencapture.ttl' file as a sample TTL macro.
2008.1.15 (Ver 4.57)
- added 'cygconnect' macro command.
- added new argument to getdate and gettime macro command. It specifies date and time format.
- added 'scpsend' macro command.
- added 'scprecv' macro command.
2008.6.25 (Ver 4.59)
- added 'strmatch' macro command.
- added 'setrts' and 'setdtr' macro command.
2008.9.23 (Ver 4.60)
- added 'crc32' and crc32file macro command.
- added 'getttdir' macro command.
2009.3.22 (Ver 4.62)
- added `sprintf2' macro command.
- added `waitn' macro command. Special thanks to p3g4asus.
- added the result of "logopen" macro command stores to 'result' variable.
- added "mtimeout" macro variable. When a user uses the wait-related macro, Tera Term waits "timeout 1000 + mtimeout" millisecond. Precision is about 50 msec.
- added `sendbroadcast' macro command.
- added `sendlnbroadcast' macro command.
- added `sendmulticast' macro command.
- added `setmulticastname' macro command.
2009.7.5 (Ver 4.63)
- added support for cursor control sequences.
- added the CursorCtrlSequence entry in the teraterm.ini file. The default is off.
- added support for the control sequences for window operation.
- added support of "Line at a time" mode.
- added the EnableLineMode entry in the teraterm.ini file. The default value is on.
- change the default mode from "Character at a time" to "Line at a time".
- added configuring the delay time per a carriage return when a user pastes multiple lines. The default is 10 msec.
- A user can change the setup value on the Additional settings dialog.
- Changed the BroadcastCommand functional specification. When the BroadcastCommand is not the realtime mode, a user cand send a message at the selected window in the listbox.
- added UTF-8 language
- In UTF-8 transmission mode, when the input character is recognized as invalid character, Tera Term sends the Replacement Character(U+FFFD).
- changed Korean language implementation
- added support for Korean mode with /LA command line option, which specifies the language mode.
- added support for the IME inline conversion.
- added the `UTF-8m' selection for the receiving character code.
- added the KS5601 at the KanjiSend and KanjiReceive entry in the teraterm.ini file.
- added the KS5601 in the /KR and /KT command line options.
- The OS common dialog is shown in the font setup dialog box.
- added the MSB set character by using the Alt key.
- added the Meta8Bit entry in the teraterm.ini file. The default value is off.
- added `&p' parameter to log file name that can convert the tcp port number.
- added the millisecond at the log timestamp line.
- respond for Secondary DA request only when it has no parameter or parameter 0.
- add experimental support for the motion event of mouse event notify.
- added a new optional setting that can disable the menu for "Send Break". Special thanks to peterprvy.
- added the DisableMenuSendBreak in the teraterm.ini file. The default is off.
- added a new optional setting that can clear the screen when disconnected. Special thanks to peterprvy.
- added ClearScreenOnCloseConnection in teraterm.ini file. The default is off.
- added a new optional setting that can disable the accelerator key for the Duplicate session.
- added the DisableAcceleratorDuplicateSession entry in the teraterm.ini file. The default is off.
- The /F command line option overwrites the other option.
- Changed the command line specification regarding the double quotation.
- A user can specify the "" characters instead of the " character.
- added support for specifying any strings as the ConfirmChangePaste function.
- added the ConfirmChangePasteStringFile entry in the teraterm.ini file. A user can specify a text file path enumerating any strings.
- added the Wait4allMacroCommand entry in the teraterm.ini file. The default is off. Turn on the value to enable the "wait4all" macro command.
- added the new option of the "exec" macro command that the application exit code is stored in the result variable.
- added the C language style comment(/* - */) for the macro script. Limited support.
- added a Subversion(SVN) revision number on the version dialog.
2009.11.10 (Ver 4.64)
- The clickable URL color is able to be painted.
- added configuring the underline attribute to clickable URL string.
- added the check box on Additional settings dialog dialog.
- When the clickable URL is enabled, the mouser cursor is not able to transform.
- sftp/tftp scheme can be linked in a clickable URL.
- The list of open sessions in the Broadcast Command window can support the standard Windows feature of selecting the range of items. It is possible to select consecutive number of items by clicking on the first and then pressing Shift key and clicking on the last. And also, it is possible to select all items by CTRL+A pushing.
- added support for resizing the list box in the Broadcast Command window.
- The list box in the Broadcast Command periodically updates.
- added the status bar at the bottom of the ConfirmChangePaste dialog.
- When a user switches the Tera Term window by using CTRL+TAB key, a new window style is not changed.
- added the "setdebug" macro command.
- Modified Tera Term installer script
- when SSH protocol was linked by the installer, it is able to edit by "File Types" of "Folder Options" on Explorer.
- upgraded TTSSH version supporting SSH2 to 2.52
- upgraded TTProxy to 188.8.131.52
- upgraded LogMeTT to 2.9.7
- Tera Term can access the registry key(HKEY_CURRENT_USER\Software\LogMeTT\InstallPath) to find the path to LogMeTT.
2010.2.20 (Ver 4.65)
- expanded the maximum number of saved host to 500.
- expanded the maximum number of serial connection to 4096.
- added support for the tab character as the command line delimiter.
- enabled the [Show Log dialog] of the [File] menu while the log window is shown.
- added the confirmation parameter at the "disconnect" macro command.
- added support for not clearing the terminal screen while resizing.
- A user can change the setup value on the Additional settings dialog.
- added support for overwritten confirmation at the "filenamebox" macro command.
- added support for replying an empty string at the window title and the icon label reporting control sequence.
- Changed to the ccept, ignore and empty value in the TitleReportSequence entry in the teraterm.ini file.
- changed the default value of "TitleReportSequence" to "empty".
- added Contorl Sequence tab on the Additional settings dialog
- moved "Accept mouse event tracking request", "Disable mouse event tracking when Control is pressed" and "Accept window title change request" from General tab.
- added "Title report sequence", "Window control sequence", "Window report sequence" and "Cursor control sequence".
- added support for alternate screen buffer.
- added the AlternateScreenBuffer entry in the teraterm.ini file. The default value is on.
- stopped to write the new entry to the user's teraterm.ini file by the installer.
- stopped to write the language configuration selected by a user to the user's teraterm.ini file by the installer.
- upgraded CygTerm+ to 1.07_19
- upgraded TTXRecurringCommand Plugin to 1.01
- upgraded TTXResizeMenu Plugin to 1.01
- upgraded TTXttyrec Plugin to 1.02
- added support for Microsoft Windows 7.
- updated the screencapture.ttl file.
- upgraded Oniguruma to 5.9.2
- upgraded OpenSSL to 0.9.8l
2010.5.31 (Ver 4.66)
- YMODEM support
- added support for specifying any baud rate of the serial port connection.
- added support for the VPB and HPB control sequence.
- added support for bracketed paste mode.
- Split the TransBin flag into the Send File and the Log flags.
- added the LogBinary entry in the teraterm.ini file. The default value is off.
- Change the cursor color depending on the IME open status.
- Unlock the clipboard while the ConfirmChangePaste dialog is opened.
- added the [Control]-[Show Macro Window] menu to flash the running macro window.
- added the "filestat" macro command.
2010.8.31 (Ver 4.67)
- added the NextShownWin and PrevShownWin of new shortcut keys in the KEYBOARD.CNF file that display a next or previous window not minimized.
- removed the hidden window from the target windows which switches by the shortcut key NextWin/PrevWin.
- added a new optional setting that can disable the menu for "New connection" and "Duplicate session".
- added a user configuration for changing the cursor color depending on the IME open status.
- A user can change the setup value on the Additional settings dialog.
- added support for the motion event of xterm style mouse event tracking.
- added support for the DEC Locator Mode style mouse event tracking.
- The ttymouse can automatically setup the xterm2 to modify the response of the Secondary DA.
- added the "filetruncate" macro command.
- added the "dispstr" macro command.
- added the "strinsert" macro command.
- added the "strremove" macro command.
- added the "strreplace" macro command.
- added the "strtrim" macro command.
- added the "strsplit" macro command.
- added the "strjoin" macro command.
- added the "strspecial" macro command.
2011.3.5 (Ver 4.69)
- added support for configuring the Terminal ID included in the DA3 control sequence reply.
- added the TerminalUID entry in the teraterm.ini file. The default value is FFFFFFFF.
- added support for the DECSTUI (Change Terminal Unique ID) control sequece.
- added the LockTUID entry in the teraterm.ini file. The default value is on.
- addes support for the DECRQSS (Request terminal setting) control sequence. Supported control sequences are DECSCA, DECSCL, DECSTBM and SGR.
- added support for the DECFI, DECBI control sequences.
- The control sequence requesting window size can reply the actual window size instead of the fixed 480x640 value.
- When the ConfirmChangePaste is enabled, a user is confirmed with pasting the text by using Alt+R accelerator key. The ConfirmChangePaste can confirm when only one line is pasted.
- added support for mintty's application escape mode.
- added support for mintty's mouse wheel reporting control control sequence.
- added support for the IME operation control sequence.
- added the "basename" and "dirname" macro command.
- added the "getfileattr" and "setfileattr" macro command.
- added the "foldercreate", "folderdelete" and "foldersearch" macro command.
2011.12.04 (Ver 4.72)
- added support for OSC 10 (Change VT window text foreground color), 11 (Change VT window text background color), 15 (Change TEK window text foreground color) and 16 (Change TEK window text background color) control string.
- added support for OSC 52 (Clipboard access) control string.
- added the Clipboard access from remote entry on the Additional settings dialog.
- added support for the control seqeuence to modify the tabstop.
- added the TabStopModifySequence entry in the teraterm.ini file. The default is on.
- Broadcast Command: When a user uses the real time mode, the input characters does not show on the edit control.
- added support for specifying an any browser as the clickable URL.
- added the ClickableUrlBrowser and ClickableUrlBrowserArg entries in the teraterm.ini file. The default value is empty.
- added the All and the [Restore All] menu into the [Window] menu.
- added support for the xterm back tab key.
- added the !XBackTab entry in the [X function keys] section of the keyboard configuration file.
- added support for the Integer Array, String Array.
- added the "getspecialfolder" macro command.
- adjusted the up and down space size of the shown message at the "messagebox", "inputbox" and "statusbox" macro commands.
- Modified Tera Term installer script
- Cygterm Here can be launched by the right-click to a opened folder on Windows Vista and 7 later.
- upgraded TTSSH to 2.59
- upgraded TeraTerm Menu to 1.11
- upgraded !TTXRecurringCommand Plugin to 1.02
- upgraded TTLEditor to 1.4
For more information see TeraTerm Macros
Here is funny a sample program:
; 1. Open Tera Term Pro (free VT100 emulator)
; 2. Control -> Macro
; 3. choose 99b.ttl
; it will run even if you close the app, to kill prematurely please open
; taskmanager and kill the ttpmacro.exe
; 99 Bottles of Beer macro for Tera Term
; by Lance Yamada
for i 99 1
j = i - 1
int2str istr i
int2str jstr j
strconcat istr ' bottles of beer on the wall,'
strconcat jstr ' bottles of beer on the wall!'
if i = 1 then
messagebox '1 bottle of beer on the wall,' 'Tera Term'
messagebox 'time to get more beer!' 'Tera Term'
messagebox istr 'Tera Term'
messagebox 'take one down pass it around,' 'Tera Term'
messagebox jstr 'Tera Term'
Several sample ttl file are included with Teraterm, but they usually need some minor tweaking before they work with real servers. For example:
; sample macro of Tera Term ; ; File: ssh2login.ttl ; Description: auto login with SSH2 protocol ; Environment: generic ; Update: 2004/12/4 ; Author: Yutaka Hirata username = 'nike' hostname = '192.168.1.3' ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; msg = 'Enter password for user ' strconcat msg username passwordbox msg 'Get password' msg = hostname strconcat msg ':22 /ssh /auth=password /user=' strconcat msg username strconcat msg ' /passwd=' strconcat msg inputstr
Good source of inspiration can also be
Special utility LogMeTT written by Boris Maisuradze permits convenient storage of login macros for various servers greatly simplifying the task of getting to the right server in minimum time and with minimum hassle (if macros contain passwords they probably should be protected via encrypted drive or similar method). It permits grouping server by location, by operating system, etc. It is highly recommended and really worth the effort of learning the interface. Among notable features:
Please note that many users try to reinvent the bicycle in a form of yet another macro language for terminal emulation. Expect is a more universal and often more powerful way of doing the same. It frees you from the dependency of somebody design mistakes and the luck of understanding of compiler/interpreter technology. You should learn to use it on Unix. The efforts instantly pay for itself.
The teraterm.ini file contains all the configuration settings and parameters used by the application. You may modify the file directly in editor. or through the executable (teraterm.exe) by changing settings then saving the configuration via the Setup --> Save Setup... menu.
Multiple setup file are possible, for example one for AIX, one for HP-UX, one for Solaris and one for Linux.
Modern versions of Teraterm keep the list recently visited hosts. That's a very convenient feature.
Jan 26, 2013 | sanctum.geek.nz
A certain piece of very misleading advice is often given online to users having problems with the way certain command-line applications are displaying in their terminals. This is to suggest that the user change the value of their
TERMenvironment variable from within the shell, doing something like this:$ TERM=xterm-256color
This misinformation sometimes extends to suggesting that users put the forcedAccounting for differences
TERMchange into their shell startup scripts. The reason this is such a bad idea is that it forces your shell to assume what your terminal is, and thereby disregards the initial terminal identity string sent by the emulator. This leads to a lot of confusion when one day you need to connect with a very different terminal emulator.
All terminal emulators are not created equal. Certainly, not all of them are
xterm(1), although many other terminal emulators do a decent but not comprehensive job of copying it. The value of the
TERMenvironment variable is used by the system running the shell to determine what the terminal connecting to it can and cannot do, what control codes to send to the program to use those features, and how the shell should understand the input of certain key codes, such as the Home and End keys. These things in particular are common causes of frustration for new users who turn out to be using a forced
Instead, focus on these two guidelines for setting
- Avoid setting
TERMfrom within the shell, especially in your startup scripts like
.bash_profile. If that ever seems like the answer, then you are probably asking the wrong question! The terminal identification string should always be sent by the terminal emulator you are using; if you do need to change it, then change it in the settings for the emulator.
- Always use an appropriate
TERMstring that accurately describes what your choice of terminal emulator can and cannot display. Don't make an
rxvt(1)terminal identify itself as
xterm; don't make a
linuxconsole identify itself as
vt100; and don't make an
xterm(1)compiled without 256 color support refer to itself as
In particular, note that sometimes for compatibility reasons, the default terminal identification used by an emulator is given as something generic like
xterm, when in fact a more accurate or comprehensive terminal identity file is more than likely available for your particular choice of terminal emulator with a little searching.
An example that surprises a lot of people is the availability of theConfiguring your emulator's string
puttyterminal identity file, when the application defaults to presenting itself as an imperfect
Before you change your terminal string in its settings, check whether the default it uses is already the correct one, with one of these:$ echo $TERM $ tset -q
Most builds of
rxvt(1), for example, should already use the correct
TERMstring by default, such as
rxvt-unicode-256colorfor builds with 256 colors and Unicode support.
Where to configure which
TERMstring your terminal uses will vary depending on the application. For
.Xresourcesfile should contain a definition like the below:XTerm*termName: xterm-256color
rxvt(1), the syntax is similar:URxvt*termName: rxvt-unicode-256color
Other GTK and Qt emulators sometimes include the setting somewhere in their preferences. Look for mentions of
xterm, a common fallback default.
For Windows PuTTY, it's configurable under the "'Connections > Data"' section:
More detail about configuring PuTTY for connecting to modern systems can be found in my article on configuring PuTTY .Testing your
On GNU/Linux systems, an easy way to test the terminal capabilities (particularly effects like colors and reverse video) is using the
msgcat(1)utility:$ msgcat --color=test
This will output a large number of tests of various features to the terminal, so that you can check their appearance is what you expect.Finding appropriate
On GNU/Linux systems, the capabilities and behavior of various terminal types is described using
terminfo(5)files, usually installed as part of the
ncursespackage. These files are often installed in
/usr/share/terminfo, in subdirectories by first letter.
In order to use a particular
TERMstring, an appropriate file must exist in one of these directories. On Debian-derived systems, a large collection of terminal types can be installed to the system with the
For example, the following variants of the
rxvtterminal emulator are all available:$ cd /usr/share/terminfo/r $ ls rxvt* rxvt-16color rxvt-256color rxvt-88color rxvt-color rxvt-cygwin rxvt-cygwin-native rxvt+pcfkeys rxvt-unicode-256color rxvt-xpmPrivate and custom
If you connect to a system that doesn't have a
terminfo(5)definition to match the
TERMdefinition for your particular terminal, you might get a message similar to this on login:setterm: rxvt-unicode-256color: unknown terminal type tput: unknown terminal "rxvt-unicode-256color" $
If you're not able to install the appropriate terminal definition system-wide, one technique is to use a private
.terminfodirectory in your home directory containing the definitions you need:$ cd ~/.terminfo $ find . ./x ./x/xterm-256color ./x/xterm ./r ./r/rxvt-256color ./r/rxvt-unicode-256color ./r/rxvt ./s ./s/screen ./s/screen-256color ./p ./p/putty-256color ./p/putty
You can copy this to your home directory on the servers you manage with a tool like
scp:$ scp -r .terminfo server:
Terminal multiplexers like
tmux(1)are special cases, and they cause perhaps the most confusion to people when inaccurate
TERMstrings are used. The tmux FAQ even opens by saying that most of the display problems reported by people are due to incorrect
TERMsettings, and a good portion of the codebase in both multiplexers is dedicated to negotiating the differences between terminal capacities.
This is because they are "terminals within terminals", and provide their own functionality only within the bounds of what the outer terminal can do. In addition to this, they have their own type for terminals within them; both of them use
screenand its variants, such as
It's therefore very important to check that both the outer and inner definitions for
TERMare correct. In
.screenrcit usually suffices to use a line like the following:term screen
.tmux.conf:set-option -g default-terminal screen
If the outer terminals you use consistently have 256 color capabilities, you may choose to use the
If you follow all of these guidelines, your terminal experience will be much smoother, as your terminal and your system will understand each other that much better. You may find that this fixes a lot of struggles with interactive tools like
vim(1), for one thing, because if the application is able to divine things like the available color space directly from terminal information files, it saves you from having to include nasty hacks on the
t_Covariable in your
.vimrc. Posted in Terminal Tagged term strings , terminal types , terminfo
2017.05.31 (Ver 4.95)
- added new feature regarding How to scroll the screen when the window size is maximized.
- changed default action to the new method. If the action behaves in the same manner as Tera Term 4.94, please set MaximizedBugTweak to 1.
- changed MaximizedBugTweak value from on/off to 0/1/2 combination. The "off" is treated as 0, and the "on" is treated as 2.
- added the notification feature regarding clipboard accessing from the remote host. (Windows Me or 2000 or later)
- changed default directory path for receiving a file (Vista or later:Downloads, XP or earlier:My Documents).
- renamed command line from /NAMEDPIPE to /PIPE option.
- When /PIPE option is used as command line, the host name is complemented by these rules:
- If the host name begins with a '\', the name is not changed.
- If the host name does not include a '\', the '\\.\pipe\' is added at the beginning.
- If the host name includes a '\' anywhere but first, before that is treated as server name and after that is treated as pipe name.
- Bug fixes
- The port number cannot specify 65535 by the command line option.
- When the New connection selects Serial menu, a part of TCP/IP menu is not disabled.
- upgraded TTSSH to 2.81.
- upgraded Oniguruma to 6.2.0.
- NOTICE: The installer no longer support Windows 95, 98, Me and NT 4.0. Please use the zip archive version on these Windows.
TTSSH 2017.05.31 (Ver 2.81)
- added support for changing the user password when using the password authentication.
- added support for executing the specified subsystem instead of the shell on connection.
- added the /ssh-subsystem option at the command line.
- added the notification feature when remote host uses forwarded agent. (Windows Me or 2000 or later)
- Bug fixes
- When agent forwarding is enabled, an application fault is occurred after the remote host sends big packet request.
- upgraded PuTTY to 0.69
> Please, a small question - I made the new installation (FC3, KDE)
> and run MC (the great SW!!). Everything works, except that borders on
> the panels are drawn by 'a umlaut' instead of pseudo-graphic (lines)
This is a locale and termcap issue which I do not fully understand.
Fortunately I do know a workaround. :) Use this:
LANG C mc
to start mc.
Tera Term 4.62 has just been released.
Here is the link to download page:
http://www.logmett.com/index.php?/Downl ... m-462.html
Additional information is available from the links below:
Here are the documents.
The links below contain the list of added features and bugs fixed:
TeraTerm - http://logmett.com/forum/viewtopic.php?t=3
TTSSH - http://logmett.com/forum/viewtopic.php?t=29
LogMeTT - http://logmett.com/forum/viewtopic.php?t=45
4.30 - [ Release Notes / Change Log ] teraterm_utf8_430.exe 2.3 MB 2028 2006-03-07 01:18 fffba4dcdb1b210d582a2efd0604a282
ttssh2 2.20 - [ Release Notes / Change Log ] ttxssh2_220.zip 525.7 KB 653 2006-03-09 22:51 6c7a7064ecac0d04f2d80a1e28884f78 2.19 - [ Release Notes / Change Log ] ttxssh2_219.zip 525.6 KB 551 2006-03-02 23:43 385117f67edd52b4a3079b309f765bb9 2.18 - [ Release Notes / Change Log ] ttxssh2_218.zip 628.2 KB 4737 2005-11-05 03:50 7f7ad5838f17f5d97d3623c51f3cab60 2.13 - [ Release Notes / Change Log ] ttxssh2_213.zip 546.3 KB 4226 2005-04-24 20:33 584108f9d8168692252f41b4a532a53e
SourceForge.jp Project File List
|4.30 - [ Release Notes / Change Log ]|
|teraterm_utf8_430.exe||2.3 MB||2028||2006-03-07 01:18||fffba4dcdb1b210d582a2efd0604a282|
When you use the Solaris telnet command to log in from one site to another, don't forget that you can enter telnet's command mode at any time during your session, usually by entering the following key sequence:
[CTRL] ] (the control key and right-bracket key at the same time)
When this is successful, you'll see the following prompt:
Then, from the "telnet>" prompt, enter "?" to learn more about the available telnet commands. A few commands that will give you more help at the prompt are shown below:
display displays many current Telnet settings
send ? displays commands you can "send" to the remote site
set ? displays variables that can be set
One of my favorites (mostly when fooling around) is:
which means "send this message: are you there?".
Google matched content
Tera Term is an opensource terminal emulator on MS-Windows commonly used by us developers. Tera Term supports a "rich" macro language that can help in automating user actions. These scripts usually remain personal - rarely shared.
In this page, I intend to share the basic scripts that can be used to automate common tasks in the Linux PSP release. The scripts were created with intentional hierarchy to maximize reuse (via inclusion) and minimize redundancy across scripts. Currently, these scripts apply to OMAP35x Linux PSP. But, can be extended easily to other platforms.
Needless to say, these scripts are open to enhancements.
TeraTerm Pro Web is the next generation tool for connecting with remote Telnet and SSH hosts. It is built based on the extremely popular open-source TeraTerm product put out by T. Teranishi in 1999 (click here for original site). In keeping with the original philosophy and spirit of the author, our modified version is completely free!!
Downloads TeraTerm Pro Web works on Windows 95/98, 2000, XP. Here are the latest TeraTerm Pro Web releases:
- version 3.1.3, October 8, 2002. ttpro313.zip
As big-time fans of the original, we realized that there were a host of missing features that could make it immensely more useful, namely:
- Ability to connect via SSH2
- Allow recurring command to be sent to connected hosts (ie: "keep-alive")
- Enhance the TTMacro Language to allow ODBC connectivity and additional scripting functionality
- Have built in web server to accept HTTP requests that:
- Pass one or more commands to the connected Telnet/SSH Host
- Capture resulting text from host until one or more termination strings (or timeout) is detected, then...
- Pass captured text back to waiting browser or web server that initiated the request
- Provide various layers of authentication and encryption for the built-in web server including:
- Base64, MD5, and In-Request authentication
- Allow or require secure SSL communication
- Easy to maintain username & password files
- Provide HTTP listening on any IP/port combination
- Have template-based response and error files that could be easily modified
- Have comprehensive HTTP request logging
Groupthink : Two Party System as Polyarchy : Corruption of Regulators : Bureaucracies : Understanding Micromanagers and Control Freaks : Toxic Managers : Harvard Mafia : Diplomatic Communication : Surviving a Bad Performance Review : Insufficient Retirement Funds as Immanent Problem of Neoliberal Regime : PseudoScience : Who Rules America : Neoliberalism : The Iron Law of Oligarchy : Libertarian Philosophy
War and Peace : Skeptical Finance : John Kenneth Galbraith :Talleyrand : Oscar Wilde : Otto Von Bismarck : Keynes : George Carlin : Skeptics : Propaganda : SE quotes : Language Design and Programming Quotes : Random IT-related quotes : Somerset Maugham : Marcus Aurelius : Kurt Vonnegut : Eric Hoffer : Winston Churchill : Napoleon Bonaparte : Ambrose Bierce : Bernard Shaw : Mark Twain Quotes
Vol 25, No.12 (December, 2013) Rational Fools vs. Efficient Crooks The efficient markets hypothesis : Political Skeptic Bulletin, 2013 : Unemployment Bulletin, 2010 : Vol 23, No.10 (October, 2011) An observation about corporate security departments : Slightly Skeptical Euromaydan Chronicles, June 2014 : Greenspan legacy bulletin, 2008 : Vol 25, No.10 (October, 2013) Cryptolocker Trojan (Win32/Crilock.A) : Vol 25, No.08 (August, 2013) Cloud providers as intelligence collection hubs : Financial Humor Bulletin, 2010 : Inequality Bulletin, 2009 : Financial Humor Bulletin, 2008 : Copyleft Problems Bulletin, 2004 : Financial Humor Bulletin, 2011 : Energy Bulletin, 2010 : Malware Protection Bulletin, 2010 : Vol 26, No.1 (January, 2013) Object-Oriented Cult : Political Skeptic Bulletin, 2011 : Vol 23, No.11 (November, 2011) Softpanorama classification of sysadmin horror stories : Vol 25, No.05 (May, 2013) Corporate bullshit as a communication method : Vol 25, No.06 (June, 2013) A Note on the Relationship of Brooks Law and Conway Law
Fifty glorious years (1950-2000): the triumph of the US computer engineering : Donald Knuth : TAoCP and its Influence of Computer Science : Richard Stallman : Linus Torvalds : Larry Wall : John K. Ousterhout : CTSS : Multix OS Unix History : Unix shell history : VI editor : History of pipes concept : Solaris : MS DOS : Programming Languages History : PL/1 : Simula 67 : C : History of GCC development : Scripting Languages : Perl history : OS History : Mail : DNS : SSH : CPU Instruction Sets : SPARC systems 1987-2006 : Norton Commander : Norton Utilities : Norton Ghost : Frontpage history : Malware Defense History : GNU Screen : OSS early history
The Peter Principle : Parkinson Law : 1984 : The Mythical Man-Month : How to Solve It by George Polya : The Art of Computer Programming : The Elements of Programming Style : The Unix Hater’s Handbook : The Jargon file : The True Believer : Programming Pearls : The Good Soldier Svejk : The Power Elite
Most popular humor pages:
Manifest of the Softpanorama IT Slacker Society : Ten Commandments of the IT Slackers Society : Computer Humor Collection : BSD Logo Story : The Cuckoo's Egg : IT Slang : C++ Humor : ARE YOU A BBS ADDICT? : The Perl Purity Test : Object oriented programmers of all nations : Financial Humor : Financial Humor Bulletin, 2008 : Financial Humor Bulletin, 2010 : The Most Comprehensive Collection of Editor-related Humor : Programming Language Humor : Goldman Sachs related humor : Greenspan humor : C Humor : Scripting Humor : Real Programmers Humor : Web Humor : GPL-related Humor : OFM Humor : Politically Incorrect Humor : IDS Humor : "Linux Sucks" Humor : Russian Musical Humor : Best Russian Programmer Humor : Microsoft plans to buy Catholic Church : Richard Stallman Related Humor : Admin Humor : Perl-related Humor : Linus Torvalds Related humor : PseudoScience Related Humor : Networking Humor : Shell Humor : Financial Humor Bulletin, 2011 : Financial Humor Bulletin, 2012 : Financial Humor Bulletin, 2013 : Java Humor : Software Engineering Humor : Sun Solaris Related Humor : Education Humor : IBM Humor : Assembler-related Humor : VIM Humor : Computer Viruses Humor : Bright tomorrow is rescheduled to a day after tomorrow : Classic Computer Humor
The Last but not Least Technology is dominated by two types of people: those who understand what they do not manage and those who manage what they do not understand ~Archibald Putt. Ph.D
Copyright © 1996-2018 by Dr. Nikolai Bezroukov. www.softpanorama.org was initially created as a service to the (now defunct) UN Sustainable Development Networking Programme (SDNP) in the author free time and without any remuneration. This document is an industrial compilation designed and created exclusively for educational use and is distributed under the Softpanorama Content License. Original materials copyright belong to respective owners. Quotes are made for educational purposes only in compliance with the fair use doctrine.
FAIR USE NOTICE This site contains copyrighted material the use of which has not always been specifically authorized by the copyright owner. We are making such material available to advance understanding of computer science, IT technology, economic, scientific, and social issues. We believe this constitutes a 'fair use' of any such copyrighted material as provided by section 107 of the US Copyright Law according to which such material can be distributed without profit exclusively for research and educational purposes.
This is a Spartan WHYFF (We Help You For Free) site written by people for whom English is not a native language. Grammar and spelling errors should be expected. The site contain some broken links as it develops like a living tree...
|You can use PayPal to make a contribution, supporting development of this site and speed up access. In case softpanorama.org is down you can use the at softpanorama.info|
The statements, views and opinions presented on this web page are those of the author (or referenced source) and are not endorsed by, nor do they necessarily reflect, the opinions of the author present and former employers, SDNP or any other organization the author may be associated with. We do not warrant the correctness of the information provided or its fitness for any purpose.
Last modified: July 28, 2019