[Home] [Downloads] [Search] [Help/forum]


Register forum user name Search FAQ

Gammon Forum

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  General
. . -> [Subject]  "Keep Commands on Prompt line" not working v.4.14

"Keep Commands on Prompt line" not working v.4.14

It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page


Pages: 1 2  

Posted by Meh2u   (9 posts)  [Biography] bio
Date Thu 29 Oct 2009 10:02 PM (UTC)
Message
There seems to be an issue with the function, 'Keep commands on prompt line'. I have clicked on the option, saved, and tested, and no go. I have also uninstalled and downloaded the program. I have also tryed it on different worlds. I assume I am just missing something, but in the past I have had no trouble.
[Go to top] top

Posted by Worstje   Netherlands  (899 posts)  [Biography] bio
Date Reply #1 on Thu 29 Oct 2009 10:25 PM (UTC)
Message
It doesn't work together with "Convert IAC EOR/GA to new line" turned on, since it turns the prompt into a plain line. That is probably what you are having trouble with.

Not too long ago, I asked in another subforum to have it fixed somehow, but so far I was the only one with that wish.
[Go to top] top

Posted by Nick Gammon   Australia  (22,973 posts)  [Biography] bio   Forum Administrator
Date Reply #2 on Thu 29 Oct 2009 10:38 PM (UTC)
Message
Yes, that option means a new line has already been started. With the "Convert IAC EOR/GA to new line" turned off, then if possible, a command is appended to the current line.

Once a new line is started, triggers etc. are processed, and it doesn't want to "un-start" the new line.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Meh2u   (9 posts)  [Biography] bio
Date Reply #3 on Thu 29 Oct 2009 11:10 PM (UTC)

Amended on Fri 30 Oct 2009 05:51 AM (UTC) by Meh2u

Message
I have confirmed that the convert IAC EOR/GA to new line, is not on. I still have the initial problem, so should I post this same question in the bug section?
[Go to top] top

Posted by Nick Gammon   Australia  (22,973 posts)  [Biography] bio   Forum Administrator
Date Reply #4 on Fri 30 Oct 2009 12:56 AM (UTC)
Message
Let's leave it here for now, since we got this far. ;)

I checked again, and with "keep commands on prompt line" checked, and "convert IAC EOR/GA to new line" unchecked, it works as advertised:


<24hp 145m 110mv> <#21036> sigh
You sigh.

<24hp 145m 110mv> <#21036> dance
Feels silly, doesn't it?


However maybe you have your prompt configured (or it does it anyway) to add a newline after the prompt.

You could try turning on Edit menu -> "debug packets". In my case I saw something like this:


Incoming packet: 13 (90 bytes) at Friday, October 30, 2009, 11:52:53 AM

