From 91a1c5f207d349613dc75799a4508971888e3dad Mon Sep 17 00:00:00 2001 From: Brian Date: Mon, 12 Aug 2024 02:28:29 +1000 Subject: [PATCH] cu: add page (#13429) Co-authored-by: spageektti --- pages/linux/cu.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 pages/linux/cu.md diff --git a/pages/linux/cu.md b/pages/linux/cu.md new file mode 100644 index 0000000000..23a5bb7e4a --- /dev/null +++ b/pages/linux/cu.md @@ -0,0 +1,24 @@ +# cu + +> Call Up another system and act as a dial-in/serial terminal or perform file transfers with no error checking. +> More information: . + +- Open a given serial port: + +`sudo cu --line {{/dev/ttyUSB0}}` + +- Open a given serial port with a given baud rate: + +`sudo cu --line {{/dev/ttyUSB0}} --speed {{115200}}` + +- Open a given serial port with a given baud rate and echo characters locally (half-duplex mode): + +`sudo cu --line {{/dev/ttyUSB0}} --speed {{115200}} --halfduplex` + +- Open a given serial port with a given baud rate, parity, and no hardware or software flow control: + +`sudo cu --line {{/dev/ttyUSB0}} --speed {{115200}} --parity={{even|odd|none}} --nortscts --nostop` + +- Exit the `cu` session when in connection: + +`~.`