POETSII / Orchestrator

The Orchestrator is the configuration and run-time management system for POETS platforms.
1 stars 1 forks source link

Suggest using rlwrap with ./orchestrate.sh #189

Closed m8pple closed 3 years ago

m8pple commented 3 years ago

When working with the orchestrator it is useful to be able to run previous commands again, particularly when things like filenames and paths are needed.

I've been using rlwrap to do this, and might be worth suggesting this to users to make it easier to work with interactively. rlwrap can be installed from apt in Ubuntu.

So if you do:

$ rlwrap -r ./orchestrate.sh

then you get up-arrow support for previous commands, and get (very limited) tab-completion for things you have typed before. The history is the main useful thing.

I found remembering commands between sessions particularly useful, in case on has to restart the orchestrator, which I did with:

rlwrap -r -H .orchestrate-cmd-history.txt ./orchestrate.sh
m8pple commented 3 years ago

Actually, this is kind of re-visiting #10, except with a more detailed suggestion of how to fix it.

m8pple commented 3 years ago

Note that rlwrap is not installed on ayres et. al., but you can install it as non-admin using brew.