gluLookAt w/ mouse

I was just wondering if any of you guys have a sample program that uses the mouse to set the arguments of gluLookAt.

What would be great is having a cube and then being able to move the mouse around and view all the different possible angles of the cube.