Key input Delay with Glut

I am making a game and am using GLUT for now . If I use keys for input , there is a momentary delay between the first and second recognition of the key input . After that it is a continuos recognition . Is there any way to avoid the initial delay ? Do I have to use DirectX for good input ?


Please post in the appropriate forum = OpenGL Toolkits (e.g. GLUT, CPW, GLFW, GLOW).

Anyway, try to turn off keyboard repeats and keep track of the keystate yourself (using both glutkeyup, glutkeydown).