Trying to get width and hieght of screen in characters
Yea, I'm trying to write up a text display of the classic snake game in PHP, and I want to be able to set it up as a screensaver in linux of sorts, anytime I walk away from the computer, I want to be able to disable Ctrl-C, and Ctrl-Alt-F* and on input, freeze the auto playing snake game, and ask for a password, my way of securing it down.
Essentially, I need the character width and height of the screen, how to disable Ctrl-Alt-F*, and Ctrl-* combos.
|