There were not possible the catch a standalone shift, ctrl or alt key. Only the glutGetModifiers() allows it only in the input callback. In an OpenGL game, that is reasonable cliam to handle a special key without any other key is pressed. Patch is attached.
I do not know, if this patch is applicable or suitable, but i think it is a good reading what I needed.