You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-1Lines changed: 7 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,6 +19,10 @@ Console app for serial connection.
19
19
*`COM[N]` is mandatory to specify serial port
20
20
4. Operate target device via the console
21
21
5. Press F1 to leave its serial session and to finish SimpleCom
22
+
* Press CTRL+C in batch mode
23
+
24
+
> [!IMPORTANT]
25
+
> You have to use batch mode (`--batch`) if you want to redirect something into SimpleCom. Batch mode would not terminate automatically when stdin reaches EOF. So you have to type CTRL+C if you want terminate SimpleCom.
22
26
23
27
## Command line options
24
28
@@ -38,6 +42,7 @@ Console app for serial connection.
|`--log-file [logfile]`|<none>| Log serial communication to file |
40
44
|`--stdin-logging`| false | Enable stdin logging<br><br>⚠️Possible to be logged each chars duplicately due to echo back from the console when this option is set, and also secrets (e.g. passphrase) typed into the console will be logged even if it is not shown on the console. |
45
+
|`--batch`| false | Perform in batch mode<br><br>⚠️You have to set serial port in command line arguments, and you cannot set with `--show-dialog`, `--tty-resizer`, `--auto-reconnect`, `--log-file`. |
41
46
|`--help`| - | Show help message |
42
47
43
48
# How to build
@@ -69,7 +74,8 @@ Please see [Applications installed from the web](https://docs.microsoft.com/ja-j
69
74
# Notes
70
75
71
76
* SimpleCom sends / receives VT100 escape sequences. So the serial device to connect via SimpleCom needs to support VT100 or compatible shell.
72
-
* F1 key is hooked by SimpleCom, so escase sequence of F1 (`ESC O P`) would not be propagated.
77
+
* F1 key is hooked by SimpleCom (in interactive mode (default)), so escape sequence of F1 (`ESC O P`) would not be propagated.
78
+
* In batch mode, F1 would propergate to peripheral.
73
79
* SimpleCom supports ANSI chars only, so it would not work if multibyte chars (e.g. CJK chars) are given.
74
80
* Run [resize](https://linux.die.net/man/1/resize) provided by xterm if you want to align VT size of Linux box with your console window.
0 commit comments