plugins/consoles/terminalkeyboardcons/terminalkeyboardcons.pod
author Tom Sutcliffe <thomas.sutcliffe@accenture.com>
Wed, 01 Sep 2010 15:17:20 +0100
changeset 51 3ad902ef5222
parent 34 284c68d7a3ac
permissions -rw-r--r--
Another iby fix! Also added --raw option to pubsub and multiply command to var.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
34
284c68d7a3ac Updating documentation
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
     1
# terminalkeyboardcons.pod
284c68d7a3ac Updating documentation
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
     2
#
284c68d7a3ac Updating documentation
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
     3
# Copyright (c) 2010 Accenture. All rights reserved.
284c68d7a3ac Updating documentation
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
     4
# This component and the accompanying materials are made available
284c68d7a3ac Updating documentation
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
     5
# under the terms of the "Eclipse Public License v1.0"
284c68d7a3ac Updating documentation
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
     6
# which accompanies this distribution, and is available
284c68d7a3ac Updating documentation
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
     7
# at the URL "http://www.eclipse.org/legal/epl-v10.html".
284c68d7a3ac Updating documentation
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
     8
#
284c68d7a3ac Updating documentation
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
     9
# Initial Contributors:
284c68d7a3ac Updating documentation
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    10
# Accenture - Initial contribution
284c68d7a3ac Updating documentation
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    11
#
284c68d7a3ac Updating documentation
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    12
284c68d7a3ac Updating documentation
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    13
__END__
284c68d7a3ac Updating documentation
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    14
284c68d7a3ac Updating documentation
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    15
=head1 terminalkeyboardcons
284c68d7a3ac Updating documentation
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    16
284c68d7a3ac Updating documentation
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    17
=head2 Introduction
284c68d7a3ac Updating documentation
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    18
284c68d7a3ac Updating documentation
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    19
On platforms that support the Terminal Keyboard and Trace Core, this console allows the Carbide Terminal Keyboard plugin to be used directly with fshell via the tracecore connection, even in gui environments when the normal eshell terminalkeyboard plugin won't work. See the L<main consoles page|consoles> for a comparison of the various consoles.
284c68d7a3ac Updating documentation
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    20
284c68d7a3ac Updating documentation
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    21
=head2 Usage
284c68d7a3ac Updating documentation
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    22
284c68d7a3ac Updating documentation
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    23
There are no major configuration options to use terminalkeyboardcons. If it is supported on your platform, you just need to launch:
284c68d7a3ac Updating documentation
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    24
284c68d7a3ac Updating documentation
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    25
    fshell --console terminalkeyboardcons
284c68d7a3ac Updating documentation
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    26
284c68d7a3ac Updating documentation
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    27
And start the Carbide Terminal Keyboard plugin. Assuming tracing is set up correctly fshell should sucessfully piggyback the tracecore connection. You shouldn't specify any of the terminalkeyboard rombuild macros, they may interfere with fshell's implementation.
284c68d7a3ac Updating documentation
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    28
284c68d7a3ac Updating documentation
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    29
You can specify the size of the terminal keyboard window using the C<--console-size> option (the default size is 80x24). There is a debug option which prints additional logging, although this won't be of interest to anyone except the fshell maintainers.
284c68d7a3ac Updating documentation
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    30
284c68d7a3ac Updating documentation
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    31
    fshell --console terminalkeyboardcons [--console-size WIDTH,HEIGHT] [--console-title debug]
284c68d7a3ac Updating documentation
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    32
284c68d7a3ac Updating documentation
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    33
=head2 Custom escape sequences
284c68d7a3ac Updating documentation
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    34
284c68d7a3ac Updating documentation
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    35
The Carbide Terminal Keyboard (at the time of writing) does not pass through certain keypresses such as control keys, which limits the usefulness of the shell. Therefore this console supports a set of custom escape sequences using the backtick C<`> key as a modifier. The sequence C<backtick-space> means press and release the backtick key, then press and release the space bar.
284c68d7a3ac Updating documentation
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    36
284c68d7a3ac Updating documentation
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    37
=over 5
284c68d7a3ac Updating documentation
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    38
284c68d7a3ac Updating documentation
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    39
=item C<backtick-backtick>
284c68d7a3ac Updating documentation
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    40
284c68d7a3ac Updating documentation
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    41
The escape key.
284c68d7a3ac Updating documentation
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    42
284c68d7a3ac Updating documentation
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    43
=item C<backtick-1>
284c68d7a3ac Updating documentation
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    44
284c68d7a3ac Updating documentation
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    45
Tab.
284c68d7a3ac Updating documentation
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    46
284c68d7a3ac Updating documentation
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    47
=item C<backtick-uparrow>
284c68d7a3ac Updating documentation
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    48
284c68d7a3ac Updating documentation
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    49
Up arrow (normally pressing the up cursor key just sends a numeric '2' to fshell, so technically this sequence is C<backtick-2>.)
284c68d7a3ac Updating documentation
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    50
284c68d7a3ac Updating documentation
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    51
=item C<backtick-downarrow>, C<backtick-leftarrow>, C<backtick-rightarrow>
284c68d7a3ac Updating documentation
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    52
284c68d7a3ac Updating documentation
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    53
Down, left, right.
284c68d7a3ac Updating documentation
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    54
284c68d7a3ac Updating documentation
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    55
=item C<backtick-space>
284c68d7a3ac Updating documentation
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    56
284c68d7a3ac Updating documentation
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    57
The literal backtick character C<`>.
284c68d7a3ac Updating documentation
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    58
284c68d7a3ac Updating documentation
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    59
=item C<backtick-a> through C<backtick-z>
284c68d7a3ac Updating documentation
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    60
284c68d7a3ac Updating documentation
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    61
The control keys CTRL-A through CTRL-Z.
284c68d7a3ac Updating documentation
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    62
284c68d7a3ac Updating documentation
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    63
=back
284c68d7a3ac Updating documentation
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    64
284c68d7a3ac Updating documentation
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    65
=head1 Copyright
284c68d7a3ac Updating documentation
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    66
284c68d7a3ac Updating documentation
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    67
Copyright (c) 2008-2010 Accenture. All rights reserved.
284c68d7a3ac Updating documentation
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    68
284c68d7a3ac Updating documentation
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    69
=cut