Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Serial monitor does not honor some characters #3654

Closed
xxxajk opened this issue Aug 10, 2015 · 16 comments
Closed

Serial monitor does not honor some characters #3654

xxxajk opened this issue Aug 10, 2015 · 16 comments
Labels
Component: IDE Serial monitor Tools > Serial Monitor feature request A request to make an enhancement (not a bug fix) Type: Wontfix Arduino has decided that it will not resolve the reported issue or implement the requested feature
Milestone

Comments

@xxxajk
Copy link
Contributor

xxxajk commented Aug 10, 2015

I'm not sure if these have been requested to be acted upon properly in the past or not, but I'm pretty sure somebody should have complained at some point in the past.

Notably, \r and \b are ignored.
\r should simply return to the beginning of the line.
\b should do a backspace, without a rubout.
These two are fairly important to make progress displays. I'm not asking for full cursor controls, but these two would be very helpful to have and shouldn't be a huge leap to implement, considering \t does work.

@ffissore
Copy link
Contributor

IDE Serial monitor is not aware of control chars other than \n. If you wish to use them, you need to use a terminal app like putty

@ffissore ffissore added the Type: Wontfix Arduino has decided that it will not resolve the reported issue or implement the requested feature label Aug 10, 2015
@ffissore ffissore added this to the Release 1.6.6 milestone Aug 10, 2015
@ffissore ffissore self-assigned this Aug 10, 2015
@xxxajk
Copy link
Contributor Author

xxxajk commented Aug 10, 2015

I use cu or screen, but that's not really the point.

@shiftleftplusone
Copy link

I double this TOP!
IMO it's not a good practice by you, ffissore , to always ignore wishes about useful improvements in a stubborn manner and always forthwith setting them to "Wontfix"!
Please note desires of the Arduino users with the proper respect, benevolence, and openness!
So why not improve the Arduino serial monitor!?

@ffissore
Copy link
Contributor

I do. Don't hesitate to provide a pull request

@shiftleftplusone
Copy link

I don't know and don't understand what a pull request is - Google translate does not help ;)

@PaulStoffregen
Copy link
Contributor

A pull request means you do all the coding work to implement the feature, then after you have carefully tested your code, you send your change using git's "pull request" feature. Obviously you need to learn at least the basics of using the git software, as well as doing the actual work on the source code!

https://www.atlassian.com/git/tutorials/making-a-pull-request/

https://help.github.com/articles/using-pull-requests/

@shiftleftplusone
Copy link

sorry, I'm just a stupid low-end user with just 1 year Sketch coding experience in some spare time.
If I knew how to do it I already had long since made without losing a word about it.
But I daresay I know what stupid low-end users need for coding Sketches in some spare time.

@PaulStoffregen
Copy link
Contributor

Well, at least you now know what "provide a pull request" means!

@shiftleftplusone
Copy link

yes, and hopefully someone will pull this thing in future!

@xxxajk
Copy link
Contributor Author

xxxajk commented Aug 28, 2015

At some point I may do this. I am currently busy in a contract job. It is
good to know that it is wanted.

yes, and hopefully someone will pull this thing in future!

@shiftleftplusone
Copy link

👍 :D

@PaulStoffregen
Copy link
Contributor

If you do, please test CPU usage carefully with a Teensy 3.1 and Arduino Due sending continuous maximum speed data without delay. About a year ago, I put a tremendous amount of work into making Arduino not lock up and not run out of RAM under those conditions.

The difficult part is Java is so slow and inefficient to do any text parsing at these speeds. It's very easy to add a tiny bit of code which over-commits the CPU. Once you fall behind, Java's GUI thread gets starved for CPU time and the entire IDE basically locks up. Let's not revert back to the bad-old-days of issue #2233 just to parse terminal control characters!

@xxxajk
Copy link
Contributor Author

xxxajk commented Aug 28, 2015

If you do, please test CPU usage carefully

Of course I would.

@shiftleftplusone
Copy link

shiftleftplusone commented Aug 29, 2015

xxxajk, remember, actually PaulStoffregen is number one demotivator for innovations to the Arduino IDE and API.

@xxxajk
Copy link
Contributor Author

xxxajk commented Aug 29, 2015

I know Paul well enough to know this ;-)

@per1234
Copy link
Collaborator

per1234 commented Oct 4, 2017

Partial duplicate (\r) of #346.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: IDE Serial monitor Tools > Serial Monitor feature request A request to make an enhancement (not a bug fix) Type: Wontfix Arduino has decided that it will not resolve the reported issue or implement the requested feature
Projects
None yet
Development

No branches or pull requests

5 participants