cu: add page (#13429)

Co-authored-by: spageektti <git@spageektti.cc>
pull/28/head
Brian 2024-08-12 02:28:29 +10:00 committed by GitHub
parent 5e4eb6b62e
commit 91a1c5f207
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 24 additions and 0 deletions

24
pages/linux/cu.md Normal file
View File

@ -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: <https://manned.org/cu>.
- 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:
`~.`