[Locomotive-users] improved support for xterm+(t)csh?

Ken Woodruff proposta at nwlink.com
Sun Nov 12 18:33:53 GMT 2006


On Nov 11, 2006, at 2:13 PM, Ryan Raaum wrote:
>
> 1) how hard would it be to add support for launching xterm (or other
> terminal programs) directly to Locomotive?
>
> It has to be applescriptable.  I haven't checked, but I suspect  
> xterm is not.

xterm isn't directly, but the X11 applications is scriptable, e.g.  
this applescript should start an xterm:

tell application "X11" to activate
do shell script "export DISPLAY=:0 && /usr/X11R6/bin/xterm"

>>  2) would it be possible for Locomotive to generate a non-temp  
>> version
>> of the environment file it tells the shell to run
> If you enable the locomotive command line tool (in the Locomotive  
> Help menu) you can setup the locomotive environment from any shell  
> by cd'ing to your rails app's root and running
>
>     `locomotive bash-environment`

Any reason that won't work in tcsh?  If not seems like it should be  
renamed just "environment".

--Ken


More information about the Locomotive-users mailing list