scott@nic.gac.edu (Scott Hess) (03/22/91)
Just now I finally got tired enough of having to find the menu entry for Pipe... in Edit to run the fmt(1) command on the current selection that I fixed up my .pipedict to have it in there as Command-F. Nice. But, while playing around, I wrote up a neat little entry for .commanddict which looks like it's going to be sort of helpful for my day-to-day development process. Enter this into your .commanddict and rerun Edit: Compile G cc -O -g -Wall -c $file -o /dev/null [Note that the "space" between "Compile" and "G" is a tab, as is the space after the G. That info is _important_!] This compiles the current file into /dev/null. The usefulness stems from the fact that the error output from the compiler will be sent into a window where you can peruse it. It's obviously not going to be too useful for incremental compiles (that could be fixed, but it would require more work - a shell script, I believe), but I've already been using it tonight for that period during which I'm just trying to get the code to compile, and don't care to have to toggle over to the Stuart window, make, and come back, and go back and forth until Stuart dies or something (this is a development version I'm running, of course). Enjoy, -- scott hess scott@gac.edu Independent NeXT Developer GAC Undergrad <I still speak for nobody> "Simply press Control-right-Shift while click-dragging the mouse . . ." "I smoke the nose Lucifer . . . Banana, banana."