summaryrefslogtreecommitdiff
path: root/serial/tools/miniterm.py
Commit message (Collapse)AuthorAgeFilesLines
* feat(miniterm): handle SIGINT on POSIXChris Liechti2021-10-021-11/+21
| | | | fixes #570
* Redirect Minicom's Port Prompt to stderrLasse Fröhner2021-06-101-1/+2
|
* miniterm: make integration easier, add serial_instance argumentChris Liechti2021-05-141-3/+3
|
* miniterm: fix escapes, F'keys on win32Chris Liechti2021-05-141-10/+10
|
* miniterm: add CTRL+T Q as alternative to exitChris Liechti2020-09-161-2/+4
| | | | | | | the default exit key is sometimes difficult to type providing a menu command to exit is easy enough #524
* miniterm: fix double use of CTRL-T + sChris Liechti2020-09-141-1/+1
| | | | | | use z for suspend instead fixes #497
* Manually wrap comment. Add note of Windows 10 compatibility.Cefn Hoile2018-06-081-1/+2
|
* Remove spurious newlineCefn Hoile2018-06-081-1/+0
|
* Added extra codes from miniterm_mpy.py and finalised setconsolemode shenanigans.Cefn Hoile2018-06-081-14/+40
|
* First proven version with minimal nav keysCefn Hoile2018-06-081-1/+27
|
* Merge branch 'master' into 326-miniterm.py-exclusive-accesszsquareplusc2018-05-071-59/+61
|\
| * Merge pull request #324 from carlosperate/fix_miniterm_menu_exitzsquareplusc2018-05-071-2/+2
| |\ | | | | | | Fix miniterm constructor defaults for exit_character and menu_character variables
| | * Fix miniterm constructor exit_character and menu_characterCarlos2018-03-161-2/+2
| | | | | | | | | | | | The MiniTerm.writer() method expects the exit_character and menu_character in character format instead of integer. The main() function works because both member variables are overwritten with the correct format, but for any other scripts using the default values from the constructor won't be able to exit or view the menu.
| * | Merge pull request #315 from kurtmckee/use-absolute-importszsquareplusc2018-05-071-0/+2
| |\ \ | | | | | | | | Use absolute import everywhere
| | * | Use absolute import everywhereKurt McKee2018-02-071-0/+2
| | |/ | | | | | | | | | | | | This prevents Python 2.7 from attempting to import system modules like sys and ctypes from the 'serial' directory.
| * | style: quotesChris Liechti2018-05-071-53/+53
| |/
* | miniterm.py: use exclusive access for native serial ports by defaultSascha Silbe2018-03-191-0/+10
|/ | | | | | | Fixes #326. miniterm.py now uses exclusive access for serial.Serial instances by default. The new option --non-exclusive can be used to override the default, disabling exclusive access for native ports. No change for non-native ports.
* miniterm: use !r format instead of repr()Chris Liechti2017-08-271-4/+4
|
* miniterm: workaround for non ASCII port descriptionsChris Liechti2017-07-191-1/+1
| | | | | | | printing the list of ports may fail with UnicodeEncodeError. workaround using repr. fixes #237
* miniterm: refactor key handler and extend suspend functionChris Liechti2017-07-171-104/+138
|
* miniterm: reconnect in a loop handling errors, exit keyChris Liechti2017-07-141-4/+12
|
* miniterm: add suspend function (quickly close/reopen ports)Chris Liechti2017-07-131-0/+11
|
* miniterm: change cancel impl. for console, fixes #174Chris Liechti2016-12-071-9/+2
| | | | | the way select was used, was incompatible with the text io wrapper used by python3 for sys.stdin
* miniterm: fix missing newline in filter error messageChris Liechti2016-10-011-1/+1
|
* miniterm: Python 3 fix for cancel, fixes #137Chris Liechti2016-06-191-1/+1
|
* style: use .format() in various places instead of "%" formattingChris Liechti2016-06-081-2/+1
|
* miniterm: doc update for win32 cancelChris Liechti2016-05-141-1/+2
|
* miniterm: use cancel_read instead of timeout for alive flag polling, when ↵Chris Liechti2016-05-131-1/+4
| | | | | | available and gone is the (small) CPU load when idle
* miniterm: make getkey cancelable on posix too, see #107Chris Liechti2016-05-091-0/+11
|
* miniterm: use cancel_read when available to speed up port closing/exitChris Liechti2016-05-041-0/+9
|
* miniterm: add a cancel() function to console wrapper object and a win32 ↵Chris Liechti2016-04-271-3/+11
| | | | | | implementation - see also #107
* fix: error formating messageChris Liechti2016-02-131-1/+1
|
* style: some of the suggestions from flake8 and pylintChris Liechti2016-02-131-24/+38
|
* style: some of the suggestions from flake8 and pylintChris Liechti2016-02-111-108/+120
|
* style: some of the suggestions from flake8Chris Liechti2016-02-091-6/+3
|
* style: some of the suggestions from flake8Chris Liechti2016-02-061-32/+30
|
* miniterm: new option --ask to repeat port question on errorsChris Liechti2015-12-241-36/+47
|
* update file headersChris Liechti2015-12-161-0/+1
|
* remove relative import, replace with absoluteChris Liechti2015-09-301-4/+4
|
* miniterm: use unichr instead of u'' literals (support for < python 3.4)Chris Liechti2015-09-131-5/+5
|
* miniterm:fix error when using input on wrapped stdoutChris Liechti2015-09-101-0/+1
|
* miniterm: add '-' as value for the port for "ask the user"Chris Liechti2015-09-011-2/+2
| | | | | without this value, it would not be possible to specify the baudrate and let the user select the port.
* miniterm: improve port list, allow selection by index, fix port switchingChris Liechti2015-09-011-15/+41
|
* pep-8 and small cleanupsChris Liechti2015-08-301-30/+40
|
* miniterm: fix encoding problems on win32Chris Liechti2015-08-281-12/+16
|
* miniterm: save and restore console codepage on windowsChris Liechti2015-08-271-2/+8
|
* miniterm: fix backspace conversion for Python 2.xChris Liechti2015-08-261-51/+50
|
* miniterm: fix console state problem with Python 2.x after user inputChris Liechti2015-08-251-4/+5
|
* miniterm: restore EOL and repr toggles, rename transformation->filterChris Liechti2015-08-251-18/+71
| | | | | | | - EOL mode can be toggled (menu + CTRL+L) - filters can be edited at runtime (menu + CTRL+F) - encoding can be changed at runtime (menu + CTRL+A)
* miniterm: add "hexlify" codecChris Liechti2015-08-251-0/+6
| | | | the hexlify codec can send and receive hex encoded data and converts bytes to strings (unlike the built-in hex code) try it with --encoding hexlify