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
mazer327
Newbie


Joined: 05 Apr 2009
Posts: 6

PostPosted: Tue Apr 07, 2009 6:40 pm   

Issue With Recalling Recent Commands - Xterm
 
Hi, first, sorry if this is already posted somewhere and I have just missed it.

The issue I am having is with xterm.

When I type a command, then press up to recall the last command, and edit it, the editing does not appear to go into "insert" mode. Instead, it puts a letter, a space, a letter, and it LOOKS like it overwrites what is after what you type. That said, the command, if tired, works fine. Appears to be simply a display issue.

Example:

cd mud/src
*press up arrow to recall last command*
What is shown = cd mud/src
*move cursor to just before the mud/src, and type ../newmud/src*
What is shown = cd . . / n e w m u d / s r c
*What happens next is what I wanted it to do - it goes to the newmud/src folder. As a result, I'm assuming it's just display issues.*

Example 2:
cd mud/src
*press up arrow to recall last command*
What is shown = cd mud/src
*move cursor to just before the mud/src, and type ../*
*backspace as much as possible.*
What is shown = cd /src

Hopefully those examples help make sense of what I am talking about. Not sure if this happens for all terminal types or not.
Let me know if I can provide any additional information.

- Mazer
Reply with quote
Zugg
MASTER


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

PostPosted: Tue Apr 07, 2009 8:28 pm   
 
Weird. It doesn't seem to happen in all cases for me. Sometimes it adds the extra spaces and sometimes not. But I was able to reproduce the error so I should be able to track down and fix it. It doesn't seem to happen when using vt100 for the terminal type.
Reply with quote
mazer327
Newbie


Joined: 05 Apr 2009
Posts: 6

PostPosted: Tue Apr 07, 2009 9:55 pm   
 
Another issue with this same thing -

If you have multiple commands in the history, and press up arrow to recall them, they all stack on top of each other instead of replace each other.

IE -

type cd mud/src
type cd ../src
press up arrow twice
result = cd mud/srccd ../src

- Mazer
Reply with quote
Zugg
MASTER


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

PostPosted: Thu Apr 09, 2009 4:35 pm   
 
I wasn't able to reproduce the last issue about the commands "stacking" on top. On my linux server it works fine when I enter the exact commands that you mentioned. I'm wondering if there is a difference in the raw control codes being sent by your server compared to mine. Linux systems use the TERMCAP files to handle their emulation, and there might be a difference between linux code bases.

What I need you to do is to capture the raw data being sent by the server when you enter the test that you gave above. To do this, log onto your server, and then, in the CMUD Command Line, type:

#DEBUGFILE test.txt test.raw

Then click back on your MUD window and enter the two CD commands and then press the up-arrow to see it fail. Then, exit CMUD and email the "test.txt" and "test.raw" files to me at sales@zuggsoft.com.
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