Working from a CLI

[Enter `^Az.' to disconnect]

Re-defining the Interrupt Key

The key sequence Ctrl+C in the file /var/apm/bin/apmrun.sh has been changed to Ctrl+_ (that is: ^_) to prevent the system from directing this command to any application running on the foreground rather than to the console server. Unlike ^C, the latter is not a valid key combination for most servers including Sun, and should enable you to interrupt the console server as necessary.

If, however, you need to re-define the command, you may do so from the apmrun.sh file as shown:

/var/apm/bin/apmrun.sh

#Redefine CTRL+C here. Customize it as you wish. stty intr ^_

Changing the Number of Lines in the SSH Applet

By default, the number of lines used by the memory buffer when a user scrolls the window is set to 1000 lines (Terminal buffer = 1000). You may change this value to suit your needs. Be aware, however, that specifying values greater than 1000 can degrade scroll performance.

To configure the number of lines:

1.Edit the file: /opt/tomcat/apm/applet.conf

2.Locate the line and edit as follows:

Terminal.buffer = [number of lines]

3.Type in saveconf to save your configuration.

4.Close and reopen the applet window to make the change effective.

Changing the Session Timeout

The default session timeout value is 60 minutes. To change this value, follow the steps below:

1.Edit the file: /opt/tomcat/apm/WEB-INF/web.xml

2.Locate and edit the line:

AlterPath BladeManager Manual

5-11

Page 173
Image 173
Cyclades AlterPath BladeManager user manual Re-defining the Interrupt Key, Changing the Number of Lines in the SSH Applet