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
Guinn
Wizard


Joined: 03 Mar 2001
Posts: 1127
Location: London

PostPosted: Mon Aug 27, 2007 6:19 pm   

[2.01] Tilde, ~, inserts extra space (not to be confused with ~ as quote char)
 
test~1
on the command input is changed to
test 1

Worth noting the space is only added when there is no space before the tilde. So "test ~1" is fine, but "test~1" is wrong
_________________
CMUD Pro, Windows Vista x64
Core2 Q6600, 4GB RAM, GeForce 8800GT
Because you need it for text... ;)

Last edited by Guinn on Tue Aug 28, 2007 6:21 pm; edited 1 time in total
Reply with quote
sabman
Novice


Joined: 17 Aug 2007
Posts: 34

PostPosted: Mon Aug 27, 2007 6:22 pm   
 
In preferences, the ~ is used as a quote character.

If you go under preferences and uncheck the box next to ~ in Scripting->Special Characters it displays perfectly.
Reply with quote
Guinn
Wizard


Joined: 03 Mar 2001
Posts: 1127
Location: London

PostPosted: Mon Aug 27, 2007 6:39 pm   
 
That's not what I'm getting at. It's inserting an extra space
"test~1" should show "test1" but instead it's showing "test 1"
_________________
CMUD Pro, Windows Vista x64
Core2 Q6600, 4GB RAM, GeForce 8800GT
Because you need it for text... ;)
Reply with quote
sabman
Novice


Joined: 17 Aug 2007
Posts: 34

PostPosted: Mon Aug 27, 2007 6:40 pm   
 
Oh. When I did it, it showed test1 =/ . That's why I said that.

I can test again later.
Reply with quote
Guinn
Wizard


Joined: 03 Mar 2001
Posts: 1127
Location: London

PostPosted: Tue Aug 28, 2007 6:22 pm   
 
Just a bump because Zugg's responded to most other bugs and this has dropped a way down
_________________
CMUD Pro, Windows Vista x64
Core2 Q6600, 4GB RAM, GeForce 8800GT
Because you need it for text... ;)
Reply with quote
sabman
Novice


Joined: 17 Aug 2007
Posts: 34

PostPosted: Tue Aug 28, 2007 6:24 pm   
 
I can't get it to happen on my side.
Reply with quote
Tech
GURU


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

PostPosted: Tue Aug 28, 2007 6:57 pm   
 
This is a strange one, I got it to happen for me once. The first time I did I got the space as Guinn described, then I tried "test~l" without the quotes and it displayed as expected. The I tried it with a few single digit numbers and the displayed as expected. Finally I tried "test~1" again it displayed properly.

I also tried it with another session I already had open, it displayed properly there as well.

I closed all my CMUD instances, started it again and tried it from a blank session. the first time I do it I get the space as Guinn describes, after that it works as expected.

Really weird.
_________________
Asati di tempari!
Reply with quote
Fang Xianfu
GURU


Joined: 26 Jan 2004
Posts: 5155
Location: United Kingdom

PostPosted: Tue Aug 28, 2007 7:14 pm   
 
I'm also seeing this bug only in the first command that's entered.

1) Open CMUD
2) Close the Sessions dialogue with the X
3) Enter "test~1" on the command line - "test 1" is displayed
4) Press enter again - "test1" is displayed.
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
Reply with quote
DanteX
Apprentice


Joined: 13 Aug 2007
Posts: 166

PostPosted: Tue Aug 28, 2007 9:13 pm   
 
Wierd, when I do "#SHOW test~1", it shows "test1", just like it should.
Reply with quote
Guinn
Wizard


Joined: 03 Mar 2001
Posts: 1127
Location: London

PostPosted: Tue Aug 28, 2007 9:24 pm   
 
So do I win 'weirdest bug of 2.01' award? :)

I was actually trying first to write
blah#
and getting a parsing error, so that's why I did blah~#
and it put the space in.

Might be a second bug with the blah# where the smart command line could be smarter to realise that there's no command required when # is by itself or at the end of a word?
_________________
CMUD Pro, Windows Vista x64
Core2 Q6600, 4GB RAM, GeForce 8800GT
Because you need it for text... ;)
Reply with quote
Zugg
MASTER


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

PostPosted: Wed Aug 29, 2007 8:17 pm   
 
OK, that is pretty weird! I have reproduced it, but I have no idea what is causing it. Each time you enter something on the command line, it gets executed in a new thread.

Well, actually, I guess CMUD *does* reuse threads from it's "pool", so maybe something isn't getting initialized the first time a thread is used.

Added to bug list.
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