Sponsored Content
Contact Us Post Here to Contact Site Administrators and Moderators Make the SEARCH button REALLY BIG Post 5015 by Neo on Monday 6th of August 2001 09:40:34 PM
Old 08-06-2001
OK. What do you think?

Anyone have a BETTER BIG BUTTON, let me know !!!!|
 

9 More Discussions You Might Find Interesting

1. AIX

big brother monitoring tool - make failed

Hi, Does anyone has installed bb on a unix system ? I am trying to install bb on aix 5.3 but I have the following message: If someone can help me probably there is a tool that I need to install ? I don't have C compiler I install gcc instead and gcc++ etc ... bb:/home/bb/bb1.9g-btf/src/ $ make... (0 Replies)
Discussion started by: touny
0 Replies

2. UNIX for Dummies Questions & Answers

Script for using the Back button and the Close button

Here's a question I have for anyone that might be able to help me: I can write a html script that will allow the user to return to the previous page using the back button, and I can write a script that will allow the user to return to the previous page using the close button, but...is there a... (1 Reply)
Discussion started by: mdgibson
1 Replies

3. Shell Programming and Scripting

Need script to make big directory structure

Hi, I'm a novice and I'd like to make a directory structure with a hundred or so folders. I've tried mkdir /foo/foo1/etc... mkdir /foo/foo2/etc mkdir /foo/foo3/etc mkdir /foo/foo4/etc ...but it appends '@' to each folder name and then fails on the subdirectories. Is it better to use a... (2 Replies)
Discussion started by: kamur
2 Replies

4. UNIX for Dummies Questions & Answers

Changing middle mouse button for pasting to right mouse button in cygwin rxvt

Hi, I'm using rxvt in Cygwin and I'm wondering how to change my mouse bindings from the middle button for pasting to the right button. The main reason why I want to do this is because my laptop doesn't have a middle mouse button. Thanks for any help! (2 Replies)
Discussion started by: sayeo
2 Replies

5. Solaris

Search for big file size only in root fs

Hi all, I'm working on Solaris and quite often I receive the alert message of file system at 90%. I'd like to find which files caused this happens (at least the biggest files) with the following command: find . -size +10000000c -exec ls -larth {} \; This looks for every file in every fs... (4 Replies)
Discussion started by: Evan
4 Replies

6. Shell Programming and Scripting

Print #of lines after search string in a big file

I have a command which prints #lines after and before the search string in the huge file nawk 'c-->0;$0~s{if(b)for(c=b+1;c>1;c--)print r;print;c=a}b{r=$0}' b=0 a=10 s="STRING1" FILE The file is 5 gig big. It works great and prints 10 lines after the lines which contains search string in... (8 Replies)
Discussion started by: prash184u
8 Replies

7. Shell Programming and Scripting

How to make a quick search through a script?

Hello, I have a file that has more than 300K records (i.e contains numbers). I need to take these records and than search them in 40 files while each file has more than 1.8 million records. I wrote a script, but its very slow and takes alot of time. I have tried to split my 300k records in 6... (7 Replies)
Discussion started by: umarsatti
7 Replies

8. Shell Programming and Scripting

Perl - start search by using search button or by pressing the enter key

#Build label and text box $main->Label( -text => "Input string below:" )->pack(); $main->Entry( -textvariable => \$text456 )->pack(); $main->Button( -text => "Search", -command => sub { errchk ($text456) ... (4 Replies)
Discussion started by: popeye
4 Replies

9. UNIX for Dummies Questions & Answers

How to make search on gmane?

Hello. How can I make a search on string "install script" on site gmane in comp.sysutils.backup.bacula.general. Any help is welcome (0 Replies)
Discussion started by: jcdole
0 Replies
IRXEVENT(1)								FSF							       IRXEVENT(1)

