TeraTermProject / teraterm

Other
392 stars 33 forks source link

Tera Term 5.2 - Local echo not working when use macro input #147

Open GERGERO opened 4 months ago

GERGERO commented 4 months ago

Local echo not working when use macro input. Console window won't show TTL input command.

nmaya commented 4 months ago

Hi,

I could not reproduce this issue.

Followings are I tested in my env:

# test.ttl
sendln "echo 'test'"

Connect to a server, and menu "Control" - "Macro" - select 'test.ttl'

4.108 4_108

5.1 5_1

5.2 5_2

GERGERO commented 4 months ago

Hi Nmaya,

I connected to a COM port on my laptop.

And old version 4.106 works just find.

But version 5.2 can not show the command on console by using Macro.

BTW, use keyboard manual type or mouse paste could work.

v4.106

v4106

v5.2

v52
zmatsuo commented 3 months ago

Is Local Echo checked in Setup - Terminal dialog?

tokoba commented 4 weeks ago

Same as @GERGERO , when using macro (sendln "hogehoge"), the sent line is not shown. However, when you type the same line "hogehoge" with keyboard, the sent line is shown with no problem.

The internal send/receive function is okay with using TeraTermMacro, as the response is correct. There is no difference with the response between Macro and keyboard type.

Similarly, this problem did not happen when I was using Tera Term Ver.4.105.

My environment is Windows 11 Tera Term 5.2 (and Tera Term Macro)

Connection is TCP/IP Telnet port 8501

Terminal is VT100

Of course, I checked LocalEcho on terminal settings, and double checkd the config file in [username\AppData\Roaming\teraterm5\TERATERMI.INI], the setting looks correct.

LocalEcho=on TCPLocalEcho=off

zmatsuo commented 4 weeks ago

Hi

I could not reproduce this issue.

Could you test as follows?

Open cmd no1, Start telnetd port 8501 [Windows] + 'R'

cmd.exe
wsl -d Debian
sudo apt-get install -y telnetd-ssl
sudo /usr/sbin/in.telnetd -debug 8501

Open cmd no2, Start Tera Term with small ini file. [Windows] + 'R'

cmd.exe
cd /d c:\tmp\teraterm-5.2
ttermpro.exe /F=#147-teraterm.ini localhost:8501

Lonin in Tera Term

[Control]-[Macro], select #147-macro.ttl
$ echo hogehoge
hogehoge

147-teraterm.ini

[Tera Term]
TCPLocalEcho=off
LocalEcho=off

147-macro.ttl

sendln "echo hogehoge"