Re: [E-devel] patch to make eesh even more obscure
Mike Frysinger wrote: 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: [EMAIL PROTECTED] 0 root # eesh wl 1800045 : [EMAIL PROTECTED]:~ 120153c : patch to make eesh even more obscure - KMail 40027e : 0 162 : X-Chat [2.0.6]: SpanKY @ lepton.oftc.net / #gentoo (+stncl 69) wop p16 move 0 0 here we did a partial match against the window id 162. 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 ... 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 i also added a few shortcuts for the move, raise, and lower window operations (m, r, and l respectively of course) While trying out your patch, I got carried away and took it a bit further: - Most ops can be abbreviated down to two characters. Your m, r, and l are mo, ra, and lo, respectively. - Window matching by full or partial window ID, or by window title substring. - The window list now prints the 0x prefix in window ID's for compliance with usual X notation. Examples, all moving the X-Chat window to (0,0): - Match by window ID (first char is a digit) wop 162 mo 0 0 wop 0x162 mo 0 0 - Match by partial window ID (prefix '+') wop +16 mo 0 0 - Match by window title (prefix '=' and the rest) wop =2 mo 0 0 wop SpanKY mo 0 0 /Kim --- 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 [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] Re: E CVS: e kwo
* [EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote: > Button code and namespace shuffle. I'm curious: what does "Button code" do ? Alan Schmitt -- The hacker: someone who figured things out and made something cool happen. .O. ..O OOO pgp0.pgp Description: PGP signature
Re: [E-devel] Re: E CVS: e kwo
Alan Schmitt wrote: I'm curious: what does "Button code" do ? It handles the "buttons" :) The buttons are decorations like desktop buttons and slideouts that may or may not be present in different themes. /Kim --- 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 [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] patch to make eesh even more obscure
Kim Woelders wrote: [snip] I know someone proposed using gettext in eesh and that had to be removed because of GPL issues. Has anyone looked at libedit? Asterisk uses it to get completion and scrollback functionality and If I read the license correctly it is BSD compatable? If the license is compatable, I could look at the old gettext patch and try to replicate it with libedit (not that it would work after I was done with it but it might sort of look like c or something). -- In Reach Technology:http://inreachtech.net/ Robert G. Werner [EMAIL PROTECTED] Tel: 559.304.5122 I'm having BEAUTIFUL THOUGHTS about the INSIPID WIVES of smug and wealthy CORPORATE LAWYERS ... --- 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 [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] patch to make eesh even more obscure
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sunday 07 December 2003 18:49, Robert G. Werner wrote: > Kim Woelders wrote: > [snip] > I know someone proposed using gettext in eesh and that had to be > removed because of GPL issues when you say gettext you really mean readline right ? from what i know, it has been suggested to use a BSD replacement but no one has written anything for it. - -mike -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.3 (GNU/Linux) iQIVAwUBP9PqTEFjO5/oN/WBAQI9Cg/+KjWOlQRXVlATVunUQMkJXzJOKacMLF3K WPLj0H3xFx9Ars90HU1WosHQp9L3OPdKn59R2EKA3cO1k7bpXW92a2lGuaU9G83S 46r821qjv2fjoAkIF9HIK60EiiNeJ9Y7m+PQmO7gVx5KDF4G0oXjarWF5tjGqr18 kJPRsQWUEC4GKEnd2cOwyfUTwS/MQ+epURsn6lIKGC6gU+DrjHN1O5H2EMzyj9g9 Xc+9YpUXd7vHfppohxOqhndgBcJwTCo4yUbvHGlEN+pq/aeqz14gsZns03u5xeb3 1yIQHGLFXp6++2GpBVvg0RbXsRnt/tMY0wsLozO+ZbUonRCuIa8fpV8HE1PLSjCn +5n+mjsUTe4gj2aXabIT8zIuQzkpSzka7CuupdBnshxMetO9bwZ7cewY9Uul4vlz znUMds2r4fTiXFs1CMitKxXILTat+G5Doy0h6Op/q2wgqnDrPrZxGxLVXQXyHlHx qW3RHXCsMt+Mci+mCorhy2J1z8jfTKMPsl1z13IkhZUcBzCw4KeDNTWRnJ9sm9Ik 5UtCB/zgasBAVTBc7KKWC4Pi/CEHAsj8K3dGvfVXmoghbR4UgUsYSjquDyFcdkbQ fE4JUnMqerDYQEc3BCrTQfnLYYhmBKz56AmW+7XBjj+BgRf7evm96bidN0Ibbjmx oHcI5l6Fll0= =Padl -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_id78&alloc_id371&op=click ___ enlightenment-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
