From wccrawford at gmail.com Sat Feb 16 09:52:30 2008 From: wccrawford at gmail.com (William Crawford) Date: Sat, 16 Feb 2008 09:52:30 -0500 Subject: [Muby-talk] Hotkeys - numpad Message-ID: <1b4784dd0802160652h754061a8jcfba9bc3f74273eb@mail.gmail.com> Forgive me if this has been asked before... I could not find an answer. It is typical in mud clients to map the keypad to direction movement, but leave the regular numbers alone. When I use ctrl-v to see the keycodes, they show up the same. Is there a way to map only the numpad keys? Also, I noticed that when I hold ctrl and hit them, some of them come up the same and some don't. Holding shift, some don't come up at all. Alt is the only modifier that seems to come up reasonably, where it gives a '27' first and then the normal keycode, and I see it's possible to map to that. Thanks for your time. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/muby-talk/attachments/20080216/42ba31d0/attachment.html From zond at troja.ath.cx Mon Feb 25 05:04:33 2008 From: zond at troja.ath.cx (Martin Kihlgren) Date: Mon, 25 Feb 2008 11:04:33 +0100 Subject: [Muby-talk] Hotkeys - numpad In-Reply-To: <1b4784dd0802160652h754061a8jcfba9bc3f74273eb@mail.gmail.com> References: <1b4784dd0802160652h754061a8jcfba9bc3f74273eb@mail.gmail.com> Message-ID: <5b2cf6e90802250204r5ffd545aqf5f432df19721b80@mail.gmail.com> I am afraid that the numpad keys and the regular numeric keys are the same in a terminal - if the keycodes are the same then there is probably no way of determining which key the user pressed :/ //Martin On 2/16/08, William Crawford wrote: > > Forgive me if this has been asked before... I could not find an answer. > > It is typical in mud clients to map the keypad to direction movement, but > leave the regular numbers alone. When I use ctrl-v to see the keycodes, > they show up the same. > > Is there a way to map only the numpad keys? > > Also, I noticed that when I hold ctrl and hit them, some of them come up > the same and some don't. Holding shift, some don't come up at all. Alt is > the only modifier that seems to come up reasonably, where it gives a '27' > first and then the normal keycode, and I see it's possible to map to that. > > Thanks for your time. > > _______________________________________________ > muby-talk mailing list > muby-talk at rubyforge.org > http://rubyforge.org/mailman/listinfo/muby-talk > http://rubyforge.org/projects/muby/ > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/muby-talk/attachments/20080225/ec69493a/attachment.html From wccrawford at gmail.com Mon Feb 25 05:35:30 2008 From: wccrawford at gmail.com (William Crawford) Date: Mon, 25 Feb 2008 05:35:30 -0500 Subject: [Muby-talk] Hotkeys - numpad In-Reply-To: <5b2cf6e90802250204r5ffd545aqf5f432df19721b80@mail.gmail.com> References: <1b4784dd0802160652h754061a8jcfba9bc3f74273eb@mail.gmail.com> <5b2cf6e90802250204r5ffd545aqf5f432df19721b80@mail.gmail.com> Message-ID: <1b4784dd0802250235l3c3b46bm2e7ed597afd86a3a@mail.gmail.com> Yeah, after a lot of research on the net, apparently some terminal apps can be put into 'application' mode and will show different codes for the keys and some can't. I can't seem to find one that can and will work on Kubuntu. TinyFugue is supposed to be able to do this and I can't get it to work on any terminal, either... Thanks for the answer! On Mon, Feb 25, 2008 at 5:04 AM, Martin Kihlgren wrote: > I am afraid that the numpad keys and the regular numeric keys are the same > in a terminal - if the keycodes are the same then there is probably no way > of determining which key the user pressed :/ > > //Martin > > On 2/16/08, William Crawford wrote: > > > Forgive me if this has been asked before... I could not find an answer. > > > > It is typical in mud clients to map the keypad to direction movement, > > but leave the regular numbers alone. When I use ctrl-v to see the keycodes, > > they show up the same. > > > > Is there a way to map only the numpad keys? > > > > Also, I noticed that when I hold ctrl and hit them, some of them come up > > the same and some don't. Holding shift, some don't come up at all. Alt is > > the only modifier that seems to come up reasonably, where it gives a '27' > > first and then the normal keycode, and I see it's possible to map to that. > > > > Thanks for your time. > > > > _______________________________________________ > > muby-talk mailing list > > muby-talk at rubyforge.org > > http://rubyforge.org/mailman/listinfo/muby-talk > > http://rubyforge.org/projects/muby/ > > > > > _______________________________________________ > muby-talk mailing list > muby-talk at rubyforge.org > http://rubyforge.org/mailman/listinfo/muby-talk > http://rubyforge.org/projects/muby/ > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/muby-talk/attachments/20080225/91eb6b3c/attachment-0001.html From zondolfin at gmail.com Mon Feb 25 09:42:26 2008 From: zondolfin at gmail.com (Gruad Lloigor) Date: Mon, 25 Feb 2008 15:42:26 +0100 Subject: [Muby-talk] Hotkeys - numpad In-Reply-To: <27acba740802250418k61f729e0kbba59b01a0934479@mail.gmail.com> References: <1b4784dd0802160652h754061a8jcfba9bc3f74273eb@mail.gmail.com> <5b2cf6e90802250204r5ffd545aqf5f432df19721b80@mail.gmail.com> <1b4784dd0802250235l3c3b46bm2e7ed597afd86a3a@mail.gmail.com> <27acba740802250418k61f729e0kbba59b01a0934479@mail.gmail.com> Message-ID: <27acba740802250642o28454a65s88edcb663443c682@mail.gmail.com> Hm, this email address wasn't a member of the list, so here comes the reply again. //Martin On Mon, Feb 25, 2008 at 1:18 PM, Gruad Lloigor wrote: > Interesting :) > > My spontaneous thought was that you need an X or windows app to get > that working, but if there is a way to get terminal applications to > more tightly integrate with the keyboard that would do the trick.. > > Good luck! > > //Martin > > ps. do you like muby? is it useable? does it need improvement in any > certain area? etc etc.. it is my baby, and I would like to know how it > is doing out in the world :) > > > > On Mon, Feb 25, 2008 at 11:35 AM, William Crawford wrote: > > Yeah, after a lot of research on the net, apparently some terminal apps can > > be put into 'application' mode and will show different codes for the keys > > and some can't. I can't seem to find one that can and will work on Kubuntu. > > TinyFugue is supposed to be able to do this and I can't get it to work on > > any terminal, either... > > > > Thanks for the answer! > > > > On Mon, Feb 25, 2008 at 5:04 AM, Martin Kihlgren wrote: > > > I am afraid that the numpad keys and the regular numeric keys are the same > > in a terminal - if the keycodes are the same then there is probably no way > > of determining which key the user pressed :/ > > > > > > //Martin > > > > > > > > > > > > > > > > > > On 2/16/08, William Crawford wrote: > > > > > > > > > > > > > > > > Forgive me if this has been asked before... I could not find an answer. > > > > > > > > It is typical in mud clients to map the keypad to direction movement, > > but leave the regular numbers alone. When I use ctrl-v to see the keycodes, > > they show up the same. > > > > > > > > Is there a way to map only the numpad keys? > > > > > > > > Also, I noticed that when I hold ctrl and hit them, some of them come up > > the same and some don't. Holding shift, some don't come up at all. Alt is > > the only modifier that seems to come up reasonably, where it gives a '27' > > first and then the normal keycode, and I see it's possible to map to that. > > > > > > > > Thanks for your time. > > > > > > > > _______________________________________________ > > > > muby-talk mailing list > > > > muby-talk at rubyforge.org > > > > http://rubyforge.org/mailman/listinfo/muby-talk > > > > http://rubyforge.org/projects/muby/ > > > > > > > > > > > > > _______________________________________________ > > > muby-talk mailing list > > > muby-talk at rubyforge.org > > > http://rubyforge.org/mailman/listinfo/muby-talk > > > http://rubyforge.org/projects/muby/ > > > > > > > > > _______________________________________________ > > muby-talk mailing list > > muby-talk at rubyforge.org > > http://rubyforge.org/mailman/listinfo/muby-talk > > http://rubyforge.org/projects/muby/ > > > From wccrawford at gmail.com Mon Feb 25 09:53:13 2008 From: wccrawford at gmail.com (William Crawford) Date: Mon, 25 Feb 2008 09:53:13 -0500 Subject: [Muby-talk] Hotkeys - numpad In-Reply-To: <27acba740802250642o28454a65s88edcb663443c682@mail.gmail.com> References: <1b4784dd0802160652h754061a8jcfba9bc3f74273eb@mail.gmail.com> <5b2cf6e90802250204r5ffd545aqf5f432df19721b80@mail.gmail.com> <1b4784dd0802250235l3c3b46bm2e7ed597afd86a3a@mail.gmail.com> <27acba740802250418k61f729e0kbba59b01a0934479@mail.gmail.com> <27acba740802250642o28454a65s88edcb663443c682@mail.gmail.com> Message-ID: <1b4784dd0802250653n1da148b2uc36b196ee8d22e87@mail.gmail.com> As I replied before, there's supposed to be a way for an app to go into 'application mode' and get different codes from the numpad keys, but apparently it doesn't work as TF wasn't working either. As for Muby... I'm still messing with it. The thing that made me look at TF was that when you run a script, you don't regain control until the script finishes... And it doesn't clear the script name off the input line after it finishes. (The second is minor, I'm sure.) That means that my script that runs for a minute with 10 second pauses throughout it won't let me chat while it's doing its thing. Part of my problem is that I don't even know what I want from the MUD client yet... I've used proprietary clients (and zMud) for years, but nothing else. So I can't even really give a good review of Muby yet. Setting up hotkeys seems to be a pain, btw... I do appreciate the work you've done, and I definitely would prefer to script in Ruby. On 2/25/08, Gruad Lloigor wrote: > > Hm, this email address wasn't a member of the list, so here comes the > reply again. > > //Martin > > On Mon, Feb 25, 2008 at 1:18 PM, Gruad Lloigor > wrote: > > Interesting :) > > > > My spontaneous thought was that you need an X or windows app to get > > that working, but if there is a way to get terminal applications to > > more tightly integrate with the keyboard that would do the trick.. > > > > Good luck! > > > > //Martin > > > > ps. do you like muby? is it useable? does it need improvement in any > > certain area? etc etc.. it is my baby, and I would like to know how it > > is doing out in the world :) > > > > > > > > > On Mon, Feb 25, 2008 at 11:35 AM, William Crawford < > wccrawford at gmail.com> wrote: > > > Yeah, after a lot of research on the net, apparently some terminal > apps can > > > be put into 'application' mode and will show different codes for the > keys > > > and some can't. I can't seem to find one that can and will work on > Kubuntu. > > > TinyFugue is supposed to be able to do this and I can't get it to > work on > > > any terminal, either... > > > > > > Thanks for the answer! > > > > > > On Mon, Feb 25, 2008 at 5:04 AM, Martin Kihlgren > wrote: > > > > I am afraid that the numpad keys and the regular numeric keys are > the same > > > in a terminal - if the keycodes are the same then there is probably > no way > > > of determining which key the user pressed :/ > > > > > > > > //Martin > > > > > > > > > > > > > > > > > > > > > > > > On 2/16/08, William Crawford wrote: > > > > > > > > > > > > > > > > > > > > Forgive me if this has been asked before... I could not find an > answer. > > > > > > > > > > It is typical in mud clients to map the keypad to direction > movement, > > > but leave the regular numbers alone. When I use ctrl-v to see the > keycodes, > > > they show up the same. > > > > > > > > > > Is there a way to map only the numpad keys? > > > > > > > > > > Also, I noticed that when I hold ctrl and hit them, some of them > come up > > > the same and some don't. Holding shift, some don't come up at > all. Alt is > > > the only modifier that seems to come up reasonably, where it gives a > '27' > > > first and then the normal keycode, and I see it's possible to map to > that. > > > > > > > > > > Thanks for your time. > > > > > > > > > > _______________________________________________ > > > > > muby-talk mailing list > > > > > muby-talk at rubyforge.org > > > > > http://rubyforge.org/mailman/listinfo/muby-talk > > > > > http://rubyforge.org/projects/muby/ > > > > > > > > > > > > > > > > > _______________________________________________ > > > > muby-talk mailing list > > > > muby-talk at rubyforge.org > > > > http://rubyforge.org/mailman/listinfo/muby-talk > > > > http://rubyforge.org/projects/muby/ > > > > > > > > > > > > > _______________________________________________ > > > muby-talk mailing list > > > muby-talk at rubyforge.org > > > http://rubyforge.org/mailman/listinfo/muby-talk > > > http://rubyforge.org/projects/muby/ > > > > > > _______________________________________________ > muby-talk mailing list > muby-talk at rubyforge.org > http://rubyforge.org/mailman/listinfo/muby-talk > http://rubyforge.org/projects/muby/ > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/muby-talk/attachments/20080225/b926c5a1/attachment.html From zondolfin at gmail.com Mon Feb 25 10:01:36 2008 From: zondolfin at gmail.com (Gruad Lloigor) Date: Mon, 25 Feb 2008 16:01:36 +0100 Subject: [Muby-talk] Hotkeys - numpad In-Reply-To: <1b4784dd0802250653n1da148b2uc36b196ee8d22e87@mail.gmail.com> References: <1b4784dd0802160652h754061a8jcfba9bc3f74273eb@mail.gmail.com> <5b2cf6e90802250204r5ffd545aqf5f432df19721b80@mail.gmail.com> <1b4784dd0802250235l3c3b46bm2e7ed597afd86a3a@mail.gmail.com> <27acba740802250418k61f729e0kbba59b01a0934479@mail.gmail.com> <27acba740802250642o28454a65s88edcb663443c682@mail.gmail.com> <1b4784dd0802250653n1da148b2uc36b196ee8d22e87@mail.gmail.com> Message-ID: <27acba740802250701h5c8a8da0te3d08fad4730db70@mail.gmail.com> Yes, I read your reply :) Well - since you have the full power of Ruby in muby, you can put your script in a Thread and let it do its thing in the background - you don't ever have to be hampered by scripts taking time to run. And about clearing the script name - doesnt it do that after the script returns? I thought it did, but I don't remember for sure :) Setting up hotkeys isn't hard at all, IIRC, you just do conf.key_commands[YOUR KEYCODE] = WHAT TO DO where YOUR KEYCODE is the number returned when you turn on maximum verbosity in the system (which in turn turns sets conf.echo_keycodes to true), and WHAT TO DO can be either a Proc instance, a Symbol (in which case it will try to run the method of that name) or a String (in which case it will run that piece of code). Of course, it could be simplified, but I don't know exactly how people want it to work :) //Martin On Mon, Feb 25, 2008 at 3:53 PM, William Crawford wrote: > > > As I replied before, there's supposed to be a way for an app to go into > 'application mode' and get different codes from the numpad keys, but > apparently it doesn't work as TF wasn't working either. > > As for Muby... I'm still messing with it. The thing that made me look at > TF was that when you run a script, you don't regain control until the script > finishes... And it doesn't clear the script name off the input line after > it finishes. (The second is minor, I'm sure.) That means that my script > that runs for a minute with 10 second pauses throughout it won't let me chat > while it's doing its thing. > > Part of my problem is that I don't even know what I want from the MUD client > yet... I've used proprietary clients (and zMud) for years, but nothing > else. So I can't even really give a good review of Muby yet. > > Setting up hotkeys seems to be a pain, btw... > > I do appreciate the work you've done, and I definitely would prefer to > script in Ruby. > > > On 2/25/08, Gruad Lloigor wrote: > > Hm, this email address wasn't a member of the list, so here comes the > > reply again. > > > > //Martin > > > > On Mon, Feb 25, 2008 at 1:18 PM, Gruad Lloigor > wrote: > > > Interesting :) > > > > > > My spontaneous thought was that you need an X or windows app to get > > > that working, but if there is a way to get terminal applications to > > > more tightly integrate with the keyboard that would do the trick.. > > > > > > Good luck! > > > > > > //Martin > > > > > > ps. do you like muby? is it useable? does it need improvement in any > > > certain area? etc etc.. it is my baby, and I would like to know how it > > > is doing out in the world :) > > > > > > > > > > > > > > On Mon, Feb 25, 2008 at 11:35 AM, William Crawford > wrote: > > > > Yeah, after a lot of research on the net, apparently some terminal > apps can > > > > be put into 'application' mode and will show different codes for the > keys > > > > and some can't. I can't seem to find one that can and will work on > Kubuntu. > > > > TinyFugue is supposed to be able to do this and I can't get it to > work on > > > > any terminal, either... > > > > > > > > Thanks for the answer! > > > > > > > > On Mon, Feb 25, 2008 at 5:04 AM, Martin Kihlgren > wrote: > > > > > I am afraid that the numpad keys and the regular numeric keys are > the same > > > > in a terminal - if the keycodes are the same then there is probably > no way > > > > of determining which key the user pressed :/ > > > > > > > > > > //Martin > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > On 2/16/08, William Crawford wrote: > > > > > > > > > > > > > > > > > > > > > > > > Forgive me if this has been asked before... I could not find an > answer. > > > > > > > > > > > > It is typical in mud clients to map the keypad to direction > movement, > > > > but leave the regular numbers alone. When I use ctrl-v to see the > keycodes, > > > > they show up the same. > > > > > > > > > > > > Is there a way to map only the numpad keys? > > > > > > > > > > > > Also, I noticed that when I hold ctrl and hit them, some of them > come up > > > > the same and some don't. Holding shift, some don't come up at all. > Alt is > > > > the only modifier that seems to come up reasonably, where it gives a > '27' > > > > first and then the normal keycode, and I see it's possible to map to > that. > > > > > > > > > > > > Thanks for your time. > > > > > > > > > > > > _______________________________________________ > > > > > > muby-talk mailing list > > > > > > muby-talk at rubyforge.org > > > > > > http://rubyforge.org/mailman/listinfo/muby-talk > > > > > > http://rubyforge.org/projects/muby/ > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > muby-talk mailing list > > > > > muby-talk at rubyforge.org > > > > > http://rubyforge.org/mailman/listinfo/muby-talk > > > > > http://rubyforge.org/projects/muby/ > > > > > > > > > > > > > > > > > _______________________________________________ > > > > muby-talk mailing list > > > > muby-talk at rubyforge.org > > > > http://rubyforge.org/mailman/listinfo/muby-talk > > > > http://rubyforge.org/projects/muby/ > > > > > > > > > _______________________________________________ > > muby-talk mailing list > > muby-talk at rubyforge.org > > http://rubyforge.org/mailman/listinfo/muby-talk > > http://rubyforge.org/projects/muby/ > > > > > _______________________________________________ > muby-talk mailing list > muby-talk at rubyforge.org > http://rubyforge.org/mailman/listinfo/muby-talk > http://rubyforge.org/projects/muby/ > From wccrawford at gmail.com Mon Feb 25 11:23:25 2008 From: wccrawford at gmail.com (William Crawford) Date: Mon, 25 Feb 2008 11:23:25 -0500 Subject: [Muby-talk] Hotkeys - numpad In-Reply-To: <27acba740802250701h5c8a8da0te3d08fad4730db70@mail.gmail.com> References: <1b4784dd0802160652h754061a8jcfba9bc3f74273eb@mail.gmail.com> <5b2cf6e90802250204r5ffd545aqf5f432df19721b80@mail.gmail.com> <1b4784dd0802250235l3c3b46bm2e7ed597afd86a3a@mail.gmail.com> <27acba740802250418k61f729e0kbba59b01a0934479@mail.gmail.com> <27acba740802250642o28454a65s88edcb663443c682@mail.gmail.com> <1b4784dd0802250653n1da148b2uc36b196ee8d22e87@mail.gmail.com> <27acba740802250701h5c8a8da0te3d08fad4730db70@mail.gmail.com> Message-ID: <1b4784dd0802250823r1cbb8c46u427c80a585e895d0@mail.gmail.com> Yeah, I just expected it to get it's own thread by default. 'scripts' should be as simple as possible... The rest of the code should take care of the dirty work that gets done for each script. And yeah, I set up a few hotkeys... Only a few since it was a pain. Seems more work than necessary to have to find the key codes for each key and then write out all the hotkey stuff... I put it in the hotkey file, of course, but remember what each key is and changing them later... Bleh. I think the issue is that hotkeys need an interface of their own to be easily customizeable... Most console apps don't do that kind of thing. Oh, there are some display issues to do with resizing the terminal window... I found out because I kept Muby in a screen session and recalled it later from a different computer. And the line around the text input at the bottom is nice, but wastes an extra line at the bottom that it doesn't need to. Usually not a problem, but on smaller screens it's an issue. Feature Requests? TF has status line detection and will throw that in the input box at the bottom for you, instead of taking up valuable lines in the top. It's pretty handy, but I get the feeling it wasn't the easiest thing to implement, especially across all the muds out there. On 2/25/08, Gruad Lloigor wrote: > > Yes, I read your reply :) > > Well - since you have the full power of Ruby in muby, you can put your > script in a Thread and let it do its thing in the background - you > don't ever have to be hampered by scripts taking time to run. > > And about clearing the script name - doesnt it do that after the > script returns? I thought it did, but I don't remember for sure :) > > Setting up hotkeys isn't hard at all, IIRC, you just do > conf.key_commands[YOUR KEYCODE] = WHAT TO DO > where YOUR KEYCODE is the number returned when you turn on maximum > verbosity in the system (which in turn turns sets conf.echo_keycodes > to true), and WHAT TO DO can be either a Proc instance, a Symbol (in > which case it will try to run the method of that name) or a String (in > which case it will run that piece of code). > > Of course, it could be simplified, but I don't know exactly how people > want it to work :) > > //Martin -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/muby-talk/attachments/20080225/b3fd000f/attachment-0001.html From zondolfin at gmail.com Mon Feb 25 11:31:02 2008 From: zondolfin at gmail.com (Gruad Lloigor) Date: Mon, 25 Feb 2008 17:31:02 +0100 Subject: [Muby-talk] Hotkeys - numpad In-Reply-To: <1b4784dd0802250823r1cbb8c46u427c80a585e895d0@mail.gmail.com> References: <1b4784dd0802160652h754061a8jcfba9bc3f74273eb@mail.gmail.com> <5b2cf6e90802250204r5ffd545aqf5f432df19721b80@mail.gmail.com> <1b4784dd0802250235l3c3b46bm2e7ed597afd86a3a@mail.gmail.com> <27acba740802250418k61f729e0kbba59b01a0934479@mail.gmail.com> <27acba740802250642o28454a65s88edcb663443c682@mail.gmail.com> <1b4784dd0802250653n1da148b2uc36b196ee8d22e87@mail.gmail.com> <27acba740802250701h5c8a8da0te3d08fad4730db70@mail.gmail.com> <1b4784dd0802250823r1cbb8c46u427c80a585e895d0@mail.gmail.com> Message-ID: <27acba740802250831i1e45c519ga0740e86f46227cb@mail.gmail.com> Ah yes, but muby is created from a hackers standpoint, and creating a new Thread for each executed command would give other complications - not very elegant :/ Most scripts (I use) don't take a lot of time - they just send some command or update some variable, and they don't really need a Thread... Hm, yes, a prettier interface to create hotkeys could be nice - but then again - nothing (NOTHING) else in muby has a pretty interface :( It's all a programmers interface... so I feel that other things may be of higher importance. But as usual, patches are welcome :) Yes, the resizing is a hassle - the problem has been that ncurses doesnt send the screen resize signal when it is supposed to, which makes the resize much harder than it should be. There are commands to redraw and resize the screen explicitly, that you of course could bind to hotkeys, but nothing automatic... The line around the input screen, yes, it could be removed I guess. But I usually use it to display status information - there are commands to put text in the upper and lower horizontal lines in that frame. The status detection I haven't even thought about (doing automatically). I usually set up some regular expression or something in my own scripting that fits exactly the status messages my current favorite mud uses, and displays that (as I said) in the frame around the input window. Yea, it was probably a whole lot of work for the TF team... Thanks for your input and thoughts! //Martin On Mon, Feb 25, 2008 at 5:23 PM, William Crawford wrote: > > > Yeah, I just expected it to get it's own thread by default. 'scripts' > should be as simple as possible... The rest of the code should take care of > the dirty work that gets done for each script. > > And yeah, I set up a few hotkeys... Only a few since it was a pain. Seems > more work than necessary to have to find the key codes for each key and then > write out all the hotkey stuff... I put it in the hotkey file, of course, > but remember what each key is and changing them later... Bleh. I think the > issue is that hotkeys need an interface of their own to be easily > customizeable... Most console apps don't do that kind of thing. > > Oh, there are some display issues to do with resizing the terminal window... > I found out because I kept Muby in a screen session and recalled it later > from a different computer. > > And the line around the text input at the bottom is nice, but wastes an > extra line at the bottom that it doesn't need to. Usually not a problem, > but on smaller screens it's an issue. > > Feature Requests? TF has status line detection and will throw that in the > input box at the bottom for you, instead of taking up valuable lines in the > top. It's pretty handy, but I get the feeling it wasn't the easiest thing > to implement, especially across all the muds out there. > > On 2/25/08, Gruad Lloigor wrote: > > Yes, I read your reply :) > > > > Well - since you have the full power of Ruby in muby, you can put your > > script in a Thread and let it do its thing in the background - you > > don't ever have to be hampered by scripts taking time to run. > > > > And about clearing the script name - doesnt it do that after the > > script returns? I thought it did, but I don't remember for sure :) > > > > Setting up hotkeys isn't hard at all, IIRC, you just do > > conf.key_commands[YOUR KEYCODE] = WHAT TO DO > > where YOUR KEYCODE is the number returned when you turn on maximum > > verbosity in the system (which in turn turns sets conf.echo_keycodes > > to true), and WHAT TO DO can be either a Proc instance, a Symbol (in > > which case it will try to run the method of that name) or a String (in > > which case it will run that piece of code). > > > > Of course, it could be simplified, but I don't know exactly how people > > want it to work :) > > > > //Martin > > > _______________________________________________ > muby-talk mailing list > muby-talk at rubyforge.org > http://rubyforge.org/mailman/listinfo/muby-talk > http://rubyforge.org/projects/muby/ > From wccrawford at gmail.com Mon Feb 25 19:25:30 2008 From: wccrawford at gmail.com (William Crawford) Date: Mon, 25 Feb 2008 19:25:30 -0500 Subject: [Muby-talk] Bug - unterminated lines Message-ID: <1b4784dd0802251625j322d9d8k75c76174cafc7a9a@mail.gmail.com> If a mud sends a line without a line feed at the end, Muby doesn't show it... Since some muds do this for the login and status prompts, it's rather ... painful. Medievia.com (free, port 4000) is an example of such a mud. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/muby-talk/attachments/20080225/ecb206d3/attachment.html From zondolfin at gmail.com Tue Feb 26 05:12:43 2008 From: zondolfin at gmail.com (Gruad Lloigor) Date: Tue, 26 Feb 2008 11:12:43 +0100 Subject: [Muby-talk] Bug - unterminated lines In-Reply-To: <1b4784dd0802251625j322d9d8k75c76174cafc7a9a@mail.gmail.com> References: <1b4784dd0802251625j322d9d8k75c76174cafc7a9a@mail.gmail.com> Message-ID: <27acba740802260212s5ec739a2yea013872bf095960@mail.gmail.com> Oh - I thought that was fixed a long time ago, but now I see that other changes I made undid that fix :/ I have now created a new release (0.7.5) that fixes that problem (and another problem that you hopefully haven't noticed yet :) Try the new version, it should work better. Report any bugs you find (I haven't tested it thoroughly). regards, //Martin On Tue, Feb 26, 2008 at 1:25 AM, William Crawford wrote: > If a mud sends a line without a line feed at the end, Muby doesn't show > it... Since some muds do this for the login and status prompts, it's rather > ... painful. > > Medievia.com (free, port 4000) is an example of such a mud. > > _______________________________________________ > muby-talk mailing list > muby-talk at rubyforge.org > http://rubyforge.org/mailman/listinfo/muby-talk > http://rubyforge.org/projects/muby/ > From wccrawford at gmail.com Tue Feb 26 05:37:00 2008 From: wccrawford at gmail.com (William Crawford) Date: Tue, 26 Feb 2008 05:37:00 -0500 Subject: [Muby-talk] Bug - unterminated lines In-Reply-To: <27acba740802260212s5ec739a2yea013872bf095960@mail.gmail.com> References: <1b4784dd0802251625j322d9d8k75c76174cafc7a9a@mail.gmail.com> <27acba740802260212s5ec739a2yea013872bf095960@mail.gmail.com> Message-ID: <1b4784dd0802260237j4e71b499i8a13c1bb55e1ce53@mail.gmail.com> Hm, thanks for the quick response on that... But 'gem update muby' gets 0.7.4 and the rubyforge site has 0 file length for the file, and comes up 404 when you click on it. On Tue, Feb 26, 2008 at 5:12 AM, Gruad Lloigor wrote: > Oh - I thought that was fixed a long time ago, but now I see that > other changes I made undid that fix :/ > > I have now created a new release (0.7.5) that fixes that problem (and > another problem that you hopefully haven't noticed yet :) > > Try the new version, it should work better. Report any bugs you find > (I haven't tested it thoroughly). > > regards, > //Martin > > On Tue, Feb 26, 2008 at 1:25 AM, William Crawford > wrote: > > If a mud sends a line without a line feed at the end, Muby doesn't show > > it... Since some muds do this for the login and status prompts, it's > rather > > ... painful. > > > > Medievia.com (free, port 4000) is an example of such a mud. > > > > _______________________________________________ > > muby-talk mailing list > > muby-talk at rubyforge.org > > http://rubyforge.org/mailman/listinfo/muby-talk > > http://rubyforge.org/projects/muby/ > > > _______________________________________________ > muby-talk mailing list > muby-talk at rubyforge.org > http://rubyforge.org/mailman/listinfo/muby-talk > http://rubyforge.org/projects/muby/ > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/muby-talk/attachments/20080226/181cdc9c/attachment.html From wccrawford at gmail.com Tue Feb 26 05:43:49 2008 From: wccrawford at gmail.com (William Crawford) Date: Tue, 26 Feb 2008 05:43:49 -0500 Subject: [Muby-talk] Bug - unterminated lines In-Reply-To: <1b4784dd0802260237j4e71b499i8a13c1bb55e1ce53@mail.gmail.com> References: <1b4784dd0802251625j322d9d8k75c76174cafc7a9a@mail.gmail.com> <27acba740802260212s5ec739a2yea013872bf095960@mail.gmail.com> <1b4784dd0802260237j4e71b499i8a13c1bb55e1ce53@mail.gmail.com> Message-ID: <1b4784dd0802260243s7b47201aqd8742c6c7663d044@mail.gmail.com> Sorry, I read it wrong... It's 0 downloads... It does have a filesize. It's still missing, though... Maybe that just takes time before rubyforge updates properly. On Tue, Feb 26, 2008 at 5:37 AM, William Crawford wrote: > Hm, thanks for the quick response on that... But 'gem update muby' gets > 0.7.4 and the rubyforge site has 0 file length for the file, and comes up > 404 when you click on it. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/muby-talk/attachments/20080226/2c6f761d/attachment.html