NAME
irxevent - infrared X-event sender SYNOPSIS
irxevent [option]... [config file] DESCRIPTION
Irxevent is a program that I wrote to send button clicks and key presses to X applications triggered by a LIRC driven remote control. You can control your favorite CD/MP3 player or your TV tuner program or any other X application that responds to keyboard or mouse input. If you like to you can send emacs ^X^S from your armchair. Irxevent is a complement to irexec and irpty. -d --daemon fork and run in background -h --help display usage summary -V --version display version FILES
Irxevent works with the same config file as irexec and irpty (~/.lircrc). For a complete sample .lircrc look at examples/lircrc. Part of your .lircrc could look like this: begin prog = irxevent button = VIDEO_UP config = Key SHIFT-KP_Add CurrentWindow end begin prog = irxevent button = VIDEO_DOWN config = Key SHIFT-KP_Subtract CurrentWindow end begin prog = irxevent button = STOP config = Key ctrl-c CurrentWindow end begin prog = irxevent button = 0 config = Key f xawtv config = Key f xawtv end begin prog = irxevent button = POWER config = Key q xawtv end begin prog = irxevent button = CH_DOWN config = Button 1 329 92 kscd end begin prog = irxevent button = UP config = Button 1 110 80 GQmpeg end begin prog = irxevent button = DOWN config = Button 1 130 80 GQmpeg end Simply said config = lines may look like this: config = Key [shift-][ctrl-][alt-]<key> [Focus] <windowname> | WindowID <id> | CurrentWindow | RootWindow config = Button <button> <x> <y> [Focus] <windowname> | WindowID <id> | CurrentWindow | RootWindow config = xy_Key <x> <y> [shift-][ctrl-][alt-]<key> [Focus] <windowname> | WindowID id | CurrentWindow | RootWindow some more examples: config = Key Up xawtv config = Key Down xawtv config = Button 1 50 110 xclickme config = Key q xawtv config = Key ctrl-c mpg123 config = Key shift-Page_Up rxvt In BNF this looks like: LINE = "config =" <KEY|BUTTON|XYKEY> <TARGET> | "config =" <KEY|BUTTON|XYKEY> "Focus" <TARGET> XYKEY = "xy_Key" <x_position> <y_position> <MOD><KEYSPEC> KEY = "Key" <MOD><KEYSPEC> MOD = ["shift-"]["numlock-"]["ctrl-"]["alt-"]["meta-"] ["numlock-"]["mod3-"]["mod4-"]["mod5-"]["altgr-"]["scrlock-"] KEYSPEC = Keyname | "KeySym:"KeySym | "KeyCode:"KeyCode BUTTON = "Button" <1..5> <x_position> <y_position> TARGET = Windowname | "WindowID" id | "CurrentWindow" | "RootWindow" Keyname: is the key symbol that is declared in X windows. E.g. "Up" refers to the cursor arrow pointing up. "KP_Add" is the plus sign on the key pad. Just take a look at irxevent.keys (in the documentation directory) if you are not sure about a symbol's name. KeySym: number as returned by XStringToKeysym(3x). KeyCode: number as returned by XKeysymToKeycode(3x). Windowname: can be the first characters of the window name displayed by the window manager or the name that is displayed below the icon. Some pro- grams use the name displayed by the window manager to show a lot of status information but don't change the icon name (like xawtv). Others append information to the window name ("GQmpeg - kill_windooz.mp3"). If neither window name nor icon name match the given Win- downame information from XClassHint(3x) will be checked. CurrentWindow: refers to the active window as returned by XGetInputFocus(3x). Most times this is the window with your mouse pointer in it. RootWindow: refers to the root window as returned by RootWindow(3x). You may need this to send events to the window manager. WindowID id: refers to the window with window identifier id. id should be a decimal number. It is useful when irxevent can't find the desired win- dow by other means. Focus: will send the specified event to the given window only if it currently has the input focus. This of course does not make much sense when combined with CurrentWindow. TROUBLESHOOTING
If you have problems finding the coordinates for a button click you can try xev -id <window_id>. The window_id can be found using xwininfo. If xev and xwininfo are not part of your distribution you can find them at a FTP server using the search engine at: http://ftpsearch.ntnu.no/ . xev also reports the names of key symbols like "Control_L" (your left control key) or "KP_Subtract" (the 'minus' key on your keypad). There are programs that do not accept any synthetic X-events by default because they can cause security problems. Currently xterm and xemacs are known to ignore events simulated by irxevent. You can however make xterm accept external events by enabling "Allow SendEvents" in the "Main Options" (hold down the Ctrl button and press the left mouse button inside the xterm window). You can as well place this line into your .Xresources file to change this permanently: XTerm.vt100.allowSendEvents: true Yet another possibility is to start xterm like this: xterm -xrm "XTerm.vt100.allowSendEvents: true" xemacs will accept events if you set a built-in variable. The following was taken from the online help: `x-allow-sendevents' is a built-in boolean variable. Value: t Documentation: *Non-nil means to allow synthetic events. Nil means they are ignored. Beware: allowing emacs to process SendEvents opens a big security hole. In order to allow events you have to evaluate this lisp code (press Meta-x and enter the following expression): (setq x-allow-sendevents t) Placing this line into your .xemacs-options file should have the same result. If you have problems sending events please drop me an email. AUTHOR
Written by Heinrich Langos <heinrich@mad.scientist.com>. SEE ALSO
The documentation for lirc is maintained as html pages. They are located under html/ in the documentation directory. irxevent 0.8.7pre1 May 2010 IRXEVENT(1)
All times are GMT -4. The time now is 07:16 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy