-
Notifications
You must be signed in to change notification settings - Fork 18
/
miniterm
executable file
·47 lines (46 loc) · 1.93 KB
/
miniterm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#!/bin/bash
#
#miniterm.py --parity N -e --rts 0 --dtr 0 /dev/ttyUSB0 115200
miniterm.py --parity N -e --rts 0 --dtr 0 /dev/ttyUSB0 115200
#usage: miniterm.py [-h] [--parity {N,E,O,S,M}] [--rtscts] [--xonxoff]
# [--rts RTS] [--dtr DTR] [--ask] [-e] [--encoding CODEC]
# [-f NAME] [--eol {CR,LF,CRLF}] [--raw] [--exit-char NUM]
# [--menu-char NUM] [-q] [--develop]
# [port] [baudrate]
#
#Miniterm - A simple terminal program for the serial port.
#
#positional arguments:
# port serial port name ('-' to show port list)
# baudrate set baud rate, default: 9600
#
#optional arguments:
# -h, --help show this help message and exit
#
#port settings:
# --parity {N,E,O,S,M} set parity, one of {N E O S M}, default: N
# --rtscts enable RTS/CTS flow control (default off)
# --xonxoff enable software flow control (default off)
# --rts RTS set initial RTS line state (possible values: 0, 1)
# --dtr DTR set initial DTR line state (possible values: 0, 1)
# --ask ask again for port when open fails
#
#data handling:
# -e, --echo enable local echo (default off)
# --encoding CODEC set the encoding for the serial port (e.g. hexlify,
# Latin1, UTF-8), default: UTF-8
# -f NAME, --filter NAME
# add text transformation
# --eol {CR,LF,CRLF} end of line mode
# --raw Do no apply any encodings/transformations
#
#hotkeys:
# --exit-char NUM Unicode of special character that is used to exit the
# application, default: 29
# --menu-char NUM Unicode code of special character that is used to
# control miniterm (menu), default: 20
#
#diagnostics:
# -q, --quiet suppress non-error messages
# --develop show Python traceback on error
#