...
HPA3000 guest systems running on Charon-HPA can be accessed directly from the Linux emulator host using either of two freeware terminal emulators listed below, both of which run directly on the Linux host desktop, or by simply using the telnet command. Each has limitations, however. Neither terminal emulator provides a reliable way to paste multiple lines of text into :EDITOR , for example.
Once the HP3000 network is configured, it's preferable to connect to the virtual HP3000 from a networked PC using any of the robust commercially-available terminal emulators.
...
To start an terminal emulator manually, perform the following steps:
Step | Command / Action | |
---|---|---|
1 | Make sure the pre-configured PuTTy profiles are in the directory .putty/sessions or .config/putty/sessions in your home directory. | (see Charon-HPA Software Installation) |
2 | Start PuTTy from the command-line. |
|
3 | Should you get an error that a font was not found, change the font. | Start PuTTy from the command-line.
Select and load the required profile. Select Fonts on the left and select a monospace font. Select Session on the left and save the profile. |
4 | To connect from a remote host, change localhost in the template to the correct hostname or IP address. | Start PuTTy from the command-line.
Select and load the required profile. Change the hostname to the one of the Charon-HPA host as required. Connect to the remote Charon-HPA system. |
The image below shows a PuTTY terminal window connected to the emulated HP3000 systems's console:
...
Example mapping the numeric key pad Enter key to Right-Ctrl:
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" |
Using Different Fonts
The default command-line to start xhpterm is: $ xhpterm -port 30000 -clean -font 10x20
...
To start an terminal emulator manually, perform the following steps:
Step | Command / Action | |
---|---|---|
1 | Make sure the pre-configured PuTTy profiles are in the directory .putty/sessions or .config/putty/sessions in your home directory. | (see Charon-HPA Software Installation) |
2 | Start PuTTy from the command-line. | $ putty -load HPA-Telnet-VT100 |
3 | Should you get an error that a font was not found, change the font. | Start PuTTy from the command-line.
Select and load the required profile. Select Fonts on the left and select a monospace font. Select Session on the left and save the profile. |
4 | To connect from a remote host, change localhost in the template to the correct hostname or IP address. | Start PuTTy from the command-line.
Select and load the required profile. Change the hostname to the one of the Charon-HPA host as required. Connect to the remote Charon-HPA system. |
Instead of PuTTy, you can also use the standard telnet command on your remote Linux system (telnet <charon-hpa-host> <port>
). However, Stromasys does not provide profiles for this.
...
Additional configuration steps to improve the behaviour of the terminal emulation:
Step | Command |
---|---|
On Charon-HPA host system or remote Linux system | |
Temporary set locale to C before starting PuTTY if you use a different locale. |
Then start PuTTy. This setting will enable better line-drawing. |
On the HP-UX guest system | |
Set the terminal type to vt100 after logging in to the system (this can be added to the login profile, if required). |
This will configure a terminal type known to HP-UX. Without a known terminal type many screen-based applications (e.g., editor, SAM) will not work. |
The following image shows a PuTTy window running SAM after the settings above were configured:
...
The following image shows a PuTTy window where the locale on the system running PuTTy is something different from C:
Other Terminal Emulation Considerations
Accessing the Emulated System Console from a Remote System
Please note: intermediate firewalls must allow the ports used.
There can be only one connection to an emulated serial line at one time.
The following two options provide two examples of how to connect to the console of an emulated system from a remote system.
Option 1: using PuTTy installed on the remote system
If PuTTy is installed on the remote system, you can use the session profiles provided by Charon-HPA (copy them from the emulator host) to connect to the emulated system:
- Start PuTTy.
- Load the correct session profile (see sections above).
- Change
localhost
to the name or IP-address of the emulator host. - Start the session.
Option 2: use the telnet program on the remote system
Run the following program from the command-line:
$ telnet <emulator-host> <serial-line-port>
emulator-host
is the name or IP-address of the Linux emulator host.
serial-line-port
is the port of the emulated serial line using the telnet protocol (default 30000).
To exit the session, use the telnet escape key sequence CTRL+}
and type quit
.
Tunneling a Terminal Emulation through an SSH Tunnel
Even though a plain telnet connection can be used to connect to the emulated system's console, this plaintext connection may create security problems. As an alternative, you can tunnel a terminal emulation through an SSH tunnel provided X11 is active on the emulator host and the remote system.
Any intermediate firewall must permit the port used for SSH (default 22).
Use the following steps to start a PuTTy session across an SSH tunnel:
Step | Command | |
---|---|---|
1 | Connect to the emulator host via SSH specifying that X11 should be tunneled. | $ ssh -X <user>@<emulator-host> |
2 | Enter the password of user to log into the emulator host system. | |
3 | Start the terminal emulation programm (e.g., PuTTy, assuming the Charon-HPA session configurations have been installed for the user). | $ putty -load HPA-Telnet-VT100 |
Div | ||
---|---|---|
| ||
Include Page | ||||
---|---|---|---|---|
|