Positioning optional windows – Comtrol eCos User Manual

Page 762

Advertising
background image

The I/O Auxiliary’s User Interface

The default appearance for most filters is controlled via the

target definition file

. An example entry might be:

filter trace {^TRACE:.*} -foreground HotPink1 -hide 1

The various colours and the hide flag for each filter can be changed at run-time, using the

System Filters

item on

the

View

menu. This will bring up a dialog like the following:

It should be noted that the text window is line-oriented, not character-oriented. If an eCos application sends a
partial line of text then that will remain buffered until a newline character is received, rather than being displayed
immediately. This avoids confusion when there is concurrent output from several sources.

By default the text window is read-only. This means it will not allow cut, paste and clear operations, and keyboard
input will be ignored. The

Edit

menu has a checkbutton

Read Only

which can be toggled to allow write operations.

For example, a user could type in a reminder of what was happening at this time, or paste in part of a gdb session.
Such keyboard input does not get forwarded to the eCos application: if the latter requires keyboard input then that
should happen via a separate keyboard device.

Positioning Optional Windows

Some devices may create their own subwindows, for example to monitor ethernet traffic or to provide additional
I/O facilities such as emulated LED’s or buttons. Usually the target definition file can be used to control the

layout

of these windows. This requires an understanding of the overall layout of the display.

658

Advertising