Questions tagged [teraterm]

TeraTerm is a free, open source terminal emulator. This tag is for questions about scripting or programming against TeraTerm.

TeraTerm is a free, open source terminal emulator.

Resources:

85 questions
10
votes
1 answer

win32gui.FindWindow Not finding window

I'm trying to send a keystroke to an inactive TeraTerm Window using Pywin32. This answer led me to write this code: import win32gui import win32con import win32api hwndMain = win32gui.FindWindow("Tera Term VT", None) print hwndMain hwndChild =…
SiHa
  • 7,830
  • 13
  • 34
  • 43
5
votes
4 answers

How to transfer a binary file through serial?

I brought a new hardware (connected through USB as /dev/ttyUSB0). I need to transfer a binary os.bin file through serial. The hardware has a inbuilt UART driver. I downloaded putty & couldn't see any file transfer method in the options. But I do see…
RRON
  • 1,037
  • 3
  • 12
  • 32
3
votes
2 answers

How to run Teraterm and TTL file using Batch file?

From Tera Term. 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…
wan cine
  • 61
  • 1
  • 2
  • 9
3
votes
1 answer

Enable destructive backspace in Teraterm

I have an application that communicates via USB over COM and I usually use Putty to develop. Some of the users will use Teraterm instead and want the user experience to be as similar as possible. In Putty, I can send a 0x7F which is ASCII "DEL" and…
jb1681
  • 51
  • 1
  • 8
3
votes
3 answers

Sending commands to a Tera Term via script file

I am testing some boards and the system used to test these is Tera Term. In Tera Term I use the Serial Port to send commands to the board in order to log in and run certain settings that I want. Instead of typing these commands each time I test a…
Adam
  • 71
  • 1
  • 1
  • 5
2
votes
0 answers

print test pass/fail status to messagebox using tera term macro

Just learning how to use macros, so bare with me. I'm using tera term to communicate with a PCB running a self test. The test is started in a macro for easy of use for the operator. I would like to copy the pass/fail status line of the test, and…
mopar
  • 21
  • 1
2
votes
1 answer

TeraTerm execution through the Windows command prompt

I have some basic simple two character commands to be executed in TeraTerm. Is there a way to execute the same TeraTerm commands through a Windows command prompt? This will overcome my dependency to open TeraTerm and then running, commands. I can…
E V N Raja
  • 110
  • 1
  • 5
  • 17
2
votes
0 answers

How does one open Tera Term using a Python script?

When trying to open Tera Term using a Python script, I receive the following error: Traceback (most recent call last): File "", line 1, in shell.Run("C:\Program Files (x86)\teraterm\ttermpro.exe") File "", line 2, in run …
code_noob
  • 25
  • 1
  • 4
2
votes
1 answer

python script to open tera term application and sending keys

I am trying to use Python script to run Tera Term application to open console for Serial port communication and i am sending some commands/keys like {Enter} key on tera term . but my script dosen't work. Heres the script - import os import…
shal
  • 21
  • 1
  • 2
1
vote
1 answer

SSH key authentication not working in Tera Term

I'm creating a CDK deployment to automate the deployment of a server. This is my code so far: let keyPair = new ec2.CfnKeyPair(this, "PublicEC2Key", { keyName: "public-ec2-key", tags: [new cdk.Tag("Name", `public-ec2-key`)], …
1
vote
0 answers

Cannot print array using PlatformIO with RISC-V Rev B

I'm trying to print arrays with 256 integers. I used PlatformIO IDE(VSCode extension), and TeraTerm to print. Selected Board is HiFive1 Rev B(SiFive), and used Freedom E SDK framework.(Of course, I've connected Rev B board to my PC.) Here is the…
1
vote
0 answers

How to get current connected COM ports within teraterm macro?

I'm using macro in teraterm. I wanna use multiple devices with usb-serial cable and I opened each COM ports and macro. I test 4 devices. I send cat command, parse result, show result via messagebox. When I executed same macro for each terminal,…
simryang
  • 80
  • 8
1
vote
0 answers

Why does "Tera Term" fail to SCP a directory with the error "open file error."

I can use TERA TERM "scpsend" command to SCP a single file, but I get an error message "open file error" when I try to SCP a whole directory. I know the scpsend command is only used to send a single file. How can I modify it so I can SCP an entire…
1
vote
0 answers

teraterm script constructing a string that is the same name as a constant

I have defined the constant registers with the following addresses: MDIO3_CTL = '0x08c0f034' MDIO4_CTL = '0x08c13034' ... etc. Based on the MDIO number (ex: 3 or 4), I want to do a memory display (md) of that register. macnum ='3' mac =…
1
vote
1 answer

How to generate string variable with crlf at ttl language

I'm trying to make string that contain crlf inside it at ttl language. For example, somthing such as: MY_STRING = "hello\nworld" send MY_STRING should result as hello world I know I can get the same with: send "hello" #13#10 "world" but I need…
arye
  • 458
  • 3
  • 15
1
2 3 4 5 6