...
The following table shows the device and configuration paths used for the two serial lines:
Charon-PAR 64-bit models | Charon-PAR 32-bit model 720 | Charon-PAR 32-bit model B132L | |||
---|---|---|---|---|---|
Serial line | Config. path | Serial line | Config. path | Serial line | Config. path |
1 = Console | serial.uart0.device | 1 = Console | asp.uart0.device | 1 = Console | gsc.lasi.uart.device |
2 | serial.uart2.device | 2 | asp.uart1.device | 2 | gsc.wax.uart.device |
Div | ||
---|---|---|
| ||
Serial port configuration options are specified using the following syntax:
...
Step | Command | |
---|---|---|
1 | Determine the key code of the Right-Ctrl key. |
You will receive an output similar to:
|
2 | Redefine the key code to the numeric keypad Enter key. | $ xmodmap -e "keycode 105 = KP_Enter" |
3 | If 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 | ||
---|---|---|
| ||
#!/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 | ||
---|---|---|
| ||
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 | ||
---|---|---|
| ||
Display PuTTY via X11 through an SSH Tunnel
...