2024-08-12 02:28:29 +10:00
|
|
|
# cu
|
|
|
|
|
|
|
|
> Call Up another system and act as a dial-in/serial terminal or perform file transfers with no error checking.
|
|
|
|
> More information: <https://manned.org/cu>.
|
|
|
|
|
|
|
|
- Open a given serial port:
|
|
|
|
|
2025-03-13 04:41:47 +02:00
|
|
|
`sudo cu {{[-l|--line]}} {{/dev/ttyXYZ}}`
|
2024-08-12 02:28:29 +10:00
|
|
|
|
|
|
|
- Open a given serial port with a given baud rate:
|
|
|
|
|
2025-03-13 04:41:47 +02:00
|
|
|
`sudo cu {{[-l|--line]}} {{/dev/ttyXYZ}} {{[-s|--speed]}} {{115200}}`
|
2024-08-12 02:28:29 +10:00
|
|
|
|
|
|
|
- Open a given serial port with a given baud rate and echo characters locally (half-duplex mode):
|
|
|
|
|
2025-03-13 04:41:47 +02:00
|
|
|
`sudo cu {{[-l|--line]}} {{/dev/ttyXYZ}} {{[-s|--speed]}} {{115200}} {{[-h|--halfduplex]}}`
|
2024-08-12 02:28:29 +10:00
|
|
|
|
|
|
|
- Open a given serial port with a given baud rate, parity, and no hardware or software flow control:
|
|
|
|
|
2025-03-13 04:41:47 +02:00
|
|
|
`sudo cu {{[-l|--line]}} {{/dev/ttyXYZ}} {{[-s|--speed]}} {{115200}} --parity={{even|odd|none}} {{[-f|--nortscts]}} --nostop`
|
2024-08-12 02:28:29 +10:00
|
|
|
|
|
|
|
- Exit the `cu` session when in connection:
|
|
|
|
|
2025-03-09 14:03:08 +02:00
|
|
|
`<Enter><~><.>`
|
2025-03-26 00:36:41 +02:00
|
|
|
|
|
|
|
- Display help:
|
|
|
|
|
|
|
|
`cu --help`
|