Skip to content

[question] how to set tmux for Serial? #51

New issue

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

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

Already on GitHub? # to your account

Open
avlapp opened this issue May 3, 2022 · 3 comments
Open

[question] how to set tmux for Serial? #51

avlapp opened this issue May 3, 2022 · 3 comments

Comments

@avlapp
Copy link

avlapp commented May 3, 2022

let g:arduino_serial_cmd = 'tmux {port} {baud}'

tmux /dev/ttyACM0 9600
unknown command: /dev/ttyACM0

@stevearc
Copy link
Owner

stevearc commented May 3, 2022

tmux is just a terminal multiplexer and doesn't support serial connections. You'll need to use screen, picocom, minicom, or similar.

@avlapp avlapp closed this as completed May 3, 2022
@avlapp
Copy link
Author

avlapp commented Jun 20, 2022

So then I've screen running in a tmux pane? How do people manage that? How do I close the serial running in screen (which runs in a tmux pane?)

@avlapp avlapp reopened this Jun 20, 2022
@stevearc
Copy link
Owner

You have to kill the screen session using its escape key. By default this is bound to <C-a><C-k>. If you've set your tmux escape key to <C-a>, then you may have to double escape it <C-a><C-a><C-k>

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants