Blank line bug

Posted by Larthos on Sun 15 Jul 2001 03:17 PM — 8 posts, 27,989 views.

#0
Well, I was just idling on my favourite mud, when I noticed somethiing intresting that has been bothing me for a while. Our mud, and a lotta muds I've played, give you the option of adding a blank line, on your promt line, so that all information will align correctly(I assume).

Anyways, I was using the CONFIG to turn off +blank, and noticed something intresting.

When my blank was ON, my blank line would appear after sent intofmration, IE

<promp>LAlalalal
blank line here
<prompt>
And when it was off, we would get no blank line, and this:

<prompt>lalalala
<prompt>


Was wondering if MUSH is supposed to be handing the blank line like this:

<prompt>
Lalalalalal
<prompt>

For blank.

The mud we run is a smaug derivative, but this is not unique to our codebase, I see this on EVERY mud, so anyways, I thought I'd bring it up, and see if this is an actuall bug :D

-Larthos
Australia Forum Administrator #1
I suppose it depends on whether the mud sends the blank line before, or after the prompt.

However the easy way around this it to uncheck the MUSHclient option:

Configuration -> Input -> Commands -> "Keep commands on prompt line"

That way, the command you type is always on a new line, then you can suppress blank lines from the MUD, as MUSHclient will only use a blank line (for your command) when it needs to.
#2
Yah, would be simple, if that was on in the first place. And, its only a MUSHclient problem, the blank line works fine with zmud, and telnet, and all that(not that I use Zmud mind you, *snickers*)

Also tried to see if turning on keeping junk on promt line would fix it(seeing as it was off prior), and this had 0 affect.

-Larthos
Australia Forum Administrator #3
What version of MUSHclient are you using? Some recent versions had a problem separating your commands from world output, or vice-versa.
#4
This has been consitant(that I can say for sure) from 3.04 3.15, try it out, load up your smaug that you have on your site here, and see for yourself, I am pretty sure it should yield the same result(but if not, slap me, lol)

-Larthos
Australia Forum Administrator #5
I tried that with the latest MUSHclient, the "keep commands on same line" option unchecked, and the config -blank option, and got this:


<3000hp 5000m 3100mv>
look
Darkhaven Academy Supply Store
This is a regular shop, you type LIST to see what you can purchase and BUY <item> to make the purchase. Like many other places in the game, you may bribe the storekeeper to give you an item. There are many mobs in this world that will sell you keys, items or information in exchange for a few gold coins. Be sure to look at the mobiles for hints on these types of programs.
Exits: west.
A sage storekeeper is here, selling his wares.
<3000hp 5000m 3100mv>


So the command is on a new line, which is what I expect to happen.
#6
That example looked like you had "Echo my input" checked, I never have my input echo'd, because it annoys be to know end, heh, try it with that off :D

-Larthos
Australia Forum Administrator #7
Ah OK, I see what you are saying. MUSHclient is behaving the way I would expect. If you don't echo your commands, then the next thing to arrive from the MUD will appear on the same line. zMUD does the same thing. eg.

MUSHclient and zMUD:


<3000hp 5000m 3100mv> Darkhaven Academy Supply Store
This is a regular shop, you type LIST to see what you can purchase and BUY <item> to make the purchase. Like many other places in the game, you may bribe the storekeeper to give you an item. There are many mobs in this world that will sell you keys, items or information in exchange for a few gold coins. Be sure to look at the mobiles for hints on these types of programs.
Exits: west.
A sage storekeeper is here, selling his wares.

<3000hp 5000m 3100mv> You sigh.

<3000hp 5000m 3100mv>


I presume you are referring to the "You sigh." appearing on the same line.