At 21:52 +0200 10/7/11, Marek Stepanek wrote: >Thank you for the quick answers. Herbert, Maarten you where right. It was >pretty clear, that my worksheet was starting in my ~/ home folder. I changed >the directory with cd to the folder, where my file.tex and file.worksheet are >saved. And now it is compiling as it is intended. But you are right: the >output is written to the worksheet and I have to make a CMD + Z and CMD + S to >get rid of it. Is it like that it is intended to work? > >Strange: the worksheet is staying now in the starting folder, also after a >restart of BBEdit. Will it stay here also after a new start of the computer? > >No I will stay with vim and my second terminal window to run my commands. > >But I will look into the suggested ShellScripts which Maarten suggested.
BBedit 8.5.2 on MacOS 10.3.9 is as far as I go. But have a look at: <ftp://ftp.macnauchtan.com/Software/BBEdit/>. There are some files there that start with "Worksheet" which I use to execute a few lines of text from a worksheet each time it is opened. Typically I define $PATH and set the current working directory but I might also tell Finder to open a directory or two. I often ask Vectorworks to open a particular design file. It's somewhat a labor of love and I use it with tcsh which is much closer to MPW than bash and is OK to use if you stay away from fancy scripting. I did some tests with bash but they were not complete. It will take a bit of loving application of geeky things including modifying your $HOME/tcshrc or profile startup scripts so they recognize the initial call that is made when bbedit opens a worksheet. For me it answered a lot of your frustration. Coming from MPW where such things were simple I thought I really needed them on a worksheet that would run under OS neXt.. BBEdit remains the only real potion. In that ftp directory there is also a copy of Services.dmg. It allows you to select lines in a bbedit text file and execute them in a shell. Things like date | pbcopy bbedit SomePath Run nicely, populating your clipboard with the UNIX date and time or opening a common file you need. As for unwanted writing to a worksheet you can redirect stdout and possibly stderr to an open bbedit text file if you want. Bbedit will happily reload the modified file the next time you bring its window to the front. -- --> Halloween == Oct 31 == Dec 25 == Christmas <-- -- You received this message because you are subscribed to the "BBEdit Talk" discussion group on Google Groups. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at <http://groups.google.com/group/bbedit?hl=en> If you have a feature request or would like to report a problem, please email "[email protected]" rather than posting to the group. Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>
