• Support
  • Articles
  • Resources
  • Products

Oddly Garbled Display Output - But Logged Data is OK

Moderator: boris

11 postsPage 1 of 1

DiscGolfer
Newbie

Posts:
6
Joined: Mon Sep 29, 2008 9:18 pm
by DiscGolfer » Tue Jul 26, 2016 10:04 pm
Hello experts.

I'm using Tera Term version 2.3 (and perhaps that is the root of my problem right there?).

What I find is that the Tera Term window, every so often, finds itself in a mode where it displays received text in a rather odd manner.
By that, I mean that incoming numbers and upper-case characters get displayed normally.
But, lower-case characters have a decidedly odd appearance - though (in some cases) vaguely similar to the expected rendering.

Once in this mode, it can be "fixed" by selecting 'Control' -> 'Reset terminal'.

I am certain the device that Tera Term is receiving data from is sending the correct data / characters - as evidenced by the fact that if I enable session Logging, the resultant log file shows the right stuff in it.

I understand my words might not convey the issue. So I've opted to include a couple of screen shots.

Image 1 [Tera Term session window showing strange character rendering]

WeirdCharacters.jpg
WeirdCharacters.jpg (261.75 KiB) Viewed 1089 times


Image 2 [Notepad view of the logged data corresponding to the above Tera Term session image]

TeraTermLogFile.jpg
TeraTermLogFile.jpg (223.17 KiB) Viewed 1089 times


Can anybody explain?
Can anybody suggest a solution?
Many thanks in advance.

Additional edits/info on 07/27/2016

