Hi Eyal,
Excerpts from Eyal Oren's message of Thu Nov 08 07:47:30 -0800 2007:
> Find attached a simple patch (against svn head) to execute a shell
> command using '!' (as in vi or mutt). It requires the 'session' gem:
> if you want to get rid of that dependency you can just capture the
> output using >& etc.
I like this functionality but the session gem seems like it's overkill
here. Is there a reason to use it instead of just something like
output = `#{cmd}`
? I'm not that familiar with the gem, so maybe there is.
Also I think the code for this should be in bin/sup rather than in
scroll-mode.rb, since, unless I'm mistaken, it's not specific to
scroll-mode at all.
--
William <[EMAIL PROTECTED]>
_______________________________________________
sup-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/sup-talk