Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: pdf layout

...

The following table shows the device and configuration paths used for the two serial lines:

Charon-PAR 64-bit modelsCharon-PAR 32-bit model 720Charon-PAR 32-bit model B132L
Serial lineConfig. pathSerial lineConfig. pathSerial lineConfig. path
1 = Consoleserial.uart0.device1 = Consoleasp.uart0.device1 = Consolegsc.lasi.uart.device
2serial.uart2.device2asp.uart1.device2gsc.wax.uart.device


Div
classpagebreak


Serial port configuration options are specified using the following syntax:

...


StepCommand
1Determine the key code of the Right-Ctrl key.

$ xmodmap -pk | grep "Control_R"

You will receive an output similar to: 

105 0xffe4 (Control_R) 0x0000 (NoSymbol) 55 0xffe4 (Control_R)

2Redefine the key code to the numeric keypad Enter key.$ xmodmap -e "keycode 105 = KP_Enter"
3If original key mapping is required, reverse step 2.$ xmodmap -e "keycode 105 = Control_R"

Please note: these settings are not persistent across X-sessions. To always use a certain setting when running xhpterm, you could, for example, use a small script to set and reset the key mapping. An example (only for illustrative purposes only) is shown below.

Code Block
languagetext
#!/usr/bin/bash
#
# parameter: -f <font> -p <port>
#
while getopts "f:p:" opt; do
    case "$opt" in
    (f) font="-font $OPTARG" ;;
    (p) port="-port $OPTARG" ;;
    (*) print "flag [$opt] unknown. abort." && exit 1 ;;
    esac
done

if [[ -z "$port" ]]; then
	echo "Port (-p) is mandatory"
	exit 1
fi

xmodmap -e "keycode 105 = KP_Enter"
/opt/charon/bin/xhpterm -clean $font $port
xmodmap -e "keycode 105 = Control_R"



Using Different Fonts

The default command-line to start xhpterm is:  $ xhpterm -port 30000 -clean -font 10x20

...

Please note: When using xhpterm , avoid resizing the window - it can result in input and output fields in block-mode programs being misaligned. Changing the screen font will change the window size automatically, without causing this problem.

Div
classpagebreak


Accessing Emulated Charon-PAR/PA9 Systems via Terminal Emulation

...

  • Login via SSH to the Charon host.
  • Start a local telnet session from the command-line (sample uses the default console port):
    telnet localhost 30000


Div
classpagebreak


Display PuTTY via X11 through an SSH Tunnel

...