[Ovmsdev] Command prompt in secure mode

Mark Webb-Johnson mark at webb-johnson.net
Sun Mar 18 16:35:09 HKT 2018


My $0.02 is I like the “OVMS >” vs “OVMS #” (very clear), but the red colour doesn’t do it for me.

In fact, in general we have green for OK and red for ERROR, which is the same for the ESP_LOG messages.

So, how about leave both consoles green colour, or just plain white?

Regards, Mark.

> On 18 Mar 2018, at 2:51 PM, Greg D. <gregd2350 at gmail.com> wrote:
> 
> Hi Steve,
> 
> Like the new prompt, not so convinced about the color.  Being color
> blind, it's a lot more of a nuisance than it's worth, especially when
> there is such a variability in displays.  And, it's not like we're
> accessing something so highly sensitive that we need blinking fonts,
> warning claxons, and colored text.  My $.02, keep the pound sign, leave
> the color the same.
> 
> Greg
> 
> 
> Stephen Casner wrote:
>> At Mark's request I have implemented a change to the command prompt
>> after switching to secure mode:
>> 
>> OVMS > ena
>> Password:
>> Secure mode
>> OVMS #
>> 
>> As implemented in this commit, the color also changes from green to
>> red, but that is only a proposal.  I also looked at blue, but on my
>> terminal it's not so distinct from black.  If preferred, we can have
>> both modes be green.
>> 
>> Actually, as I thought about this, I wondered whether our console
>> welcome banner and prompt should be different from green since all the
>> info-level log messages are green.  But there are not many ANSI color
>> choices and they don't look the same on all terminals, so we can't get
>> carried away with this.
>> 
>>                                                        -- Steve
>> _______________________________________________
>> OvmsDev mailing list
>> OvmsDev at lists.teslaclub.hk
>> http://lists.teslaclub.hk/mailman/listinfo/ovmsdev
> 
> _______________________________________________
> OvmsDev mailing list
> OvmsDev at lists.teslaclub.hk
> http://lists.teslaclub.hk/mailman/listinfo/ovmsdev



More information about the OvmsDev mailing list