[dev] [wmii] Mouse problems
Hi, wmii is part of my desktop for about 6 month now, but recently strange mouse problems bother me. I use the hg-version and sunakus ruby wmiirc (tip as well). What is happening is that mouse clicks do not seem to reach the controls/windows/etc. - just if I had not pressed a mouse button. Another effect is that clicks appear later or my mouse got moved to the top right corner. Now this does not neccesarely mean wmii is to blame, but if I switch tags it works for some short amount of time. So have you any idea besides not using the mouse (for some tasks I still need it...)? Even if it is not wmii what causes the problem, it would be good to know. Thanks in advance, Tom
Re: [dev] merp is a loneliness mitigation device written in python and Tk
On Mon, Jul 12, 2010 at 1:46 PM, Ethan Grammatikidis wrote: > > On 12 Jul 2010, at 13:50, Ethan Grammatikidis wrote: > >> >> On 12 Jul 2010, at 03:33, Joseph Xu wrote: >> >>> Hi: >>> >>> I switched my main computer to Windows XP a while ago to play some games, >>> and was frustrated with the lack of simple usable IRC clients (among other >>> applications). So I decided to write my own. Since I didn't want to mess >>> with Visual Studio and complicated GUI toolkits, I decided to write it in >>> python using the standard Tkinter library. The result is merp: a simple, >>> cross-platform, graphical, >>> options-dialogs-toolbars-icons-click-okay-to-continue-free irc client. The >>> source is just under 700 lines and poorly written, as it was only meant to >>> be a prototype. I was hoping to get some feedback on the interface design, >>> so if anyone has a few moments to spare, your testing experience would be >>> much appreciated. >>> >>> You can download the current source at >>> >>> http://bitbucket.org/jzxu/merp/downloads >>> >>> You'll need python 2.6 to run it. It should work in both windows and >>> linux, and probably anything else that runs python. Please look at the >>> readme.txt file, as otherwise merp might be a little confusing to use at >>> first. >>> >> >> >> It works on OS X too, except middle and right buttons are swapped. I'm not >> asking for it to be fixed, just surprised Tk doesn't make it consistent >> across platforms. Scrollbar down arrow is also hidden by the window resize >> handle. *shrug* >> >> I may keep using it, I IRC from an old laptop now & Colloquy's a bit too >> memory-hungry, surprisingly. Also, search actually works in merp.. :D I'll >> miss Colloquy's logging and automatic nickserv management, but I should >> really be using a bouncer anyway. >> >> I'm not sure what I think of the interface yet. Oh; one possible bug I >> keep forgetting: when I tried to connect to freenode the cursor wouldn't go >> to the bottom line. I have no idea if my join request was sent and freenode >> ignored it or if it wasn't sent. Speaking of freenode, how do you respond to >> a version request? I think freenode ignores everything until you respond. >> Another thing which could be worked around by using a bouncer. hmm. >> > > Another bug: it needs to word wrap. (i.e. not break words at the ends of > lines.) > > I'm thinking of making something in awk to handle nickserv etc, maybe > version requests too. Still thinking it over. > > Hi Ethan: Thanks for checking out the software. Sounds like Tk is not as cross-platform as it claims. I don't have access to a mac right now, but I'll look into it in a few days. For nickserv, the only way I interact with it is identifying myself, and I do that by passing a "PRIVMSG nickserv :identify pass" argument to the end of the command line. As for the version, unfortunately I didn't do anything with CTCP yet, but I'll get around to it very soon. However, I can use freenode just fine, it doesn't seem to care that I don't respond to its version requests. It'd be interesting to figure out a good way to integrate unix commands. Alternatively, maybe merp can be made to just read stdin and write to stdout instead of connecting using its own tcp socket. That way filters and loggers can just be inserted before. Joseph
Re: [dev] merp is a loneliness mitigation device written in python and Tk
On Tue, Jul 13, 2010 at 09:09:31AM -0400, Joseph Xu wrote: Thanks for checking out the software. Sounds like Tk is not as cross-platform as it claims. I don't have access to a mac right now, but I'll look into it in a few days. For nickserv, the only way I interact with it is identifying myself, and I do that by passing a "PRIVMSG nickserv :identify pass" argument to the end of the command line. As for the version, unfortunately I didn't do anything with CTCP yet, but I'll get around to it very soon. However, I can use freenode just fine, it doesn't seem to care that I don't respond to its version requests. Don't bother with CTCP version requests. They were invented because some coders felt like wanking. They're not required for anything. -- Kris Maglione For every complex problem there is an answer that is clear, simple, and wrong. --H. L. Mencken
Re: [dev] [wmii] Mouse problems
On Tue, Jul 13, 2010 at 10:19:43AM +0200, Tom Kazimiers wrote: Hi, wmii is part of my desktop for about 6 month now, but recently strange mouse problems bother me. I use the hg-version and sunakus ruby wmiirc (tip as well). What is happening is that mouse clicks do not seem to reach the controls/windows/etc. - just if I had not pressed a mouse button. Another effect is that clicks appear later or my mouse got moved to the top right corner. Now this does not neccesarely mean wmii is to blame, but if I switch tags it works for some short amount of time. So have you any idea besides not using the mouse (for some tasks I still need it...)? Even if it is not wmii what causes the problem, it would be good to know. My guess is that the problem is in Rumai. wmii really doesn't have much directly to do with mouse clicks except for left clicks on titlebars and resizing. Are you talking about menus, here, or something else? Also, have you tried one of the other wmiircs? -- Kris Maglione Most software today is very much like an Egyptian pyramid with millions of bricks piled on top of each other, with no structural integrity, but just done by brute force and thousands of slaves. --Alan Kay
Re: [dev] [wmii] Mouse problems
Hi, On 07/13/2010 04:03 PM, Kris Maglione wrote: > My guess is that the problem is in Rumai. wmii really doesn't have > much directly to do with mouse clicks except for left clicks on > titlebars and resizing. Are you talking about menus, here, or > something else? Also, have you tried one of the other wmiircs? thanks for the input. well the problem was (I think I just solved that issue) that I could only do mouse interaction at random. It did not matter what I did (menus, dragging, resizing, clicking in applications). Indeed, wmii was the not the cause, nor was Rumai. After reading a thread on mouse issues on Ubuntuforums (soon - a switch to Arch :-), nevertheless a good forum) [1], I switched the mouse driver in xorg.conf. The relevant section in it is: Section "InputDevice" Identifier "Mouse0" Driver "evdev" Option "Name" "Logitech USB Receiver" Option "HWHEELRelativeAxisButtons" "7 6" EndSection Prior to that I used "mouse" as driver. Cheers, Tom [1] http://ubuntuforums.org/showthread.php?t=1308754
Re: [dev] merp is a loneliness mitigation device written in python and Tk
On 13 Jul 2010, at 14:09, Joseph Xu wrote: Hi Ethan: Thanks for checking out the software. Sounds like Tk is not as cross-platform as it claims. I don't have access to a mac right now, but I'll look into it in a few days. The resize handle is 15x15 pixels, I don't know whether you pack a blank element to get that, or what. Mail me off-list if you want me to run any code on the mac. Or, better, message me on freenode, My nick is EthanG. For nickserv, the only way I interact with it is identifying myself, and I do that by passing a "PRIVMSG nickserv :identify pass" argument to the end of the command line. I guess I skipped over that bit in the instructions. Hmm... will it re- send the command if it gets disconnected and re-connects? For that matter, will it automatically re-connect at all? As for the version, unfortunately I didn't do anything with CTCP yet, but I'll get around to it very soon. However, I can use freenode just fine, it doesn't seem to care that I don't respond to its version requests. I'm connecting to freenode just fine with it today, so I guess it can be ignored as Kris said.
Re: [dev] merp is a loneliness mitigation device written in python and Tk
On Tue, Jul 13, 2010 at 11:48 AM, Ethan Grammatikidis wrote: > > On 13 Jul 2010, at 14:09, Joseph Xu wrote: >> >> Hi Ethan: >> >> Thanks for checking out the software. Sounds like Tk is not as >> cross-platform as it claims. I don't have access to a mac right now, >> but I'll look into it in a few days. > > The resize handle is 15x15 pixels, I don't know whether you pack a blank > element to get that, or what. Mail me off-list if you want me to run any > code on the mac. Or, better, message me on freenode, My nick is EthanG. > >> For nickserv, the only way I >> interact with it is identifying myself, and I do that by passing a >> "PRIVMSG nickserv :identify pass" argument to the end of the command >> line. > > I guess I skipped over that bit in the instructions. Hmm... will it re-send > the command if it gets disconnected and re-connects? For that matter, will > it automatically re-connect at all? I've never tested what happens if the connection gets dropped, but it definitely will not reconnect. Connection handling is another area that needs more work. > >> As for the version, unfortunately I didn't do anything with CTCP >> yet, but I'll get around to it very soon. However, I can use freenode >> just fine, it doesn't seem to care that I don't respond to its version >> requests. > > I'm connecting to freenode just fine with it today, so I guess it can be > ignored as Kris said. Okay.
Re: [dev] [wmii] Mouse problems
On Tue, Jul 13, 2010 at 7:46 AM, Tom Kazimiers wrote: > Indeed, wmii was the not the cause, nor was Rumai. > I switched the mouse driver in xorg.conf > > Driver "evdev" > > Prior to that I used "mouse" as driver. Good to know! Thanks for resolving this.
Re: [dev] merp is a loneliness mitigation device written in python and Tk
The ircfs site t is up now: http://www.ueber.net/code/r/ircfs ircfs is great, and its gui is great too, and mjl is a great hacker. And does the world really need yet another python irc client? And I'm not sure what makes merp particularly 'suckless' (whatever anything written in Python can be 'suckless' is very questionable). But I do praise the choice of Tk for the gui. uriel On Mon, Jul 12, 2010 at 4:24 PM, hiro <23h...@googlemail.com> wrote: > The old wmii community probably knows that one well enough, but for > all the others I'd like to promote ircfs from Mechiel Lukkien. It runs > on inferno and includes a 9p server and tk client. > Sadly his site is currently down, but here's a paper from him: > http://4e.iwp9.org/papers/ircfs.pdf > >
Re: [dev] merp is a loneliness mitigation device written in python and Tk
I guess it was more of an exercise than a statement of art :D Learning stuff is suckless, that's sure. On 7/13/10, Uriel wrote: > The ircfs site t is up now: > > http://www.ueber.net/code/r/ircfs > > ircfs is great, and its gui is great too, and mjl is a great hacker. > > And does the world really need yet another python irc client? And I'm > not sure what makes merp particularly 'suckless' (whatever anything > written in Python can be 'suckless' is very questionable). > > But I do praise the choice of Tk for the gui. > > uriel > > On Mon, Jul 12, 2010 at 4:24 PM, hiro <23h...@googlemail.com> wrote: >> The old wmii community probably knows that one well enough, but for >> all the others I'd like to promote ircfs from Mechiel Lukkien. It runs >> on inferno and includes a 9p server and tk client. >> Sadly his site is currently down, but here's a paper from him: >> http://4e.iwp9.org/papers/ircfs.pdf >> >> > >
Re: [dev] merp is a loneliness mitigation device written in python and Tk
On 13 Jul 2010, at 18:33, Uriel wrote: The ircfs site t is up now: http://www.ueber.net/code/r/ircfs ircfs is great, and its gui is great too, and mjl is a great hacker. I have some trouble taking any Inferno GUI seriously when its clipboard won't communicate with the host. The only means of cutting, copying, or pasting is a menu, which I shouldn't need to say is far worse than key-bindings. No way to copy from some apps (e.g. wm/man) is another nasty. That said, plumbing URLs could be nice. It saves coding link detection into the client, at least. Also, after putting Inferno into full-screen mode, how do you get it out? And does the world really need yet another python irc client? And I'm not sure what makes merp particularly 'suckless' (whatever anything written in Python can be 'suckless' is very questionable). But I do praise the choice of Tk for the gui. uriel On Mon, Jul 12, 2010 at 4:24 PM, hiro <23h...@googlemail.com> wrote: The old wmii community probably knows that one well enough, but for all the others I'd like to promote ircfs from Mechiel Lukkien. It runs on inferno and includes a 9p server and tk client. Sadly his site is currently down, but here's a paper from him: http://4e.iwp9.org/papers/ircfs.pdf
Re: [dev] merp is a loneliness mitigation device written in python and Tk
Huh? What menu are you talking about? I don't use a menu for copying and pasting. What window manager are you using to get into full-screen mode? On 7/13/10, Ethan Grammatikidis wrote: > > On 13 Jul 2010, at 18:33, Uriel wrote: > >> The ircfs site t is up now: >> >> http://www.ueber.net/code/r/ircfs >> >> ircfs is great, and its gui is great too, and mjl is a great hacker. > > I have some trouble taking any Inferno GUI seriously when its > clipboard won't communicate with the host. The only means of cutting, > copying, or pasting is a menu, which I shouldn't need to say is far > worse than key-bindings. No way to copy from some apps (e.g. wm/man) > is another nasty. That said, plumbing URLs could be nice. It saves > coding link detection into the client, at least. > > Also, after putting Inferno into full-screen mode, how do you get it > out? > >> >> And does the world really need yet another python irc client? And I'm >> not sure what makes merp particularly 'suckless' (whatever anything >> written in Python can be 'suckless' is very questionable). >> >> But I do praise the choice of Tk for the gui. >> >> uriel >> >> On Mon, Jul 12, 2010 at 4:24 PM, hiro <23h...@googlemail.com> wrote: >>> The old wmii community probably knows that one well enough, but for >>> all the others I'd like to promote ircfs from Mechiel Lukkien. It >>> runs >>> on inferno and includes a 9p server and tk client. >>> Sadly his site is currently down, but here's a paper from him: >>> http://4e.iwp9.org/papers/ircfs.pdf >>> >>> >> > > >
Re: [dev] merp is a loneliness mitigation device written in python and Tk
On 13 Jul 2010, at 22:15, hiro wrote: Huh? What menu are you talking about? I don't use a menu for copying and pasting. What window manager are you using to get into full-screen mode? middle-button menu in shell or brutus. if there's another way to copy and paste in inferno i would LOVE to know about it. Ignore the full-screen issue, a bit of playing around after I mailed revealed that while I can't move or minimize Inferno's window after full-screening it, I can actually get at everything I need, so no big deal there. On 7/13/10, Ethan Grammatikidis wrote: On 13 Jul 2010, at 18:33, Uriel wrote: The ircfs site t is up now: http://www.ueber.net/code/r/ircfs ircfs is great, and its gui is great too, and mjl is a great hacker. I have some trouble taking any Inferno GUI seriously when its clipboard won't communicate with the host. The only means of cutting, copying, or pasting is a menu, which I shouldn't need to say is far worse than key-bindings. No way to copy from some apps (e.g. wm/man) is another nasty. That said, plumbing URLs could be nice. It saves coding link detection into the client, at least. Also, after putting Inferno into full-screen mode, how do you get it out? And does the world really need yet another python irc client? And I'm not sure what makes merp particularly 'suckless' (whatever anything written in Python can be 'suckless' is very questionable). But I do praise the choice of Tk for the gui. uriel On Mon, Jul 12, 2010 at 4:24 PM, hiro <23h...@googlemail.com> wrote: The old wmii community probably knows that one well enough, but for all the others I'd like to promote ircfs from Mechiel Lukkien. It runs on inferno and includes a 9p server and tk client. Sadly his site is currently down, but here's a paper from him: http://4e.iwp9.org/papers/ircfs.pdf
Re: [dev] merp is a loneliness mitigation device written in python and Tk
Ok, I thought you were talking about wm/ircfs which extraordinarily uses classic plan9 chording commands
Re: [dev] merp is a loneliness mitigation device written in python and Tk
Also if somebody doesn't like the Inferno GUI for ircfs, it should be trivial enough to write another one. Running ircfs on a server, and attaching to it from different clients should work fine. uriel On Wed, Jul 14, 2010 at 1:08 AM, hiro <23h...@googlemail.com> wrote: > Ok, I thought you were talking about wm/ircfs which extraordinarily > uses classic plan9 chording commands > >
Re: [dev] merp is a loneliness mitigation device written in python and Tk
On 14 Jul 2010, at 03:03, Uriel wrote: Also if somebody doesn't like the Inferno GUI for ircfs, it should be trivial enough to write another one. Running ircfs on a server, and attaching to it from different clients should work fine. uriel On Wed, Jul 14, 2010 at 1:08 AM, hiro <23h...@googlemail.com> wrote: Ok, I thought you were talking about wm/ircfs which extraordinarily uses classic plan9 chording commands
Re: [dev] merp is a loneliness mitigation device written in python and Tk
Sorry, clicked in the wrong place & sent a blank reply. On 14 Jul 2010, at 03:03, Uriel wrote: Also if somebody doesn't like the Inferno GUI for ircfs, it should be trivial enough to write another one. Running ircfs on a server, and attaching to it from different clients should work fine. uriel On Wed, Jul 14, 2010 at 1:08 AM, hiro <23h...@googlemail.com> wrote: Ok, I thought you were talking about wm/ircfs which extraordinarily uses classic plan9 chording commands If that's the case, it's not wm/ircfs I need to write a new GUI for. Maybe I should look into writing one for wm/sh. I really hope it's as trivial as Uriel says. There is still the issue of no copy/paste with the host.. heh, I can try to see if I can do anything about that.
Re: [dev] merp is a loneliness mitigation device written in python and Tk
On Wed, Jul 14, 2010 at 03:33:12AM +0100, Ethan Grammatikidis wrote: If that's the case, it's not wm/ircfs I need to write a new GUI for. Maybe I should look into writing one for wm/sh. I really hope it's as trivial as Uriel says. Just use win(1). There is still the issue of no copy/paste with the host.. heh, I can try to see if I can do anything about that. Try acme:sac. -- Kris Maglione ...the designer of a new system must not only be the implementor and the first large-scale user; the designer should also write the first user manual. ... If I had not participated fully in all these activities, literally hundreds of improvements would never have been made, because I would never have thought of them or perceived why they were important. --Donald Knuth
Re: [dev] merp is a loneliness mitigation device written in python and Tk
Copy-paste with the host doesn't work by default because apparently making people's lives miserable is the main task of Inferno. As Kris pointed out, this work fine in acme-sac, and all that really is required is a single command (mounting the host's clipboard) in your startup scripts. But don't expect this to be fixed in the next ten years, so just use acme-sac ;) uriel On Wed, Jul 14, 2010 at 4:33 AM, Ethan Grammatikidis wrote: > Sorry, clicked in the wrong place & sent a blank reply. > > On 14 Jul 2010, at 03:03, Uriel wrote: > >> Also if somebody doesn't like the Inferno GUI for ircfs, it should be >> trivial enough to write another one. >> >> Running ircfs on a server, and attaching to it from different clients >> should work fine. >> >> uriel >> >> On Wed, Jul 14, 2010 at 1:08 AM, hiro <23h...@googlemail.com> wrote: >>> >>> Ok, I thought you were talking about wm/ircfs which extraordinarily >>> uses classic plan9 chording commands >>> >>> >> > > If that's the case, it's not wm/ircfs I need to write a new GUI for. Maybe I > should look into writing one for wm/sh. I really hope it's as trivial as > Uriel says. > > There is still the issue of no copy/paste with the host.. heh, I can try to > see if I can do anything about that. > >