Ticket #44154

Error in debug mode 1 display

Date d'ouverture: 2022-03-19 22:15 Dernière mise à jour: 2022-03-20 00:58

Rapporteur:
Propriétaire:
(Aucun)
Type:
État:
Ouvert
Composant:
(Aucun)
Jalon:
(Aucun)
Priorité:
5 - moyen
Sévérité:
5 - moyen
Résolution:
Aucun
Fichier:
Aucun
Vote
Score: 0
No votes
0.0% (0/0)
0.0% (0/0)

Détails

I am using TeraTerm 4.106 to display the output of a CP/M 2.2 SBC.

In a program I send esc,"c" (hard reset) to TT. In debug mode 1 I get 'esc[c' shown on the debug screen (the left square bracket seems to have been added) but debug mode 2 I get 1B 63 hex which is correct. Similarly if my program writes esc,"[30m" to TT, in mode 1 I see 'esc[[30m' (double left bracket) on the debug screen but in mode 2 I get 1B 5B 33 30 6D which is correct.

I have checked with a stand-alone program that my code is not sending extra [ characters so confirming that TT mode 2 display is correct.

Ticket History (2/2 Histories)

2022-03-19 22:15 Updated by: derry_uk
  • New Ticket "Error in debug mode 1 display" created
2022-03-20 00:58 Updated by: doda
Commentaire

C0 (ASCII 0x00-0x1F) control characters are displayed in debug mode as follows:

0x00: ^@0x01: ^A0x02: ^B0x03: ^C0x04: ^D0x05: ^E0x06: ^F0x07: ^G
0x08: ^H0x09: ^I0x0A: ^J0x0B: ^K0x0C: ^L0x0D: ^M0x0E: ^N0x0F: ^O
0x10: ^P0x11: ^Q0x12: ^R0x13: ^S0x14: ^T0x15: ^U0x16: ^V0x17: ^W
0x18: ^X0x19: ^Y0x1A: ^Z0x1B: ^[0x1C: ^\0x1D: ^]0x1E: ^^0x1F: ^_

cf. Displaying all received characters

It's expected behavior that ESC(0x1B) is displayed as '^['.

Attachment File List

No attachments

Modifier

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Connexion