Well, I was going to, but then you decided to bump your question six hours after you posted it. However, I can tell you why you haven’t gotten an answer.
You haven’t told us what you have.
In order to be able to do what you want, you need to do the following things in order:
1: Render a rectangle successfully to the screen.
2: Be able to position that rectangle arbitrarily.
3: Retrieve keyboard input successfully.
So where are you in these steps? Can you draw a rectangle? Do you have all of these down, but you don’t know how to put them all together?
Let’s assume that you’ve passed 1&2 and are stuck on step 3.
OpenGL is a rendering API. It doesn’t handle input; that simply isn’t its job. Therefore, what are you trying to use to get input? Are you using FreeGLUT to create your window and want to know how to get input with it? Are you using GLFW or something else?
In short, your question isn’t being answered because you haven’t provided us enough information to know what we’re being asked to give you.
since you’re are inclined to to tell me an unwritten forum rule
It’s not a forum rule; it’s simple courtesy. Someone who went to sleep just as you made your post hasn’t even woken up yet. They don’t need to see you bumping a question they haven’t even seen yet, demanding faster answers to something that they cannot possibly have answered yet.
I know you feel your problem is urgent, but we are people, not a magical answer box.