XRPi Home Documentation Index Alphabetic Index |
XRPi Documentation - ConfigurationConsolesIntroductionIn this context consoles are XRPi windows which allow the sysop to interact with XRPi, for example to trace traffic, or make connections. Each console is fully independent, and you may have up to 5 of them (if anyone needs more than 5, let us know). Consoles are selected using the left/right arrow keys, or by tapping Alt-W followed by the console number. Console LayoutThe layout of a typical console is shown below:
The console is the area bounded by the two cyan bars, the top one of which is the console title / status bar. This displays the console number and its connection state. The command line is where the sysop types commands and outgoing text. The main window is where the responses and incoming text are displayed. This window is ANSI colour compatible. The bottom "menu bar" displays context-sensitive menu for that console.
Configuring Consoles The colours and other console parameters may be specified in XROUTER.CFG. If they are specified in the GLOBAL section, the values are inherited by all consoles. Alternatively they may be used in CONSOLE definition blocks to override the global defaults on a console-by-console basis.
The following console definition keywords are available (defaults shown in brackets): BOTWINBGCOLOR Background for menu bar (cyan) BOTWINTXTCOLOR Text colour for menu bar (white) CMDWINBGCOLOR Background color for command line (navy) CMDWINTXTCOLOR Text colour for command line (yellow) CONSOLECALL Callsign for console operations (nodecall) ECHOCOLOR Colour for text echoed from cmd line (yellow) MIDWINBGCOLOR Background for central window (black) MIDWINTXTCOLOR Text colour for central window (white) MMASK Flags specifying protocols to trace (3f8) MPORTS Ports to monitor by default (all) REVIEW No. of lines of scrollback (400) RXCOLOR Text color for RX tracing (lime) TOPWINBGCOLOR Status line background colour (cyan) TOPWINTXTCOLOR Status line text colour (white) TXCOLOR Text colour for TX tracing (pink) Most of these should be self explanatory. However some of them may need clarification:
The total number of consoles defaults to 3. This may be changed using the NUMCONSOLES=n directive in the global section of XROUTER.CFG, where n is a number between 0 and 5. Console ColoursThe Linux terminal in which XRPi runs can only display 16 colours, and their names, as used within XROUTER.CFG, are as follows:
The names are misleading, being inherited from XR32 where the display pallete was different. For example, on Windows, PINK is more like light red, and ORANGE is more of a brown colour, whilst RED is more like maroon. The diagram attempts to show the colours as they actually look on the Raspberry Pi, regardless of the name. On DOS, only the "dark" colours could be used for backgrounds, but on Windows any colour can be used. Some colour combinations display clearly, others are difficult to read. For instance, WHITE text on BLACK background is clear, as is YELLOW on NAVY, but BLUE on BLACK, or PINK on LIME are hard to read. The optimum background colour for most text colours (or vice versa) is BLACK. The background colour of the top status bar is fixed at SILVER, and the status windows all have RED title bars with WHITE text, and BLACK background for the main pane. These colours were carefully planned and are not adjustable. If you choose a SILVER background for a console's top line, it will blend with the top status bar above it and look untidy.
Console definition blocks are used to specify any characteristics of consoles that differ from the default. If all the consoles are to be identical, you can simply define the characteristics in the GLOBAL section of XROUTER.CFG. Only those characteristics that differ from the defaults need to be specified. Console definition blocks start with CONSOLE=n where n is a number between 1 and 5, and end with ENDCONSOLE. They may contain any or all of the keywords listed above. There should be one block for each console that differs from the default settings. For example: CONSOLE=3 MIDWINBGCOLOR=NAVY MIDWINTXTCOLOR=WHITE CMDWINBGCOLOR=GREEN CONSOLECALL=G8PZT-4 MMASK=1f ; AX25/Netrom only MPORTS=1-2 ; Monitor ports 1 and 2 only ENDCONSOLE See Also:
|
|