.[0;36mYou sigh.   1b 5b 30 3b 33 36 6d 59 6f 75 20 73 69 67 68 2e
.....[0m.[0;37m<   0d 0a 0d 0a 1b 5b 30 6d 1b 5b 30 3b 33 37 6d 3c
.[1;33m24hp .[1;   1b 5b 31 3b 33 33 6d 32 34 68 70 20 1b 5b 31 3b
36m145m .[1;32m1   33 36 6d 31 34 35 6d 20 1b 5b 31 3b 33 32 6d 31
10mv.[0;37m> <#2   31 30 6d 76 1b 5b 30 3b 33 37 6d 3e 20 3c 23 32
1036> .[0m         31 30 33 36 3e 20 1b 5b 30 6d

Sent  packet: 11 (7 bytes) at Friday, October 30, 2009, 11:52:54 AM

dance..            64 61 6e 63 65 0d 0a


Note now at the end of packet 13 there was no newline (that is hex 0A). This lets it append "dance" to the end of the prompt. If there was a newline (eg. 0a or 0d 0a) then a new line has already started.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Nick Gammon   Australia  (22,973 posts)  [Biography] bio   Forum Administrator
Date Reply #5 on Fri 30 Oct 2009 01:04 AM (UTC)
Message
Also, the latest version (at present) is 4.43, not 4.14. You may get better results by downloading the latest version:

http://www.gammon.com.au/forum/?id=9659

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Meh2u   (9 posts)  [Biography] bio
Date Reply #6 on Fri 30 Oct 2009 06:06 AM (UTC)
Message
Ok, I used the 'debug packets' and found this when I would look or type anything into the command prompt.


Sent packet: 208 (3 bytes) at Thursday, October 29, 2009, 11:52:57 PM

l.. 6c 0d 0a

Which means that every time I type I am getting a new line?
So, what can I do to correct this? Also I checked and I do have the latest version 4.43. My bad.
[Go to top] top

Posted by Nick Gammon   Australia  (22,973 posts)  [Biography] bio   Forum Administrator
Date Reply #7 on Sat 31 Oct 2009 01:08 AM (UTC)
Message
That is the packet with "l" in it.

I want to see the packet with the prompt in it.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Meh2u   (9 posts)  [Biography] bio
Date Reply #8 on Sat 31 Oct 2009 05:59 AM (UTC)

Amended on Sat 31 Oct 2009 06:13 AM (UTC) by Nick Gammon

Message
Sorry not as versed in the actual function of the program. I just pushed enter with nothing in the prompt, I think that gives the desired results.


Sent  packet: 462 (2 bytes) at Friday, October 30, 2009, 11:56:47 PM

..                 0d 0a

Incoming packet: 1293 (42 bytes) at Friday, October 30, 2009, 11:56:48 PM

.[34m.[1;37m1661   1b 5b 33 34 6d 1b 5b 31 3b 33 37 6d 31 36 36 31
.[2;37;0m.[34m .   1b 5b 32 3b 33 37 3b 30 6d 1b 5b 33 34 6d 20 1b
[2;37;0mÿù         5b 32 3b 33 37 3b 30 6d ff f9

Sent  packet: 463 (2 bytes) at Friday, October 30, 2009, 11:56:49 PM

..                 0d 0a


Here is one of me doing something, not sure it it makes a difference.



Sent  packet: 468 (6 bytes) at Saturday, October 31, 2009, 12:03:28 AM

jump..             6a 75 6d 70 0d 0a

Incoming packet: 1308 (69 bytes) at Saturday, October 31, 2009, 12:03:28 AM

.[1;37mYou jump.   1b 5b 31 3b 33 37 6d 59 6f 75 20 6a 75 6d 70 2e
.[2;37;0m...[34m   1b 5b 32 3b 33 37 3b 30 6d 0d 0a 1b 5b 33 34 6d
.[1;37m1661.[2;3   1b 5b 31 3b 33 37 6d 31 36 36 31 1b 5b 32 3b 33
7;0m.[34m .[2;37   37 3b 30 6d 1b 5b 33 34 6d 20 1b 5b 32 3b 33 37
;0mÿù              3b 30 6d ff f9
[Go to top] top

Posted by Nick Gammon   Australia  (22,973 posts)  [Biography] bio   Forum Administrator
Date Reply #9 on Sat 31 Oct 2009 06:20 AM (UTC)

Amended on Sat 31 Oct 2009 06:21 AM (UTC) by Nick Gammon

Message
Right, well apart from some formatting codes, I see your prompt as being simply "1661". Is that your prompt?

I also don't see a newline at the end of the line, but I do see hex "ff f9" which is the IAC/GA.

So when I had "convert IAC/GA to newlines" off, and "keep prompt on the same line" on, on that packet data, it put the prompt on the same line as the "1661" line.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Meh2u   (9 posts)  [Biography] bio
Date Reply #10 on Sat 31 Oct 2009 08:18 AM (UTC)

Amended on Sat 31 Oct 2009 08:20 AM (UTC) by Meh2u

Message
Is there a way I can edit the ica/ga to be off, cause its off in the menu, and the same problem occurs.
[Go to top] top

Posted by Nick Gammon   Australia  (22,973 posts)  [Biography] bio   Forum Administrator
Date Reply #11 on Sat 31 Oct 2009 08:08 PM (UTC)
Message
Are we really looking at your prompt packet? Was your prompt "1661" in this example? What is that? Your HP or something?

Do you have any plugins installed? Plugins may modify the behaviour of the client, so we may be fighting a plugin here.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Meh2u   (9 posts)  [Biography] bio
Date Reply #12 on Sun 01 Nov 2009 08:44 PM (UTC)
Message
Yes 1661 is my hp, because all I did was press enter. I didnt put any thing in the line, as far as i know i dont have any plugins either.
[Go to top] top

Posted by Nick Gammon   Australia  (22,973 posts)  [Biography] bio   Forum Administrator
Date Reply #13 on Sun 01 Nov 2009 11:03 PM (UTC)
Message
Hmmm, well it seems to work here. Can you please open your world file in a text editor (eg. Notepad) and copy the lines between <world> and </world>, and paste them here?

Delete the lines with your player name password in them, i.e.


password="<something>"
player="<something>"


It should look something like this:


<world
   muclient_version="4.43"
   world_file_version="15"
   date_saved="2009-10-27 11:00:49"

   auto_say_override_prefix="-"
   auto_say_string="say "
   chat_name="Name-not-set"
   command_stack_character=";"
   id="8340a3287a2b0aa6f764bcf1"
   input_font_name="FixedSys"
   mapping_failure="Alas, you cannot go that way."
   name="mud.name.here"
   new_activity_sound="(No sound)"
   output_font_name="FixedSys"
   password_base64="y"
   script_editor="notepad"
   script_language="Lua"
   site="mud.site.address.here"
   spam_message="look"
   speed_walk_prefix="#"
   terminal_identification="mushclient"

   arrows_change_history="y"
   auto_pause="y"
   auto_resize_minimum_lines="1"
   auto_resize_maximum_lines="20"
   chat_foreground_colour="red"
   chat_background_colour="black"
   chat_port="4050"
   confirm_before_replacing_typing="y"
   confirm_on_paste="y"
   confirm_on_send="y"
   connect_method="2"
   detect_pueblo="y"
   display_my_input="y"
   echo_hyperlink_in_output_window="y"
   edit_script_with_notepad="y"
   enable_aliases="y"
   enable_beeps="y"
   enable_scripts="y"
   enable_timers="y"
   enable_triggers="y"
   enable_trigger_sounds="y"
   history_lines="1000"
   hyperlink_adds_to_command_history="y"
   hyperlink_colour="#0080FF"
   indent_paras="y"
   input_background_colour="white"
   input_font_height="9"
   input_font_weight="400"
   input_text_colour="black"
   keypad_enable="y"
   line_information="y"
   log_output="y"
   max_output_lines="5000"
   mud_can_change_link_colour="y"
   mud_can_change_options="y"
   note_text_colour="#040000"
   output_font_height="9"
   output_font_weight="400"
   paste_delay_per_lines="1"
   pixel_offset="1"
   port="4000"
   proxy_port="1080"
   send_file_delay_per_lines="1"
   send_mxp_afk_response="y"
   show_connect_disconnect="y"
   show_italic="y"
   show_underline="y"
   spam_line_count="20"
   tab_completion_lines="200"
   underline_hyperlinks="y"
   unpause_on_send="y"
   use_custom_link_colour="y"
   use_default_input_font="y"
   use_default_output_font="y"
   warn_if_scripting_inactive="y"
   wrap="y"
   wrap_column="80"
   write_world_name_to_log="y"
   > <!-- end of general world attributes -->

</world>



- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Meh2u   (9 posts)  [Biography] bio
Date Reply #14 on Mon 02 Nov 2009 04:08 AM (UTC)

Amended on Mon 02 Nov 2009 04:09 AM (UTC) by Meh2u

Message
Here is the string of values you asked for, minus my name and password.

<world
muclient_version="4.43"
world_file_version="15"
date_saved="2009-11-01 17:35:41"

auto_say_override_prefix="-"
auto_say_string="say "
chat_name="Name-not-set"
command_stack_character=";"
id="3f8595c95233ed7d2b85b47c"
input_font_name="Fixedsys"
mapping_failure="Alas, you cannot go that way."
name="AOD Temp"
new_activity_sound="(No sound)"
output_font_name="FixedSys"
password_base64="y"


script_editor="notepad"
script_language="Lua"
site="129.241.168.214"
spam_message="look"
speed_walk_prefix="#"
terminal_identification="mushclient"

arrows_change_history="y"
auto_pause="y"
auto_resize_minimum_lines="1"
auto_resize_maximum_lines="20"
chat_foreground_colour="red"
chat_background_colour="black"
chat_port="4050"
confirm_before_replacing_typing="y"
confirm_on_paste="y"
confirm_on_send="y"
connect_method="2"
detect_pueblo="y"
echo_colour="11"
echo_hyperlink_in_output_window="y"
edit_script_with_notepad="y"
enable_aliases="y"
enable_beeps="y"
enable_scripts="y"
enable_timers="y"
enable_triggers="y"
enable_trigger_sounds="y"
history_lines="1000"
hyperlink_adds_to_command_history="y"
hyperlink_colour="#0080FF"
indent_paras="y"
input_background_colour="white"
input_font_height="9"
input_font_weight="400"
input_text_colour="black"
keep_commands_on_same_line="y"
keypad_enable="y"
line_information="y"
log_output="y"
max_output_lines="5000"
mud_can_change_link_colour="y"
mud_can_change_options="y"
note_text_colour="#040000"
output_font_height="9"
output_font_weight="400"
paste_delay_per_lines="1"
pixel_offset="1"
port="5000"
proxy_port="1080"
save_world_automatically="y"
send_file_delay_per_lines="1"
send_mxp_afk_response="y"
show_connect_disconnect="y"
show_italic="y"
show_underline="y"
spam_line_count="20"
tab_completion_lines="200"
underline_hyperlinks="y"
unpause_on_send="y"
use_custom_link_colour="y"
use_default_input_font="y"
use_default_output_font="y"
warn_if_scripting_inactive="y"
wrap_column="80"
write_world_name_to_log="y"
> <!-- end of general world attributes -->

</world>
[Go to top] top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


47,689 views.

This is page 1, subject is 2 pages long: 1 2  [Next page]

It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at HostDash]