Skip to content

Commit 3e7ffb9

Browse files
committed
Added docker
1 parent 1198432 commit 3e7ffb9

File tree

3 files changed

+39
-20
lines changed

3 files changed

+39
-20
lines changed

content/gui-reference/menu-bar/edit.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,17 @@ The Edit menu offers a set of commands supported in the system editor. The items
1010
* **Copy:** places a copy of the selected text in the clipboard. There must be an active text selection.
1111
* **Paste:** places text in the clipboard at the cursor location in the currently active editor. There must be text in the clipboard, and an editor must be active.
1212
* **Delete:** delete selected text. There must be an active text selection.
13+
* **Select all:** selects all text or all elements in the automaton.
14+
* **Find:** searches for the text occurances *locally* and *globally* (`Control`+`Shift`+`F`)
15+
* **Replace:** searches and replaces the text occurances *locally* and *globally* (`Control`+`Shift`+`R`)
1316
* **Insert Template:** adds a new empty template to the system description.
14-
* **Remove Template:** removes the currently selected template from the system description. There must be a template selected.
17+
* **Remove Template:** removes the currently selected template from the system description. There must be a template selected.
18+
* **Engine:** selects the engine to connect to:
19+
- `Bundled` is the `server` found in the UPPAAL installation directory (cannot be changed).
20+
- `Remote` is the `sockerserver` process accepting and relaying commands on a remote machine using TCP/IP protocol. See [socketserver](/toolsandapi/socketserver) for more details on how to launch it.
21+
22+
Note that the GUI and server versions must match.
23+
* **Engines...** invokes an engine connection dialog to edit the engine selection in the **Engine** menu.
24+
The dialog allows to customize engine connections:
25+
- Address and port number for the remote connection.
26+
- Specific engine server commands, including remote server through `ssh`, e.g.: `ssh bigmachine uppaal/bin/server`

content/toolsAndAPI/_index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,6 @@ chapter: true
1313
- Command line interface to verifier: [verifyta](verifyta)
1414
- Java model editor, simulator and verifier interface: [Java API](javaapi)
1515
- Connect GUI to a remote server via TCP/IP sockets: [socketserver](socketserver)
16+
- Running engine inside Docker: [docker](docker)
1617
- Document and trace file formats: [file formats](file-formats)
1718
- Including UPPAAL models into LaTeX publications: [LaTeX](latex)

content/toolsAndAPI/socketserver.md

Lines changed: 25 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -3,29 +3,35 @@ title: Socketserver
33
weight: 40
44
---
55

6-
To start a remote server, use the `socketserver` binary (included for Linux, SunOS and MacOS). To use a remote server, see the section on [command line options](/toolsandapi/uppaal/) for the GUI.
7-
8-
The <tt>socketserver</tt> can be executed from the command line using one of the following commands:
9-
10-
> <tt>socketserver [-p<P1>] [-s<P2>]</tt>
11-
> <tt>socketserver -h</tt>
6+
To start a remote server, use the `socketserver` binary (included for Linux, macOS, SunOS).
7+
To use the remote server, see the section on [Edit > Engine](/gui-reference/menu-bar/edit/) for the GUI.
8+
9+
The `socketserver` can be run from the command line on a remote machine using one of the following commands:
10+
11+
```
12+
Synopsis:
13+
socketserver [-n] [-p<P1>] [command]...
14+
socketserver -h
15+
h : Print this help screen
16+
n : Run in native mode
17+
p : Set port in server mode (default is 2350)
18+
d : Write communication to debug files in current directory
19+
m : Write communication standard out
20+
[commmand] : A series of argv to execute as the server command
21+
```
1222

1323
The available command line options are:
1424

15-
<dl>
16-
17-
<dt><tt>-h</tt></dt>
18-
19-
<dd>Prints a brief description of the command line options.</dd>
20-
21-
<dt><tt>-p</tt></dt>
22-
23-
<dd>Set port in server mode (default is 2350).</dd>
25+
`-h`
26+
: Prints a brief description of the command line options.
2427

25-
<dt><tt>-s</tt></dt>
28+
`-p`
29+
: Sets TCP/IP server port to listen to (default is 2350).
2630

27-
<dd>Set filename of server binary to P2.</dd>
31+
`-d`
32+
: write the engine communication to debug files in the current directory (useful in debugging).
2833

29-
</dl>
34+
`-m`
35+
: write the engine communication to standard output (usefull in debugging).
3036

31-
The <tt>socketserver</tt> will load the <tt>server</tt> from the directory where it was invoked, and act as a proxy.
37+
The `socketserver` runs the `server` from the directory where it was invoked, and acts as a proxy on TCP/IP port.

0 commit comments

Comments
 (0)