You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Story: I'm using labgrid-client -p <place> console to connect to a place. From within the console window, I want to trigger a power on/off/cycle (e.g. the equivalent of callling labgrid-client -p <place> power cycle from another shell.)
This request is inspired by similar feature in conmux where for any given console, you can use an escape sequence (e.g. ~$ in conmux) which can commands on the host where the conmux server (same as labgrid-exporter) is running.
The text was updated successfully, but these errors were encountered:
I had the same idea as well and do have a prototype somewhere which implements a labgrid-client CLI which takes commands and executes them without closing the client connection. To implement this we would either need to write our own RFC2711 client with an escape sequence for this CLI or wire up the RFC2711 client that is AFAIR included within pyserial.
I'd find that useful as well, but it would probably mean using an internal telnet/RFC2711 client instead of microcom. Also, it would lend itself to supporting hot keys as well (e.g. CTRL-<something> to trigger a power cycle or a strategy state). So far we've shied away from that due to the possible maintenance required.
How is this done in conmux? Do you have a link to the relevant code?
Story: I'm using
labgrid-client -p <place> console
to connect to a place. From within the console window, I want to trigger a power on/off/cycle (e.g. the equivalent of calllinglabgrid-client -p <place> power cycle
from another shell.)This request is inspired by similar feature in
conmux
where for any given console, you can use an escape sequence (e.g.~$
in conmux) which can commands on the host where the conmux server (same as labgrid-exporter) is running.The text was updated successfully, but these errors were encountered: