Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD Beta Forum
Rorso
Wizard


Joined: 14 Oct 2000
Posts: 1368

PostPosted: Wed May 14, 2008 7:06 pm   

[2.25] CMUDPro bugs
 
Some thing I noticed when trying the cMUDPro shareware:
1. No support for mouse control (try run "links" in Putty and you can actually click links)
2. Lack of unicode support.
3. The colour support dosn't seem to work in all cases. Emacs was black & white Sad.
4. Closing emacs doesn't work? ( ah you have to manually activate that ctrl+alt act as ctrl)
5. Running "top" outputs "garbage"
6. How do you send the alt-key?
7. "Sometimes" when using Emacs text mysteriously go invisible or otherwise is not drawn correctly. Try especially to write C++ code in it, and odd things can start occur.

The scrolling in cMUDPro feels a lot smoother than in Putty which is very nice.
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Wed May 21, 2008 5:32 am   
 
1) CMUD/CMUDPro doesn't automatically recognize links. You can easily create a trigger for this using the #URL command however.

2) CMUD doesn't support Unicode, so there is no surprise that CMUDPro doesn't have unicode. SSH isn't going to make any difference with that fact, and it's not going to change until Delphi support Unicode, and all the 3rd party components used in CMUD support Unicode, and then I modify my own CMUD stuff to use Unicode.

3) If it is using standard ANSI color sequences, then it should work fine. Otherwise you'll need to capture a debug log of exactly what emacs is sending to try and change color so I can look at it. I don't use emacs anymore myself.

4) Yes, use Ctrl+Alt+key to send control keys to the server.

5) You'll need to capture this in a debug log so I can see what it is sending. Works fine on my *nix box.

6) Not sure what you mean. The "Alt-key" is a Windows thing and doesn't correspond to any ASCII code, so there is no way to "send it" to the server. You'll need to tell me more about what you are trying to do on the server.

7) Again, I'd need a detailed debug log on this.

In general, please remember the normal bug reporting policies. You'll need to provide me a detailed procedure for reproducing any problems, and when using other server software such as emacs, I'll need detailed #DEBUGFILE log files showing the exact codes sent by the server.

None of this should be related to SSH. If these things all work fine in regular CMUD and not in CMUDPro, then let me know. SSH just changes the sock layer communication and shouldn't be messing with any of the higher level stuff like you are talking about.
Reply with quote
Rorso
Wizard


Joined: 14 Oct 2000
Posts: 1368

PostPosted: Wed May 21, 2008 9:16 am   
 
Zugg wrote:

In general, please remember the normal bug reporting policies. You'll need to provide me a detailed procedure for reproducing any problems, and when using other server software such as emacs, I'll need detailed #DEBUGFILE log files showing the exact codes sent by the server.

Sorry that I posted such a brief report. I tried it out in the demo version and wanted to write it down while I remembered it and before the demo expired Smile.

"links" is actually a tool in GNU/Linux. It is a text based browser and it allows you to actually use the mouse cursor to click on links, and menu items in the text output. Now when I look at how I wrote it it does look confusing.

About the Alt key check Emacs. There you need to use the 'meta key' to access some commands. On a Sun machine the meta key is indicated by a little star(http://en.wikipedia.org/wiki/Meta_key). Putty seem to bind the meta key to the Alt-key. Check http://www.cs.cmu.edu/~fp/courses/logic/software/tutch_10.html
So to copy text you first press C-Space to mark the start of the copy region, move cursor to end of region and press M-w where M is the meta key.
Reply with quote
Larkin
Wizard


Joined: 25 Mar 2003
Posts: 1113
Location: USA

PostPosted: Wed May 21, 2008 11:29 am   
 
I thought the text-based browser was called "lynx" and not "links."
Reply with quote
Rorso
Wizard


Joined: 14 Oct 2000
Posts: 1368

PostPosted: Wed May 21, 2008 12:00 pm   
 
Larkin wrote:
I thought the text-based browser was called "lynx" and not "links."

It is two different text browsers Smile. Lynx doesn't support point & click as far as I know.

Edit: Zugg what Linux distribution do you use?
Reply with quote
Zhiroc
Adept


Joined: 04 Feb 2005
Posts: 246

PostPosted: Wed May 21, 2008 12:51 pm   
 
Two things:

1) When interacting with a lot of screen based programs (including the shell), control-chars are used a lot. Having to use Ctrl-Alt to do this all time would be pretty much a non-starter for me.

2) Many telnet clients react to ALT-key by sending the two character sequence ESC+key.
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Wed May 21, 2008 7:49 pm   
 
1) If you have the keyboard focus in the actual output window (and have Character Mode enabled), then CMUD should work like a normal Telnet/SSH client and will send control-key characters properly. The need to use Alt-Ctrl-Key is only when you are using the command line, since the Ctrl-keys are used in the command line for Windows stuff like Copy/Paste.

2) If you can point me to some web page with documentation on this "standard", then I might be able to implement it.

Rorso: The zuggsoft.com server uses a stripped-down linux distribution that WolfPaw installs. I don't know what specific distribution it is based upon, but it is optimized for server use and has a lot of stuff set up specially for increased security. I might eventually install a Linux distribution on one of my older computers (if I can get enough pieces together that actually work), but that's a pretty low priority for me. If you have a recommendation of which linux distribution I should use, let me know.
Reply with quote
Rorso
Wizard


Joined: 14 Oct 2000
Posts: 1368

PostPosted: Wed May 21, 2008 8:28 pm   
 
Zugg wrote:

Rorso: The zuggsoft.com server uses a stripped-down linux distribution that WolfPaw installs. I don't know what specific distribution it is based upon, but it is optimized for server use and has a lot of stuff set up specially for increased security. I might eventually install a Linux distribution on one of my older computers (if I can get enough pieces together that actually work), but that's a pretty low priority for me. If you have a recommendation of which linux distribution I should use, let me know.

I am still pretty new to Linux. I use Fedora Linux with the Gnome desktop. You can also install it on virtual machine if you just want to try it out. Fedora 9 has pretty good performance on VirtualPC. The issue with Fedora 9 currently is that Nvidia/Ati has not yet made the new 3D drivers available, so currently you just get the usual 2D display and can't really play any 3D games. Hopefully they release new drivers in a few weeks.

If you have a 3D card on the machine you might want to try activate Compiz. Though the 3D effects on the desktop can sometimes be a bit overwhelming.
Reply with quote
Zhiroc
Adept


Joined: 04 Feb 2005
Posts: 246

PostPosted: Thu May 22, 2008 5:49 am   
 
I'm not sure the translation of ALT-key to ESC+key is a "standard" but it grew out of the usage of the EMACS editor, I'm oretty sure.

In those early days, EMACS was developed on the ITS OS, which used, if I recall, a 9-bit character set (given that the PDP-10 had 36-bit words, non-byte-addressable). With the 7-bit ASCII set, that left two bits left over. One was called Control and the other Meta. These were or'ed in to other characters, so you could have Control and Meta applied to any character in the set (including the ASCII control characters, so yes, you could have Control-Ctrl-A as well as having Control-A being different from Control-a, and combinations like Control-Meta-A).

When EMACS started being ported to other OSes that only used 7 bit characters (this was well before the day of 8-bit charsets), it used the ASCII control characters for its "Control", but there was no way to encode Meta. So it evolved that the sequence ESC+key meant Meta-key.

Fast-forwarding to today, where windowing systems allow full keyboard interpretation, EMACS once again started supporting the concept of Meta by using the Alt key. But that only works in direct window systems, and when going through a TCP connection, like telnet, rlogin, etc. you still have to use ESC (while the 8th bit could be used for this, it isn't so that 8-bit charsets can be supported). So, some telnet clients provide support for ALT-key to be sent as the two character sequence ESC+key. Once you get used to using ALT like this, it's hard to remember to go back to using ESC. Using EMACS is like learning to play a piano, in that *everything* that you do that's not inserting a character uses some sort of Ctrl or Meta-characters (it's a non-moded design, unlike vi).

One such client is Absolute Telnet, which can be found at http://www.celestialsoftware.net/
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Wed May 28, 2008 5:45 pm   
 
Zhiroc: Thanks for the extra info and history about that...it was very interesting. I'll add an option to the wish-list for the future to have Alt-key converted into ESC key when in Character mode in CMUD.
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Mon Jun 02, 2008 8:56 pm   
 
OK, I have made some fixes to this in v2.26. I found the correct method to add a keyboard hook and capture stuff before the rest of the application sees it. So in v2.26, pressing Ctrl-key when in Character Mode will properly send the Ctrl-key to the server (as long as Macros override Menu shortcuts preference is enabled). Pressing Alt-key when in Character Mode will send ESC-key to the server (again, with Macros override Menu shortcuts enabled).

I didn't add any separate option for the Alt-key -> ESC-key. I'm just using the "macros override menu shortcut" option to basically override the default key mapping. This should make character mode a bit more useful in v2.26.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD Beta Forum All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net