Name

conPort

Synopsis

conPort nodeURL port

Description

The conPort utility acquires a console session to the specified instrument port. The instrument service will be suspended, and relenquish control of the communications port to allow the user can interact directly with the console.

The console behavior can be configured by changing the default conPort options. To change the conPort options enter

CTRL-a a

then select from the list of available conPort options:
Hit 'a' to enter options menu or SPACE to continue: a

ECHO CHARACTERS LOCALLY     : OFF
APPEND <NL> TO <CR> OUTGOING: OFF
APPEND <NL> TO <CR> INCOMING: OFF

E - toggle echo mode
O - toggle <NL> outgoing mode
I - toggle <NL> incoming mode
X - to exit options setup menu
------------------------------
enter choice:  
To end the console session, enter
CTRL-X

you will receive the following prompt:
Hit X to exit or SPACE to continue:

Enter
x


to end the session. When the console session is ended the instrument service will resume normal activities.

Options

Option Description Values
nodeURL IP address or host name of SIAM node e.g. 134.89.88.1, mooring.moos.mbari.org
portName Name of instrument port (or alias) defined in siamPort.cfg /dev/ttyS8, COM1, /dev/tty.KeySerial1

Example output:

		none
		

Environment

The following environment variables must be set:

Variable Description Example
JAVA_HOME location of Java installation
/j9, /opt/java/jdk1.3.1, etc.
JAVA Path to JVM command For MMC
$JAVA_HOME/bin/j9

For Sun JVM (e.g. linux, win32, mac OS)
$JAVA_HOME/bin/java
SIAM_HOME top of the SIAM directory tree -
SIAM_CLASSPATH Path including all SIAM and supporting classes For MMC
$JAVA_HOME/lib/jclMax/classes.zip:$JAVA_HOME/lib/prsnlmot.jar:$JAVA_HOME/lib/RXTXcomm.jar:$SIAM_HOME/classes

For linux/win32
$SIAM_HOME/classes
SIAM_BIN Path to native C utility executables $SIAM_HOME/bin/macos, $SIAM_HOME/bin/x86-win32, $SIAM_HOME/bin/x86-linux, etc.

See Also