Good evening,
On 26/2/08 at 11:48 PM -0600, Aaron Hsu <[EMAIL PROTECTED]> wrote:
My question is: how can I do this without having to do all the
copy and pasting. I'd like to have something like a command
where I could do “Send file to Scheme” or ”Send selection
to Scheme.”
Any ideas? Worksheets are nice in that I can do everything from
within my editor, but…I still want a way that I can send my
text to the environment without having to copy and paste
between windows. I am unsure of how Unix Filters would help
this case, but I would be interested in seeing an example.
This is probably beyond my unix expertise without quite a bit of
trial and error. But it sounds like scheme is creating an
interactive session for you, rather than accepting input on
STDIN. If you can 'pipe' your code to scheme, then it should be
pretty easy, but again I don't have the easy answer.
I was suggesting a Unix Filter since it makes it easy to do
something with the current selection in your BBEdit document.
But there are other ways (eg. AppleScript) of getting the
selected text.
Check the scripting dictionary for Terminal, maybe there is a
way to send data to a terminal window. In which case you would
use AppleScript to get selection from BBEdit document/window and
then set/put that data into terminal window.
I don't think I'll be able to help past that. Someone else on
the list may have some suggestions though.
Charlie
--
Charlie Garrison <[EMAIL PROTECTED]>
PO Box 141, Windsor, NSW 2756, Australia
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
http://www.ietf.org/rfc/rfc1855.txt
--
------------------------------------------------------------------
Have a feature request? Not sure the software's working correctly?
If so, please send mail to <[EMAIL PROTECTED]>, not to the list.
List FAQ: <http://www.barebones.com/support/lists/bbedit_talk.shtml>
List archives: <http://www.listsearch.com/BBEditTalk.lasso>
To unsubscribe, send mail to: <[EMAIL PROTECTED]>