Comments (8)
@mondalaci, I actually think what you suggest is implemented already, both in regular bitlash as well as in the Pinoccio version (which uses its own input-processing loop, here: https://github.com/Pinoccio/library-pinoccio/blob/master/src/Shell.cpp#L2696-L2705).
Could you clarify what code you're running exactly?
Perhaps your terminal isn't sending regular backspace characters? What terminal are you using?
from bitlash.
@matthijskooijman I'm using GNU screen on Linux and having the latest firmware that has been fetched by HQ.
from bitlash.
Hmm, seems this is something specific with screen - it doesn't work for me either when using screen. I suspect screen is sending different bytes for backspace, I'll have a closer look soon. In the meanwhile, you could try using a different terminal (I use minicom).
from bitlash.
Minicom indeed works! I'd also be interested to figure out what's going on
with screen and how can I make it work properly in this respect. Thanks!
On Mon, Jan 19, 2015 at 12:39 PM, Matthijs Kooijman <
[email protected]> wrote:
Hmm, seems this is something specific with screen - it doesn't work for me
either when using screen. I suspect screen is sending different bytes for
backspace, I'll have a closer look soon. In the meanwhile, you could try
using a different terminal (I use minicom).—
Reply to this email directly or view it on GitHub
#42 (comment).
László Monda https://monda.hu
from bitlash.
Turns out that screen sends a delete (0x7f) instead of backspace. I think this is a common problem with terminals, I remember BSD vs Linux to also suffer from problems like this. I've modified the pinoccio code to handle both as backspace. It turns out that bitlash already does this as well, should have looked better at bill's code when writing our own :-)
In any case, I think this ticket can be closed.
from bitlash.
@matthijskooijman Mad props to you for figuring out and fixing legacy bullshit like this! :)
Closing ticket.
from bitlash.
Thanks for following up, Matthijs.
FYI/FWIW, here's what I use to avoid the issues with screen and minicom. I wrote a little terminal emulator named "bloader.js" that you can install via npm. Source here: https://github.com/billroy/bloader.js
from bitlash.
For a CLI tool there is also picocom which has less options and a couple
useful shortcuts. In between screen and minicom.
On 2015-01-20 8:22 AM, "Bill Roy" [email protected] wrote:
Thanks for following up, Matthijs.
FYI/FWIW, here's what I use to avoid the issues with screen and minicom. I
wrote a little terminal emulator named "bloader.js" that you can install
via npm. Source here: https://github.com/billroy/bloader.js—
Reply to this email directly or view it on GitHub
#42 (comment).
from bitlash.
Related Issues (20)
- Talk to arduino without >command HOT 6
- run bitlash code stored in flash HOT 5
- eeprom overflow error with bitlash run command for a user defined function HOT 3
- Blank user function causes following functions not to appear HOT 2
- Port to spark-core or esp-8266 HOT 7
- Not working on new Arduino.. HOT 9
- Can't save user functions to startup? HOT 27
- Deleted-cant add user functions to memory
- Cant add more then 9 commands inside startup functions
- No support for bypass serial
- Serial flash support? HOT 2
- No need to wait after Wire.requestFrom().
- LED was very dim when using bitlash HOT 1
- bitlash demo - blink does not blink HOT 5
- Problem of output buffer when using bitlash
- ========^ unexpected number error for functions HOT 5
- Run code from eeprom HOT 2
- Make SdCard example code use IDE's inbuilt SD API
- Maintained fork?
- update library for support lastet arduino ide version
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bitlash.