Comments (6)
Hi @tunguskar , no NinjaTerm can't do that at the moment, But I think it should!
Having a quick look, luckily I think this is possible via this API: https://developer.mozilla.org/en-US/docs/Web/API/SerialPort/getSignals
How do you think the user should be able to trigger a break? Is there a standard keyboard shortcut that does this? Or a UI button?
from ninjaterm.
Hi @tunguskar , no NinjaTerm can't do that at the moment, But I think it should!
Having a quick look, luckily I think this is possible via this API: https://developer.mozilla.org/en-US/docs/Web/API/SerialPort/getSignals
How do you think the user should be able to trigger a break? Is there a standard keyboard shortcut that does this? Or a UI button?
Hi gbmhunter,
When you prepare a string to send in docklight it is done like this:
Docklight Scripting supports sending a "break" within a Send Sequence and detecting a "break" state using a Receive Sequence definition. "break" signals are added to your sequence definition by inserting a Function Character '%' (F10 key). A Docklight "break" signal has a minimum length of 15 * <nominal bit length>.
When you press F10 you get this:
Hterm does not offer this option.
TerraTerm has this:
But i dont like this.
from ninjaterm.
Thanks @tunguskar , I'll look to add this in the next week or so.
from ninjaterm.
Hi @tunguskar , I've added in the ability to send a break for 200ms by pressing Ctrl-Shift-B when the port is open and the terminal in focus (you should get a message saying "break sent".
It's currently in a deploy preview at https://deploy-preview-315--ninjaterm.netlify.app/
Are you able to test this for me please?
from ninjaterm.
Hi @tunguskar , I've added in the ability to send a break for 200ms by pressing Ctrl-Shift-B when the port is open and the terminal in focus (you should get a message saying "break sent".
It's currently in a deploy preview at https://deploy-preview-315--ninjaterm.netlify.app/
Are you able to test this for me please?
Hi gbmhunter, you are fast. I will give it a try thanks for investigating
from ninjaterm.
@tunguskar no worries! I actually also released that to production on the weekend, so https://ninjaterm.mbedded.ninja/ should have the change also :-)
from ninjaterm.
Related Issues (20)
- Add RX support for the tab char (\t).
- Improve the way that app updates are handled. HOT 1
- Fix issue were resizing the window (esp. making it smaller) causes terminal to not resize correctly.
- NinjaTerm should disconnect when USB cable is removed.
- Finish migrating from validator.js to zod.
- Implement Ctrl-C TX support.
- Add support for DEL key. HOT 1
- Move filter text input into resizable drawer (so more settings can be added).
- Scrolling to bottom of terminal should scroll lock the terminal. HOT 1
- Add cross to each toaster item so it can be closed immediately by user.
- Consider switching back from PWA to using Tauri/Electron. HOT 1
- Colon key does not work in terminal. HOT 1
- Add option to set "infinite" line length, which will let long lines either wrap or add horizontal scroll bars. HOT 1
- Logging creates lots of .swap files. HOT 1
- Add better copy/paste support. HOT 1
- Add support for erase-in-display codes with numbers other than 0. HOT 1
- 1000Hz ASCII data streams (~50KBps) HOT 8
- Remember macro pane width and show/hide state across app reloads.
- Add ability to set flow control.
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 ninjaterm.