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
darmir
Sorcerer


Joined: 10 Oct 2000
Posts: 706
Location: USA

PostPosted: Mon Oct 04, 2010 8:06 pm   

Word Wrapping of long sentences [v3.30]
 
I play on Shadows of Isildur mud and I have noticed that sometime the text coming back from the mud wraps to a second line but not always.
Here is the text from the mud. Notice that it is exactly the same length.

Code:
<****** / ||||||> get bucket cart
You get a dirty bucket filled with filthy water from a wooden
push-cart.

Code:

<****** / ||||||> put bucket cart
You put a dirty bucket filled with filthy water into a wooden push-cart.


I am told by the the MUD that this is NOT coming from the mud, but my client. I have checked all over in the preferences and I don't have word wrap turned on.
Goto Preferences->Sessions->Word Wrap Tab (both checkboxes are not marked)
_________________
Run as hard as a wild beast if you will, but you won't get any reward greater than that destined for you.
Source: (Egyptian)
Reply with quote
GeneralStonewall
Magician


Joined: 02 Feb 2004
Posts: 364
Location: USA

PostPosted: Mon Oct 04, 2010 9:44 pm   
 
Can't say I've ever seen this.
Reply with quote
darmir
Sorcerer


Joined: 10 Oct 2000
Posts: 706
Location: USA

PostPosted: Mon Oct 04, 2010 9:46 pm   
 
I talked to the programmers of the mud and they do not have any code that auto word wraps sentences.
_________________
Run as hard as a wild beast if you will, but you won't get any reward greater than that destined for you.
Source: (Egyptian)
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Tue Oct 05, 2010 1:50 am   
 
perhaps it's not automatic. If you connect in a new session without any triggers or anything, does it still happen?
_________________
EDIT: I didn't like my old signature
Reply with quote
darmir
Sorcerer


Joined: 10 Oct 2000
Posts: 706
Location: USA

PostPosted: Tue Oct 05, 2010 2:03 am   
 
Yes. It still does it.
_________________
Run as hard as a wild beast if you will, but you won't get any reward greater than that destined for you.
Source: (Egyptian)
Reply with quote
Tech
GURU


Joined: 18 Oct 2000
Posts: 2733
Location: Atlanta, USA

PostPosted: Tue Oct 05, 2010 4:02 am   
 
Can you post the raw data from debug session?
_________________
Asati di tempari!
Reply with quote
darmir
Sorcerer


Joined: 10 Oct 2000
Posts: 706
Location: USA

PostPosted: Tue Oct 05, 2010 2:48 pm   
 
Here is the output from the debugger:
Code:

---
c  Shadowso |[3] ShadowsofIsildur Comline : start :
a  Shadowso |<****** / ||||||> get leg bin
i  Shadowso >get leg bin<CR><LF>
d  Shadowso |[3] ShadowsofIsildur Comline : stopped
i  Shadowso <You get <ESC>[32ma pair of rough, stained reddish homespun leggings<ESC>[0m from <ESC>[32ma brown <CR><LF>
wooden bin<ESC>[0m. <CR><LF>
a  Shadowso |You get a pair of rough, stained reddish homespun leggings from a brown
a  Shadowso |wooden bin.
i  Shadowso <<CR><LF>
<<ESC>[31m**<ESC>[33m**<ESC>[32m**<ESC>[0m / <ESC>[31m||<ESC>[33m||<ESC>[32m||<ESC>[0m>
a  Shadowso |
a  Shadowso ]<****** / ||||||>
---
c  Shadowso |[3] ShadowsofIsildur Comline : start :
a  Shadowso |<****** / ||||||> put leg bin
i  Shadowso >put leg bin<CR><LF>
d  Shadowso |[3] ShadowsofIsildur Comline : stopped
i  Shadowso <You put <ESC>[32ma pair of rough, stained reddish homespun leggings<ESC>[0m into <ESC>[32ma brown wooden bin<ESC>[0m.<CR><LF>
a  Shadowso |You put a pair of rough, stained reddish homespun leggings into a brown wooden bin.
i  Shadowso <<CR><LF>
<<ESC>[31m**<ESC>[33m**<ESC>[32m**<ESC>[0m / <ESC>[31m||<ESC>[33m||<ESC>[32m||<ESC>[0m>
a  Shadowso |
a  Shadowso ]<****** / ||||||>
_________________
Run as hard as a wild beast if you will, but you won't get any reward greater than that destined for you.
Source: (Egyptian)
Reply with quote
Zugg
MASTER


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

PostPosted: Tue Oct 05, 2010 3:57 pm   
 
As shown by this line:
Code:
i  Shadowso <You get <ESC>[32ma pair of rough, stained reddish homespun leggings<ESC>[0m from <ESC>[32ma brown <CR><LF>
wooden bin<ESC>[0m. <CR><LF>

The MUD is sending a CR LF after the word "brown". This dump is from the raw network socket input directly from the MUD. So your MUD coders are wrong. They *are* adding the newline. CMUD is displaying exactly what it should be. Notice in the second example the MUD does not add any CR LF. I have no idea why the MUD is treating the two lines differently. But it's not anything CMUD is adding.
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