hsaturn / tinyconsole Goto Github PK
View Code? Open in Web Editor NEWHandle terminal with ESP and Arduino
License: GNU General Public License v3.0
Handle terminal with ESP and Arduino
License: GNU General Public License v3.0
Hello and thank you for your work,
would it be possible to support int as well?
suggestion: add TinyString& operator +=(int);
This makes the unit usable on RP2040 (earlephilhower's Arduino board adaption) as well.
F1 .. F4 are detected but not F5 .. F12
Hi Francois,
I've recently started using your TinyConsole library and love it. Thanks for your work!
My main goal is to provide a telnet based CLI for my ESP projects.
I'm on Win10, using MobaXTerm.
If you don't mind, I'd like to contribute to the library and work on some features like:
Add full support for xterm over telnet. I have TinyConsole working over a websocket stream, but control commands are currently very sketchy. Need to understand and comply with telnet protocol.
Add callback for ASCII C0 control characters. See my branch
The main goal is to provide an api for a command line interpreter to be able to manipulate input and cursor in response to C0 characters. A good example is tab completion.
Current TODO is to solve passing input and cursor to C0 callback. E.g. as parameters to callback function. I'd like to know your opinion on this one.
Focus a bit more on being instance based instead of the global TinyConsole approach. In my scenario each telnet session should have their own TinyConsole instance. Serial TinyConsole access is optional. I was thinking of adding support for define NO_GLOBAL_TINYCONSOLE on top of current NO_GLOBALS and NO_GLOBAL_SERIAL. Also need to make sure that an instance and related resources can be fully destroyed once the telnet session ends.
Make debug option better. Currently it is only possible by changing TinyConsole.cpp. Add an external way of turning debug on and off. Possibly thru a variable. Downside is that debug code is always compiled, but I don't see that as a big problem on an ESP (takes only a small flash space).
As a start I'm adding a small PR for handling Shift+Backspace ASCII 127 (default backspace for some terminal clients).
Let me know your thoughts.
Thanks,
Norbert
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.