Armageddon General Discussion Board

General => Code Discussion => Topic started by: Cowboy on March 03, 2018, 10:11:22 AM

Title: Calling all PROMPT experts
Post by: Cowboy on March 03, 2018, 10:11:22 AM
I am having trouble getting PROMPT to read %E (encumbrance).   The display shows everything else but not the encumbrance.  Here is my prompt;
prompt    %h/%H   %v/%V   %t/%T   %w   %E   %s  %p

I have tried \n command thinking the PROMPT was too long.  That didn't work.
Ideas?
Title: Re: Calling all PROMPT experts
Post by: CodeMaster on March 03, 2018, 12:12:09 PM
I'm not an expert but first I'd check if you can just set your prompt to %E.  Try it through telnet as well as your main client.  I think 99% of the time people have problems like this, their client is parsing something and eating their input in some subtle way.
Title: Re: Calling all PROMPT experts
Post by: Cowboy on March 03, 2018, 12:38:11 PM
Yes. PROMPT %E shows light.  Now what? 
Title: Re: Calling all PROMPT experts
Post by: flurry on March 03, 2018, 01:36:23 PM
Have you tried rearranging the order (e.g. put %E before %w)? I know that shouldn't matter, but if %E works by itself, then it seems like that alone isn't the issue.
Title: Re: Calling all PROMPT experts
Post by: Cowboy on March 03, 2018, 06:12:59 PM
It works on no position and now it doesn't work as the lone command following the prompt.
Title: Re: Calling all PROMPT experts
Post by: Molten Heart on March 03, 2018, 06:16:55 PM
.
Title: Re: Calling all PROMPT experts
Post by: Delirium on March 03, 2018, 06:19:39 PM
Sounds like a bug and something you should try to replicate, log, and send in?
Title: Re: Calling all PROMPT experts
Post by: Cowboy on March 03, 2018, 06:26:09 PM
I'm using zmud and I got it to work by turning off parsing.  It seems to work.  I have no idea what parsing is or isn't.
Title: Re: Calling all PROMPT experts
Post by: Refugee on March 03, 2018, 06:54:21 PM
I use Zmud.  Parsing is needed for your aliases to work.
Title: Re: Calling all PROMPT experts
Post by: Cowboy on March 03, 2018, 06:57:43 PM
Sorry about that. I am using cmud on this computer.
Title: Re: Calling all PROMPT experts
Post by: Molten Heart on March 03, 2018, 07:02:36 PM
.
Title: Re: Calling all PROMPT experts
Post by: Cowboy on March 03, 2018, 08:14:30 PM
Turned the parsing back on and works fine now.  Thanks to all of you.