mj8w / fast_serial Goto Github PK
View Code? Open in Web Editor NEWBasic serial terminal with programmable shortcuts
License: GNU General Public License v2.0
Basic serial terminal with programmable shortcuts
License: GNU General Public License v2.0
Up/down buttons don't persist the list order, should be saving the list to settings when reordering...
Add new check boxes to configure the send widget's line endings
Add progress bar for the running script dialog.
Enable the scripts so they can update the progress.
When running a script through an action, pop up a dialog with an abort button.
If the script returns a failure, show the error in the dialog (show a hidden text edit), and change the abort button to "done".
If the script completes, automatically close the dialog.
Add a new list section with a horizontal slider, below the actions list. The new list works just like the current actions list, with add/remove/edit/up/down buttons. The new list will provide filtering of the output.
Filters are applied to lines of text and cannot match multiple lines.
Add a new file "scripts.py" to the base directory.
The new file will contain user scripts.
The user scripts can be accessed through the action dialog. Actions can run a script in the new file by putting the <RUN (xxxxx)> element. The <RUN (xxxx)> command will cause the script to run immediately.
For now, it must be the only contents of the action.
When selecting text in the terminal, provide some metrics on the GUI somewhere (top or bottom?) that show: Number of rows selected, and the number of characters selected
Add a line entry widget to write to the active serial connection without adding a new action.
The line will send the text entry contents followed by cr/lf on pressing the enter key
The up arrow will access recent history.
Retain up to 100 entries in the history
Store the history in the permanent settings
Naming 2 items the same in the actions list messes up settings.py. After that, if you delete one of them, it doesn't get deleted in settings.py. Deleting both of the duplicates restores settings.py to have one of the entries.
Save the selected filters when the selection changes, and restore them when the program starts
Run the action scripts by starting a thread that will actually execute the script.
When running the script thread, disable the appropriate dialog widgets, and restore them when the script finishes
add "Expect" object to scripting so that scripts will have the ability to wait for incoming data.
Expect object will be connected to signal from the console that provides serial data
Expect object will have a function to write to the serial console
Expect object will be deleted when the thread ends
clicking on the console changes the insert point where incoming text is placed. When the user clicks, it should be ignored. Should be able to select text from the console though, at least when the console is inactive
It is supposed to be fixed spacing font
Need to correct the relative paths code for Linux
Does it work? What is needed to make it work?
which leads to errors because the filter code isn't smart about importing the old parameters
Would be nice if filters stacked so that multiple can be selected and the filters add output when each is selected
How to do expect scripting
How filtering works
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.