Sponsored Content
Top Forums Programming Does anybody know how to simulate press Fn+Scroll Lk in Linux c Post 302310649 by liuyan03 on Sunday 26th of April 2009 06:29:56 AM
Old 04-26-2009
Does anybody know how to simulate press Fn+Scroll Lk in Linux c

Does anybody know how to simulate press Fn+Scroll Lk in Linux c?

Thanks in advance!
 

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
menu_driver(3CURSES)					     Curses Library Functions					      menu_driver(3CURSES)

NAME
menu_driver - command processor for the menus subsystem SYNOPSIS
cc [ flag... ] file... -lmenu -lcurses [ library... ] #include <menu.h> int menu_driver(MENU *menu, int c); DESCRIPTION
menu_driver() is the workhorse of the menus subsystem. It checks to determine whether the character c is a menu request or data. If c is a request, the menu driver executes the request and reports the result. If c is data (a printable ASCII character), it enters the data into the pattern buffer and tries to find a matching item. If no match is found, the menu driver deletes the character from the pattern buffer and returns E_NO_MATCH. If the character is not recognized, the menu driver assumes it is an application-defined command and returns E_UNKNOWN_COMMAND. Menu driver requests: REQ_LEFT_ITEM Move left to an item. REQ_RIGHT_ITEM Move right to an item REQ_UP_ITEM Move up to an item. REQ_DOWN_ITEM Move down to an item. REQ_SCR_ULINE Scroll up a line. REQ_SCR_DLINE Scroll down a line. REQ_SCR_DPAGE Scroll up a page. REQ_SCR_UPAGE Scroll down a page. REQ_FIRST_ITEM Move to the first item. REQ_LAST_ITEM Move to the last item. REQ_NEXT_ITEM Move to the next item. REQ_PREV_ITEM Move to the previous item. REQ_TOGGLE_ITEM Select/de-select an item. REQ_CLEAR_PATTERN Clear the menu pattern buffer. REQ_BACK_PATTERN Delete the previous character from pattern buffer. REQ_NEXT_MATCH Move the next matching item. REQ_PREV_MATCH Move to the previous matching item. RETURN VALUES
menu_driver() returns one of the following: E_OK The routine returned successfully. E_SYSTEM_ERROR System error. E_BAD_ARGUMENT An incorrect argument was passed to the routine. E_BAD_STATE The routine was called from an initialization or termination function. E_NOT_POSTED The menu has not been posted. E_UNKNOWN_COMMAND An unknown request was passed to the menu driver. E_NO_MATCH The character failed to match. E_NOT_SELECTABLE The item cannot be selected. E_REQUEST_DENIED The menu driver could not process the request. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |MT-Level |Unsafe | +-----------------------------+-----------------------------+ SEE ALSO
curses(3CURSES), menus(3CURSES), attributes(5) NOTES
Application-defined commands should be defined relative to (greater than) MAX_COMMAND, the maximum value of a request listed above. The header <menu.h> automatically includes the headers <eti.h> and <curses.h>. SunOS 5.11 31 Dec 1996 menu_driver(3CURSES)
All times are GMT -4. The time now is 07:43 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy