vim-arduino icon indicating copy to clipboard operation
vim-arduino copied to clipboard

[question] how to set tmux for Serial?

Open avlapp opened this issue 3 years ago • 3 comments

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

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

avlapp avatar May 03 '22 20:05 avlapp

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

stevearc avatar May 03 '22 21:05 stevearc

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 avatar Jun 20 '22 11:06 avlapp

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>

stevearc avatar Jun 21 '22 00:06 stevearc