cookthebook / bytenuts Goto Github PK
View Code? Open in Web Editor NEWBytenuts - Terminal Serial Communication App
Bytenuts - Terminal Serial Communication App
The current XModem implementation is untested.
A Windows binary version of bytenuts would be nice as a distributable to general embedded developers.
This blog post is a good resource: https://www.lihaoyi.com/post/BuildyourownCommandLinewithANSIescapecodes.html
Currently Bytenuts does not free any session data. It stores the entire history if both input and output. So, this is technically a leak that is remedied by a simple memory cap.
Have a way to load back command history and output log from the previous session.
Right now if you paste in multiple lines, each one will get sent as fast as possible. A configurable delay in between commands to throttle would be nice, default could be something like 50ms.
Feature to allow for running scripts that can interact with the connected device without needing to exit the program.
Would be nice to be able to up arrow in xmodem mode and get old paths.
If you forcefully close a Bytenuts process, the outbuf.<pid>.log
and inbuf.<pid>.log
files will not get cleaned as the process never got the chance to rename the files as outbuf.log
and inbuf.log
. Could have active processes lock their cache files and if any unlocked cache files are found, delete them.
Feature to have bytenuts prepend the system time to each line
When the window gets resized to be smaller, the screen does not seem to get refreshed properly even though I explicitly redraw the output.
Command files are not loading currently, likely broken by the log file changes
I noticed that supplying bytenuts -b B115200 /dev/ttyS7 resulted in not being able to com with the device. This is because of a typo in speed_to_string would set the speed to B1152000.
Allow the user to configure the escape character from ctrl+b.
Bytenuts uses the same files for inbuf/outbuf regardless of if multiple instances of it are running. Ideally each process will have its own session, how to actually achieve that TBD.
Since I draw the screen from the bottom up, lines that are longer than the output window width just end up overwriting the lines below them.
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.