Sponsored Content
Top Forums Programming Does anybody know how to simulate press Fn+Scroll Lk in Linux c Post 302311297 by jim mcnamara on Tuesday 28th of April 2009 10:58:39 AM
Old 04-28-2009
Unix has ctrl-s - "lock" ctrl-q "unlock" already builtin to consoles.
The tty driver does this for you.
 

3 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

simulate linux shell using script

hi guys I was requested to create a script to simulate a linux shell so when the user opens linux he will get my linux menu with some options and one of those is a simulated linux shell this is my code #!/bin/ksh while do read whichcmd?"Enter Command: " $whichcmd ... (5 Replies)
Discussion started by: kopper
5 Replies

2. What is on Your Mind?

Volunteers for Unix Linux News Site (Word Press)

We are thinking to replace our "not very popular blog" with a "news channel" using the Wordpress newswire 1.2 theme. Anyone interested in volunteering to be a "reporter", "writer" or "editor"? ---------- Post updated at 09:18 ---------- Previous update was at 09:15 ---------- OBTW, I got... (0 Replies)
Discussion started by: Neo
0 Replies

3. Programming

Tool to simulate non-sequential disk I/O (simulate db file sequential read) in C POSIX

Writing a Tool to simulate non-sequential disk I/O (simulate db file sequential read) in C POSIX I have over the years come across the same issue a couple of times, and it normally is that the read speed on SAN is absolutely atrocious when doing non-sequential I/O to the disks. Problem being of... (7 Replies)
Discussion started by: vrghost
7 Replies
keypressed(3alleg4)                                               Allegro manual                                               keypressed(3alleg4)

NAME
keypressed - Tells if there are keypresses waiting in the input buffer. Allegro game programming library. SYNOPSIS
#include <allegro.h> int keypressed(); DESCRIPTION
Returns TRUE if there are keypresses waiting in the input buffer. You can use this to see if the next call to readkey() is going to block or to simply wait for the user to press a key while you still update the screen possibly drawing some animation. Example: while (!keypressed()) { /* Show cool animated logo. */ } /* So he skipped our title screen. */ SEE ALSO
install_keyboard(3alleg4), readkey(3alleg4), ureadkey(3alleg4), clear_keybuf(3alleg4), simulate_keypress(3alleg4), simulate_ukey- press(3alleg4) Allegro version 4.4.2 keypressed(3alleg4)
All times are GMT -4. The time now is 03:07 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy