Can't launch new terminal via cli

Bug #599635 reported by Michael Lustfield
8
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Terminator
Confirmed
Wishlist
Unassigned

Bug Description

This would be a pretty big feature request... but....

It would be amazing if we could launch a new terminal inside of a named terminator instance.

Example:
terminator --title=MyStuff
terminator --title=MyStuff --new-term=vertical
terminator --title=MyStuff --new-term=horizontal

If you're up for doing that - maybe also allowing input to be moved that way too - example: terminator --title=MyStuff --move=right

Chris Jones (cmsj)
Changed in terminator:
status: New → Confirmed
importance: Undecided → Wishlist
Revision history for this message
Kejope (kejope) wrote :

Anything that makes things scriptable is beautiful to me.

I would suggest for consideration, instead of cluttering the parameter interface, do as awk does:
you can include 'quoted; script; commands;' on the command line, or you can supply a filename containing said commands, or you can just pipe it in.

Revision history for this message
Chris Jones (cmsj) wrote :

Any of these ideas need to consider that splits can be arbitrarily nested - expressing a tree structure with simple command-line arguments or quoted script commands is extremely subtle and tricky. I'd want to agree on some really awesome syntax before doing any work on this!

Revision history for this message
Michael Lustfield (michaellustfield) wrote :

Heh.. maybe an API?....

get pid of launched terminator instance..

terminator_cmd --pid=``pid'' --window=``window_number'' --split-horizontal --width=75%
terminator_cmd --pid=``pid'' --window=``window_number'' --split-vertical
terminator_cmd --pid=``pid'' --window=``window_number'' --split-close
terminator_cmd --pid=``pid'' --window=``window_number'' --execute="irssi"

cat > terminator_commands <<TERM
create_window id=t1
split_vertical win=t1 id=t2
split_horizontal win=t1 id=t3
execute win=t3 irssi
TERM

terminator --cmd-file=terminator_commands

something like that sounds pretty darned spiffy! :)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.