[prev in list] [next in list] [prev in thread] [next in thread] 

List:       enlightenment-devel
Subject:    [E-devel] Re: patch to make eesh even more obscure
From:       rephorm () rephorm ! com
Date:       2003-12-05 4:59:58
[Download RAW message or body]

On 04/12/03 18:12 -0500, Mike Frysinger wrote:
Content-Description: clearsigned data
>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>when trying to wipe through my windows via cmdline (because some stupid game 
>stole my mouse or whatever) i get annoyed when trying to type out window 
>ids ... sometimes i incorrectly count the # of 0's or the simple factor of 
>trying to type a hex number at lightning speed gets the better of me ...
>
>either way, when i screw up, it makes me angry because i have to retype the 
>damned thing ;)
>
>so i made a patch to enable a cheap search/match ... just type 'p' and then 
>the first few bits of the window id ... p stands for partial ...
>for example:
><eesh example>
>root@vapier 0 root # eesh
>wl
> 1800045 : root@vapier:~
> 120153c : patch to make eesh even more obscure - KMail
>  40027e : 0
> 1600002 : X-Chat [2.0.6]: SpanKY @ lepton.oftc.net / #gentoo (+stncl 69)
>wop p16 move 0 0
></eesh example>
>here we did a partial match against the window id 1600002.

looks pretty useful to me. i vote to put it in :)
>
>the matching does a string comparison starting with the first few 
>characters ... why you ask ?  because we english speakers read right to left 
>and the first few chars are usually pretty nicely distributed ...

right to left? you sure about that? :P
>
>at any rate, the algorithm just looks until it gets a match ... so if in the 
>previous case i typed 'p1' it would have matched '1800045' instead of 
>something else ...
>yes i know the order changes as you focus other windows or do whatever, but in 
>the space of typing 'eesh' and then 'wop p###' i doubt the order will 
>change ... and if it does, well you should have typed out the window id :P
>
or just make sure you do a partial match that's unique to the window you want
:)
--
rephorm

>i also added a few shortcuts for the move, raise, and lower window operations 
>(m, r, and l respectively of course)
>- -mike
>-----BEGIN PGP SIGNATURE-----
>Version: GnuPG v1.2.3 (GNU/Linux)
>
>iQIVAwUBP8+/b0FjO5/oN/WBAQIGqg//XK5EHHUoo3CElSMsyp+Sd9HLEghYsH9b
>KgfoAn7a/Jnyni68OgRduC2MhjmXK6H+UeIe0+3P9sIX46TIUI+Lr3mRRHp3KxGw
>gnWp6uWsPlt2SrZAtG29Tv9q+DNFC3hWoi5y3vaqiCfwAbQO2Ca/D9vhz5ExhjoW
>cibzfuJlUYKU5GcNS8VAHXnL0R6LRxgkGMpp54dRtgxxqIuojvB1KN0SFaaAKq7E
>3XtuGHPrbTG6xg3rrqJFYwGAh2Zkl6p2ApgzBXPW6sCGZ6QO87kcuqJTaJ0cVQyc
>fguXSFUS4CIyJxfeWyESD7ENtRjqrHVUej00C1RIYPYLpnb9DOPaY67Ij57IlzXD
>q2sR9iPUP/FJnRnTE/rqzMYqyVOdwT9k2CA7XiLmMk1fqNB3lnX6VRH7i+UOkr/V
>VzvXxtmkG4SwwNFYIBYEpyTiawjndsGJODaV/BsUEhvoZk8fB/MhMUToyCs4iCdb
>3yXZO9QJNcbukbFO0ziOTbYI/n9IH50fjW5efwLSHFu1MGI4w5ED8Q4Wlp3QVAcD
>UKIYiyTFvQcT4UtQT3QjbG0IajK1Jlqmn6V0BEuoX4hcEiUutKSPi0XjLvwOy44K
>iap7yLTB51Er+immRxkvCUBTEB54zMF2Q2AUWu2O2F9iMverCZZChxAvFOzHUM8Y
>vq2IDFaFBjE=
>=eQx4
>-----END PGP SIGNATURE-----




-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic