Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Scripting Extraterm from the command line #132

Open
lou-bi opened this issue Nov 8, 2018 · 4 comments
Open

Scripting Extraterm from the command line #132

lou-bi opened this issue Nov 8, 2018 · 4 comments

Comments

@lou-bi
Copy link

lou-bi commented Nov 8, 2018

Is the ability to launch one|multiple script(s) in a Guake style way on the roadmap ?
To be precise, in guake we can launch in a bash script the following:

guake --rename-tab="home" &
sleep 3
guake --new-tab=2 --rename-tab="projects" --execute-command="cd ~/projects"

Or in gnome-terminal ( the hard way ):

gnome-terminal --tab -e "tail -f somefile" --tab -e "some_other_command"

Is this feature in the roadmap ?

Thanks for Extraterm !!

@sedwards2009
Copy link
Owner

This isn't directly on the roadmap yet, but I was planning to add a "Open terminal here" type integration for desktop file managers, and that would require this kind of functionality to be implemented. Inside Extraterm there is infrastructure for 'commands' already. That is how the Command Palette and keybindings work. Also I've ways expected to add internal scripting at some stage.

So, yes, this is a feature which makes sense in Extraterm. thanks.

@sedwards2009 sedwards2009 changed the title [ Feature request ] Launch Extraterm from node to run multiple scripts in new tab Scripting Extraterm from the command line Nov 9, 2018
@elijahgagne
Copy link

If Extraterm gets this feature, I think it would be huge for SysAdmin/Ops-type people. It's the killer feature that only ConEmu seems to currently have on Windows right now. I use it to build functions that connect to servers/databases/apis. It's great to drop a list of a dozen servers and quickly get 12 tabs with SSH connections.

@QiangF
Copy link

QiangF commented Apr 18, 2020

This is useful for emacs also:

  1. extraterm can be open in the default directory of current buffer
  2. if you have several tabs open, you can tag tabs by purpose, and set key binding in the window manager to pop up the specific tab, eg. one tab can be tagged as a scratch terminal to run ad hoc command, another tab tagged for a specific project.

@mvmn
Copy link

mvmn commented Jul 10, 2020

There is a clear need to implement scripting in order to be able to build tool(s) similar to iTerm2-specific itermocil - the one that uses teamocil configs to setup iTerm2 native tabs/panes.

There is a clear need for such a tool for Extraterm - otherwise it makes no sense to support native mouse-draggable split-screen panels but use tmux.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants