![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Keyboard only in Red Hat GUI | BOFH | Linux | 3 | 11-18-2006 10:52 PM |
| mdk 10.2 and keyboard | penguin-friend | Linux | 3 | 02-09-2005 07:17 PM |
| Kill from keyboard | jwideman | SCO | 3 | 02-03-2005 12:53 PM |
| CZ/Hungary Keyboard | paho | SUN Solaris | 0 | 11-30-2004 06:25 AM |
| How can I map Unix keyboard for PC keyboard | simhab | UNIX for Advanced & Expert Users | 1 | 03-06-2002 11:29 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Disable Keyboard in AIX 5.2
Hi all.
I have a log file that the operators monitor. This file is simply tailed -f on a screen in the ops room. I would like to know if there is anyway I can disable the keyboard from any input other than physically unpluging it. Something like a trap in the script. The system is AIX 5.2. Thanks J |
|
||||
|
To my knowledge there is no such way. You might protect the motoring output from the (hands of the) operators by using a shell construct like: Code:
while : ; do
tput clear
tail -f25 <logfile>
done
and use "trap" to intercept anything they might try on the keyboard (especially the signals 1, 2 and 3). Additionally you could display the window with this process from another machine, but you would have to take care for the possiblity that the displaying machine gets rebooted then. A script watching over the process for the window and on demand restarting it should do this. Hope this helps. bakunin |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|