
74
10 TERMINAL WINDOW
10.1 Introduction
Xplor8 has an integrated terminal window which allows the user to send and receive bytes with a
connected MCU, provided a suitable program is running on the MCU. Bytes may be sent as ASCII
text, or in their hexadecimal representation. A demonstration HC908 program is included in the
distribution file; this is in assembly language and will need compiling to suit the memory architecture
of the proposed target MCU - see the section on the Terminal Demonstration Program below.
The terminal window may be activated by:
• clicking the item in the View menu of the main form,
• typing the keyboard shortcut Ctrl+T, or
• issuing the command 'Term' (see Launch Terminal Window) on the command line.
10.2 Window Layout and Features
The window is divided into two panes. The left hand pane displays bytes sent (black) and received
(red) in their alphabetic representation as far as possible. Non-printing characters display as hollow
rectangles (this option may be suppressed - see Terminal Window Settings below). The right hand
pane displays the same characters in their hexadecimal representation, as pairs of numbers in the range
00 to FF.
The division between the two panes is a moveable splitter bar, by default the right hand pane is twice
as wide as the left hand one because the hex representation of bytes takes twice the width of their
ASCII form.
Bytes may be entered in either pane at will. The <Tab> key will swap between panes. The currently
active pane is highlighted in aqua. Only printable characters can be entered in the left hand pane.
The <Backspace> key operates differently in the two panes. On the left, it erases the on-screen
characters and, if 'Send Immediately' is in force, also sends the backspace character ($08) to the MCU.
On the right it either erases the first character of a part-complete byte, or both characters of a complete
one, but in no case does it transmit the $08 byte.
The action of the <Enter> key depends upon the terminal settings. The terminal can be configured
either to send bytes immediately they are typed, or only upon pressing <Enter>. In the latter case,
additional bytes can, optionally, be sent when <Enter> is pressed. These bytes may be chosen by the
user.
Word wrapping may be enabled in the two panes, from the 'View' menu.
The terminal window uses the communication baud rate selected in ‘Baud Rates’ on the
Settings>COM Port tab, and the COM port must be connected (opened) before the terminal can be
used.
Comentarios a estos manuales