Re:Terminal workflow automation with Terminitor
by agentultra on Monday September 20, 2010 @12:05PM
(#1709304)
This only works on OS X because of the dependency on applescript. It would presumably not be impossible to port this to Linux or Windows, and of course patches and suggestions are welcome.
Seems like a project someone hacked one afternoon. Reminds me of how I started TracShell. Even now I'm not sure it even works on anything else except *nix (although theoretically it should).
Nice idea though. Hopefully they've clearly separated the platform dependent bits so that back-ends for other desktop environments can be written (ie: Gnome, KDE, Explorer, etc).
Re:Terminal workflow automation with Terminitor
by nesquena on Monday September 20, 2010 @07:28PM
(#1710876)
Yeah, we are aware of the limitations and actually we did start this project over an afternoon. We thought it would be cool to have our terminal setup automated so we packaged this up as a gem. Our intent is to absolutely extract things into adapters to make this dead easy to port to linux and windows. Heres the issue for it on github which we plan to tackle soon: http://github.com/achiu/terminitor/issues#issue/5
Re:Terminal workflow automation with Terminitor
by guns on Monday September 20, 2010 @12:41PM
(#1709435)
You got it; they're duplicating screen features. The tradeoff of recreating it (incompletely) is that the configuration is much more straightforward.
I have really handy screen macros that split screens, set hardstatus window titles, and setup different workflows after autodetecting the kind of project the base directory contains, but it's all done through shell functions and `screen -X eval` `process` this and `register` that.
Re:Terminal workflow automation with Terminitor
by nz on Monday September 20, 2010 @12:15PM
(#1709340)
Or one can just use a tiling WM like dwm, xMonad, or stumpwm.
It seems that Terminator fills the void where a user wants to have tiling terminals, but can't because Mac OS X, to the best of my knowledge, doesn't allow one to fiddle with the windowing system to the same extreme that X does.
Re:Terminal workflow automation with Terminitor
by natch on Monday September 20, 2010 @12:48PM
(#1709470)
Terminal groups (built in to OS X terminals since at least Tiger) do enable tiling terminals. And the options are pretty extensive - to give a very rough idea in case you don't have access to a copy of OS X, there are eight different tabs, each a pane full of various options, in Terminal preferences. But yeah X is probably even more extreme than this.
Re:Terminal workflow automation with Terminitor
by morganpyne on Monday September 20, 2010 @09:24PM
(#1711128)
I installed this the other day, and despite it's shortcomings I like it. As others have pointed out, you can achieve the same effect with several apps, but it's simple and easily configurable, with minimal friction to productivity. It fills a little gap in the steps I take when starting work on a project (tail various logs, start a compass watch process, kick off a mysql session etc).
Two changes would make it even more useful to me:
- The ability to specify an arbitrary config file location (I'd like to keep it in config/ in my projects)
- The ability to specify the tab names in that config file (I'm on Leopard and I know this isn't as straightforward as it should be)
All in all though, I'd say congrats to the authors on a nice little idea.
Re:Terminal workflow automation with Terminitor
by miratrix on Monday September 20, 2010 @11:51AM
(#1709246)
That sounds a lot like expect ( http://en.wikipedia.org/wiki/Expect ) unless I've missed something. If you use autoexpect, it'll even automagically generate the script for you by capturing what you type in to the shell.
Re:Terminal workflow automation with Terminitor
by nesquena on Monday September 20, 2010 @07:29PM
(#1710878)
Perhaps not yet, but we'd like it to get there. Perhaps the name was too ambitious until we really fleshed out some of the nicer features we have in store.
Seems like a project someone hacked one afternoon. Reminds me of how I started TracShell. Even now I'm not sure it even works on anything else except *nix (although theoretically it should).
Nice idea though. Hopefully they've clearly separated the platform dependent bits so that back-ends for other desktop environments can be written (ie: Gnome, KDE, Explorer, etc).
I have really handy screen macros that split screens, set hardstatus window titles, and setup different workflows after autodetecting the kind of project the base directory contains, but it's all done through shell functions and `screen -X eval` `process` this and `register` that.
http://superuser.com/questions/94612/macros-in-gnu-screen
GNU screen is a more powerful tool, but at the cost of having to read through the documentation. I can forgive someone for wanting to skip that step.
(but you shouldn't; terminal multiplexers are good for your health)
It seems that Terminator fills the void where a user wants to have tiling terminals, but can't because Mac OS X, to the best of my knowledge, doesn't allow one to fiddle with the windowing system to the same extreme that X does.
Two changes would make it even more useful to me: - The ability to specify an arbitrary config file location (I'd like to keep it in config/ in my projects) - The ability to specify the tab names in that config file (I'm on Leopard and I know this isn't as straightforward as it should be)
All in all though, I'd say congrats to the authors on a nice little idea.
I'm using this gem, is very handy, but it is not a workflow.
If I understand correctly, a tiling window manager combined with a shell script is basically the same thing?