Console Implementations

Overview

Since its inception, Symbian OS has supported a simple console API; CConsoleBase. The tool-kit provides various implementations of this interface, each suited to different circumstances. This document is intended to provide an overview of the console implementations that are available, and their main pros and cons.

Consoles Provided By Symbian OS

econs.dll

The console implementation for the text window server. Provided by Symbian OS.

Pros:

Cons:

Typically, this console is used for minimal base-port ROMs and the early stages of product bring up. However, because it boots quickly under the emulator, it is also the console of choice for emulator based debugging of console applications.

econseik.dll

A console implementation for the graphical window server.

Pros:

Cons:

This console doesn't have much to recommend it. The fshell makes it obsolete with Guicons.

Consoles Provided By FShell

Guicons

A console implementation for the graphical window server. Currently only supported on S60, but has minimal UI framework dependencies making it easy to port.

Pros:

Cons:

This is the console of choice for running on a handset with a full graphical ROM, if remote connectivity is not available.

vt100cons

A console implementation that will communicate with a VT100 compatible terminal (or terminal emulator such as HyperTerminal) via a serial connection. There are variants that work over TCP connnections (vt100tcpcons.dll), Bluetooth (vt100btcons.dll) and USB (vt100usbcons.dll).

Pros:

Cons:

This is the remote console of choice when running on target (i.e. non-emulated) hardware.

terminalkeyboardcons

On platforms that support the Terminal Keyboard and Trace Core, this console allows the Carbide Terminal Keyboard plugin to be used directly with fshell, even in gui environments when the normal eshell terminalkeyboard plugin won't work.

Pros:

Cons:

rcons

A console implementation that connects via TCP to a Win32 executable (called rcons.exe) that hosts console windows remotely.

Pros:

Cons:

This console has been largely superceded by vt100cons (or one of its variants) for target use. However, it is still useful on the emulator because a) it is easy to get up an running, and b) new windows automatically appear (rather than needing to explicitly connect a terminal emulator).

win32cons

A specialized console for running the WINSCW emulator directly in a DOS box. A batch file \epoc32\tools\fshell.bat is provided for convenience.

Pros:

Cons:

The console of choice for running fshell commands as part of a build process because errors and warnings are reported directly to whatever is controlling the build (normally make).

nullcons.dll

A console that provides no input and throws away all output. The console of choice for running fshell commands headlessly.

iocons.dll

A console implementation that exposes fshell's console sharing functionality via the CConsoleBase API. Used internally to support legacy Symbian console applications.

defcons.dll

A dummy console implementation that fshell (or, more specifically iosrv) uses internally to find a suitable default console implementation. You should never explicitly instanciate this console yourself.


See Also

fshell

rcons

vt100cons


Copyright

Copyright (c) 2008-2010 Accenture. All rights reserved.