Boom brakes and another idea.
There are boom brakes available that essentially perform this function. The link below is one example.After giving the problem a little thought, however, I think I have an alternative:Imagine a line running from the midpoint of the boom to a block at the toerail just forward of the mast. This line goes through that block, across the boat to another block on the opposite toerail and is again run back to the midpoint of the boom. Both ends of the line are attached to the boom at an eyestrap or bail or something. Perhaps the same place as the vang, but the farther aft, the better. Call this the "preventer line".Now, at the front of the mast, near the step, run the line through another block. This block floats free and is attached to a control line that runs up the mast, oh 5 or 6 or 7 feet, maybe, to a turning block and then back down again to a cleat or to other blocks that guide the control line aft to the cockpit.When the boom is amidships, there is no slack in the preventer line. As the boom moves to one side or the other, the shape of the triangle formed by the preventer line changes and the line begins to get slack. If you pull on the control line, the block at the front of the mast will rise and you'll gather in that slack. The farther out the boom is, the more slack in the line and the more the control line needs to be pulled to gather in the slack. The boom cannot travel back to the amidships position (or across to the other side in a gybe) unless the control line is released.Hmmmm.... That's 15 minutes of cogitating. Might be better ways or better alternatives. You also better be sure to release that control line before you gybe! Also if you have a spinnaker pole, this stuff on the mast might get in the way of those controls. There's probably a more space-efficient way to control the slack in the preventer line.Thoughts???