A Dilluns, 18 de març de 2013 00:30:38, Thomas Dickey va escriure: > I considered it (see attached/revised patch) but there's a problem with the > change: on exit, the last-key will generally be just the key that led to > exiting the widget, e.g., the enter-key or escape-key. The existing exit > status tells as much.
I am developing an application in the old style, assigning actions to function keys. Different parts of the program will be run depending on the code of the last function key pressed. Working in this manner is adequate for text terminals because here we can not show a lot of buttons or drop-down menus. Attached is a sample script, which serves to visualize this idea (it does nothing more). Also, if you want, try the entire application, is in beta status but usable; needs cgroups configuration, and custom packages: dpkg , libcgroup, and optionally a patched kernel. http://livenet.selfip.com/ftp/debian/live-net-jobadmin/ following is the link to some custom patches, related to that: http://livenet.selfip.com/ftp/debian/cgroups-daemon Jordi Pujol Live never ending Tale GNU/Linux Live forever! http://livenet.selfip.com
test02.sh
Description: application/shellscript