I would like to add the fact that when the Tera Term window is in this odd state, if I copy the strangely rendered text/characters (via mouse click 'n drag and Alt-c) - and then paste into Notepad (via Ctr-v), the text appears completely normal in the Notepad window.

And I'm also attaching the *.ini file that shows how I have the Tera Terms window/session configured.
By the way, I'm using VT100 terminal emulation.


DGolfer

Attachments

TeraTerm_WeirdCharacters_Saved_as_Log_File.txt
(33.8 KiB) Downloaded 45 times
DiscGolfer
Newbie

Posts:
6
Joined: Mon Sep 29, 2008 9:18 pm
by DiscGolfer » Wed Jul 27, 2016 4:00 pm
For some reason, during my edit of my initial posting, the system would not allow me attach an additional file.

As such, I'm trying to get the *.ini file I "promised" in the previous post, to show up in this thread.
It appears that the *.ini file now shows up here.

Thanks in advance for any guidance / suggestions.

DG

Attachments

Regression_Performance_Controller_B.ini
(2.1 KiB) Downloaded 43 times
boris
Moderator, LogMeTT and TTLEditor developer

Posts:
1596
Joined: Sat Jan 08, 2005 2:52 pm
by boris » Wed Jul 27, 2016 5:13 pm
Hi DiscGolfer,

This site does not provide support for pre-4.xx versions of Tera Term. Please upgrade to 4.91, or install it into a separate directory and check if the problem is still present.
The following post may be helpful as well: http://logmett.com/support-forums/2/inc ... ophes-2888
Thanks.
Best regards,
Boris
DiscGolfer
Newbie

Posts:
6
Joined: Mon Sep 29, 2008 9:18 pm
by DiscGolfer » Wed Jul 27, 2016 10:25 pm
Boris,

First, thanks for responding to my initial problem report.

So, per your recommendations, I've uninstalled Tera Term Pro 2.3 - and installed Tera Term 4.91.

I'm running Tera Term 4.91 in a Windows Server 2008 R2 x64 system.

I would have to say that 4.91 is actually a bit worse than 2.3 in regards to my problem.
I'm still occasionally getting weirdly rendered text - but with 4.91 the oddly rendered text isn't even remotely "texty" looking.
It looks more like some odd combination of line / block drawing glyphs. It's not almost human readable like it was when using TT 2.3.

Here are some screen snapshots showing what appears in the Tera Term 4.91 VT100 window vs. what gets displayed when I copy 'n paste the oddly rendered text into a Notepad session ...

WeirderCharacters.jpg
WeirderCharacters.jpg (198.37 KiB) Viewed 1051 times


CopiedDataToNotepad.jpg
CopiedDataToNotepad.jpg (198.51 KiB) Viewed 1051 times


At this point, I should add a little something to the explanation of how TT gets itself into this mode.

I'm issuing a command to the device under test - that requests the device to do a warm reboot of itself.
On every reboot, the device starts spewing out "random stuff" on its serial port for a short amount of time, then it eventually settles down and sends "proper data" at the expected Baud rate, Parity, etc. I'd estimate that 75% of the time, this reboot operation is uneventful and Tera Term doesn't get all confused about what characters to display.

But 25% of the time, Tera Term ends up displaying weird characters.
And the weird characters are only associated with incoming data that are standard ASCII lower-case a-z.

I'm guessing that the initial "random stuff" sometimes includes some odd sequence of bits that Tera Term happens to recognize as some (obscure?) escape / control sequence that puts it into "weirdo mode".

I guess I'm looking for advice on how to configure Tera Term to either ignore this particular escape/control sequence - or if it can't ignore it, at least configure it to choose an appropriate alternative character map such that it still displays human readable text.

I've included the TERATERM.ini file - though I have not made any changes from Default (yet).

Thanks in advance for any words of wisdom.

DG

Attachments

TERATERM.INI
(22.46 KiB) Downloaded 48 times
boris
Moderator, LogMeTT and TTLEditor developer

Posts:
1596
Joined: Sat Jan 08, 2005 2:52 pm
by boris » Wed Jul 27, 2016 10:56 pm
Try my settings:

Font: Consolas Regular Western
Under General - Language: Japanese
Language UI: default.lng
Under KanjiCode menu: Recv/Send UTF-8 and select "Use one setting"
Under Terminal Setup: Kanji (receive) and (transmit) - both UTF-8
Locale: american
CodePage: 65001

Let us know if that helps.
Thanks.
Best regards,
Boris
DiscGolfer
Newbie

Posts:
6
Joined: Mon Sep 29, 2008 9:18 pm
by DiscGolfer » Thu Jul 28, 2016 1:05 am
Boris,

Your suggestion(s) did the trick. I'm no longer able to reproduce the issue. Thank you!

Can I ask why this worked?

Frankly, I don't understand why any of the changes you suggested, fixed the problem.
Part of me continues to think I just got really really lucky during the 20+ reboot cycles I just ran through (without a hiccup). :smile:

DG
boris
Moderator, LogMeTT and TTLEditor developer

Posts:
1596
Joined: Sat Jan 08, 2005 2:52 pm
by boris » Thu Jul 28, 2016 3:04 am
Glad that it helped :smile: These settings enable UTF-8 support which is currently implemented in Tera Term only for Japanese language.

I might be wrong, but I think your device after reboot sends binary data and Tera Term, by default running in 7bit ASCII mode, gets confused.
Thanks.
Best regards,
Boris
dsch
Newbie

Posts:
3
Joined: Wed Oct 26, 2016 8:32 am
by dsch » Wed Oct 26, 2016 2:32 pm
Hello - same problem on a Win 10 machine, w 4.92 version. Scrambled output, unreadable font. Older version of Ter Term ?2.3? runs fine on Win 7.

Trying to follow fix instructions above, could not find the KanjiKode menu referenced in the instructions. Pls help?

Thx
boris
Moderator, LogMeTT and TTLEditor developer

Posts:
1596
Joined: Sat Jan 08, 2005 2:52 pm
by boris » Wed Oct 26, 2016 7:04 pm
KanjiCode item appears in Main menu after switching Language to Japanese under Setup->General...
Thanks.
Best regards,
Boris
dsch
Newbie

Posts:
3
Joined: Wed Oct 26, 2016 8:32 am
by dsch » Thu Oct 27, 2016 2:57 pm
Thx, but that menu item is not visible either on the File or Setup menus after making all other setting changes as recommended. v4.92. Can send screenshots if needed.
boris
Moderator, LogMeTT and TTLEditor developer

Posts:
1596
Joined: Sat Jan 08, 2005 2:52 pm
by boris » Thu Oct 27, 2016 4:36 pm
img1.png
img1.png (186.84 KiB) Viewed 716 times

img2.png
img2.png (29.81 KiB) Viewed 716 times
Thanks.
Best regards,
Boris
Display posts from previous:
Sort by:

11 postsPage 1 of 1

Users browsing this forum: No registered users
cron