I almost had the same thing happen to me the other day. Luckily not a big truck like that, though. I was nearing the end of a 75 ride to Del Mar (The first day of Fiesta 150). I was going downhill at a pretty decent speed. I was in a bike lane, which was changing from solid to a broken line for cars turning right at the upcoming signal. There was a car turning right, but plenty far ahead of me. However, I wondered what the guy to my left was gonna do. Was HE going to turn right and would he do it right into me? Just as I saw his front right blinker on, he started getting over, right where I was. Luckily I was prepared for that possibility. I stuck my hand out to try to get his attention and swerved out to the right to avoid him. It happened quickly and I was passed him and into the intersection. Freaked out all my friends, who were behind me yelling furiously during the whole thing. I asked my friend later what the driver actually did, because I didn't really know. She said he did see me at one point and stopped getting over.

I tried to give him the benefit of the doubt by saying maybe I was in his blind spot, but my friends, who watched the whole thing, said he was just an idiot and should have seen me. He DID just pass a whole ton of cyclists, so he should have been aware. Good thing I was aware for both of us.

Dh mentioned a good thing to do if the car is within arm's length is to bang on the car to get the driver's attention. I don't think that would have worked in my situation, but something to remember.

ALWAYS RIDE DEFENSIVELY!!!